Commit Graph

29409 Commits

Author SHA1 Message Date
abs
71c5a6babd Fix ethernet address location for Compex Linkport ENET-B. From PR 7238. 1999-04-09 23:19:27 +00:00
kml
a7f8ef5e9b Ensure that out of window SYNs receive an ACK in responce, rather than
being dropped.  This fixes a bug reported by Jason Thorpe.
1999-04-09 22:01:07 +00:00
drochner
7d5e1f9211 fix error handling: almost all errors were ignored 1999-04-09 20:12:57 +00:00
bad
201401bd9a Enable the TROPIC based shared RAM Token-Ring drivers. 1999-04-09 18:17:35 +00:00
cgd
f262e02775 constify bootprog_*, move their definitions into common.h, and have
the generated vers.c include common.h to check against definitions.
1999-04-09 17:50:15 +00:00
wrstuden
636995172d Make message about not loking a vnode in nullfs_create a little quieter -
now only enabled if NULLFS_DIAGNOSTIC and no longer if DEBUG or DIAGNOSTIC.
1999-04-09 17:27:38 +00:00
minoura
6733198ebd Fix the startup message.
attach_hook is now called without "mdX: " prefix.
1999-04-09 15:41:15 +00:00
drochner
04ef8b5750 actually include <net/if_ether.h> to get these constants 1999-04-09 09:34:13 +00:00
drochner
b86fdd7409 don't expose structures and prototypes to _STANDALONE programs 1999-04-09 09:32:51 +00:00
gwr
4fd30baf02 Better implementation of driver "match" function,
and warning/error cleanup.
1999-04-09 04:26:27 +00:00
gwr
1578ea0b12 Make sure Debugger is declared (even if no DDB).
The sun3 has one regardless of the DDB option.
Fixes kernel compile warning/errors.
1999-04-09 04:01:09 +00:00
thorpej
e468d4c8d9 Fix a bug in TBI optimization uncovered by the "access_type" changes. Thanks
to Bernd Ernesti for providing crash dumps to Charles Hannum who tracked
it down.
1999-04-09 00:38:10 +00:00
hubertf
bbb1c4b60f Actually, we're in sync with GENERIC V1.55 1999-04-09 00:22:43 +00:00
drochner
552f55e726 Call bi_getbiosgeom() after loadfile() returned successfully. This avoids
a memory leak if loadfile() gets an error.
1999-04-08 18:21:15 +00:00
bad
57ba75e2fc Correct a misleading comment copied over from the PCIC version of this file. 1999-04-08 16:14:29 +00:00
bouyer
e91bdf1c67 Add SCSI_IGNORE_NOT_READY to the flags for CDIOCCLOSE: some devices will
attempt to spin up, and report an error if there's no CD. Fixes port-i386/7345.
1999-04-08 16:12:31 +00:00
bad
6bdc01f098 Fix version id strings in comment. 1999-04-08 15:53:31 +00:00
simonb
be4160066d Allow the fake installation diskimage to be 2MB as well as 32MB in size. 1999-04-08 13:55:37 +00:00
drochner
31ca52f98b add "poll" entry to i4btel device 1999-04-08 12:10:53 +00:00
bouyer
c2752835f7 Fix a long-standing bug with the ACAP_* flags:
- the cap field is a u_int8_t, so none of the defined flags would fit in.
  Looks like nobody had a drive using 16 bytes commands.
- the ACAP_DRQ_* flags are all wrong. Just remove them and use the definitions
  from ata/atareg.h, there's no need to duplicate theses. The effect of this
  was that we were always polling for the command phase, even for drives
  with interrupt DRQ. This didn't break until the code was changed to support
  shared interrupts.

