Commit Graph

8000 Commits

Author SHA1 Message Date
ragge 5ad69f2c9d nton?/ntoh? moved to endian.h. 1995-07-05 08:22:21 +00:00
ragge 25e4dd61b5 Changes due to common network code mods. 1995-07-05 08:19:05 +00:00
ragge 1ab8219384 DDB file added. 1995-07-05 08:17:16 +00:00
ragge 7d58080faf More near reality. 1995-07-05 08:15:25 +00:00
briggs e11c8dfd4c Stupid programmer error in IIvx kludge. 1995-07-05 03:48:45 +00:00
mycroft 9624704e02 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-05 02:32:53 +00:00
chopps 07d9670a6c remove indirect use of strategy which brok with recent changes 1995-07-05 02:12:38 +00:00
paulus fdb27420ea Change $Id to $NetBSD 1995-07-04 23:26:10 +00:00
paulus 8f120b82c6 Add definition for NETISR_PPP. 1995-07-04 23:24:07 +00:00
christos 87b62763ae Add a few more sockio ioctls... Now sunxdoom is running! 1995-07-04 23:00:11 +00:00
christos 38f1964478 Fix bug in the KGDB trap definition. Add svr4 software traps. 1995-07-04 22:58:51 +00:00
christos 1fc6525f9b trap.c: Add svr4 software traps. Fix bug in errno mapping.
svr4_machdep.c: Add siginfo translation (from mrg), add some software traps.
1995-07-04 22:57:33 +00:00
christos c07ddb7c1d Added sockioctls... Only getifnum supported for now.
Added SVR4_EMT_TAGOVF, needed by new machdep translations.
1995-07-04 19:46:58 +00:00
briggs 38031d912a First cut at a kludge for IIvx internal video. 1995-07-04 18:55:11 +00:00
chopps f1e1796cf4 misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-07-04 18:06:40 +00:00
briggs 61405ee181 Use the right prototype for pppioctl(). 1995-07-04 15:30:39 +00:00
briggs 6d08320888 Move SCSIBase from scsi.c. 1995-07-04 14:42:16 +00:00
briggs 2e4f1e0daa Update a bit. 1995-07-04 14:38:49 +00:00
briggs 2510a4f689 A few nits. 1995-07-04 14:38:34 +00:00
paulus a8adf7421b Add code to netintr to call pppintr. 1995-07-04 12:37:42 +00:00
paulus 374a7cc9cb Add code to soft01intr to call pppintr. 1995-07-04 12:34:37 +00:00
paulus 08b7596c51 Add code to interrupt to call pppintr. 1995-07-04 12:22:21 +00:00
paulus da3602a73e Add code to softnet to call pppintr. 1995-07-04 12:19:07 +00:00
paulus 1513342690 Add code to netintr to call pppintr 1995-07-04 12:14:32 +00:00
pk 63eeefb6cd make this compile better. 1995-07-04 10:29:22 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft 9fbf4d6f47 Make hardware interrupts always block all software interrupts. 1995-07-04 07:09:53 +00:00
paulus f3285c2e0e Add call to pppintr in softnet. 1995-07-04 07:00:47 +00:00
paulus b41c6a7d1c Add call to pppintr from netintr. 1995-07-04 06:54:52 +00:00
paulus c9a82bdc54 Add code for netintr to call pppintr if PPP is included. 1995-07-04 06:51:05 +00:00
mycroft eb99dcc09a Fix a condition where ttywait() wouldn't be woken up. Also, short-circuit
the case of no pending input in compoll().
1995-07-04 06:47:18 +00:00
paulus 69f3d14493 Include extra files for the new PPP stuff. 1995-07-04 06:42:19 +00:00
paulus 7f06ab8b0b Latest version of PPP stuff, with packet compression and other
improvements.  The PPP kernel code is now split into if_ppp.c,
containing generic PPP support, and ppp_tty.c, which specifically
supports PPP on async tty devices (as a line discipline).  This is
so that other devices can be supported without making them look
like ttys.
1995-07-04 06:28:17 +00:00
briggs f92d7eb51f Clean up some types. 1995-07-04 03:34:09 +00:00
briggs 4d6ed092f1 Fixup a comment. 1995-07-04 03:30:11 +00:00
fvdl 059661a991 Fix totally bogus implementation of a few fcntl() calls. I think I'll go
live on a deserted island now..
1995-07-03 21:33:59 +00:00
leo d9019191a0 NetBSD/Atari keyboard mappings 1995-07-03 20:49:40 +00:00
mycroft 083ba962e2 Oops; need fcntl.h. 1995-07-03 16:58:38 +00:00
gwr 0a035e5e9f Can not use htonl() in static initializers. (Fixes PR 1188) 1995-07-03 04:56:33 +00:00
gwr 2d83203f6a Build all RPC requests with AUTH_UNIX (thanks to Chuck Silvers) 1995-07-03 02:59:16 +00:00
gwr 365e8c62da Remove temporary hack (now merged into src/sys/lib/libsa) 1995-07-03 02:56:52 +00:00
gwr 5cd60330a9 Remove temporary hack (../libnet) 1995-07-03 02:53:55 +00:00
gwr c4746effe0 Correct !DDB console abort (thanks to David Brownlee) 1995-07-03 02:52:13 +00:00
mycroft 9a4505cb89 Close routines take file flags, not I/O flags. Fix two incorrect usages. 1995-07-02 18:13:02 +00:00
mycroft 2dadf2f086 Simplify some conditionals. 1995-07-02 16:10:40 +00:00
mycroft 839598dfec Make spec_read() and spec_write() vaguely consistent. 1995-07-02 07:20:50 +00:00
christos ed63c665eb - make svr4_break() identical to obreak(). We still keep the code here,
to do some more testing.
- add POSIX.4 sysconfig options [we don't support them, but we don't
  return EINVAL too]
