chuck
24ac64b87b
fix generic boot code
1996-05-29 05:04:41 +00:00
chuck
9f36687189
borrow part of the sparc port's dk_establish to fix generic boot
1996-05-29 05:03:50 +00:00
chuck
946f08aa87
note if we are the boot device (for fixing generic boot)
1996-05-29 04:29:46 +00:00
chuck
5258929681
detect if we are the boot device (to fix generic kernel)
1996-05-29 04:27:11 +00:00
chuck
ac46d3b779
add to fix boot generic problem
1996-05-29 02:32:21 +00:00
chuck
e4528e0647
save boot device info from bug/bootblocks
1996-05-29 02:28:30 +00:00
mrg
5583238255
impliment ttylist stats based on disk stats.
1996-05-29 02:02:42 +00:00
mrg
65d186d8e8
find a couple minor nits from previous change.
1996-05-29 01:58:09 +00:00
chuck
6645fec14e
fix off by one error
1996-05-29 01:52:03 +00:00
pk
ecbb3b2eb2
Prototype new rip_*() functions.
1996-05-28 23:27:04 +00:00
pk
2d9344eb4b
Prototype new raw_*() functions.
1996-05-28 23:24:50 +00:00
pk
ad4c0ccfdf
Remove unused variable.
1996-05-28 23:24:23 +00:00
pk
8e8956134f
Prototype new unp_*() functions.
1996-05-28 23:23:04 +00:00
chuck
f057fa41d5
leave room for partition
1996-05-28 19:07:32 +00:00
chuck
cd4d6d851b
new kernel call args.
1996-05-28 18:14:24 +00:00
chuck
e0923c774b
bug fix: pass address of le to netboot
1996-05-28 18:03:38 +00:00
oki
532b0a8630
fdboot can boot from 512bytes/sector format floppy now.
1996-05-28 17:01:25 +00:00
chuck
9a628842cf
fix bootst (sync with sun3 tapeboot)
1996-05-28 15:23:53 +00:00
chuck
09e22de574
delete non-working bootst
1996-05-28 15:23:06 +00:00
chuck
da573626b4
new bootst (based on sun3 tapeboot)
1996-05-28 15:22:41 +00:00
mrg
6ce8e31376
change zsinfo to a zs_softc, and impliment intr counts. mostly from OpenBSD.
1996-05-28 14:06:28 +00:00
mrg
08bd090b26
count audio interupts (from OpenBSD).
1996-05-28 13:36:09 +00:00
fvdl
b7a6989848
NetBSD1_1 -> NetBSD1_2, so use it properly (PR 2475)
1996-05-28 12:28:45 +00:00
pk
9913321bff
CMP_PTE_USER_READ4M: check against PPROT_RWX_RWX; this is the canonical
...
stack protection (saves many excursions into trap.c on window underflows
as was the sole intention of the macro..).
1996-05-27 20:46:39 +00:00
pk
d94f5b92f9
prototype mmu_pagein4m() #if DEBUG is on.
1996-05-27 20:29:03 +00:00
fvdl
e4145cb406
Align things right in NWDELAYHASH (for the Alpha). This fixes crashes in
...
the server code. From John Birell.
1996-05-27 11:22:31 +00:00
mhitch
ab7b439a98
The logical block address in a 6 byte command is 21 bits, not 20.
...
Also a transfer length of 0 indicates 256 blocks.
1996-05-27 05:49:49 +00:00
pk
75eb006fa2
No longer need to call mmu_pagein() through a pointer.
1996-05-27 01:13:02 +00:00
pk
522c1d367a
mmu_pagein() is only useful on sun4/sun4c. For now, keep a `mmu_pagein4m()'
...
within `#ifdef DEBUG' for monitoring.
Push user windows to stack in pmap_extract() if we need to switch contexts.
1996-05-27 01:12:34 +00:00
pk
4fa564e10d
Fix case where sequence state wasn't updated properly, resulting in
...
`disk_unbusy' panic.
1996-05-27 00:10:40 +00:00
pk
ec587073d7
I_SIGSET => I_SETSIG (pointed out by Greg Earle).
1996-05-26 23:57:10 +00:00
hpeyerl
3e834c5e86
Update to reflect reality (such as it is).
1996-05-26 23:45:42 +00:00
pk
43b3743977
Implement CMP_PTE_USER_WRITE4M more accurately.
...
CMP_PTE_USER_READ4M needs some more work..
1996-05-26 22:33:31 +00:00
pk
2382529ecd
Some more #defines.
1996-05-26 22:30:20 +00:00
leo
d48f93eef5
Add 'kernel_text' symbol (Gordon Ross).
1996-05-26 20:50:53 +00:00
chuck
9fe4f7c83a
kill "options GENERIC" by replacing it with Theo's sparc code.
1996-05-26 20:47:39 +00:00
chuck
8f19c1d045
fix cngetc() typeo.
1996-05-26 20:42:58 +00:00
jtc
64157258f9
updated for 1.2A (post 1.2)
1996-05-25 21:59:38 +00:00
is
eafd041aca
Fix few more places where 040+060 rlevant stuff was only compiled for 68040,
...
preventing 68060-only kernels to work. (68060 only kernel is tested now by
using it to commit this patch).
1996-05-25 21:54:22 +00:00
christos
be8ad0bbb0
Recognize MFII keyboard ids for BIM ThinkPad 76X's. Closes PR/2468
1996-05-25 18:19:07 +00:00
ws
d1a21707db
Free allocated space in directory after error
...
(While this wasn't technically speaking a bug, it unneccessarily wasted space)
1996-05-25 17:50:41 +00:00
is
33d61f4da3
Show real interupt names (e.g., systat vmstat) on the DraCo.
1996-05-25 17:08:48 +00:00
briggs
014b404127
Clean up the interrupt handling somewhat.
1996-05-25 16:42:24 +00:00
briggs
100623915b
Clear via2 interrupts before processing, too. It is up to the drivers to clear
...
any interrupts that are flagged during processing.
1996-05-25 16:31:04 +00:00
is
25b2ef1b72
Yet another unused variable cleanup; noticed in a kernel without bpfilter.
1996-05-25 16:30:16 +00:00
is
4d0559ac27
Fix stupid pasto.
1996-05-25 15:23:52 +00:00
briggs
d6345a7855
More from Dave Huang (khym@bga.com)--set ROMLEN to 2MB and make another
...
class for AV machines (C660AV and Q840AV).
1996-05-25 14:48:38 +00:00
briggs
30e64f90b7
Patches from Dave Huang (khym@bga.com) to get MRG ADB working on his 660av.
1996-05-25 14:45:31 +00:00
briggs
10221fc1cd
Do not let getty open ite if it's not been initialized.
1996-05-25 00:56:38 +00:00
pk
f699a85094
sync with reality.
1996-05-24 23:18:23 +00:00
is
ab97b65e37
Finish adosfs' support for International FFS (we not only have to use an
...
internationalized hash function to search for files, but also to use an
internationalized compare to compare the candidates). This also removes one
use of strcasecmp() in the kernel.
1996-05-24 20:16:02 +00:00
is
452b12520a
Delete some occurences of kernel startup debug code, move others inside
...
#ifdef DEBUG_KERNEL_START.
1996-05-24 19:59:33 +00:00
is
c978bf3f9f
Make the GRFIOCBLANK ioctl set the right timing divisor when switching the
...
screen back on.
1996-05-24 19:26:12 +00:00
mycroft
91ac291d97
Move some code into a separate rip_bind() function.
1996-05-24 19:03:13 +00:00
cgd
407faf0374
add line for 'strip' pseudo-device, and include slcompress.c if it's included.
1996-05-24 13:03:57 +00:00
mycroft
d66ec0288c
Add a forward declaration of struct proc.
1996-05-24 11:58:54 +00:00
thorpej
a0be48ca23
Implement ST_Q_UNIMODAL quirk, which indicates that a drive will reject
...
all attempts to mode select, even if the attempted mode is supported.
Add the ST_Q_UNIMODAL quirk for the HP Colorado T4000s which exhibits
this behavior. (Someone please lob a tactical nuke in that direction.)
From David Rosenthal <dshr@vitria.com> on netbsd-bugs.
1996-05-24 02:04:29 +00:00
mycroft
4e8477f520
Mostly minor changes.
...
Convert the listen queue to a TAILQ to avoid O(n^2) insertion. Should probably
be a hash table.
1996-05-23 23:35:22 +00:00
cgd
f7f3f4299d
print pointers with %p, rather than by printing with %x and casting to
...
(unsigned int).
1996-05-23 23:34:14 +00:00
cgd
48652c763f
fix UMAPFS entry, add entry for UNION
1996-05-23 23:29:10 +00:00
cgd
82dd8bf609
disable alpha-specific in_cksum.c; it seems slightly buggy
1996-05-23 23:27:25 +00:00
fvdl
2847784948
* Make mounts with symlinks work (needed for direct mounts with amd). PR #1917
...
* Never change the NQNFS flag and/or version when just doing an update mount.
Fixes a problem that made diskless booting impossible under some
circumstances.
1996-05-23 22:47:27 +00:00
pk
3c13903472
Enable just enough interrupts to get "L1-A" through. Patch from Jason to
...
avoid spurious floppy interrupts on Jason's machine...
1996-05-23 22:35:11 +00:00
mycroft
ea64155398
Mirror changes in uipc_usrreq.c.
1996-05-23 18:45:14 +00:00
mycroft
c630947e89
We must indirect through the higher-level protocol for
...
PRU_{BIND,CONNECT} so that it can check the sockaddr.
1996-05-23 18:30:57 +00:00
mycroft
e149ad8228
Fix race condition in PRU_DISCONNECT.
...
Unimplement PRU_ABORT, as it's not needed and wasn't correct.
Some stylistic cleanup.
Make sure the control mbufs are freed in all cases.
We must indirect through the higher-level protocol for
PRU_{BIND,CONNECT} so that it can check the sockaddr.
1996-05-23 18:26:26 +00:00
mycroft
4c8302e0f4
Oops. Add missing label.
1996-05-23 17:07:03 +00:00
mycroft
9347e648d8
udp_output() doesn't actually take control data, so don't pretend it does.
1996-05-23 17:05:45 +00:00
mycroft
f399db63a4
Make sure the control mbufs are freed in all cases.
1996-05-23 17:03:27 +00:00
mycroft
8d0a82819c
We can only get a control mbuf for PRU_SEND or PRU_SENDOOB. Add diagnostic
...
code to panic in this case.
1996-05-23 16:49:08 +00:00
mycroft
5288bfd58b
Make sure the control and data mbufs are freed in all cases.
1996-05-23 16:41:49 +00:00
mycroft
60395beed8
Fix a race condition in PRU_DISCONNECT.
...
Rearrange the code to deal with unconnected sockets slightly.
Other minor changes.
1996-05-23 16:22:32 +00:00
mycroft
e930766cdc
Minor changes.
1996-05-23 16:13:19 +00:00
mycroft
aee4be7a7f
Minor changes to make this more like other protocols. Also, fix some return
...
values.
1996-05-23 16:12:15 +00:00
mycroft
37daba1b04
Make unp_addr be a pointer to the sockaddr, not to the mbuf, as with raw
...
sockets.
1996-05-23 16:04:24 +00:00
mycroft
03232fb1f2
Separate some code into separate functions.
...
Make unp_addr be a pointer to the sockaddr, not to the mbuf, as with raw
sockets.
Other minor cleanup.
1996-05-23 16:03:45 +00:00
phil
6c28c57a2a
xxcd => xx_cd.
1996-05-23 14:14:20 +00:00
briggs
78560abd91
Change the console banner message.
1996-05-23 05:18:48 +00:00
briggs
2126c0d3c1
Fix from Bill Studenmund to set flags sanely on serial console.
1996-05-23 02:06:53 +00:00
mycroft
08cc6b486f
And PRU_SEND.
1996-05-22 19:06:07 +00:00
mycroft
b85e5d8f5e
PRU_CONNECT also needs a proc pointer.
1996-05-22 19:00:52 +00:00
briggs
320adf52bf
Add MACH_CLASSDUO.
1996-05-22 17:53:24 +00:00
briggs
4d059305ec
Remove some dead code, as suggested by scottr, and clone a new machine
...
class off of the powerbook for the Duos. They apparently use an RBV-like
chip for the VIA2.
1996-05-22 17:52:48 +00:00
briggs
534d58c701
Get rid of compiler warning if DBG_PID is not defined.
1996-05-22 17:16:45 +00:00
is
4e8dbf468a
Added flags to the iy driver to override the media autodetect mechanism, if
...
necessary. Added a manpage to document the flags.
1996-05-22 15:39:43 +00:00
mycroft
d1bc14ee66
KNF nit.
1996-05-22 14:57:53 +00:00
mycroft
a8ba1d063c
A few style changes to match netiso and netns.
1996-05-22 14:42:27 +00:00
mycroft
49d52c9b1c
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
...
PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
1996-05-22 13:54:55 +00:00
mycroft
12e6d35d62
Removing a completely unneeded reference to curproc.
1996-05-22 13:42:57 +00:00
mycroft
2a94215734
Remove duplicate definition of bpf_setif().
1996-05-22 13:41:54 +00:00
mycroft
627bb9bd50
Remove bogus comment in setgid().
1996-05-22 02:22:47 +00:00
mycroft
db3e68aa58
Describe the _POSIX_SAVED_IDS situation more clearly.
1996-05-21 23:39:57 +00:00
christos
0bc76ac7c3
make this compile again; remove CONF_SLOW_INTERRUPT
1996-05-21 20:46:45 +00:00
pk
bc77c57c13
espattach() requires DMA to be configured. For now, panic if it is not.
1996-05-21 19:09:43 +00:00
pk
68691c178c
Allow all esp dma channels to be called `dma'.
1996-05-21 19:07:30 +00:00
pk
dc7e7814d9
Remove the `espdma' special case; all `esp' related dma channels are now
...
called `dma' on all architectures. Note: `ledma' remains in place.
Also delete a couple of unneeded `needs-flag's in files.sparc.
1996-05-21 19:06:26 +00:00
is
70d3595ab1
Fix two conditionals code parts, which were intended to avoid two
...
branches for pure-M68060 and Non-M68060 kernels, but would have made
the former never save its floating point context.
1996-05-21 18:22:13 +00:00
is
893de3dcc8
Sync with the cpu.h change: setconf() only used if defined(GENERIC).
1996-05-21 17:15:40 +00:00
oki
30ec7d2c44
Some cleanup.
...
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:32:18 +00:00
oki
82d5960cd6
Some cleanup.
...
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:31:55 +00:00
pk
71943d50df
Protect body of iommuattach() to be more resilient against configuration
...
file oddities.
1996-05-21 07:25:07 +00:00
briggs
057adea27d
Apparently the MRG ADB code becomes unstable if we handle via1 interrupts
...
properly, so go back to unflagging them all before processing any via1
interrupts. Perhaps this can be changed back when we get ADB code that
does not rely on the ROMs?
1996-05-21 02:46:02 +00:00
jonathan
4139356a98
Copy the pmax locore.S code into the arch/mips hierarchy and split
...
it into three pieces:
* locore.S, which contains generic mips locore code,
applicable for both r2000/r3000 and r4000s (in 32-bit mode).
* locore_r2000.S, which contains r2000/r3000 (MIPS-I) versions
of the locore functions that need mips-generation-specific
instructions or handling.
* locore_r4000.S, which contains r4000/r4400/r4600 (MIPS-III?) versions
of the locore functions that need mips-generation-specific
instructions or handling.
Much of the code in locore_r4000.S is derived from Per Fogelstrom's Pica port.
locore.S still contains some pmax-specific DMA-buffer copy functions.
1996-05-21 00:20:40 +00:00
briggs
3fb1d834fc
Actually clear the interrupt on the RBV.
1996-05-21 00:04:18 +00:00
jonathan
b15951c1ee
* Move the declarations of mips locore functions from the pmax tree
...
to the mips tree.
* Just include the mips locore.h into the pmax one.
1996-05-20 23:49:11 +00:00
jonathan
e704a8e1e9
* Move the declarations of mips locore functions from the pmax tree
...
to the mips tree.
* Add declarations of functions used by vm_machdep.c.
* Add declarations of functions printed by name in stack tracebacks.
* Add declarations of functions used by the model-independnet mips machdep.c
code.
1996-05-20 23:38:26 +00:00
jonathan
6f1e720b08
Change MachEmptyWriteBuffer() to wbflush().
...
Add missing "void" and "int" return types on functions.
Move boot() after dumpsys()/doadump(), so the latter don't need forward decls.
1996-05-20 23:27:27 +00:00
jonathan
7666d5b36b
Check that either CPU_R3000 or CPU_R4000 is defined. Fix the r3k/r2k
...
symbolic lookup of the CPU-level specific locore entry points to use the
r2k, not the r4k, labels.
Include header files to get prototyped declarations of ipintr() and arpintr().
Remove unused variables and parenthesize assignments in if () expressions.
Gcc warns of a possible && vs || operator-precedence bug in the network
softint dispatch code, which needs more thought.
1996-05-20 23:24:00 +00:00
jonathan
b314e27cfa
Add #include of pmax/kn01var.h, remove unused variables, and close
...
hanging block comment in copyright to satisfy -Wall.
1996-05-20 23:19:16 +00:00
mrg
1af2be6068
document PORTAL
1996-05-20 18:15:11 +00:00
mrg
92292a798d
initialise securelevel to zero to allow it to be patchable. this is _not_ a security issue.
1996-05-20 17:49:05 +00:00
mrg
047dfa8524
count pagein faults in struct user. (from kenneth stailey pr#1397])
1996-05-20 17:40:02 +00:00
mrg
663808dfc5
use ' not " when passing variables to a sub-make. pr#1199/pr#1296
1996-05-20 17:23:25 +00:00
mark
08dfd04e76
Fixed the NetBSD Id string.
1996-05-20 17:09:24 +00:00
mrg
4e25d1d20b
if the sender set a cksum, check it, regardless if we care to
...
generate and send them ourselves. from rich stevens.
1996-05-20 16:56:20 +00:00
thorpej
bc16409b49
Remove some extra printfs, now that Matt has lessened my confusion.
1996-05-20 15:52:32 +00:00
oki
6a0bb3e228
Add 'rd' ram-disk pseudo-device.
1996-05-20 14:56:20 +00:00
oki
8823c49fb4
fixed gcc -Wall warnings.
1996-05-20 14:53:07 +00:00
mark
a7f4c7929f
Don't need -fno-builtin anymore.
1996-05-20 14:37:24 +00:00
mark
847038524a
cast -1 to a char for comparision with tc->t_brkc so that this test
...
will work with signed and unsigned chars.
1996-05-20 14:29:17 +00:00
is
cb5f8c53ac
Now that our as pretends to understand the M68060 cpu, use -m68060 instead
...
of -m68040 to avoid confusion.
1996-05-20 13:31:40 +00:00
jonathan
b37be8bb62
Fix typo in NMBCLUSTERS definition.
1996-05-20 10:50:52 +00:00
pk
6da494dde9
Put a `return' back that went missing in rev 1.56
1996-05-20 10:49:20 +00:00
jonathan
d1e0e11f70
* Fix formatstr/argument mismatches in diagnostic printf()s.
...
* Change MachEmptyWriteBuffer() to wbflush(). Should use TC mi names tc_mb(),
tc_wmb, tc_syncbus() but I'm not sure which each wbflush() should be.
* Add prototyped forward decl for asc_Dumplog() and add an explicit void
return type.
* Remove unused variables.
1996-05-20 09:46:21 +00:00
scottr
4b712a8c3f
Due to the latching effect of the 6522 (VIA) chip, we need to unflag
...
interrupts only after the condition that caused the interrupt has been
cleared. This is a particular problem with the 5380 SCSI controller,
since the Mac glue logic may raise (e.g.) the SCSI DRQ interrupt a number
of times during the course of a normal transfer. By waiting to unflag it,
we effectively ignore all but the first.
1996-05-20 04:32:33 +00:00
jonathan
4e27f8ef06
Fix braino in initialization of confargs pointer in le_pmax_attach().
1996-05-20 03:43:15 +00:00
thorpej
59865f3154
Remove references to the "ahe" device, and add ahc at eisa. Lingering
...
junk pointed out by Greg Earle <earle@isolar.Tujunga.CA.US>.
1996-05-20 03:32:16 +00:00
scottr
d28f9a6699
Fix the last change; CVS apparently biffed it.
1996-05-20 03:23:36 +00:00
cgd
5e29c383e2
add wbflush() calls in strategic places. These really shouldn't be
...
here, and there should be a generic 'bus' interface to do memory
read/write barriers.
1996-05-20 03:14:07 +00:00
cgd
397617080d
add 'pseudo-device strip' for Metricom Ricochet packet radio driver
...
recently kicked in by Jonathan Stone. It compiles on the alpha, and
may even work.
1996-05-20 02:58:53 +00:00
jonathan
b3c6ba5b5d
Decstation 3100/2100 baseboard configuration stub for the LANCE driver
...
for DEC TURBOchannel and IOCTL ASIC machines.
1996-05-20 02:25:08 +00:00
fvdl
484a6c9fe4
Regen.
1996-05-20 02:00:53 +00:00
fvdl
69761c2aa8
Update list of Linux syscalls and implement the ones that are likely to be
...
used and doable.
1996-05-20 01:59:09 +00:00
cgd
daad29a36c
add fta, fpa, and fea drivers, for DEC TC, PCI, and EISA FDDI controllers.
1996-05-20 01:37:18 +00:00
cgd
6793f08d00
regen for new tcdevs file
1996-05-20 01:34:50 +00:00
cgd
014cc0e804
add entry for DEFTA FDDI, clean up entry for DEFZA FDDI.
1996-05-20 01:33:45 +00:00
cgd
ac61f1ad21
fix first argument to tc_intr_establish()... it's still the pointer
...
to the parent device.
1996-05-20 01:31:07 +00:00
chuck
d3ca12ac2a
import rd_root from sun3
1996-05-20 01:17:31 +00:00
chuck
39e3bbc016
add ram-disk. clean.
1996-05-20 01:16:50 +00:00
chuck
8a07a09d00
add "rd" ram-disk config
1996-05-20 01:15:45 +00:00
thorpej
722d0da592
RCS Id police.
1996-05-20 00:56:39 +00:00
thorpej
917f00ce2e
RCD Id police.
1996-05-20 00:55:44 +00:00
thorpej
b16ba91656
Regen (again; sigh)
1996-05-20 00:53:39 +00:00
thorpej
7d978a7915
Sure sign that Jason needs more coffee; fix ommision in my last correction.
1996-05-20 00:52:53 +00:00
thorpej
4564027c48
Add the DEFEA EISA FDDI controller to the catch-all kernels.
1996-05-20 00:50:33 +00:00
thorpej
a318461042
RCS Id police.
1996-05-20 00:48:43 +00:00
thorpej
37b3b8a758
Add the DEFTA FDDI controller.
1996-05-20 00:45:02 +00:00
thorpej
f777a672d5
Add the DEFEA FDDI controller.
1996-05-20 00:44:11 +00:00
thorpej
0f38740b1c
Regen.
1996-05-20 00:40:45 +00:00
chuck
914ca91332
if booted from sboot, stay in it.
...
if booted from the bug, don't enter sboot.
1996-05-20 00:40:10 +00:00