summaryrefslogtreecommitdiffstats
path: root/sys/x86/isa/elcr.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:41:14 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:41:14 +0000
commitbc26a2b3b0044c0e7082cedf29b4b76a8cbc3185 (patch)
tree170a58f7db6c673c79f71ba7f0ca237a68dc273b /sys/x86/isa/elcr.c
parent7f780401e5c89cc3329023acb7b24d9538e90ed4 (diff)
downloadFreeBSD-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/x86/isa/elcr.c')
-rw-r--r--sys/x86/isa/elcr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/x86/isa/elcr.c b/sys/x86/isa/elcr.c
index 266d783..ec457bc 100644
--- a/sys/x86/isa/elcr.c
+++ b/sys/x86/isa/elcr.c
@@ -84,8 +84,6 @@ elcr_probe(void)
printf(" E");
printf("\n");
}
- if (resource_disabled("elcr", 0))
- return (ENXIO);
elcr_found = 1;
return (0);
}
OpenPOWER on IntegriCloud