diff options
author | jhay <jhay@FreeBSD.org> | 2002-01-30 17:22:04 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2002-01-30 17:22:04 +0000 |
commit | 2aa4b18cd1eaf39b83dacb13149fd9b9234ab9f0 (patch) | |
tree | c1fb40b4db9ad5449f78e150fc82173e2a30dc9e /sys/dev/sio/sio_pci.c | |
parent | 192e988fe5f700937bd262b61b0a75a7e7b59825 (diff) | |
download | FreeBSD-src-2aa4b18cd1eaf39b83dacb13149fd9b9234ab9f0.zip FreeBSD-src-2aa4b18cd1eaf39b83dacb13149fd9b9234ab9f0.tar.gz |
Add support for different serial clock frequencies and not just the
standard one of 1.8432MHz. This will be used by the puc (PCI
"universal" communication card) device driver.
Reviewed by: bde
Diffstat (limited to 'sys/dev/sio/sio_pci.c')
-rw-r--r-- | sys/dev/sio/sio_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c index a369146..3cf80f5 100644 --- a/sys/dev/sio/sio_pci.c +++ b/sys/dev/sio/sio_pci.c @@ -92,7 +92,7 @@ sio_pci_attach(dev) if (id->desc == NULL) return (ENXIO); sio_pci_kludge_unit(dev); - return (sioattach(dev, id->rid)); + return (sioattach(dev, id->rid, 0UL)); } /* @@ -138,7 +138,7 @@ sio_pci_probe(dev) if (id->desc == NULL) return (ENXIO); device_set_desc(dev, id->desc); - return (sioprobe(dev, id->rid, 0)); + return (sioprobe(dev, id->rid, 0UL, 0)); } DRIVER_MODULE(sio, pci, sio_pci_driver, sio_devclass, 0, 0); |