summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2001-01-09 04:33:49 +0000
committerwollman <wollman@FreeBSD.org>2001-01-09 04:33:49 +0000
commit70c88bb8dad8043bc6de6c2381c0f3d55e803379 (patch)
treedb08626bdde4f7fc600087db865a131d6da00a65
parent73868ac960ac5a7e40b0f6c9fe5956281809d520 (diff)
downloadFreeBSD-src-70c88bb8dad8043bc6de6c2381c0f3d55e803379.zip
FreeBSD-src-70c88bb8dad8043bc6de6c2381c0f3d55e803379.tar.gz
select() DKI is now in <sys/selinfo.h>.
-rw-r--r--sys/dev/atkbdc/psm.c2
-rw-r--r--sys/dev/bktr/bktr_os.c4
-rw-r--r--sys/dev/ed/if_ed_pccard.c1
-rw-r--r--sys/dev/ncv/ncr53c500_pccard.c2
-rw-r--r--sys/dev/nsp/nsp_pccard.c2
-rw-r--r--sys/dev/random/harvest.c2
-rw-r--r--sys/dev/random/randomdev.c2
-rw-r--r--sys/dev/random/yarrow.c2
-rw-r--r--sys/dev/stg/tmc18c30_isa.c1
-rw-r--r--sys/dev/stg/tmc18c30_pccard.c2
-rw-r--r--sys/dev/syscons/apm/apm_saver.c2
-rw-r--r--sys/dev/usb/udbp.c4
-rw-r--r--sys/dev/usb/ugen.c4
-rw-r--r--sys/dev/usb/uhid.c4
-rw-r--r--sys/dev/usb/ukbd.c4
-rw-r--r--sys/dev/usb/umodem.c4
-rw-r--r--sys/dev/usb/ums.c4
-rw-r--r--sys/dev/usb/urio.c4
-rw-r--r--sys/dev/usb/usb.c4
-rw-r--r--sys/dev/usb/uscanner.c4
-rw-r--r--sys/dev/xe/if_xe.c1
-rw-r--r--sys/i386/apm/apm.c2
-rw-r--r--sys/i386/bios/apm.c2
-rw-r--r--sys/isa/psm.c2
-rw-r--r--sys/kern/kern_event.c2
-rw-r--r--sys/kern/sys_generic.c1
-rw-r--r--sys/kern/sys_pipe.c2
-rw-r--r--sys/modules/syscons/apm/apm_saver.c2
-rw-r--r--sys/net/bpfdesc.h2
-rw-r--r--sys/pccard/pccard.c1
-rw-r--r--sys/pccard/pccard_nbk.c1
-rw-r--r--sys/pccard/pcic.c2
-rw-r--r--sys/pccard/slot.h2
-rw-r--r--sys/sys/pipe.h2
-rw-r--r--sys/sys/socketvar.h2
-rw-r--r--sys/sys/tty.h2
-rw-r--r--sys/sys/vnode.h2
37 files changed, 65 insertions, 23 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c
index 77fa521..6b670ea 100644
--- a/sys/dev/atkbdc/psm.c
+++ b/sys/dev/atkbdc/psm.c
@@ -73,7 +73,7 @@
#include <sys/syslog.h>
#include <machine/bus.h>
#include <sys/rman.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <machine/limits.h>
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 6ed546e..0f8110f 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -71,7 +71,11 @@
#include <sys/signalvar.h>
#include <sys/mman.h>
#include <sys/poll.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <vm/vm.h>
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c
index 0b74a2d7..7763fb7 100644
--- a/sys/dev/ed/if_ed_pccard.c
+++ b/sys/dev/ed/if_ed_pccard.c
@@ -33,7 +33,6 @@
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/uio.h>
-#include <sys/select.h>
#include <sys/module.h>
#include <sys/bus.h>
diff --git a/sys/dev/ncv/ncr53c500_pccard.c b/sys/dev/ncv/ncr53c500_pccard.c
index ed0da20..12e4f71 100644
--- a/sys/dev/ncv/ncr53c500_pccard.c
+++ b/sys/dev/ncv/ncr53c500_pccard.c
@@ -87,7 +87,9 @@ extern struct ncv_softc *ncvdata[];
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/module.h>
+#if !defined(__FreeBSD__) || __FreeBSD_version < 500014
#include <sys/select.h>
+#endif
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c
index d4914eb..d0a5b96 100644
--- a/sys/dev/nsp/nsp_pccard.c
+++ b/sys/dev/nsp/nsp_pccard.c
@@ -83,7 +83,9 @@ extern struct nsp_softc *nspdata[];
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/module.h>
+#if !defined(__FreeBSD__) || __FreeBSD_version < 500014
#include <sys/select.h>
+#endif
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c
index 89a6368..60067dc 100644
--- a/sys/dev/random/harvest.c
+++ b/sys/dev/random/harvest.c
@@ -33,7 +33,7 @@
#include <sys/kthread.h>
#include <sys/mutex.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/random.h>
#include <machine/cpu.h>
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 6c9ee84..5a39b86 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -37,7 +37,7 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/random.h>
#include <sys/vnode.h>
#include <machine/bus.h>
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c
index 34d1b90..d50dcfa 100644
--- a/sys/dev/random/yarrow.c
+++ b/sys/dev/random/yarrow.c
@@ -36,7 +36,7 @@
#include <sys/kthread.h>
#include <sys/libkern.h>
#include <sys/mutex.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/random.h>
#include <sys/types.h>
#include <sys/unistd.h>
diff --git a/sys/dev/stg/tmc18c30_isa.c b/sys/dev/stg/tmc18c30_isa.c
index 67fb6b6..6fe5523 100644
--- a/sys/dev/stg/tmc18c30_isa.c
+++ b/sys/dev/stg/tmc18c30_isa.c
@@ -77,7 +77,6 @@
#include <sys/kernel.h>
#include <sys/module.h>
-#include <sys/select.h>
static int stgprobe(device_t devi);
static int stgattach(device_t devi);
diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c
index 574fbb2..e6ceb6f 100644
--- a/sys/dev/stg/tmc18c30_pccard.c
+++ b/sys/dev/stg/tmc18c30_pccard.c
@@ -88,7 +88,9 @@ extern struct stg_softc *stgdata[];
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/module.h>
+#if !defined(__FreeBSD__) || __FreeBSD_version < 500014
#include <sys/select.h>
+#endif
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
diff --git a/sys/dev/syscons/apm/apm_saver.c b/sys/dev/syscons/apm/apm_saver.c
index fa2047f..f4464ca 100644
--- a/sys/dev/syscons/apm/apm_saver.c
+++ b/sys/dev/syscons/apm/apm_saver.c
@@ -39,7 +39,7 @@
#include <dev/fb/splashreg.h>
#include <dev/syscons/syscons.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <machine/apm_bios.h>
#include <machine/pc/bios.h>
#include <i386/apm/apm.h>
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c
index a7bcac0..15ca63e 100644
--- a/sys/dev/usb/udbp.c
+++ b/sys/dev/usb/udbp.c
@@ -77,7 +77,11 @@
#include <sys/bus.h>
#include <sys/conf.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/poll.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index bd420cc..d318f13 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -56,7 +56,11 @@
#endif
#include <sys/tty.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index dd2a85e..1cdd455 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -60,7 +60,11 @@
#endif
#include <sys/conf.h>
#include <sys/tty.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c
index e0d78d3..9f3143a 100644
--- a/sys/dev/usb/ukbd.c
+++ b/sys/dev/usb/ukbd.c
@@ -51,7 +51,11 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <dev/usb/usb.h>
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 3cbfa0d..c8d4346 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -66,7 +66,11 @@
#include <sys/tty.h>
#include <sys/clist.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 7096fa8..1632782 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -51,7 +51,11 @@
#include <sys/conf.h>
#include <sys/tty.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 8dd4c63..4cb4dff 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -60,7 +60,11 @@
#include <sys/uio.h>
#include <sys/tty.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 0767649..46f1eb1 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -60,7 +60,11 @@
#endif
#include <sys/conf.h>
#include <sys/poll.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/vnode.h>
#include <sys/signalvar.h>
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index b89152f..18b7aeb 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -55,7 +55,11 @@
#endif
#include <sys/tty.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index 0aaed44..598ceb3 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -113,7 +113,6 @@
#include <sys/errno.h>
#include <sys/kernel.h>
#include <sys/mbuf.h>
-#include <sys/select.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/systm.h>
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c
index d5c67b5..adf26f0 100644
--- a/sys/i386/apm/apm.c
+++ b/sys/i386/apm/apm.c
@@ -26,7 +26,7 @@
#include <sys/time.h>
#include <sys/reboot.h>
#include <sys/bus.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/poll.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index d5c67b5..adf26f0 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -26,7 +26,7 @@
#include <sys/time.h>
#include <sys/reboot.h>
#include <sys/bus.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/poll.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
diff --git a/sys/isa/psm.c b/sys/isa/psm.c
index 77fa521..6b670ea 100644
--- a/sys/isa/psm.c
+++ b/sys/isa/psm.c
@@ -73,7 +73,7 @@
#include <sys/syslog.h>
#include <machine/bus.h>
#include <sys/rman.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <machine/limits.h>
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 56e818a..1a89d32 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -34,7 +34,7 @@
#include <sys/unistd.h>
#include <sys/file.h>
#include <sys/fcntl.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/queue.h>
#include <sys/event.h>
#include <sys/eventvar.h>
diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c
index 555cb68..ec3f7f4 100644
--- a/sys/kern/sys_generic.c
+++ b/sys/kern/sys_generic.c
@@ -55,6 +55,7 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/poll.h>
+#include <sys/selinfo.h>
#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <sys/bio.h>
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 3b944dd..a892cbb 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -59,7 +59,7 @@
#include <sys/ttycom.h>
#include <sys/stat.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/signalvar.h>
#include <sys/sysproto.h>
#include <sys/pipe.h>
diff --git a/sys/modules/syscons/apm/apm_saver.c b/sys/modules/syscons/apm/apm_saver.c
index fa2047f..f4464ca 100644
--- a/sys/modules/syscons/apm/apm_saver.c
+++ b/sys/modules/syscons/apm/apm_saver.c
@@ -39,7 +39,7 @@
#include <dev/fb/splashreg.h>
#include <dev/syscons/syscons.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <machine/apm_bios.h>
#include <machine/pc/bios.h>
#include <i386/apm/apm.h>
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index de3dfb9..49e3f35 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -43,7 +43,7 @@
#ifndef _NET_BPFDESC_H_
#define _NET_BPFDESC_H_
-#include <sys/select.h>
+#include <sys/selinfo.h>
/*
* Descriptor associated with each open bpf file.
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 27f7af2..62f0f73 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -37,7 +37,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
-#include <sys/select.h>
#include <sys/sysctl.h>
#include <sys/conf.h>
#include <sys/uio.h>
diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c
index 40cb7d8..c610a8b 100644
--- a/sys/pccard/pccard_nbk.c
+++ b/sys/pccard/pccard_nbk.c
@@ -54,7 +54,6 @@
#include <sys/module.h>
#include <sys/kernel.h>
#include <sys/queue.h>
-#include <sys/select.h>
#include <sys/types.h>
#include <sys/bus.h>
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 4cc58cb..df54688 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -35,8 +35,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/module.h>
-#include <sys/select.h>
-
#include <pccard/i82365.h>
#include <pccard/cardinfo.h>
diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h
index 6221b4c..edd1400 100644
--- a/sys/pccard/slot.h
+++ b/sys/pccard/slot.h
@@ -47,6 +47,8 @@
#include <sys/rman.h>
#include <machine/resource.h>
+#include <sys/selinfo.h>
+
/*
* Controller data - Specific to each slot controller.
*/
diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h
index 7dec828..2a1f3d4 100644
--- a/sys/sys/pipe.h
+++ b/sys/sys/pipe.h
@@ -26,7 +26,7 @@
#ifndef _KERNEL
#include <sys/time.h> /* for struct timespec */
-#include <sys/select.h> /* for struct selinfo */
+#include <sys/selinfo.h> /* for struct selinfo */
#include <vm/vm.h> /* for vm_page_t */
#include <machine/param.h> /* for PAGE_SIZE */
#endif
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index d363c4d..0901418 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -38,7 +38,7 @@
#define _SYS_SOCKETVAR_H_
#include <sys/queue.h> /* for TAILQ macros */
-#include <sys/select.h> /* for struct selinfo */
+#include <sys/selinfo.h> /* for struct selinfo */
/*
* Kernel structure per socket.
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index c6f4056..43a5159 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -44,7 +44,7 @@
#include <sys/termios.h>
#include <sys/queue.h>
-#include <sys/select.h> /* For struct selinfo. */
+#include <sys/selinfo.h>
/*
* Clists are character lists, which is a variable length linked list
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 2ab6f3f..7a463e2 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -40,7 +40,7 @@
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/queue.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <sys/acl.h>
OpenPOWER on IntegriCloud