diff --git a/sys/dev/atkbdc/atkbdc_isa.c b/sys/dev/atkbdc/atkbdc_isa.c index 5342c52756c6..88a2d1187ea0 100644 --- a/sys/dev/atkbdc/atkbdc_isa.c +++ b/sys/dev/atkbdc/atkbdc_isa.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atkbdc_isa.c,v 1.3 1999/05/08 20:25:38 peter Exp $ + * $Id: atkbdc_isa.c,v 1.4 1999/05/08 21:59:29 dfr Exp $ */ #include "atkbdc.h" @@ -174,22 +174,6 @@ atkbdc_attach(device_t dev) resource_query_unit(i)); } -#ifdef __i386__ - /* - * Foot protection... - */ - for (i = resource_locate(-1, "atkbd"); - i != -1; - i = resource_locate(i, "atkbd")) { - if (device_find_child(dev, resource_query_name(i), - resource_query_unit(i)) == NULL) { - printf("WARNING: Update your atkbdc config!\n"); - atkbdc_add_device(dev, resource_query_name(i), - resource_query_unit(i)); - } - } -#endif - bus_generic_attach(dev); return 0; diff --git a/sys/dev/atkbdc/atkbdc_subr.c b/sys/dev/atkbdc/atkbdc_subr.c index 5342c52756c6..88a2d1187ea0 100644 --- a/sys/dev/atkbdc/atkbdc_subr.c +++ b/sys/dev/atkbdc/atkbdc_subr.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atkbdc_isa.c,v 1.3 1999/05/08 20:25:38 peter Exp $ + * $Id: atkbdc_isa.c,v 1.4 1999/05/08 21:59:29 dfr Exp $ */ #include "atkbdc.h" @@ -174,22 +174,6 @@ atkbdc_attach(device_t dev) resource_query_unit(i)); } -#ifdef __i386__ - /* - * Foot protection... - */ - for (i = resource_locate(-1, "atkbd"); - i != -1; - i = resource_locate(i, "atkbd")) { - if (device_find_child(dev, resource_query_name(i), - resource_query_unit(i)) == NULL) { - printf("WARNING: Update your atkbdc config!\n"); - atkbdc_add_device(dev, resource_query_name(i), - resource_query_unit(i)); - } - } -#endif - bus_generic_attach(dev); return 0; diff --git a/sys/isa/atkbdc_isa.c b/sys/isa/atkbdc_isa.c index 5342c52756c6..88a2d1187ea0 100644 --- a/sys/isa/atkbdc_isa.c +++ b/sys/isa/atkbdc_isa.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atkbdc_isa.c,v 1.3 1999/05/08 20:25:38 peter Exp $ + * $Id: atkbdc_isa.c,v 1.4 1999/05/08 21:59:29 dfr Exp $ */ #include "atkbdc.h" @@ -174,22 +174,6 @@ atkbdc_attach(device_t dev) resource_query_unit(i)); } -#ifdef __i386__ - /* - * Foot protection... - */ - for (i = resource_locate(-1, "atkbd"); - i != -1; - i = resource_locate(i, "atkbd")) { - if (device_find_child(dev, resource_query_name(i), - resource_query_unit(i)) == NULL) { - printf("WARNING: Update your atkbdc config!\n"); - atkbdc_add_device(dev, resource_query_name(i), - resource_query_unit(i)); - } - } -#endif - bus_generic_attach(dev); return 0;