summaryrefslogtreecommitdiffstats
path: root/installworld_newk
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-28 20:23:49 +0000
committerphk <phk@FreeBSD.org>2004-09-28 20:23:49 +0000
commitfd3b3185c9a72cba0bd7bc840f9bf3be86ee9b91 (patch)
tree8948e54f7ca4ca16b86864b035e0b5c43641f30f /installworld_newk
parentf2271ed30b095a72f234bd411a7c251a8de45675 (diff)
downloadFreeBSD-src-fd3b3185c9a72cba0bd7bc840f9bf3be86ee9b91.zip
FreeBSD-src-fd3b3185c9a72cba0bd7bc840f9bf3be86ee9b91.tar.gz
Use generic infrastructure for the ucom driver instead of local stuff.
This changes the naming of USB serial devices to: /dev/ttyU%d and /dev/cuaU%d for call-in and call-out devices respectively. (Please notice: capital 'U') Please also note that we now have .init and .lock devices for USB serial ports. These are not persistent across device removal. devd(8) can be used to configure them on attachment time. These changes also improve the chances of the system surviving if the USB device is unplugged at an inconvenient time. At least we do not rip things apart while there are any threads in the device driver anymore. Remove cdevsw, rely on the tty generic one. Don't make_dev(), use ttycreate() which does all the magic. In detach, do close procesing if we ripped things apart while the device was open. Call ttyfree() once we're done cleaning up.
Diffstat (limited to 'installworld_newk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud