Canonicalize all #includes, and add pio.h where appropriate.
This commit is contained in:
parent
18d2f02bc9
commit
f2a0b4b335
@ -12,26 +12,29 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1742.c,v 1.14 1993/07/28 02:21:11 cgd Exp $
|
||||
* $Id: aha1742.c,v 1.15 1993/12/20 09:05:24 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "ahb.h"
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#include "i386/include/pio.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
|
||||
#ifdef DDB
|
||||
int Debugger();
|
||||
|
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1542.c,v 1.14 1993/08/23 05:01:56 cgd Exp $
|
||||
* $Id: aha1542.c,v 1.15 1993/12/20 09:05:17 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -44,20 +44,24 @@
|
||||
|
||||
#include "aha.h"
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "machine/stdarg.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
|
||||
#ifdef DDB
|
||||
|
@ -12,26 +12,29 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1742.c,v 1.14 1993/07/28 02:21:11 cgd Exp $
|
||||
* $Id: aha1742.c,v 1.15 1993/12/20 09:05:24 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "ahb.h"
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#include "i386/include/pio.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
|
||||
#ifdef DDB
|
||||
int Debugger();
|
||||
|
@ -12,78 +12,16 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: bt742a.c,v 1.9 1993/12/07 12:51:58 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: bt742a.c,v $
|
||||
* Revision 1.9 1993/12/07 12:51:58 deraadt
|
||||
* __386BSD__ -> __NetBSD__
|
||||
*
|
||||
* Revision 1.8 1993/07/17 11:00:09 deraadt
|
||||
* scsi_switch had wrong entries for these controllers...
|
||||
*
|
||||
* Revision 1.7 1993/06/09 22:36:49 deraadt
|
||||
* minor silliness related to two or more controllers
|
||||
*
|
||||
* Revision 1.6 1993/05/22 08:01:05 cgd
|
||||
* add rcsids to everything and clean up headers
|
||||
*
|
||||
* Revision 1.5 1993/05/04 08:32:44 deraadt
|
||||
* support for making dev->id_alive be set, this is for iostat to
|
||||
* find disk devices. wee bit of a kludge. sub-device attach()
|
||||
* routines must now return 1 for successful attach(), 0 otherwise.
|
||||
* Other bsd's do this too..
|
||||
*
|
||||
* Revision 1.4 1993/04/15 07:57:54 deraadt
|
||||
* ioconf changes, see previous cvs's that dumped core
|
||||
*
|
||||
* Revision 1.3 1993/04/12 08:17:28 deraadt
|
||||
* new scsi subsystem.
|
||||
* changes also in config/mkioconf.c & sys/scsi/*
|
||||
*
|
||||
* Revision 1.2 1993/04/10 12:05:14 glass
|
||||
* fixed to be compliant, subservient, and to take advantage of the newly
|
||||
* hacked config(8)
|
||||
*
|
||||
* Revision 1.1 1993/03/21 18:10:06 cgd
|
||||
* after 0.2.2 "stable" patches applied
|
||||
*
|
||||
* Revision 1.7 1992/08/24 22:40:16 jason
|
||||
* BIG_DMA ifdef for 512 dma segments instead of 128 segments
|
||||
*
|
||||
* Revision 1.6 1992/08/24 21:01:58 jason
|
||||
* many changes and bugfixes for osf1
|
||||
*
|
||||
* Revision 1.5 1992/07/31 01:22:03 julian
|
||||
* support improved scsi.h layout
|
||||
*
|
||||
* Revision 1.4 1992/07/25 03:11:26 julian
|
||||
* check each request fro sane flags.
|
||||
*
|
||||
* Revision 1.3 1992/07/24 00:52:45 julian
|
||||
* improved timeout handling.
|
||||
* added support for two arguments to the sd_done (or equiv) call so that
|
||||
* they can pre-queue several arguments.
|
||||
* slightly clean up error handling
|
||||
*
|
||||
* Revision 1.2 1992/07/17 22:03:54 julian
|
||||
* upgraded the timeout code.
|
||||
* added support for UIO-based i/o (as used for pmem operations)
|
||||
*
|
||||
* Revision 1.1 1992/05/27 00:51:12 balsup
|
||||
* machkern/cor merge
|
||||
*
|
||||
* $Id: bt742a.c,v 1.10 1993/12/20 09:05:27 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* bt742a BT-1542A SCSI driver
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <bt.h>
|
||||
#include "bt.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
@ -114,9 +52,12 @@
|
||||
#define dev_unit id_unit
|
||||
#define dev_addr id_iobase
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#endif __NetBSD__
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.14 1993/09/21 13:09:10 brezak Exp $
|
||||
* $Id: clock.c,v 1.15 1993/12/20 09:05:30 mycroft Exp $
|
||||
*/
|
||||
/*
|
||||
* Mach Operating System
|
||||
@ -86,16 +86,19 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
/*
|
||||
* Primitive clock interrupt routines.
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "time.h"
|
||||
#include "kernel.h"
|
||||
#include "machine/segments.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/clock.h"
|
||||
#include "i386/isa/rtc.h"
|
||||
#include "i386/isa/timerreg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/kernel.h>
|
||||
|
||||
#include <machine/segments.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/clock.h>
|
||||
#include <i386/isa/rtc.h>
|
||||
#include <i386/isa/timerreg.h>
|
||||
|
||||
void spinwait __P((int));
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.13 1993/09/29 02:36:21 cgd Exp $
|
||||
* $Id: com.c,v 1.14 1993/12/20 09:05:33 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -40,23 +40,26 @@
|
||||
* COM driver, based on HP dca driver
|
||||
* uses National Semiconductor NS16450/NS16550AF UART
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "ioctl.h"
|
||||
#include "select.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include "types.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/comreg.h>
|
||||
#include <i386/isa/ic/ns16550.h>
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/comreg.h"
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
@ -104,7 +107,7 @@ struct speedtab comspeedtab[] = {
|
||||
|
||||
extern struct tty *constty;
|
||||
#ifdef KGDB
|
||||
#include "machine/remote-sl.h"
|
||||
#include <machine/remote-sl.h>
|
||||
|
||||
extern int kgdb_dev;
|
||||
extern int kgdb_rate;
|
||||
@ -606,7 +609,7 @@ commctl(dev, bits, how)
|
||||
/*
|
||||
* Following are all routines needed for COM to act as console
|
||||
*/
|
||||
#include "i386/i386/cons.h"
|
||||
#include <i386/i386/cons.h>
|
||||
|
||||
comcnprobe(cp)
|
||||
struct consdev *cp;
|
||||
|
@ -27,7 +27,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cy.c,v 1.2 1993/10/29 08:58:34 andrew Exp $
|
||||
* $Id: cy.c,v 1.3 1993/12/20 09:05:35 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -59,23 +59,25 @@
|
||||
#include "cy.h"
|
||||
#if NCY > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "kernel.h"
|
||||
#include "malloc.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "i386/include/cpufunc.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/ic/cd1400.h"
|
||||
#include <machine/pio.h>
|
||||
#include <machine/cpufunc.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/ic/cd1400.h>
|
||||
|
||||
#define RxFifoThreshold 3 /* 3 characters (out of 12) in the receive
|
||||
* FIFO before an interrupt is generated
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
|
||||
* $Id: fd.c,v 1.20 1993/08/01 19:25:40 mycroft Exp $
|
||||
* $Id: fd.c,v 1.21 1993/12/20 09:05:41 mycroft Exp $
|
||||
*
|
||||
* Largely rewritten to handle multiple controllers and drives
|
||||
* By Julian Elischer, Sun Apr 4 16:34:33 WST 1993
|
||||
@ -44,20 +44,23 @@
|
||||
#include "fd.h"
|
||||
#if NFDC > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "dkbad.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "ioctl.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "machine/cpufunc.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/fdreg.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/rtc.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/fdreg.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/rtc.h>
|
||||
|
||||
#define FDUNIT(s) ((s>>3)&1)
|
||||
#define FDTYPE(s) ((s)&7)
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ec.c,v 1.11 1993/12/10 10:57:40 cgd Exp $
|
||||
* $Id: if_ec.c,v 1.12 1993/12/20 09:05:46 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -54,27 +54,33 @@
|
||||
* good rendition of a 3c503, I also scavenged a lot of ideas from
|
||||
* there.
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/if_ec.h"
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/if_ec.h>
|
||||
|
||||
#include "ec.h"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Id: if_ed.c,v 1.14 1993/12/15 03:01:07 mycroft Exp $
|
||||
* $Id: if_ed.c,v 1.15 1993/12/20 09:05:49 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -89,43 +89,43 @@
|
||||
/* bpfilter included here in case it is needed in future net includes */
|
||||
#include "bpfilter.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "errno.h"
|
||||
#include "ioctl.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/netisr.h"
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/if_edreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include "i386/include/pio.h"
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/if_edreg.h>
|
||||
|
||||
/* For backwards compatibility */
|
||||
#ifndef IFF_ALTPHYS
|
||||
|
@ -21,7 +21,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: if_ep.c,v 1.4 1993/12/16 20:14:10 hpeyerl Exp $
|
||||
* $Id: if_ep.c,v 1.5 1993/12/20 09:05:55 mycroft Exp $
|
||||
*/
|
||||
/*
|
||||
* TODO:
|
||||
@ -33,38 +33,45 @@
|
||||
#if NEP > 0
|
||||
#include "bpfilter.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include "select.h"
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/netisr.h"
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#endif
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#endif
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#endif
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#if NBPFILTER > 0
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/if_epreg.h>
|
||||
|
||||
#include "i386/isa/if_epreg.h"
|
||||
#define ETHER_MIN_LEN 64
|
||||
#define ETHER_MAX_LEN 1518
|
||||
#define ETHER_ADDR_LEN 6
|
||||
|
@ -31,7 +31,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_hp.c,v 1.10 1993/09/06 18:30:39 mycroft Exp $
|
||||
* $Id: if_hp.c,v 1.11 1993/12/20 09:05:58 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -53,44 +53,45 @@
|
||||
#include "hp.h"
|
||||
#if NHP > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "mbuf.h"
|
||||
#include "buf.h"
|
||||
#include "protosw.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/protosw.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include "net/route.h"
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#include "bpfilter.h"
|
||||
#if NBPFILTER > 0
|
||||
#include "sys/select.h"
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <sys/select.h>
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "machine/cpufunc.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/if_nereg.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/if_nereg.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
int hpprobe (), hpattach (), hpintr ();
|
||||
int hpstart (), hpinit (), ether_output (), hpioctl ();
|
||||
|
@ -27,43 +27,44 @@
|
||||
|
||||
#include "bpfilter.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "errno.h"
|
||||
#include "ioctl.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/netisr.h"
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/if_isreg.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include "vm/vm.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/if_isreg.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
|
||||
#define ETHER_MIN_LEN 64
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)if_ne.c 7.4 (Berkeley) 5/21/91
|
||||
* $Id: if_ne.c,v 1.12 1993/10/01 23:12:04 mycroft Exp $
|
||||
* $Id: if_ne.c,v 1.13 1993/12/20 09:06:07 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -47,43 +47,45 @@
|
||||
#include "ne.h"
|
||||
#if NNE > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "mbuf.h"
|
||||
#include "buf.h"
|
||||
#include "protosw.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/protosw.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include "net/route.h"
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#include "bpfilter.h"
|
||||
#if NBPFILTER > 0
|
||||
#include "sys/select.h"
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <sys/select.h>
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/if_nereg.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/if_nereg.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
int neprobe(), neattach(), neintr();
|
||||
int nestart(),neinit(), ether_output(), neioctl();
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)if_we.c 7.3 (Berkeley) 5/21/91
|
||||
* $Id: if_we.c,v 1.11 1993/08/03 05:06:26 mycroft Exp $
|
||||
* $Id: if_we.c,v 1.12 1993/12/20 09:06:12 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "we.h"
|
||||
@ -48,45 +48,44 @@
|
||||
* The Western Digital card is one of many AT/MCA ethernet interfaces
|
||||
* based on the National DS8390 Network Interface chip set.
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include "select.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/netisr.h"
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#include "bpfilter.h"
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/if_wereg.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#if 0
|
||||
#include "i386/include/pio.h"
|
||||
#endif
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/if_wereg.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
static inline char *we_ring_copy();
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.30 1993/12/17 00:11:48 mycroft Exp $
|
||||
* $Id: isa.c,v 1.31 1993/12/20 09:06:15 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -47,27 +47,31 @@
|
||||
* isa_dmastart()
|
||||
*/
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "syslog.h"
|
||||
#include "malloc.h"
|
||||
#include "machine/segments.h"
|
||||
#include "machine/cpufunc.h"
|
||||
#include "vm/vm.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/ic/i8237.h"
|
||||
#include "i386/isa/ic/i8042.h"
|
||||
#include "i386/isa/timerreg.h"
|
||||
#include "i386/isa/spkr_reg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <machine/segments.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/ic/i8237.h>
|
||||
#include <i386/isa/ic/i8042.h>
|
||||
#include <i386/isa/timerreg.h>
|
||||
#include <i386/isa/spkr_reg.h>
|
||||
|
||||
/* sorry, has to be here, no place else really suitable */
|
||||
#include "machine/pc/display.h"
|
||||
#include <machine/pc/display.h>
|
||||
u_short *Crtat = (u_short *)MONO_BUF;
|
||||
|
||||
/*
|
||||
|
@ -19,30 +19,30 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lms.c,v 1.6 1993/08/02 17:52:34 mycroft Exp $
|
||||
* $Id: lms.c,v 1.7 1993/12/20 09:06:17 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "lms.h"
|
||||
|
||||
#if NLMS > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "kernel.h"
|
||||
#include "systm.h"
|
||||
#include "buf.h"
|
||||
#include "malloc.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "file.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/file.h>
|
||||
#ifdef NetBSD
|
||||
#include "select.h"
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include "proc.h"
|
||||
#include "vnode.h"
|
||||
#include <sys/proc.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include "i386/include/mouse.h"
|
||||
#include "i386/include/pio.h" /* Julian's fast IO macros */
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include <machine/mouse.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#define DATA 0 /* Offset for data port, read-only */
|
||||
#define SIGN 1 /* Offset for signature port, read-write */
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lpa.c,v 1.5 1993/08/28 00:11:33 brezak Exp $
|
||||
* $Id: lpa.c,v 1.6 1993/12/20 09:06:19 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -64,20 +64,22 @@
|
||||
#include "lpa.h"
|
||||
#if NLPA > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "buf.h"
|
||||
#include "systm.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "malloc.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
/* internal used flags */
|
||||
#define OPEN (0x01) /* device is open */
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lpt.c,v 1.8 1993/09/28 21:26:59 cgd Exp $
|
||||
* $Id: lpt.c,v 1.9 1993/12/20 09:06:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -58,19 +58,21 @@
|
||||
#include "lpt.h"
|
||||
#if NLPT > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
#define LPINITRDY 4 /* wait up to 4 seconds for a ready */
|
||||
#define LPTOUTTIME 4 /* wait up to 4 seconds for a ready */
|
||||
|
@ -35,29 +35,32 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.2 1993/11/17 12:22:50 cgd Exp $
|
||||
* $Id: mcd.c,v 1.3 1993/12/20 09:06:26 mycroft Exp $
|
||||
*/
|
||||
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
#include "mcd.h"
|
||||
#if NMCD > 0
|
||||
#include "types.h"
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "buf.h"
|
||||
#include "stat.h"
|
||||
#include "uio.h"
|
||||
#include "ioctl.h"
|
||||
#include "cdio.h"
|
||||
#include "errno.h"
|
||||
#include "dkbad.h"
|
||||
#include "disklabel.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "mcdreg.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/cdio.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/mcdreg.h>
|
||||
|
||||
/* user definable options */
|
||||
/*#define MCD_TO_WARNING_ON*/ /* define to get timeout messages */
|
||||
|
@ -19,30 +19,30 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mms.c,v 1.6 1993/08/02 17:52:35 mycroft Exp $
|
||||
* $Id: mms.c,v 1.7 1993/12/20 09:06:28 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "mms.h"
|
||||
|
||||
#if NMMS > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "kernel.h"
|
||||
#include "systm.h"
|
||||
#include "buf.h"
|
||||
#include "malloc.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "file.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/file.h>
|
||||
#ifdef NetBSD
|
||||
#include "select.h"
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include "proc.h"
|
||||
#include "vnode.h"
|
||||
#include <sys/proc.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include "i386/include/mouse.h"
|
||||
#include "i386/include/pio.h" /* Julian's fast IO macros */
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include <machine/mouse.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#define ADDR 0 /* Offset for register select */
|
||||
#define DATA 1 /* Offset for InPort data */
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.9 1993/12/20 05:30:55 mycroft Exp $
|
||||
* $Id: npx.c,v 1.10 1993/12/20 09:06:31 mycroft Exp $
|
||||
*/
|
||||
#include "npx.h"
|
||||
#if NNPX > 0
|
||||
@ -46,6 +46,7 @@
|
||||
#include <sys/vmmeter.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pio.h>
|
||||
#include <machine/pcb.h>
|
||||
#include <machine/trap.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
@ -34,35 +34,38 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* $Id: pccons.c,v 1.35 1993/11/11 15:43:52 mycroft Exp $
|
||||
* $Id: pccons.c,v 1.36 1993/12/20 09:06:35 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "pc.h"
|
||||
#if NPC > 0
|
||||
|
||||
/*
|
||||
* code to work keyboard & display for PC-style console
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "conf.h"
|
||||
#include "ioctl.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "select.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "callout.h"
|
||||
#include "systm.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/i386/cons.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/ic/i8042.h"
|
||||
#include "i386/isa/kbd.h"
|
||||
#include "machine/pc/display.h"
|
||||
#include "machine/pccons.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/callout.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "pc.h"
|
||||
#if NPC > 0
|
||||
#include <machine/pio.h>
|
||||
#include <machine/pccons.h>
|
||||
#include <machine/pc/display.h>
|
||||
|
||||
#include <i386/i386/cons.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/ic/i8042.h>
|
||||
#include <i386/isa/kbd.h>
|
||||
|
||||
#ifndef BEEP_FREQ
|
||||
#define BEEP_FREQ 1500
|
||||
@ -1774,7 +1777,7 @@ getchar()
|
||||
/*}*/
|
||||
}
|
||||
|
||||
#include "machine/stdarg.h"
|
||||
#include <machine/stdarg.h>
|
||||
static nrow;
|
||||
|
||||
#define DPAUSE 1
|
||||
@ -1813,8 +1816,8 @@ int pcmmap(dev_t dev, int offset, int nprot)
|
||||
}
|
||||
|
||||
#ifdef XSERVER /* 15 Aug 92*/
|
||||
#include "machine/psl.h"
|
||||
#include "machine/frame.h"
|
||||
#include <machine/psl.h>
|
||||
#include <machine/frame.h>
|
||||
|
||||
pc_xmode_on ()
|
||||
{
|
||||
|
@ -19,30 +19,30 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: pms.c,v 1.8 1993/11/02 23:59:34 mycroft Exp $
|
||||
* $Id: pms.c,v 1.9 1993/12/20 09:06:39 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "pms.h"
|
||||
|
||||
#if NPMS > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "kernel.h"
|
||||
#include "systm.h"
|
||||
#include "buf.h"
|
||||
#include "malloc.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "file.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/file.h>
|
||||
#ifdef NetBSD
|
||||
#include "select.h"
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include "proc.h"
|
||||
#include "vnode.h"
|
||||
#include <sys/proc.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include "i386/include/mouse.h"
|
||||
#include "i386/include/pio.h" /* Julian's fast IO macros */
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include <machine/mouse.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#define DATA 0 /* Offset for data port, read-write */
|
||||
#define CNTRL 4 /* Offset for control port, write-only */
|
||||
|
@ -6,22 +6,24 @@
|
||||
* 386bsd only clean version, all SYSV stuff removed
|
||||
* use hz value from param.c
|
||||
*
|
||||
* $Id: spkr.c,v 1.7 1993/12/03 09:37:56 mycroft Exp $
|
||||
* $Id: spkr.c,v 1.8 1993/12/20 09:06:42 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "speaker.h"
|
||||
|
||||
#if NSPEAKER > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "kernel.h"
|
||||
#include "errno.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "i386/include/spkr.h"
|
||||
#include "isa.h"
|
||||
#include "timerreg.h"
|
||||
#include "spkr_reg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
#include <machine/spkr.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/timerreg.h>
|
||||
#include <i386/isa/spkr_reg.h>
|
||||
|
||||
/**************** MACHINE DEPENDENT PART STARTS HERE *************************
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: ultra14f.c,v 1.14 1993/12/07 12:52:01 deraadt Exp $
|
||||
* $Id: ultra14f.c,v 1.15 1993/12/20 09:06:46 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -51,7 +51,7 @@
|
||||
#define dev_unit id_unit
|
||||
#define dev_addr id_iobase
|
||||
|
||||
#include <i386/include/pio.h>
|
||||
#include <machine/pio.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.28 1993/12/16 20:22:56 mycroft Exp $
|
||||
* $Id: wd.c,v 1.29 1993/12/20 09:06:50 mycroft Exp $
|
||||
*/
|
||||
|
||||
/* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */
|
||||
@ -52,27 +52,31 @@
|
||||
#include "wd.h"
|
||||
#if NWDC > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "dkbad.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "stat.h"
|
||||
#include "ioctl.h"
|
||||
#include "disklabel.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "malloc.h"
|
||||
#include "machine/cpu.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/syslog.h>
|
||||
#ifdef INSTRUMENT
|
||||
#include "sys/dkstat.h"
|
||||
#include <sys/dkstat.h>
|
||||
#endif
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/wdreg.h"
|
||||
#include "syslog.h"
|
||||
#include "vm/vm.h"
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/wdreg.h>
|
||||
|
||||
#ifndef WDCNDELAY
|
||||
#define WDCNDELAY 400000 /* delay = 25us; so 10s for a controller state change */
|
||||
|
@ -16,25 +16,28 @@
|
||||
* scatter gather is done by the board, then look at one of the Adaptec
|
||||
* drivers to finish off the job..
|
||||
*
|
||||
* $Id: wd7000.c,v 1.7 1993/06/10 04:50:42 deraadt Exp $
|
||||
* $Id: wd7000.c,v 1.8 1993/12/20 09:06:55 mycroft Exp $
|
||||
*/
|
||||
#include "wds.h"
|
||||
#if NWDS > 0
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
extern int delaycount; /* from clock setup code */
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wt.c 7.1 (Berkeley) 5/9/91
|
||||
* $Id: wt.c,v 1.5 1993/07/28 02:21:40 cgd Exp $
|
||||
* $Id: wt.c,v 1.6 1993/12/20 09:06:57 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -64,25 +64,6 @@
|
||||
|
||||
#include "wt.h"
|
||||
#if NWT > 0
|
||||
/*
|
||||
* (Mach) HISTORY
|
||||
* Revision 2.2.1.3 90/01/08 13:29:38 rvb
|
||||
* Add Intel copyright.
|
||||
* [90/01/08 rvb]
|
||||
*
|
||||
* Revision 2.2.1.2 89/12/21 18:00:09 rvb
|
||||
* Change WTPRI to make the streamer tape read/write
|
||||
* interruptible. [lin]
|
||||
*
|
||||
* Revision 2.2.1.1 89/11/10 09:49:49 rvb
|
||||
* ORC likes their streamer port at 0x288.
|
||||
* [89/11/08 rvb]
|
||||
*
|
||||
* Revision 2.2 89/09/25 12:33:02 rvb
|
||||
* Driver was provided by Intel 9/18/89.
|
||||
* [89/09/23 rvb]
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
@ -91,15 +72,15 @@
|
||||
* Support Bell Tech QIC-02 and WANGTEK QIC-36 or QIC-02
|
||||
*/
|
||||
|
||||
/*#include <sys/errno.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/types.h>*/
|
||||
#include "sys/param.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/file.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include "i386/isa/wtreg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/wtreg.h>
|
||||
|
||||
#ifdef ORC
|
||||
unsigned wtport = 0x288; /* base I/O port of controller */
|
||||
@ -1135,8 +1116,8 @@ wtdump()
|
||||
{
|
||||
}
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
int wtprobe(), wtattach();
|
||||
struct isa_driver wtdriver = {
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.28 1993/12/16 20:22:56 mycroft Exp $
|
||||
* $Id: wd.c,v 1.29 1993/12/20 09:06:50 mycroft Exp $
|
||||
*/
|
||||
|
||||
/* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */
|
||||
@ -52,27 +52,31 @@
|
||||
#include "wd.h"
|
||||
#if NWDC > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "dkbad.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "stat.h"
|
||||
#include "ioctl.h"
|
||||
#include "disklabel.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "malloc.h"
|
||||
#include "machine/cpu.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/syslog.h>
|
||||
#ifdef INSTRUMENT
|
||||
#include "sys/dkstat.h"
|
||||
#include <sys/dkstat.h>
|
||||
#endif
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/wdreg.h"
|
||||
#include "syslog.h"
|
||||
#include "vm/vm.h"
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/wdreg.h>
|
||||
|
||||
#ifndef WDCNDELAY
|
||||
#define WDCNDELAY 400000 /* delay = 25us; so 10s for a controller state change */
|
||||
|
@ -12,26 +12,29 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1742.c,v 1.14 1993/07/28 02:21:11 cgd Exp $
|
||||
* $Id: aha1742.c,v 1.15 1993/12/20 09:05:24 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "ahb.h"
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
#include "i386/include/pio.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
|
||||
#ifdef DDB
|
||||
int Debugger();
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.13 1993/09/29 02:36:21 cgd Exp $
|
||||
* $Id: com.c,v 1.14 1993/12/20 09:05:33 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -40,23 +40,26 @@
|
||||
* COM driver, based on HP dca driver
|
||||
* uses National Semiconductor NS16450/NS16550AF UART
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "ioctl.h"
|
||||
#include "select.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include "types.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/comreg.h>
|
||||
#include <i386/isa/ic/ns16550.h>
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/comreg.h"
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
@ -104,7 +107,7 @@ struct speedtab comspeedtab[] = {
|
||||
|
||||
extern struct tty *constty;
|
||||
#ifdef KGDB
|
||||
#include "machine/remote-sl.h"
|
||||
#include <machine/remote-sl.h>
|
||||
|
||||
extern int kgdb_dev;
|
||||
extern int kgdb_rate;
|
||||
@ -606,7 +609,7 @@ commctl(dev, bits, how)
|
||||
/*
|
||||
* Following are all routines needed for COM to act as console
|
||||
*/
|
||||
#include "i386/i386/cons.h"
|
||||
#include <i386/i386/cons.h>
|
||||
|
||||
comcnprobe(cp)
|
||||
struct consdev *cp;
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lpt.c,v 1.8 1993/09/28 21:26:59 cgd Exp $
|
||||
* $Id: lpt.c,v 1.9 1993/12/20 09:06:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -58,19 +58,21 @@
|
||||
#include "lpt.h"
|
||||
#if NLPT > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
#define LPINITRDY 4 /* wait up to 4 seconds for a ready */
|
||||
#define LPTOUTTIME 4 /* wait up to 4 seconds for a ready */
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lptvar.h,v 1.8 1993/09/28 21:26:59 cgd Exp $
|
||||
* $Id: lptvar.h,v 1.9 1993/12/20 09:06:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -58,19 +58,21 @@
|
||||
#include "lpt.h"
|
||||
#if NLPT > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
#define LPINITRDY 4 /* wait up to 4 seconds for a ready */
|
||||
#define LPTOUTTIME 4 /* wait up to 4 seconds for a ready */
|
||||
|
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1542.c,v 1.14 1993/08/23 05:01:56 cgd Exp $
|
||||
* $Id: aha1542.c,v 1.15 1993/12/20 09:05:17 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -44,20 +44,24 @@
|
||||
|
||||
#include "aha.h"
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "machine/stdarg.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
|
||||
#ifdef DDB
|
||||
|
@ -12,78 +12,16 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: bt742a.c,v 1.9 1993/12/07 12:51:58 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: bt742a.c,v $
|
||||
* Revision 1.9 1993/12/07 12:51:58 deraadt
|
||||
* __386BSD__ -> __NetBSD__
|
||||
*
|
||||
* Revision 1.8 1993/07/17 11:00:09 deraadt
|
||||
* scsi_switch had wrong entries for these controllers...
|
||||
*
|
||||
* Revision 1.7 1993/06/09 22:36:49 deraadt
|
||||
* minor silliness related to two or more controllers
|
||||
*
|
||||
* Revision 1.6 1993/05/22 08:01:05 cgd
|
||||
* add rcsids to everything and clean up headers
|
||||
*
|
||||
* Revision 1.5 1993/05/04 08:32:44 deraadt
|
||||
* support for making dev->id_alive be set, this is for iostat to
|
||||
* find disk devices. wee bit of a kludge. sub-device attach()
|
||||
* routines must now return 1 for successful attach(), 0 otherwise.
|
||||
* Other bsd's do this too..
|
||||
*
|
||||
* Revision 1.4 1993/04/15 07:57:54 deraadt
|
||||
* ioconf changes, see previous cvs's that dumped core
|
||||
*
|
||||
* Revision 1.3 1993/04/12 08:17:28 deraadt
|
||||
* new scsi subsystem.
|
||||
* changes also in config/mkioconf.c & sys/scsi/*
|
||||
*
|
||||
* Revision 1.2 1993/04/10 12:05:14 glass
|
||||
* fixed to be compliant, subservient, and to take advantage of the newly
|
||||
* hacked config(8)
|
||||
*
|
||||
* Revision 1.1 1993/03/21 18:10:06 cgd
|
||||
* after 0.2.2 "stable" patches applied
|
||||
*
|
||||
* Revision 1.7 1992/08/24 22:40:16 jason
|
||||
* BIG_DMA ifdef for 512 dma segments instead of 128 segments
|
||||
*
|
||||
* Revision 1.6 1992/08/24 21:01:58 jason
|
||||
* many changes and bugfixes for osf1
|
||||
*
|
||||
* Revision 1.5 1992/07/31 01:22:03 julian
|
||||
* support improved scsi.h layout
|
||||
*
|
||||
* Revision 1.4 1992/07/25 03:11:26 julian
|
||||
* check each request fro sane flags.
|
||||
*
|
||||
* Revision 1.3 1992/07/24 00:52:45 julian
|
||||
* improved timeout handling.
|
||||
* added support for two arguments to the sd_done (or equiv) call so that
|
||||
* they can pre-queue several arguments.
|
||||
* slightly clean up error handling
|
||||
*
|
||||
* Revision 1.2 1992/07/17 22:03:54 julian
|
||||
* upgraded the timeout code.
|
||||
* added support for UIO-based i/o (as used for pmem operations)
|
||||
*
|
||||
* Revision 1.1 1992/05/27 00:51:12 balsup
|
||||
* machkern/cor merge
|
||||
*
|
||||
* $Id: bt742a.c,v 1.10 1993/12/20 09:05:27 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* bt742a BT-1542A SCSI driver
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <bt.h>
|
||||
#include "bt.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
@ -114,9 +52,12 @@
|
||||
#define dev_unit id_unit
|
||||
#define dev_addr id_iobase
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#endif __NetBSD__
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.13 1993/09/29 02:36:21 cgd Exp $
|
||||
* $Id: com.c,v 1.14 1993/12/20 09:05:33 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -40,23 +40,26 @@
|
||||
* COM driver, based on HP dca driver
|
||||
* uses National Semiconductor NS16450/NS16550AF UART
|
||||
*/
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "ioctl.h"
|
||||
#include "select.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include "types.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/comreg.h>
|
||||
#include <i386/isa/ic/ns16550.h>
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/comreg.h"
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
@ -104,7 +107,7 @@ struct speedtab comspeedtab[] = {
|
||||
|
||||
extern struct tty *constty;
|
||||
#ifdef KGDB
|
||||
#include "machine/remote-sl.h"
|
||||
#include <machine/remote-sl.h>
|
||||
|
||||
extern int kgdb_dev;
|
||||
extern int kgdb_rate;
|
||||
@ -606,7 +609,7 @@ commctl(dev, bits, how)
|
||||
/*
|
||||
* Following are all routines needed for COM to act as console
|
||||
*/
|
||||
#include "i386/i386/cons.h"
|
||||
#include <i386/i386/cons.h>
|
||||
|
||||
comcnprobe(cp)
|
||||
struct consdev *cp;
|
||||
|
@ -27,7 +27,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cy.c,v 1.2 1993/10/29 08:58:34 andrew Exp $
|
||||
* $Id: cy.c,v 1.3 1993/12/20 09:05:35 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -59,23 +59,25 @@
|
||||
#include "cy.h"
|
||||
#if NCY > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "kernel.h"
|
||||
#include "malloc.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "i386/include/cpufunc.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/ic/cd1400.h"
|
||||
#include <machine/pio.h>
|
||||
#include <machine/cpufunc.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/ic/cd1400.h>
|
||||
|
||||
#define RxFifoThreshold 3 /* 3 characters (out of 12) in the receive
|
||||
* FIFO before an interrupt is generated
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Id: if_ed.c,v 1.14 1993/12/15 03:01:07 mycroft Exp $
|
||||
* $Id: if_ed.c,v 1.15 1993/12/20 09:05:49 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -89,43 +89,43 @@
|
||||
/* bpfilter included here in case it is needed in future net includes */
|
||||
#include "bpfilter.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "errno.h"
|
||||
#include "ioctl.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/netisr.h"
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/if_edreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include "i386/include/pio.h"
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/if_edreg.h>
|
||||
|
||||
/* For backwards compatibility */
|
||||
#ifndef IFF_ALTPHYS
|
||||
|
@ -21,7 +21,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: if_ep.c,v 1.4 1993/12/16 20:14:10 hpeyerl Exp $
|
||||
* $Id: if_ep.c,v 1.5 1993/12/20 09:05:55 mycroft Exp $
|
||||
*/
|
||||
/*
|
||||
* TODO:
|
||||
@ -33,38 +33,45 @@
|
||||
#if NEP > 0
|
||||
#include "bpfilter.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "mbuf.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include "select.h"
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include "net/if_dl.h"
|
||||
#include "net/if_types.h"
|
||||
#include "net/netisr.h"
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#endif
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#endif
|
||||
#if NBPFILTER > 0
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#endif
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
||||
#ifdef INET
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#if NBPFILTER > 0
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/if_epreg.h>
|
||||
|
||||
#include "i386/isa/if_epreg.h"
|
||||
#define ETHER_MIN_LEN 64
|
||||
#define ETHER_MAX_LEN 1518
|
||||
#define ETHER_ADDR_LEN 6
|
||||
|
@ -31,7 +31,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_hp.c,v 1.10 1993/09/06 18:30:39 mycroft Exp $
|
||||
* $Id: if_hp.c,v 1.11 1993/12/20 09:05:58 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -53,44 +53,45 @@
|
||||
#include "hp.h"
|
||||
#if NHP > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "mbuf.h"
|
||||
#include "buf.h"
|
||||
#include "protosw.h"
|
||||
#include "socket.h"
|
||||
#include "ioctl.h"
|
||||
#include "errno.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/protosw.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "net/if.h"
|
||||
#include "net/netisr.h"
|
||||
#include "net/route.h"
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
||||
#ifdef INET
|
||||
#include "netinet/in.h"
|
||||
#include "netinet/in_systm.h"
|
||||
#include "netinet/in_var.h"
|
||||
#include "netinet/ip.h"
|
||||
#include "netinet/if_ether.h"
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS
|
||||
#include "netns/ns.h"
|
||||
#include "netns/ns_if.h"
|
||||
#include <netns/ns.h>
|
||||
#include <netns/ns_if.h>
|
||||
#endif
|
||||
|
||||
#include "bpfilter.h"
|
||||
#if NBPFILTER > 0
|
||||
#include "sys/select.h"
|
||||
#include "net/bpf.h"
|
||||
#include "net/bpfdesc.h"
|
||||
#include <sys/select.h>
|
||||
#include <net/bpf.h>
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include "machine/cpufunc.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/if_nereg.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/if_nereg.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
int hpprobe (), hpattach (), hpintr ();
|
||||
int hpstart (), hpinit (), ether_output (), hpioctl ();
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.30 1993/12/17 00:11:48 mycroft Exp $
|
||||
* $Id: isa.c,v 1.31 1993/12/20 09:06:15 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -47,27 +47,31 @@
|
||||
* isa_dmastart()
|
||||
*/
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "syslog.h"
|
||||
#include "malloc.h"
|
||||
#include "machine/segments.h"
|
||||
#include "machine/cpufunc.h"
|
||||
#include "vm/vm.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/ic/i8237.h"
|
||||
#include "i386/isa/ic/i8042.h"
|
||||
#include "i386/isa/timerreg.h"
|
||||
#include "i386/isa/spkr_reg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <machine/segments.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/ic/i8237.h>
|
||||
#include <i386/isa/ic/i8042.h>
|
||||
#include <i386/isa/timerreg.h>
|
||||
#include <i386/isa/spkr_reg.h>
|
||||
|
||||
/* sorry, has to be here, no place else really suitable */
|
||||
#include "machine/pc/display.h"
|
||||
#include <machine/pc/display.h>
|
||||
u_short *Crtat = (u_short *)MONO_BUF;
|
||||
|
||||
/*
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lpt.c,v 1.8 1993/09/28 21:26:59 cgd Exp $
|
||||
* $Id: lpt.c,v 1.9 1993/12/20 09:06:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -58,19 +58,21 @@
|
||||
#include "lpt.h"
|
||||
#if NLPT > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
#define LPINITRDY 4 /* wait up to 4 seconds for a ready */
|
||||
#define LPTOUTTIME 4 /* wait up to 4 seconds for a ready */
|
||||
|
@ -45,7 +45,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lpt_isa.c,v 1.8 1993/09/28 21:26:59 cgd Exp $
|
||||
* $Id: lpt_isa.c,v 1.9 1993/12/20 09:06:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -58,19 +58,21 @@
|
||||
#include "lpt.h"
|
||||
#if NLPT > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "uio.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/lptreg.h"
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/lptreg.h>
|
||||
|
||||
#define LPINITRDY 4 /* wait up to 4 seconds for a ready */
|
||||
#define LPTOUTTIME 4 /* wait up to 4 seconds for a ready */
|
||||
|
@ -35,29 +35,32 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.2 1993/11/17 12:22:50 cgd Exp $
|
||||
* $Id: mcd.c,v 1.3 1993/12/20 09:06:26 mycroft Exp $
|
||||
*/
|
||||
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
#include "mcd.h"
|
||||
#if NMCD > 0
|
||||
#include "types.h"
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "buf.h"
|
||||
#include "stat.h"
|
||||
#include "uio.h"
|
||||
#include "ioctl.h"
|
||||
#include "cdio.h"
|
||||
#include "errno.h"
|
||||
#include "dkbad.h"
|
||||
#include "disklabel.h"
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "mcdreg.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/cdio.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/mcdreg.h>
|
||||
|
||||
/* user definable options */
|
||||
/*#define MCD_TO_WARNING_ON*/ /* define to get timeout messages */
|
||||
|
@ -15,7 +15,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: ultra14f.c,v 1.14 1993/12/07 12:52:01 deraadt Exp $
|
||||
* $Id: ultra14f.c,v 1.15 1993/12/20 09:06:46 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -51,7 +51,7 @@
|
||||
#define dev_unit id_unit
|
||||
#define dev_addr id_iobase
|
||||
|
||||
#include <i386/include/pio.h>
|
||||
#include <machine/pio.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.28 1993/12/16 20:22:56 mycroft Exp $
|
||||
* $Id: wd.c,v 1.29 1993/12/20 09:06:50 mycroft Exp $
|
||||
*/
|
||||
|
||||
/* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */
|
||||
@ -52,27 +52,31 @@
|
||||
#include "wd.h"
|
||||
#if NWDC > 0
|
||||
|
||||
#include "param.h"
|
||||
#include "dkbad.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "file.h"
|
||||
#include "stat.h"
|
||||
#include "ioctl.h"
|
||||
#include "disklabel.h"
|
||||
#include "buf.h"
|
||||
#include "uio.h"
|
||||
#include "malloc.h"
|
||||
#include "machine/cpu.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/syslog.h>
|
||||
#ifdef INSTRUMENT
|
||||
#include "sys/dkstat.h"
|
||||
#include <sys/dkstat.h>
|
||||
#endif
|
||||
#include "i386/isa/isa.h"
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include "i386/isa/wdreg.h"
|
||||
#include "syslog.h"
|
||||
#include "vm/vm.h"
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
#include <i386/isa/wdreg.h>
|
||||
|
||||
#ifndef WDCNDELAY
|
||||
#define WDCNDELAY 400000 /* delay = 25us; so 10s for a controller state change */
|
||||
|
@ -16,25 +16,28 @@
|
||||
* scatter gather is done by the board, then look at one of the Adaptec
|
||||
* drivers to finish off the job..
|
||||
*
|
||||
* $Id: wd7000.c,v 1.7 1993/06/10 04:50:42 deraadt Exp $
|
||||
* $Id: wd7000.c,v 1.8 1993/12/20 09:06:55 mycroft Exp $
|
||||
*/
|
||||
#include "wds.h"
|
||||
#if NWDS > 0
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "sys/param.h"
|
||||
#include "sys/systm.h"
|
||||
#include "sys/errno.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkbad.h>
|
||||
#include <sys/disklabel.h>
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "sys/dkbad.h"
|
||||
#include "sys/disklabel.h"
|
||||
#include "scsi/scsi_all.h"
|
||||
#include "scsi/scsiconf.h"
|
||||
#include <scsi/scsi_all.h>
|
||||
#include <scsi/scsiconf.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/isa_device.h>
|
||||
|
||||
extern int delaycount; /* from clock setup code */
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wt.c 7.1 (Berkeley) 5/9/91
|
||||
* $Id: wt.c,v 1.5 1993/07/28 02:21:40 cgd Exp $
|
||||
* $Id: wt.c,v 1.6 1993/12/20 09:06:57 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -64,25 +64,6 @@
|
||||
|
||||
#include "wt.h"
|
||||
#if NWT > 0
|
||||
/*
|
||||
* (Mach) HISTORY
|
||||
* Revision 2.2.1.3 90/01/08 13:29:38 rvb
|
||||
* Add Intel copyright.
|
||||
* [90/01/08 rvb]
|
||||
*
|
||||
* Revision 2.2.1.2 89/12/21 18:00:09 rvb
|
||||
* Change WTPRI to make the streamer tape read/write
|
||||
* interruptible. [lin]
|
||||
*
|
||||
* Revision 2.2.1.1 89/11/10 09:49:49 rvb
|
||||
* ORC likes their streamer port at 0x288.
|
||||
* [89/11/08 rvb]
|
||||
*
|
||||
* Revision 2.2 89/09/25 12:33:02 rvb
|
||||
* Driver was provided by Intel 9/18/89.
|
||||
* [89/09/23 rvb]
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
@ -91,15 +72,15 @@
|
||||
* Support Bell Tech QIC-02 and WANGTEK QIC-36 or QIC-02
|
||||
*/
|
||||
|
||||
/*#include <sys/errno.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/types.h>*/
|
||||
#include "sys/param.h"
|
||||
#include "sys/buf.h"
|
||||
#include "sys/file.h"
|
||||
#include "sys/proc.h"
|
||||
#include "sys/user.h"
|
||||
#include "i386/isa/wtreg.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
|
||||
#include <machine/pio.h>
|
||||
|
||||
#include <i386/isa/wtreg.h>
|
||||
|
||||
#ifdef ORC
|
||||
unsigned wtport = 0x288; /* base I/O port of controller */
|
||||
@ -1135,8 +1116,8 @@ wtdump()
|
||||
{
|
||||
}
|
||||
|
||||
#include "i386/isa/isa_device.h"
|
||||
#include "i386/isa/icu.h"
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/icu.h>
|
||||
|
||||
int wtprobe(), wtattach();
|
||||
struct isa_driver wtdriver = {
|
||||
|
Loading…
Reference in New Issue
Block a user