diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:30:22 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:30:22 +0000 |
commit | 8da13829f4cd6f876b39798269374f69b37a4e2d (patch) | |
tree | 1281327b67391c111b7b5cdb68f300f72cd666e1 /sys/dev/buslogic | |
parent | 6093db57d58490da14edaf147ac5dfe4893b5161 (diff) | |
download | FreeBSD-src-8da13829f4cd6f876b39798269374f69b37a4e2d.zip FreeBSD-src-8da13829f4cd6f876b39798269374f69b37a4e2d.tar.gz |
ahc_pci.c:
Convert to new bus and bus dma.
Use latest PCI API.
bt_pci.c:
Fix a few bugs in how resourses are released left over from
when this driver was converted to new bus.
Diffstat (limited to 'sys/dev/buslogic')
-rw-r--r-- | sys/dev/buslogic/bt_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c index f77e43b..c5dd842 100644 --- a/sys/dev/buslogic/bt_pci.c +++ b/sys/dev/buslogic/bt_pci.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bt_pci.c,v 1.4 1998/12/14 06:32:54 dillon Exp $ + * $Id: bt_pci.c,v 1.5 1999/04/18 15:50:35 peter Exp $ */ #include "pci.h" @@ -104,7 +104,7 @@ bt_pci_release_resources(device_t dev) bus_release_resource(dev, SYS_RES_IOPORT, BT_PCI_IOADDR, bt->port); if (bt->irq) - bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->irq); + bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); bt_free_softc(dev); } @@ -165,7 +165,7 @@ bt_pci_attach(device_t dev) int opri; int error; - /* Initialise softc */ + /* Initialize softc */ error = bt_pci_alloc_resources(dev); if (error) { device_printf(dev, "can't allocate resources in bt_pci_attach\n"); |