diff options
author | glebius <glebius@FreeBSD.org> | 2005-09-22 18:41:56 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-09-22 18:41:56 +0000 |
commit | 6ac8681808593a450418e86aad9858f7ad0b9b6c (patch) | |
tree | 9ef91107cea5eefd745adc92a48cdec15951bbf3 | |
parent | d6a716bd2a96b7e3bdf2ecef650b42a04243a255 (diff) | |
download | FreeBSD-src-6ac8681808593a450418e86aad9858f7ad0b9b6c.zip FreeBSD-src-6ac8681808593a450418e86aad9858f7ad0b9b6c.tar.gz |
Fix build.
-rw-r--r-- | sys/dev/ata/ata-card.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/dev/ata/ata-card.c b/sys/dev/ata/ata-card.c index 069f9f1..f3fd0a0 100644 --- a/sys/dev/ata/ata-card.c +++ b/sys/dev/ata/ata-card.c @@ -63,7 +63,7 @@ static const struct pccard_product ata_pccard_products[] = { }; static int -ata_pccard_match(device_t dev) +ata_pccard_probe(device_t dev) { const struct pccard_product *pp; u_int32_t fcn = PCCARD_FUNCTION_UNSPEC; @@ -87,7 +87,7 @@ ata_pccard_match(device_t dev) } static int -ata_pccard_probe(device_t dev) +ata_pccard_attach(device_t dev) { struct ata_channel *ch = device_get_softc(dev); struct resource *io, *ctlio; @@ -154,15 +154,10 @@ ata_pccard_detach(device_t dev) static device_method_t ata_pccard_methods[] = { /* device interface */ - DEVMETHOD(device_probe, pccard_compat_probe), - DEVMETHOD(device_attach, pccard_compat_attach), + DEVMETHOD(device_probe, ata_pccard_probe), + DEVMETHOD(device_attach, ata_pccard_attach), DEVMETHOD(device_detach, ata_pccard_detach), - /* card interface */ - DEVMETHOD(card_compat_match, ata_pccard_match), - DEVMETHOD(card_compat_probe, ata_pccard_probe), - DEVMETHOD(card_compat_attach, ata_attach), - { 0, 0 } }; |