On Sat, 12 Jun 2004 18:46:17 +0200 sebastian ssmoller <[EMAIL PROTECTED]> wrote:
> > so i decided to play around a bit with the lpt module. first thing i > noticed when compiled lpt as module is: i cannot unload it (kldunload > says: device not configured). somewhere in the net i read that this is > an expected behaviour (as it is for usb afaik) because lpt module does > not release memory properly (?) The lpt driver needs a device_detach method in sys/ppbus/lpt.c. Might want to look at sio_detach in sio for hints. It will need to ensure that the device is closed, release bus resources, and destroy its cdevs, and possibly some other non-obvious things (haven't looked closely) _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

