Commit Graph

6678 Commits

Author SHA1 Message Date
kato
25e0e2ea6d Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Support 3COM 3C569 network card on PC98.
1996-12-19 10:31:10 +00:00
kato
b59631323a Synchronize with sys/i386/i386/trap.c revision 1.84 (handle
copyin/out/etc code).
1996-12-19 08:27:33 +00:00
kato
7b0e166588 Synchronize with sys/i386/isa/fd.c revision 1.94 (disable disk
statistics support).
1996-12-19 08:17:08 +00:00
alex
306a37aa00 Hawaii-Five-Typo 1996-12-19 00:26:22 +00:00
wpaul
3fcbfc26de Add prototypes for ethers.3 functions as per wollman:
> wollman     96/12/10 09:19:15
>
>   Modified:    lib/libc/net  ether_addr.c ethers.3
>   Log:
>   Get struct ether_addr directly from <net/ethernet.h> rather than pulling
>   in lots of unrelated junk from <net/if.h> and <net/if_ether.h>.  These
>   functions still aren't prototyped anywhere (but should be in
>   <net/ethernet.h>---got that, Bill?).

(Note that this file has no copyright header; one should probably
be added.)
1996-12-18 21:42:38 +00:00
kato
358a6e029b Delete comment for "sbic" driver.
2.2 candidate.
1996-12-18 20:54:22 +00:00
kato
bf20237146 Sync with sys/i386/i386/userconfig.c revision 1.78 (amd driver entry). 1996-12-18 20:52:31 +00:00
kato
e015264e4f Sync with sys/i386/i386/machdep.c revision 1.222 (move printing of
BIOS geometry).
1996-12-18 20:50:44 +00:00
bde
5bc23e7729 Fixed pedantic syntax error. 1996-12-18 19:36:01 +00:00
bde
f0c9d228cf Added a missing prototype. 1996-12-18 19:14:35 +00:00
bde
ff273d3117 Only handle copyin/out/etc faults when not in an interrupt handler.
This makes unexpected faults (in an interrupt handler) more likely
to crash properly.  It could be done even better (more robustly and
more efficiently) using lazy fault handling.
1996-12-18 19:12:01 +00:00
bde
4ce0dc12b8 Fixed formatting of KERN_DUMPDEV.
Should be in 2.2.
1996-12-18 18:53:00 +00:00
bde
ffefd4e2b1 Fixed bogus linkage of one of the ddb linker sets. 1996-12-18 17:58:24 +00:00
bde
57c569b0dd Disabled half-baked disk statistics support. It didn't actually generate
statistics, so it just wasted scarce disk table slots and screen space.
1996-12-18 17:44:31 +00:00
davidn
ec9b77c38d Much fixed & working digiboard driver. 1996-12-18 16:42:06 +00:00
bde
7e1b929fbe Initialize the upper 16 bits of the memory sizes properly (to 0).
They were garbage that happened to be 0 in many cases.  (real_to_prot()
happens to leave the value of the real-mode %cr0 in %eax and the
memory-size BIOS calls usually don't touch the upper bits of %eax.
The upper 16 bits of %cr0 are usually 0 at boot time, at least on
486's.

Should be in 2.2.
1996-12-18 15:38:23 +00:00
bde
30f3aec18a Moved the printing of the BIOS geometries from cpu_startup() into
configure() where it always belonged.  It was originally slightly
misplaced after configure().  Rev.138 left it completely misplaced
before the DEVFS, DRIVERS and CONFIGURE sysinits by not moving it
together with configure().

Restored the printing of bootinfo.bi_n_bios_used now that it can
be nonzero.
1996-12-18 15:03:10 +00:00
bde
83ef80345a Restored comment about _POSIX_SAVED_IDS from rev.1.2. 1996-12-18 14:02:56 +00:00
jkh
ae90aab2b0 Back out previous commit (and that's the last one I do on swallace's
behalf - from now on he can do his own).  I guess I didn't notice
the code in the wrapper which turned the union semun arg into a pointer.
1996-12-18 13:37:00 +00:00
jkh
b04e8cf275 Change prototype for semctl(). 1996-12-18 13:18:57 +00:00
se
fc23391819 Add Tekram DC390/390T driver "amd0", which is expected to work with
generic AMD 53c974 PCI SCSI controllers as well.
1996-12-18 11:43:33 +00:00
se
0efeb811c5 Add include of <vm/pmap.h> to make this driver compile under -current.
Cleanup to make it compile cleanly in LINT.
Submitted by:	bde
1996-12-18 11:41:28 +00:00
se
2ca4ae1e31 Rename DIAGNOSTIC to DMA_DIAGNOSTIC.
Submitted by:	bde
1996-12-18 11:35:12 +00:00
se
20d3be052b Add comment for "amd" driver: Tekram DC-390(T) and generic AMD 53c974 PCI SCSI. 1996-12-18 01:37:22 +00:00
se
1827d21394 Add driver for AMD 53c974 SCSI (Tekram DC390/390T).
Remove MAX_LUN=2 option for NCR driver: FAILSAFE does
no longer imply MAX_LUN=1.
1996-12-18 01:30:19 +00:00
se
9d78fdc466 Add driver for the Tekram DC390 and DC390F, believed to also work
with generic AMD 53c974 SCSI controllers, under the name of "amd".
1996-12-18 01:24:59 +00:00
se
87eeb5fc5a Add code to fill the EEPROM buffer with default values, if no EEPROM
was found, or if there was a checksum mismatch.
This patch should allow the driver to be used with any AMD 53c974
based SCSI card, or with the AMD SCSI+Ethernet Combo Chip found on
some motherboards.
1996-12-18 01:20:32 +00:00
se
2335fa9b23 Make compile under FreeBSD-current (3.0-DEVELOPMENT). 1996-12-18 01:08:05 +00:00
swallace
67e23025cf In the IBCS2 semctl system call, the last parameter arg is passed by
value, but in the FreeBSD semctl system call implementation, is passed
by  reference.

Submitted by:	 msagre@cactus.fi.uba.ar <Miguel Angel Sagreras>
1996-12-17 19:52:25 +00:00
kato
120b98e78d (1) Fix typo.
(2) Change I/O port addresses of ed3(MELCO LGY) and ed9(CONTEC C-NET).
1996-12-17 14:37:43 +00:00
kato
70b22864c7 Sync with i386/i386/userconfig.c revision 1.77 (I/O port limit). 1996-12-17 13:29:05 +00:00
kato
bc3d7c52ac Sync with i386/i386/machdep.c revision 1.221 (fix nbuf calculation). 1996-12-17 13:26:17 +00:00
msmith
c47353d9e6 Increase the allowable port address from 0x2000 to 0xffff to aid in
making PCI look like ISA.

Closes pr kern/860.

Prompted-by: peter's buglist mailout (excellent idea btw 8)
1996-12-17 06:59:01 +00:00
dg
9e293ad6d5 Fix nbuf calculation /4 -> /8. 2.2 already has it this way.
Reviewed by:	dyson
1996-12-17 04:19:41 +00:00
alex
a599bd855a Typo fix. 1996-12-17 00:46:07 +00:00
fenner
5d79cfa2dc Change default tun MTU back to 1500.
Use the interface MTU instead of the constant when deciding what
	packets to accept.
Allow using the SIOCSIFMTU ioctl (e.g. "ifconfig tun0 mtu XXX") to
	set the MTU.
1996-12-16 19:23:34 +00:00
kato
6f1dcb86ee Synchronize with sys/i386/i386/userconfig.s revision 1.76 (update
comment for "ncr" SCSI controllers).
1996-12-16 17:36:48 +00:00
se
70785d4d9c Fix "opt_ncr.h" changes:
- put #include into #ifdef KERNEL or ncrcontrol won't build
- rename SCSI_DEBUG_FLAGS to SCSI_NCR_DEBUG
1996-12-16 14:31:45 +00:00
se
3ee28706dd This commit was generated by cvs2svn to compensate for changes in r20537,
which included commits to RCS files with non-trunk default branches.
1996-12-15 23:40:48 +00:00
se
d9ee777465 Tekram supplied driver for their DC390 and DC390T controllers.
These controllers are based on the AMD 53c974, and the driver
does only support those two cards, since it checks for a Tekram
specific configuration EEPROM.
This deficiency (TM) will be fixed soon ... :)