Should fix the lookup problems or 'boot hangs' reported by some users, and
kern/7111.
1999-04-08 11:29:01 +00:00
drochner
3d6e675ba8 sanity: use ';' to separate statements 1999-04-08 10:26:21 +00:00
drochner
0ead10436a define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
gwr
0a16f42840 Slim this down so it can be used as an Xkernel. 1999-04-08 07:10:20 +00:00
gwr
c8cdcb1f4c sync with GENERIC 1999-04-08 07:00:58 +00:00
gwr
ab812ca7f3 sync with GENERIC3X 1999-04-08 06:49:54 +00:00
gwr
f6422020e5 Add opt_ddb.h 1999-04-08 05:07:35 +00:00
gwr
4d67424412 Make "dma" a real device so it can attach before esp.
Also pull in some changes from the sparc version.
1999-04-08 04:46:41 +00:00
gwr
6b0a331b5c Make "dma" a real device so it can attach before esp. 1999-04-08 04:37:00 +00:00
gwr
fed408f387 Use the string kernel_arch to determine "sun3" vs "sun3x"
and leave the machine string as it was (make uses it).
1999-04-08 04:17:43 +00:00
gwr
8b27f916e1 Fix the IDPROM checksum. It should check only the first 16 bytes.
Also try to make the sun3 and sun3x versions more similar.
1999-04-08 04:08:01 +00:00
nisimura
dd8e585cec - MIPS processors do not require to have memory barrier prior to read ops. 1999-04-08 03:14:35 +00:00
simonb
c7a769fc26 Make unconditional clock cycle counter display conditional on DEBUG
being defined.
1999-04-07 23:04:34 +00:00
tron
5f36f07cc0 Looks like "filecorefs" is also affected by the problem described in
PR kern/7329.
1999-04-07 21:55:58 +00:00
tron
c60bb946c2 Avoid lockups on cd9660 filesystems after attempt to open file for write.
Fix supplied by Zdenek Salvet in PR kern/7329.
1999-04-07 21:37:11 +00:00
perry
a58de690de 1) Nuke NetBSD1_4 -- no point in perpetuating a bad practice. Since it
hasn't been seen by anyone yet, why encourage its use by defining it?
2) Indicate in a comment that the NetBSD define is now frozen, will
   never again be incremented, and may even be deprecated. Indicate
   yet again that all new code must use __NetBSD_Version__
1999-04-07 16:48:02 +00:00
oster
9f560505d4 Allow re-writing parity on a RAID 0 to trivially succeed, and to set the
clean bit.  This is somewhat bogus as RAID 0 does not have any parity,
but is a slightly cleaner than other solutions, and makes the handling
of clean bits for RAID 0 consistent with the handling of clean bits at
other RAID levels.
1999-04-07 14:17:10 +00:00
bouyer
29936d77d4 Now that we do real use of CDIOCCLOSE, we can have SSS_START|SSS_LOEJ
in scsipi_start(). Adjust test so that timeout will let enouth time to
the drive to spin up.
1999-04-07 12:47:27 +00:00
dbj
4397d4c1fd convert tabs to spaces in ascii art circuit diagram 1999-04-07 10:21:31 +00:00
christos
29ddb0a0af regen 1999-04-07 08:21:42 +00:00
christos
7fdc304a14 Add another USR modem 1999-04-07 08:21:25 +00:00
scottr
d6fd16c828 vm_size_t -> vsize_t 1999-04-07 06:45:14 +00:00
cgd
587e1ba75e save 4.3 bytes on the date string! 4 == day of week plus space,
.3 == a space on days of the month 1-9.
1999-04-07 06:30:34 +00:00
scottr
fd295b15e1 Turn avail_next, avail_range, and avail_remaining into local variables. Also,
change vm_size_t -> vsize_t.
1999-04-07 06:14:33 +00:00
gwr
0678dfb266 That last commit left pagemove() entering random mappings... 1999-04-07 06:07:59 +00:00
scottr
466895623f Cleanup: GC unused externs, and some KNF. 1999-04-07 05:59:14 +00:00
wrstuden
2e1fa90ecb Fix obscure bug in namei(), which was the cause of PR 7306.
The problem is that if "sl" is a symbolic link, a lookup on "sl/"
will be flagged as the last component. Thus VOP_LOOKUP will lock
the parent directory if LOCKPARENT is set. In order for the symbolic
link to be resolved, this lock needs to be released. namei() would
test for this by checking if ni_pathlen == 1, which it wouldn't as
"/" is left in the name, and namei() would not unlock the parent.
The next call to lookup() to resolve the symbolic link would fail
as the parent was still locked.
1999-04-07 05:47:37 +00:00
proff
8775e52947 tiny KNF change 1999-04-07 05:34:32 +00:00
proff
ae938abb49 Prevent reception of packets on downed interfaces (via an up interface).
fixes kern/7327
1999-04-07 02:31:05 +00:00
thorpej
5f38a5a010 Garbage-collect B_PAGET, B_PGIN, and B_UAREA. Nothing refers to them
anymore, and they don't make any sense in NetBSD's VM system.
1999-04-07 00:18:29 +00:00
thorpej
b2741be06e More locking protocol fixes. Protect pool_head with a spin lock (statically
initialized).  This lock also protects the "next drain candidate" pointer.

XXX There is still one locking protocol problem, which should not be
a problem in practice, but is still marked as an issue in the code anyhow.
1999-04-06 23:32:44 +00:00