summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-01-04 01:43:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-01-04 01:43:10 +0000
commitb9ea6d95c7d717852f95b781edd10a5a0c55b999 (patch)
tree6b9bfbe3ea45e2da78338857a3b547b75bddd166 /sys/dev/pci
parent6b9cac8670b1e28e86886921312031976ea1f1c4 (diff)
we have pci_vpd_read now. get rid of the (bad) comment that left it out
pointed out by deraadt@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_lii.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lii.c b/sys/dev/pci/if_lii.c
index b118cc201c4..d9edd4993e6 100644
--- a/sys/dev/pci/if_lii.c
+++ b/sys/dev/pci/if_lii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lii.c,v 1.2 2007/12/31 15:18:06 jasper Exp $ */
+/* $OpenBSD: if_lii.c,v 1.3 2008/01/04 01:43:09 dlg Exp $ */
/*
* Copyright (c) 2007 The NetBSD Foundation.
@@ -337,8 +337,7 @@ atl2_eeprom_present(struct atl2_softc *sc)
int
atl2_eeprom_read(struct atl2_softc *sc, uint32_t reg, uint32_t *val)
{
-// return pci_vpd_read(sc->sc_pc, sc->sc_tag, reg, 1, (pcireg_t *)val);
- return (1);
+ return pci_vpd_read(sc->sc_pc, sc->sc_tag, reg, 1, (pcireg_t *)val);
}
#define MAKE_SFC(cssetup, clkhi, clklo, cshold, cshi, ins) \