diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-22 03:41:14 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-22 03:41:14 +0000 |
commit | bc26a2b3b0044c0e7082cedf29b4b76a8cbc3185 (patch) | |
tree | 170a58f7db6c673c79f71ba7f0ca237a68dc273b /sys/dev/ixgbe/ixgbe.c | |
parent | 7f780401e5c89cc3329023acb7b24d9538e90ed4 (diff) | |
download | FreeBSD-src-bc26a2b3b0044c0e7082cedf29b4b76a8cbc3185.zip FreeBSD-src-bc26a2b3b0044c0e7082cedf29b4b76a8cbc3185.tar.gz |
Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature.
Reviewed by: des
Approved by: cperciva
MFC after: 1 week
Diffstat (limited to 'sys/dev/ixgbe/ixgbe.c')
-rw-r--r-- | sys/dev/ixgbe/ixgbe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index d9f028b..e7011af 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -401,11 +401,6 @@ ixgbe_attach(device_t dev) INIT_DEBUGOUT("ixgbe_attach: begin"); - if (resource_disabled("ixgbe", device_get_unit(dev))) { - device_printf(dev, "Disabled by device hint\n"); - return (ENXIO); - } - /* Allocate, clear, and link in our adapter structure */ adapter = device_get_softc(dev); adapter->dev = adapter->osdep.dev = dev; |