- More kludges in the interpeter load address. I hope I escape the kludge
  police...
1995-07-02 06:16:06 +00:00
christos e7dcefc56c Add the svr4 network cloning devices. Now telnet(1) works too. There are
still problems with X-windows programs.
1995-07-02 06:13:27 +00:00
briggs 1040af3492 Add missing interface for getting a grfmode structure from kernel. 1995-07-02 05:26:27 +00:00
briggs ed434b457d Fix grfmap() as well as grfmmap(). 1995-07-02 00:49:52 +00:00
briggs 932a8fc9af Set and use new fboff element from grfmode structure. 1995-07-02 00:30:25 +00:00
briggs af7f31e30a Add a couple elements to the grfmode structure. 1995-07-02 00:29:03 +00:00
mycroft f4b5f723e0 Remove references to if_addrlist. 1995-07-02 00:16:00 +00:00
christos 45d46cb0c9 svr4_machdep.c: Fix {get,set}context and sendsig.
locore.s: add signal trampoline code for svr4. There is a lot of code
	  duplication there. Maybe we should share the code?
SVR4 status now:
	/bin/sh:	works
	/bin/ls:	works
	/bin/sleep:	works
	/bin/csh:	gives unknown software trap 0xa7
	/bin/ldd:	works
1995-07-01 23:55:31 +00:00
christos 294f607d50 Fix alignment of svr4_getdents, so that it works for solaris2.4/sparc 1995-07-01 23:42:54 +00:00
briggs 3401cca400 Fix buglet that was missed when converting nubus to non pa==va mapping. 1995-07-01 23:40:38 +00:00
briggs 303845a487 Remove this define--we're using the new dump type. 1995-07-01 18:47:51 +00:00
briggs eec2d38c71 Take out ncr96scsi0. 1995-07-01 16:35:54 +00:00
briggs 36654b75d9 Use flags for scsi interrupts. clean up a small bit. 1995-07-01 16:35:16 +00:00
briggs 175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
cgd 5b435dbf05 null mbuf pointer could cause system crash; avoid it. From
Torsten Duwe <duwe@immd4.informatik.uni-erlangen.de>.
1995-07-01 03:44:55 +00:00
gwr 38c03f8581 Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
1995-07-01 00:51:15 +00:00
briggs 12ab0410c7 Clean up a tad. 1995-06-30 05:25:41 +00:00
briggs fcde92bcba Fix straytrap(). Update a few values in the ROM table. 1995-06-30 05:25:01 +00:00
briggs 5fced13f51 Ooops. 1995-06-30 05:23:03 +00:00
briggs 705e6bd12b Fix oversight. 1995-06-30 05:21:33 +00:00
christos 6b27eeffbc Don't make libkern. 1995-06-30 03:00:33 +00:00
christos 1654fca494 Remove unused define 1995-06-30 02:57:20 +00:00
briggs 29bb03860c Option key fix from Ken Nakata (kenn@remus.rutgers.edu). 1995-06-30 01:23:21 +00:00
cgd 3748c1aef7 try to insure that the 'default' address for shm segments is the same
from process to process.  It apparently is on SysV systems, and some
programs depend on this.  Suggested by  John Birrell <jb@werple.mira.net.au>.
1995-06-29 11:43:17 +00:00
cgd 2acbae9178 slight cleanup 1995-06-29 10:05:16 +00:00
jonathan 7c4739e2c3 Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
1995-06-28 10:22:32 +00:00
cgd dfd39259bf oops; this got mangled. 1995-06-28 08:27:08 +00:00
cgd db0f3de337 replace an incorrect remque. 1995-06-28 05:10:45 +00:00
cgd 26340c4a2e sync with my current sources. WAY out of date. 1995-06-28 04:41:30 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs 829668e8d3 Some random cleanup and some cleanup of the dump routines, modelled on
i386.  Untested.  Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd 28cbee6941 move to more appropriate (...reg.h) names. 1995-06-28 04:02:13 +00:00
cgd a921a720f7 no more serial console. There aren't enough free serial ports on non-crash
machines in my office!
1995-06-28 03:48:48 +00:00
cgd bbe407930b header file got renamed 1995-06-28 03:26:36 +00:00
cgd 65c4cf2b9a light cleanup, adjustments for the Alpha 1995-06-28 03:00:20 +00:00
cgd 8357feb486 update dependencies to deal with the alpha 1995-06-28 02:59:12 +00:00
cgd cfbb9c7cfe no longer needs machine/cpu.h, and use new name for the 'broken swap' define 1995-06-28 02:58:51 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd 40e29d5890 sync with my current Alpha sources 1995-06-28 02:44:51 +00:00
cgd d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +00:00
cgd da6d5a140a update to use new paths for MI lance driver 1995-06-28 02:30:25 +00:00
cgd 50937bb63a add charles's mostly-machine-independent lance driver, which is used
by the Alpha port.
1995-06-28 02:24:50 +00:00
cgd c319ff6546 these have moved to more appropriate names 1995-06-28 02:23:27 +00:00
cgd 6d04247fc7 update to use machine-independent lance driver 1995-06-28 01:48:12 +00:00
cgd 549f126f4b ISA and PCI support for DEC AlphaStations 1995-06-28 01:24:50 +00:00
cgd 5cc82e159a Support for ISA programmed I/O functions. 1995-06-28 01:16:33 +00:00
cgd ba164ee03d update for various (old) NetBSD changes 1995-06-28 01:16:13 +00:00
cgd f36f0cf3e2 update to make current state of knowledge 1995-06-28 01:14:41 +00:00
cgd 2a6abc91f8 update for (old) new tty changes 1995-06-28 01:06:35 +00:00
cgd 7a275b5901 update for new clock interrupt handling 1995-06-28 01:03:57 +00:00
cgd a6b5caae1a update for new kernel names 1995-06-28 01:02:58 +00:00
cgd f9e02471d0 make boot blocks work on AlphaStation systems 1995-06-28 00:58:44 +00:00
christos 68328ddcdd Fixes for Solaris-2.4/sparc dynamically linked binaries.
We can now run them, but:

