diff options
Diffstat (limited to 'sys/dev/agp/agp.c')
-rw-r--r-- | sys/dev/agp/agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index 09e2848..6e5aa35 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -98,7 +98,7 @@ agp_find_caps(device_t dev) int capreg; - if (pci_find_extcap(dev, PCIY_AGP, &capreg) != 0) + if (pci_find_cap(dev, PCIY_AGP, &capreg) != 0) capreg = 0; return (capreg); } |