diff --git a/sbin/kget/Makefile b/sbin/kget/Makefile index 2ce93e4183b0..40320198da32 100644 --- a/sbin/kget/Makefile +++ b/sbin/kget/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ # PROG= kget -#CFLAGS+= -I${.CURDIR}/../../sys/i386 SRCS= kget.c MAN8= kget.8 diff --git a/sbin/kget/kget.c b/sbin/kget/kget.c index 1aebba4ef1d8..a5572c85b465 100644 --- a/sbin/kget/kget.c +++ b/sbin/kget/kget.c @@ -30,28 +30,11 @@ #include #include #include +#include #if 0 #include #endif -/* - * Per device structure. This just happens to resemble the old isa_device - * but that is by accident. It is NOT the same. - */ -struct uc_device { - int id_id; /* device id */ - char *id_name; /* device name */ - int id_iobase; /* base i/o address */ - u_int id_irq; /* interrupt request */ - int id_drq; /* DMA request */ - caddr_t id_maddr; /* physical i/o memory address on bus (if any)*/ - int id_msize; /* size of i/o memory */ - int id_unit; /* unit number */ - int id_flags; /* flags */ - int id_enabled; /* is device enabled */ - struct uc_device *id_next; /* used in uc_devlist in userconfig() */ -}; - struct uc_device *id; struct pnp_cinfo *c; char *p;