1. setcontext() causes a panic so binaries that receive signals
   crash the machine [something is wrong with the register setup].
   sleep 10 ==
    Watchdog reset
    Data Access Exception
    Type  help  for more information
    ok

2. csh says "unknown software trap a7".
3. ls gives us a bus error.
4. ldd works :-)

But I solved the problem that had been bothering me for weeks :-)
1995-06-27 22:12:47 +00:00
cgd 1c5d265cad another CD-ROM quirk, a la PR 1166 1995-06-27 20:42:45 +00:00
mellon 34f8cc760a leinit: we always have at least one address now. 1995-06-27 19:54:49 +00:00
gwr e80271fbe0 Get things from libsa now. 1995-06-27 15:57:13 +00:00
gwr b4c3997cb9 Support functions for NFS boot (get server address and root path). 1995-06-27 15:32:40 +00:00
gwr 539a3bff11 Modified to do less copying, and to allow determination of
the address from whence the reply has come.
1995-06-27 15:28:58 +00:00
gwr 1fe28794f3 Fix ARP opcode, add more debugging prints. 1995-06-27 15:27:24 +00:00
gwr 55eb5a12f1 Re-work for new rpc interface, and simplify a bit. 1995-06-27 15:25:30 +00:00
gwr d7e1ef6af2 Pad HEADER_SIZE for alignment. 1995-06-27 15:23:18 +00:00
gwr 0e4efb30ef Pad the request out to the minimum Ethernet length.
Improve some debug prints...
1995-06-27 15:18:57 +00:00
gwr 29b61e2253 Add/correct some cache-flush logic to deal with the fact that the
VAC has ref/mod bits that need write-back treatment.
1995-06-27 14:44:47 +00:00
gwr d5761f14d9 Fix uses of btoc() which requires an unsigned arg. 1995-06-27 14:42:34 +00:00
gwr 6b6502194f Fix warnings about setjmp arg. 1995-06-27 14:40:14 +00:00
gwr f82c63a641 Remove temporary __BDEVSW_DUMP_OLD_TYPE (our dumpsys is safe 8^) 1995-06-27 14:38:22 +00:00
gwr 6548befa4f Nuke user-mode DELAY() macro. 1995-06-27 14:37:22 +00:00
gwr 3a59870c12 Leave modem control lines in correct state on interrupted open.
(From sparc/dev/zs.c)
1995-06-27 14:36:20 +00:00
gwr f872dedb62 Catch up with net/if.h changes 1995-06-27 14:34:32 +00:00
chopps 5ad7f31079 udpate to match ifnets new use of sys/queue.h 1995-06-27 13:13:32 +00:00
cgd e0f9279f31 update for current configuration descriptions 1995-06-27 00:54:55 +00:00
gwr 09e284bcca Fix null VP references (pr 1124) - from John Kohl 1995-06-27 00:15:13 +00:00
gwr 5be81bd012 Fix null VP references (pr 1124) 1995-06-27 00:12:21 +00:00
pk 09ea33db05 Do away with ROM printf. 1995-06-26 23:45:06 +00:00
pk a50ba2b546 Adapt to new lib{sa,kern} regime. 1995-06-26 23:26:57 +00:00
phil ad4af073cd Updates from Matthias Pfaller. (leo@marco.de) 1995-06-26 23:13:54 +00:00
pk c7df493055 SMD disk driver, from Chuck Cranor. 1995-06-26 23:06:57 +00:00
pk 70b6d95d44 xd definitions, from Chuck Cranor. 1995-06-26 23:01:06 +00:00
pk 35ad7a1ff3 xd driver entries, from Chuck Cranor. 1995-06-26 23:00:32 +00:00
pk 4f4e4826a6 xd definitions, from Chuck Cranor. 1995-06-26 23:00:31 +00:00
pk d918ea9e14 xd driver entries, from Chuck Cranor. 1995-06-26 22:59:54 +00:00
pk 3c17e9e63f isbad(), for Chuck's new xd driver. 1995-06-26 22:57:29 +00:00
pk 34c8ad8c30 Define dvma_map{in,out}() to map a buffer into DVMA space. These are
safe for use at interrupt time.

