diff options
author | imp <imp@FreeBSD.org> | 2001-11-26 07:39:51 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-26 07:39:51 +0000 |
commit | b81d338044f3ac68d3c7a8a919932f5291954137 (patch) | |
tree | 22a359138de748f0c30c96f678a41c6ac8f3c1ca /sys/dev/sio/sio_pci.c | |
parent | 31e236c67382da93a93ae78dbeb8c445088b17bc (diff) | |
download | FreeBSD-src-b81d338044f3ac68d3c7a8a919932f5291954137.zip FreeBSD-src-b81d338044f3ac68d3c7a8a919932f5291954137.tar.gz |
bde suggests that sio really wants to manage its own softc. This
allows us to move the sio softc data structure back into sio.c and
reduce the complexity of the non sio.c sio files.
Submitted by: bde
# I didn't fix the locking issues that bruce also submitted.
Diffstat (limited to 'sys/dev/sio/sio_pci.c')
-rw-r--r-- | sys/dev/sio/sio_pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c index 8d1af7a..a369146 100644 --- a/sys/dev/sio/sio_pci.c +++ b/sys/dev/sio/sio_pci.c @@ -34,14 +34,12 @@ #include <sys/mutex.h> #include <sys/module.h> #include <sys/tty.h> -#include <machine/clock.h> #include <machine/bus_pio.h> #include <machine/bus.h> #include <sys/timepps.h> #include <dev/sio/siovar.h> -#include <pci/pcireg.h> #include <pci/pcivar.h> static int sio_pci_attach __P((device_t dev)); @@ -59,7 +57,7 @@ static device_method_t sio_pci_methods[] = { static driver_t sio_pci_driver = { sio_driver_name, sio_pci_methods, - sizeof(struct com_s), + 0, }; struct pci_ids { |