diff options
Diffstat (limited to 'sys/dev/ata/chipsets/ata-netcell.c')
-rw-r--r-- | sys/dev/ata/chipsets/ata-netcell.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/chipsets/ata-netcell.c b/sys/dev/ata/chipsets/ata-netcell.c index 7a446f1..a87458e 100644 --- a/sys/dev/ata/chipsets/ata-netcell.c +++ b/sys/dev/ata/chipsets/ata-netcell.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); /* local prototypes */ static int ata_netcell_chipinit(device_t dev); -static int ata_netcell_allocate(device_t dev); +static int ata_netcell_ch_attach(device_t dev); static void ata_netcell_setmode(device_t dev, int mode); @@ -81,18 +81,18 @@ ata_netcell_chipinit(device_t dev) if (ata_setup_interrupt(dev, ata_generic_intr)) return ENXIO; - ctlr->allocate = ata_netcell_allocate; + ctlr->ch_attach = ata_netcell_ch_attach; ctlr->setmode = ata_netcell_setmode; return 0; } static int -ata_netcell_allocate(device_t dev) +ata_netcell_ch_attach(device_t dev) { struct ata_channel *ch = device_get_softc(dev); /* setup the usual register normal pci style */ - if (ata_pci_allocate(dev)) + if (ata_pci_ch_attach(dev)) return ENXIO; /* the NetCell only supports 16 bit PIO transfers */ |