Implement vmapbuf() and vunmapbuf() in terms of these new functions.
1995-06-26 22:46:04 +00:00
pk 68e9c36909 Allocate/initialise DVMA maps and base address.
The fact that `phys_map' is split in half for different kinds of DVMA
allocations is not ideal..
1995-06-26 22:41:23 +00:00
pk affbc4d346 Define variables and macros for DVMA allocation using rmaps. 1995-06-26 22:36:32 +00:00
pk 04977f87e0 sl_xxx2 -> sl_pcylinder, for Chucks new xd driver. 1995-06-26 22:09:47 +00:00
pk 47ce042b76 Small optimisation & 1 fewer depedency on zs_ctty. 1995-06-26 21:45:31 +00:00
pk 45eb69b276 Use ZS_DELAY() in a few more places (from Gordon Ross, cf. sun3/dev/zs.c). 1995-06-26 21:32:51 +00:00
leo abe8c288fb Sync grf with underlying view on open. 1995-06-26 19:55:45 +00:00
christos c35bc29cc9 Fix PR1160... (bug with the new compat_util prefix) 1995-06-26 19:27:17 +00:00
leo f205966027 The atari specific code can be removed now it is using MACHINE_NONCONTIG. 1995-06-26 14:40:11 +00:00
leo 0d1035fa62 Fix thinko. It will now also work when no mouse is configured. 1995-06-26 14:31:27 +00:00
cgd 2b7d3527a2 define and set PTDpaddr (pyhs addr of kernel PTD) 1995-06-26 13:26:26 +00:00
cgd db66a978e9 IdlePTD has been gone for a while. PTDpaddr now exists. 1995-06-26 13:25:29 +00:00
cgd 336e8d4de0 prototype inittodr and resettodr 1995-06-26 10:39:20 +00:00
cgd 59e990a56b check CMOS time against base time, for sanity. if CMOS time invalid,
warn user and user base time.  if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it.  (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd 23e75a550d fix typo 1995-06-26 08:46:16 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd c8858650b0 DEBUG -> FD_DEBUG, so this thing doesn't spew when used with options DEBUG 1995-06-26 05:47:40 +00:00
cgd bc9de32349 make dump stubs consistent 1995-06-26 05:34:44 +00:00
cgd 35bea7d1f4 use new-style block device dump functions. (most intelligence here now.) 1995-06-26 05:22:53 +00:00
cgd 5ccd187ba5 reserve VM to map pages being dumped 1995-06-26 05:21:58 +00:00
cgd dd3e2df4a7 make dump stubs consistent. fix other piece of code to compile
properly with DEBUG; used bogus variable.
1995-06-26 05:20:40 +00:00
cgd 2a8d6461a8 implement new-style block device dump routine if __BDEVSW_DUMP_OLD_TYPE
not defined, otherwise use an "not implemented" stub.
1995-06-26 05:16:55 +00:00