Hello, In order to make sio(4) working correctly, sio(4)-friendly hint.sio.* variables must be present in GENERIC.hints (installed as device.hints). We already ship with this functionality and configuration enabled. uart(4) has similar requirements. The difference is that uart(4)-specific variables are different than those used by sio(4). The problem lies in lacking of hint.uart.* lines in our GENERIC.hints files. Thus, user wanting to use uart(4) instead of sio(4) must manually modify device.hints. I belive it's not intentional behaviour for us to have only sio(4) specified, since DEFAULTS on i386 already says: device uart_ns8250 This file implements interface which I think is only used by uart(4) driver: wkoszek_at_laptop:(/usr/src/sys/dev)$ grep -ri _ns8250 * | grep -v "^uart" wkoszek_at_laptop:(/usr/src/sys/dev)$ I propose following change: http://people.freebsd.org/~wkoszek/patches/uart-hints.0.patch Comments and suggestions are welcome. -- Wojciech A. Koszek wkoszek_at_FreeBSD.org http://FreeBSD.czest.pl/dunstan/Received on Sun Dec 23 2007 - 12:16:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC