Commit Graph

26518 Commits

Author SHA1 Message Date
thorpej
ddf4bc9113 Don't abort if we don't find an MBR or NetBSD MBR partition; simply assume
that the NetBSD portion of the disk begins at sector 0.
1997-03-22 01:33:10 +00:00
mycroft
e44dc60fc6 Fix editing error in new config changes. 1997-03-22 00:17:59 +00:00
thorpej
5bd8a86d23 Link installboot statically so that it can be used on install floppies
and in emergency situations.
1997-03-22 00:16:56 +00:00
gwr
8164ffb739 Add sun3x to the list of those using the (new) libkvm. 1997-03-21 23:07:32 +00:00
gwr
c874276d35 First cut at crashdump support. 1997-03-21 22:46:05 +00:00
thorpej
0e541517e5 Nuke unneeded "machine ..." line, pointed out by John Birrell. 1997-03-21 22:40:33 +00:00
scottr
f3f27175b6 Clean up after arp conversion; from Erik Bertelsen, closes PR 3372. 1997-03-21 21:42:39 +00:00
gwr
00ae7b5b2a Oh well... use our own version of this. 1997-03-21 18:57:54 +00:00
gwr
da140670c7 typo 1997-03-21 18:48:58 +00:00
gwr
95883471d5 Build the same libkvm.* on all m68k machines. (Well... except for the
stragglers that still use libkvm.old )  The m68k machines now dispatch
based on the machine name to the appropriate libkvm implementation.
1997-03-21 18:44:21 +00:00
mycroft
9e9b78f1b5 Don't feed packets to BPF that were not `sent' from the loopback device.
From PR 1693, by Jean-Luc Richier.
1997-03-21 16:58:49 +00:00
pk
e38b52a46b Thinko. 1997-03-21 16:29:34 +00:00
pk
1bc742e6dd cypress_cache_enable: clear bits explicitly before setting. 1997-03-21 15:35:51 +00:00
pk
d584dba41d Use `setpgt4m()' in some more places. 1997-03-21 15:19:29 +00:00
pk
3a7c1b8d57 viking: flush cache before enabling MMU. 1997-03-21 14:30:19 +00:00
veego
d34943dc4f Add a missing test for the PicassoIV, which fix the colour problem. 1997-03-21 09:40:58 +00:00
matthias
c796ad8010 Add missing arp tag for se driver. 1997-03-21 08:55:09 +00:00
pk
e221d20b5b Compute a cache attribute correctlier. 1997-03-21 08:39:40 +00:00
matthias
92f94ebec2 That shouldn't get deleted. I wanted to delete icuinit.c, not intr.c. 1997-03-21 08:34:57 +00:00
matthias
4c63b60bae intr.c 1997-03-21 08:31:59 +00:00
jeremy
4d949455d4 Fixed address for bwtwo framebuffer. 1997-03-21 07:28:36 +00:00
mikel
e19a744a21 kern.osrevision now returns value of NetBSD symbol (from <sys/param.h>),
not BSD symbol.  fixes PR kern/2016.
1997-03-21 06:50:48 +00:00
mikel
8d58d36e7b make manpage match header; from Brian Grayson in PR misc/3367
(partial fix).
1997-03-21 05:59:54 +00:00
cgd
5e25db4c59 pull in the sysident.h from ld.so, for NetBSD PT_NOTE generation 1997-03-21 05:47:28 +00:00
cgd
fbf6ff628e put in two identifying notes, which new binutils snapshots will turn
into PT_NOTE sections so they can be examined by execve() to figure
out whether this is a native binary, what emulation it's to be run under,
etc.
1997-03-21 05:39:42 +00:00
cgd
e2effbd3b9 define Elf{,32,64}_Note as appropriate, add a constant for NetBSD-specific
notes' 'name' fields, and add a couple of NetBSD-specific note types.
1997-03-21 05:34:40 +00:00
mikel
51ec208436 fix type of fts_open() argument; from Enami Tsugutomo in PR lib/3368. 1997-03-21 05:31:21 +00:00
mycroft
cf83d6c33f Use native IPL_AUDIO for i386. 1997-03-21 04:36:29 +00:00
mycroft
1963665c7e Add IPL_AUDIO. 1997-03-21 04:34:18 +00:00
mycroft
188dec4d19 Clean up a bit, and export isa_dmamask() and isa_dmaunmask() interfaces. 1997-03-21 02:17:11 +00:00
pk
cb8601ae21 In viking_pcache_flush(), use a "flash flush" during boot-strapping. 1997-03-21 01:49:03 +00:00
pk
28350d7d18 Set pcache_flush_line function pointer for correct cache configuration. 1997-03-21 01:47:15 +00:00
pk
31f3ff5346 Store cache associativities in the `cacheinfo' structure, and use it
in computing the cache "alias distance" and in the viking cache line
flush function.
1997-03-21 01:32:15 +00:00
cgd
a823d31f7e fix check for bus number when root dev is behind PPB 1997-03-21 01:26:08 +00:00
cgd
26c8aefcc3 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
Add 'se' Cabletron SCSI Ethernet driver.
1997-03-21 01:12:40 +00:00
cgd
f0833f24f4 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
1997-03-21 01:12:21 +00:00
cgd
2d3755c5ba files file entry for eb64+ 1997-03-21 01:09:02 +00:00
mycroft
51c794927e Minor changes. 1997-03-21 00:56:43 +00:00
cgd
30f6cf581e changes to allow "make -j N" to more easily parallelize many subdirs 1997-03-21 00:53:02 +00:00
mycroft
9bc57d2244 Add PnP ID for SB AWE32. 1997-03-21 00:49:38 +00:00
mycroft
3523bc35d5 Add an isa_dmacount() function, to get the current residual count on a channel. 1997-03-21 00:00:21 +00:00
pk
d79f5b1733 Add declaration. 1997-03-20 23:57:30 +00:00
pk
5704efd375 Replace many setpte4m() calls with a simpler helper function because
the address of the desired PTE location is readily available in the
callers context (setpte4m() retraces the entire 3-level structure
to arrive at the PTE location).

Also, in many cases we can do away with the distinction between pmaps
that have or have not allocated a context. This is really only useful
in cases where we're interested in the REF or MOD bits which can differ
in the TLB version of a PTE.  By doing this, we avoid getpte()'s which
in many cases instruct the MMU to start a table walk only to find out
that there's nothing there after going 2/3 of the way, or waste a TLB
entry because of TLB flushing soon after getpte() completes.

In addition, there's a hook to flush the cache line corresponding to
the (kernel virtual) location of a PTE entry when it gets altered.
1997-03-20 23:48:37 +00:00
pk
6cea599cbf Add hook for flushing a single cache line. 1997-03-20 23:26:23 +00:00
pk
63c1c6ab1c Remove a bunch of no-ops. 1997-03-20 21:44:21 +00:00
mycroft
6f51eb5c3d Use autoinitialize DMA mode on the SB2 and later. Partly from Torsten Duwe. 1997-03-20 21:42:11 +00:00
chuck
63c14f2d75 MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and
Anne Hutton <hutton@isi.edu>]:
   - add support for Adaptec 155 PCI ATM cards (e.g. ANA-5940)
          - add sc->is_adaptec to handle differences between cards.
          - break out MID_MK_TXQ/MID_MK_RXQ seperate macros to handle
                  the new Adaptec format TXQ/RXQ.
          - adjust en_dqneed to return 1 on ADP (since the Adaptec can
                  DMA anything in one DRQ/DTQ!)
          - add hook for a bus specific reset function (adaptec has
                  a seperate reset register that needs to be hit when
                  resettting the midway).
          - adjust DMA test to not worry about burst sizes on the
                  adaptec (since it handles it all for us!) and to handle
                  the new DTQ/DRQ format.
          - add Adaptec DMA support to en_txlaunch() and en_service()


BUG FIXES:
   - fixed receiver panic under heavy load ("lost mbuf in slot 0!").
          when the reassembly buffer overflows, the T-bit is set in
          the RDB and the data field is empty.  en_service() sets up
          a 4-byte (RDB size) dummy DMA without IF_ENQUEUE.  but the
          recv intr handling in en_intr() always does IF_DEQUEUE.
          as a result, a successive recv intr loses its mbuf and
          leads to a panic.  the solution is to only IF_DEQUEUE if
          the interrupt has non-zero length (indicating that there
          is an mbuf to get).   in order for this to work, EN_DQ_MK
          must always be non-zero.   we do this by or'ing in an unused
          bit (0x80000).
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - fix setting of transmit channel when txspeed[] is non-zero
          (e.g. traffic shaping).    the old scheme didn't work
          properly (it allowed the same VCI to use multiple tx channels
          thus defeating the txspeed[] parameter).   the new scheme
          statically assigns a VC to a channel when txspeed[] is set.
          [note that the code to set txspeed[] isn't in the driver right
          now since a MI interface to do this hasn't been made yet]
          we add sc->txvc2slot[] and sc->txslot[n].nref for this.
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>,
                                  Milind M Buddihikot <milind@ccrc.wustl.edu>,
                                  Dong Lin <dong@eecs.harvard.edu>

   - when doing SRAM copies, be sure to round up the length to the next
          largest word (otherwise the driver will try to do a byte clean
          up DMA and then get an ID error interrupt).


MINOR CLEANUPS:
   - clean up loops in DMA test
                  contributed by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - restructure and cleanup of en_read/en_write macros/inlines

   - clean up some byte ordering stuff so that we are consistant throughout
          the driver
1997-03-20 21:34:42 +00:00
chuck
aeee0bf5a5 add support for adaptec PCI atm cards (see midway.c log for details) 1997-03-20 21:30:46 +00:00
jeremy
4882df57ff Change location of if_ether.h to net/ from netinet/. 1997-03-20 21:21:00 +00:00
pk
5718c246fd Define various no-op functions. 1997-03-20 21:16:20 +00:00