aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pccard/pccard.c13
-rw-r--r--sys/pccard/pcic.c27
-rw-r--r--sys/pccard/skel.c2
3 files changed, 6 insertions, 36 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 75846ad15b91..96cd61f2a33f 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -29,27 +29,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "crd.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/errno.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/proc.h>
-#include <sys/ioctl.h>
-#include <sys/syslog.h>
#include <sys/malloc.h>
#include <sys/conf.h>
#ifdef DEVFS
#include <sys/devfsext.h>
#endif /*DEVFS*/
+#include <sys/uio.h>
-#ifdef PC98
-#include <pc98/pc98/pc98.h>
-#else
-#include <i386/isa/isa.h>
-#endif /* PC98 */
#include <i386/isa/isa_device.h>
#include <i386/isa/icu.h>
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index a27f89c5890d..bf54d2bb1fad 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -33,39 +33,20 @@
* by Noriyuki Hosobuchi <yj8n-hsbc@asahi-net.or.jp>
*/
-#ifdef LKM
-#define NPCIC 1
-#else
-#include "pcic.h"
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/errno.h>
-#include <sys/file.h>
-#include <sys/conf.h>
-#include <sys/proc.h>
-#include <sys/ioctl.h>
-#include <sys/mount.h>
-#include <sys/sysent.h>
-#include <sys/exec.h>
-#include <sys/lkm.h>
+#include <sys/select.h>
#include <machine/clock.h>
-#ifdef PC98
-#include <pc98/pc98/pc98.h>
-#else
-#include <i386/isa/isa.h>
-#endif
-#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
#include <pccard/i82365.h>
#ifdef PC98
#include <pccard/pcic98reg.h>
#endif
+#include <i386/isa/isa_device.h>
+#include <i386/isa/icu.h>
+
#include <pccard/card.h>
#include <pccard/driver.h>
#include <pccard/slot.h>
diff --git a/sys/pccard/skel.c b/sys/pccard/skel.c
index dd5b503bee58..07216b896716 100644
--- a/sys/pccard/skel.c
+++ b/sys/pccard/skel.c
@@ -29,7 +29,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/param.h>
-#include <sys/ioctl.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/conf.h>
@@ -37,7 +36,6 @@
#include <sys/sysent.h>
#include <sys/exec.h>
#include <sys/lkm.h>
-#include <sys/errno.h>
#include <pccard/card.h>
#include <pccard/slot.h>