Commit Graph

29391 Commits

Author SHA1 Message Date
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
thorpej
de38b189e4 Add a SIMPLELOCK_INITIALIZER macro, to statically initialize a simplelock,
so that simple_lock_init() is not necessary.
1999-04-06 23:08:48 +00:00
augustss
cadb84965d Use complete sentences in the generated comments. 1999-04-06 23:03:44 +00:00
augustss
17c3351354 Regen. 1999-04-06 23:02:31 +00:00
augustss
31f94ae97e Add Leopard 56k PnP, from PR 7330. 1999-04-06 23:02:09 +00:00
pk
c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
pk
016934b1fe Move advertisement into a comment of its own. 1999-04-06 19:43:04 +00:00
pk
70f2ec45be Duplicate clause number in copyright text. 1999-04-06 19:34:31 +00:00
pk
8d2456a432 Move advertisement text into a comment of its own. 1999-04-06 19:31:37 +00:00
pk
0e39bfc32c remove duplicate line in copyright. 1999-04-06 19:28:41 +00:00
pk
5a47d424ae Fix garbled word in copyright statement. 1999-04-06 19:27:48 +00:00
pk
23c3e1a4a1 Fix garbled words in copyright statement. 1999-04-06 19:26:32 +00:00
cgd
ff54a19cef build/install this binary as bootxx.old, so that users won't get the
idea that they should be using it.  (no point in renaming the whole
directory since it should be dead soon enough.)
1999-04-06 18:43:18 +00:00
bouyer
2198b984e8 Kill an extra 'pciide0: ' in a printf 1999-04-06 17:49:14 +00:00
mark
46b87f5da5 Changed the way in which virtual address space is reserved for the SA110
fast cache clean area as the recent pmap changes mean that the existing
approach no longer works. Fixes PR7272.
1999-04-06 06:57:00 +00:00
mark
c05b9ed27a When handling a page fault, panic if the map is NULL so that we don't
dereference it when doing handled or modified emulation. This can happen
if fault are taken during early parts of the bootstrap, resulting in
recursive faulting.
1999-04-06 06:35:03 +00:00
simonb
b1ec416993 Don't build a.out kernels anymore. 1999-04-06 06:16:07 +00:00
scottr
e169535fc2 Include zsc.h so that SCC soft interrupts have a chance. Fixes PR 7313. 1999-04-06 05:55:06 +00:00
scottr
dc9ec7ace3 Sync with hp300. 1999-04-06 04:04:45 +00:00