Commit Graph

6610 Commits

Author SHA1 Message Date
briggs
50e913cf92 Handle VIA2 (RBV?) better. Speed up interrupt processing (which had a
negative impact on the ethernet timeouts).  This is still not correct,
but I am unsure what is correct.  We can, apparently, get a nubus
interrupt without any slots showing an interrupt condition.  Ick.  This
does not always happen before we apparently lose an interrupt, either
(see last (chronological) log message for if_ae.c).
Someone with a fresh set of eyes should probably look at this, but it's
cobbled together to (mostly) work.
1995-03-23 14:16:38 +00:00
briggs
24787aea0e Add macvideo_intr to handle video interrupts. Currently has behavior
that was previously in slot_noint().
1995-03-23 13:45:07 +00:00
briggs
129893572f Serious kludge around network timeouts. Network timeouts seem to be
caused by the VIA missing the ethernet slot interrupt.  If we get a
watchdog, try calling the via's nubus interrupt function.  If that
causes an interrupt, don't reset anything.  If it doesn't, use old
behavior (log timeout and reset).

Yuck.
1995-03-23 13:00:05 +00:00
mycroft
990077ba88 Don't bother with DIOCWLABEL. 1995-03-23 12:13:37 +00:00
mycroft
06d0a67a07 Check for read-only media in open(), not write(). 1995-03-23 12:11:07 +00:00
mycroft
d21add8356 Revert cdsize() to do nothing. 1995-03-23 11:51:22 +00:00
mycroft
4712cd33dc Rearrange DIOCWDINFO a little; closer to wd.c. 1995-03-23 11:43:09 +00:00
mycroft
562ca7760b Fix typo. 1995-03-23 11:37:51 +00:00
mycroft
02df08a47e Allow DIOCWDINFO even if label is not `writable'. 1995-03-23 11:33:18 +00:00
mycroft
86feec27e6 In T_PAGEFLT, check for null proc pointer before dereferencing it. 1995-03-22 23:25:13 +00:00
mycroft
b468ed3d00 Fix panic when an interface in promiscuous mode goes down and the BPF user
tries to turn off promiscuous mode.  From Lon Willett.
1995-03-22 16:08:32 +00:00
mycroft
5abce26266 Add a missing dependency. 1995-03-22 15:10:04 +00:00
mycroft
6865b2589a Emulate the return value of times() better. 1995-03-22 05:24:47 +00:00
scottb
87005937ec add code to zero fill directory name buffer 1995-03-22 01:28:53 +00:00
gwr
04446336b4 correct the file name 1995-03-21 16:22:25 +00:00
gwr
a59d9a4ac9 This is needed by the Xsun servers. 1995-03-21 16:19:57 +00:00
brezak
331f0252c6 Fix probing of slave devices and remove unneeded ffs()'s 1995-03-21 14:05:28 +00:00
mycroft
f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
mycroft
592f732f5a Make timeradd() and timersub() more generic, and remove the underscores. 1995-03-21 13:14:07 +00:00
glass
e553431826 Default linger time was 120 clock ticks instead of the intended
2 minutes.
[Bug pointed out by Wright/Stevens in TCP/IP Illustrated Vol II]
1995-03-21 07:48:14 +00:00
briggs
8b2f3e8f69 Modify handling of via2 interrupts. Ethernet is much more reliable
for me, now (one problem down, anyway).
1995-03-20 05:59:42 +00:00
mycroft
7439778432 Use %p. 1995-03-19 23:44:44 +00:00
mycroft
20a403a292 Nuke startinit_verbose. 1995-03-19 23:27:03 +00:00
mycroft
fe62f9afca Actually, do the previous differently. 1995-03-19 23:23:11 +00:00
mycroft
feb5b4b126 Add a `%p' format. 1995-03-19 23:17:16 +00:00
ws
046d575708 Use the correct block number for updating the backup copy of the FAT when
deleting a file.  Deleting a large file used to scramble the backup copy.
Found in FreeBSD by bde.
1995-03-19 20:52:36 +00:00
mycroft
a1615c4d35 Clean up comments related to last change, and remove an unneeded
splclock/splx pair.
1995-03-18 14:35:14 +00:00
cgd
b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
gwr
ca3ff7bdd8 Initialize fields in the RPC data where we were sending garbage. 1995-03-18 05:56:32 +00:00
gwr
8f7b63df4e Print the "root/swap on ..." messages here.
Add NFS_BOOT_OPTIONS for things like NFSMNT_NOCONN.
1995-03-18 05:54:10 +00:00
gwr
efc4706419 Do the printf "root/swap on" elsewhere to avoid confusion. 1995-03-18 05:51:22 +00:00
gwr
4b284ae4ba Make call to nfs_writerpc() consistent with others. 1995-03-18 05:49:51 +00:00
cgd
d9ac18eda0 MID 143 -> ARM6 for ws. 1995-03-18 03:24:53 +00:00
gwr
9567db4c9a Make the "removing wired pmeg" Debugger call conditional. 1995-03-17 05:00:31 +00:00
briggs
a6f94aae0e Let's do leave the RAW_PART alone... 1995-03-17 03:40:41 +00:00
glass
15642dad87 update 1995-03-16 16:37:41 +00:00
brezak
8193ffc379 Add support for PAS 16 basic 1995-03-15 18:45:58 +00:00
glass
af46d07f24 fix compilation error. don't bother checking for IRQ2 1995-03-15 16:43:09 +00:00
mycroft
8f96feada8 Correct call to coff_load_shlib(), and prototype it. 1995-03-15 08:14:28 +00:00
brezak
36fa07bde5 Fixes defect port-i386/860 from John Woods (jfw@jfwhome.funhouse.com) with
supplied patch. Kernel will not link with only ProAudio Spectrum driver
specified.
1995-03-14 18:43:19 +00:00
brezak
f3226ad49e Fixes defect port-i386/864 from John Woods (jfw@jfwhome.funhouse.com) with
supplied patch. pas.c doesn't recognize ProAudio Spectrum 16 Basic card.
1995-03-14 18:41:36 +00:00
scottb
6e5f98b553 updated existing files to use new system call interface.
added new code to support socket interface.
borrowed code from linux/svr4 to use /emul pathnames.
split ibcs2_misc.c into more managable files.
1995-03-14 15:12:17 +00:00
scottb
fc0e015f22 added code to remap BSD errno to iBCS2 errno 1995-03-14 14:43:59 +00:00
scottb
02083108db added entries for new ibcs2 files 1995-03-14 14:42:09 +00:00
mycroft
37c67f3481 Turn off two diagnostic printfs by default. 1995-03-14 02:35:11 +00:00
brezak
7ce1465911 Fix SB8 playback. From David Gluss <david@pure.com> 1995-03-13 14:37:12 +00:00
brezak
1c9582b63e Add IRQ 9 as a valid IRQ 1995-03-13 14:29:11 +00:00
pk
cb5b3d7700 Add a pmap_pa_exists() in the non MACHINE_NONCONTIG case too. 1995-03-12 18:56:57 +00:00
ws
6239f691c1 Fix off-by-one error in root directory length calculation 1995-03-12 16:27:34 +00:00
pk
36009bdf5f Move a comment back to appropriate place. 1995-03-12 12:25:16 +00:00
mycroft
b83b02cc20 Remove unneeded variable. 1995-03-12 12:09:18 +00:00
cgd
17d1e137e0 punt on using int8 types for chars, at least for now. char is 8 byts anyway. 1995-03-12 04:19:08 +00:00
mycroft
b9cb1cdd51 Update version number. 1995-03-12 00:13:47 +00:00
mycroft
40a71a0a2c Various minor cleanup. 1995-03-12 00:10:53 +00:00
ws
999d50b578 Initialize emulation in systems without NPX 1995-03-11 18:42:42 +00:00
briggs
5b07b9403e Nuke NEWCONFIG. It's not used anymore at all. 1995-03-11 13:56:36 +00:00
briggs
999ff6a003 Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
glass
fc2c13bcb4 add COMPAT_LINUX 1995-03-11 10:12:25 +00:00
mycroft
aae5ebefc2 Add missing arguments to VOP_CLOSE() in some cases. From Frank van der
Linden.
1995-03-11 06:14:28 +00:00
gwr
91b78094fd Add more stuff! (/kern /proc bpf, ppp, sp, ...) 1995-03-10 23:52:10 +00:00
gwr
ac83684fb7 Define IS_MAIN_MEM(pte) better and explain it. 1995-03-10 23:45:02 +00:00
gwr
dc764bad7e Kill old declarations which now conflict... 1995-03-10 23:36:42 +00:00
fvdl
e0518ae749 Update automatically generated syscall files. 1995-03-10 23:10:35 +00:00
fvdl
faf1442285 Add the Linux pause() system call. Fix the arguments to sigsuspend(). 1995-03-10 22:55:04 +00:00
pk
5307cf957f Use pmap_pa_exists().
Allow read-only access to the prom via /dev/kmem.
1995-03-10 17:06:15 +00:00
pk
d374af4496 Prototype for pmap_pa_exists(). 1995-03-10 16:56:27 +00:00
pk
eedb392003 Missing #ifdef MACHINE_NONCONTIG.
Add function pmap_pa_exists() to assist /dev/mem.
1995-03-10 16:54:40 +00:00
mycroft
936d442143 Fix another oversight. 1995-03-10 12:20:37 +00:00
mycroft
b9e30291a4 Fix oversight in previous change. 1995-03-10 10:56:16 +00:00
chopps
b3f539b09c add prototypes before each inline 1995-03-10 04:13:52 +00:00
gwr
91c5750c11 Add bwtwo, cgfour, fb 1995-03-10 02:31:29 +00:00
gwr
d8b3f42519 Declare ee_console (for drivers). 1995-03-10 02:29:16 +00:00
gwr
7dc7eb1364 Fix PA_PGNUM for high addresses (cast to unsigned). 1995-03-10 02:28:01 +00:00
gwr
72fe3a22d4 Fix sunos compat code in sigreturn (from Chuck Silvers) 1995-03-10 02:24:42 +00:00
gwr
fd555db42e Add bwtwo, cgfour, and fb 1995-03-10 02:22:21 +00:00
gwr
f7f7ec9278 Treat high physical addresses like "device" space,
so frame-buffer devices don't go into the pv_lists.
1995-03-10 02:20:40 +00:00
gwr
ee5c85f6a1 Synthesize KBD_L1|KBD_UP after return from zsabort.
Simplify PROM mapping stuff, use ee_console.
1995-03-10 02:15:03 +00:00
gwr
8119e6377d Add kdcnpollc so it can call fb_unblank 1995-03-10 02:09:35 +00:00
gwr
151da5e380 Provide ee_console for drivers. 1995-03-10 02:06:54 +00:00
gwr
376432783f Set speed on open (from Chuck Silvers). 1995-03-10 01:57:02 +00:00
gwr
63c3c68de4 New frame-buffer support from Chuck Silvers (plus some tweaks from me) 1995-03-10 01:50:28 +00:00
gwr
d0dba9b2d2 Add missing break in switch (not that it mattered 8^) 1995-03-10 01:43:05 +00:00
mycroft
fab1d8444c Update to match syscalls.master. 1995-03-09 17:33:07 +00:00
mycroft
57e6889435 Make memory map syscalls consistently use size_t. 1995-03-09 17:28:28 +00:00
mycroft
5e754ab356 Change bcopy() and bzero() prototypes to use size_t. 1995-03-09 15:47:44 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft
d004d5d34c Remove something I don't use. 1995-03-09 11:32:33 +00:00
mycroft
b880de68c5 ifconf() takes a u_long, not an int. 1995-03-09 09:47:25 +00:00
mycroft
dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft
1f5c42f54c Update types. 1995-03-09 08:55:47 +00:00
mycroft
7f1e89164d Update types, and fill in missing debug switch entries. 1995-03-09 08:54:37 +00:00
mycroft
cf5fea3430 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
1995-03-09 08:03:51 +00:00
mycroft
db7371a9b7 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
mycroft
75556e2e34 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Add syscall debugging hooks.
1995-03-09 07:47:33 +00:00
cgd
f6589edbc7 spaces -> tab 1995-03-09 02:20:34 +00:00
pk
03b9b4a4bb Add a CR. 1995-03-08 20:58:05 +00:00
brezak
83fffa3985 Cleanup for SB16 (From Jan Sparud) 1995-03-08 18:27:35 +00:00
fvdl
9e7e8cd294 Add missing structure conversion for IPC_RMID. 1995-03-08 17:27:42 +00:00
pk
d61b2703ef Allow for multiple virtual PROM addresses. 1995-03-08 15:51:03 +00:00
fvdl
ad4540a424 Fix typo in comment. 1995-03-08 15:17:49 +00:00