This code is:
	(C)Copyright 1995-1996 Tekram Technology Co., Ltd.

Obtained from:	Tekram
1996-12-15 23:40:48 +00:00
se
0edb808d8f Fix typo 1996-12-15 23:25:50 +00:00
wollman
bad310f259 Some days, it just doesn't pay to get out of bed. Fix another broken
reference to the now-dead-for-real-this-time ia_next field.

Reminded by: Russell Vincent
1996-12-15 22:44:00 +00:00
wollman
5a564ce9bf Somehow the removal of ia_next didn't make it in the last time. Hope
it makes it in this time, and remember not to commit changes next time
late on a Friday evening!
1996-12-15 20:46:39 +00:00
bde
754c263639 Attempt to complete the fix in the previous revision. This version
fixes the problem reported by max.
1996-12-15 20:38:30 +00:00
se
7e57dec280 Include "opt_ncr.h" for option settings. 1996-12-15 16:37:17 +00:00
se
3647671614 Add options for NCR driver. 1996-12-15 16:35:54 +00:00
se
ba242d07af Remove "options MAXLUN=2" since the ncr driver will probe for 8 LUNs
now anyway, even if compiled with FAILSAFE defined.
1996-12-15 16:31:18 +00:00
se
5ffd68d312 Do not limit to 1 LUN if FAILSAVE is set. Seems that CDROM drives
are now only probed for LUN 0, unless there is a specific entry in
scsi_conf.c.
1996-12-15 16:28:24 +00:00
se
d4c9c7062f Update comment for "ncr" SCSI controllers (add Symbios and new chips) 1996-12-15 16:24:07 +00:00
bde
57815c1b0f Fixed garbage being returned for constant int values, e.g., for
KERN_SAVED_IDS.

Should be in 2.2.

Reviewed by:	phk
Found by:	NIST-PCTS
1996-12-15 14:38:46 +00:00