Commit Graph

81399 Commits

Author SHA1 Message Date
matt f6d422beb8 Fix warning about braces & if. Include libkern.h for strncpy prototype 2001-06-08 00:21:45 +00:00
matt ef047f21f8 Add multiple inclusion protection. Define prototypes for openfirm
routines used in cdevsw.
2001-06-08 00:19:17 +00:00
itojun 7f6ce64273 inject outgoing packet to bpf. KAME PR 358. 2001-06-08 00:17:05 +00:00
matt 75a27eccff Rename pte_spill to pmap_pte_spill. Fix pmap_clear_{referenced,modify}
to return the previous state of the bit.  Make it compile under
-Wmissing-prototypes -Wall.  Change around some debug stuff.
2001-06-08 00:16:24 +00:00
rafal a8bb9b127a All soft interrupts are currently handled by soft interrupt 1, so make
all splsoftxxx() calls block soft interrupt 1 and make spllowersoftclock()
re-enable soft interrupt 1.

XXX: This needs to be reworked so that spllowersoftclock() only turns on
softclock interrupts, not all soft interrupt.  That change is coming soon.
2001-06-08 00:09:28 +00:00
rafal 86d8f950ef Fix initial interrupt mask settings for `hard' interupts to mask out soft
interrupts as well.  The system is quite stable now that soft interrupts
don't pop up at random places where they're unexpected 8-)

Also, while here, fix CPU clock speed calculation for the Indy.
2001-06-08 00:02:41 +00:00
thorpej 0859a7601d - Differentiate beteen the 8003 and 80c03 (the 80c03 has some additional
features).
- Implement crude multicast support -- enable reception of all multicast
  frames if we have any addresses on the multicast list.  TODO: use the
  64-bit hash table on the 80c03.
- Implement promiscuous mode.

IPv6 doesn't quite work yet -- DAD finds a duplicate for the
link-local.  The 8003 hears its own transmissions, but IFF_SIMPLEX
is not set, so I'm a little confused.
2001-06-07 23:05:51 +00:00
chris 4e6f32c9d7 Fix the broken stray irq handling for footbridge, this needs to be
propegated to other arm32 irq handlers, until there's a common core part
for doing irq handling.

Untested as I've no cards that generate stray irq's.
2001-06-07 21:47:36 +00:00
chris 75d8b9d463 Checkin fix to ARM7TDMI support. As per patch from John Fremlin to
port-arm32.
2001-06-07 21:07:22 +00:00
thorpej 17207724f6 Update the console entries for new tty names. 2001-06-07 20:16:55 +00:00
thorpej 082e7c8634 Change the serial port entries to ttyC? ("com") and ttyZ? ("zstty"). 2001-06-07 20:05:13 +00:00
thorpej b4e0748bf3 Don't use PCLK as the baud rate generator, as the Indy doens't
like that, and it has no effect on the Indigo2.
From Christopher SEKIYA <wileyc@rezrov.net>.

Also, query the "ConsoleOut" ARCS variable (i.e. "what the console
really is") rather than "console" ("what the console is configured
as").
2001-06-07 19:23:03 +00:00
mrg d3b1cc167d more SMP work:
make IPI's work.  modify boot_secondary_processors() to clear the startup flag
in each cpu.  new raise_ipi_wait_and_unlock() that calls raise_ipi(), waits
for the cpu to acknowledge it got the message, and then unlocks the msglock.
use the new framework in mp_{pause,resume}_cpus().  nmi_soft() takes a
`struct trapframe *', to be used by ddb.
2001-06-07 17:59:47 +00:00
mrg ba991d978b move ev_out32() here. 2001-06-07 17:54:35 +00:00
mrg 59024512bd LKM friendly: move ev_out32() to netbsd32 specific code; add an ev_out32 hook. 2001-06-07 17:52:52 +00:00
mrg 51b7188429 make lkm friendly. 2001-06-07 17:49:51 +00:00
briggs 5d512c674c GENERIC + memory disk hooks. 2001-06-07 17:08:13 +00:00
briggs af0929e6ce Enable a few more devices (adw, dpt, siop, sip, sd). Do not compile DEBUG. 2001-06-07 17:05:11 +00:00
briggs 7f626e8ccb Add sandpoint. 2001-06-07 16:59:42 +00:00
briggs 7a3a78cfa3 Compile on sandpoint. 2001-06-07 16:48:09 +00:00
briggs 07afe48412 Add template fstabs for NFS and scsi disk. 2001-06-07 16:47:12 +00:00
mrg 6246dceb77 print p_pid & p_comm for alignment errors. 2001-06-07 15:31:16 +00:00
mrg 6c81e0af9d set SHLIB_LDSTARTFILE and SHLIB_LDENDFILE based on ${LIBDIR} not hard coded
/usr/lib.
2001-06-07 15:28:55 +00:00
mrg 6d915ee299 add compat_netbsd32(8) 2001-06-07 15:27:52 +00:00
thorpej a7df60e8e9 Pass -N to the linker, so that it will generate a single PT_LOAD
section (a'la OMAGIC).
2001-06-07 15:26:31 +00:00
mrg 49a10e6208 add compat_netbsd32(8); clarify compat_sunos(8) on netbsd/sparc64. 2001-06-07 15:25:31 +00:00
mrg 4091ab9fbd note the SWAP PRIORITY section in swapctl.8 2001-06-07 15:23:48 +00:00
mrg f59b9e737f set FILESDIR to "${LIBDIR}", not hard coded /usr/lib. 2001-06-07 15:22:49 +00:00
mrg 55e0fea74f s/primary swap area/first swap area/ 2001-06-07 14:52:50 +00:00
bouyer df4739c8cb Set TI_OPMODE_1_DMA_ACTIVE only if hardware assisted checksum isn't used
(FreeBSD does it this way). My Tigon II works with hardware assisted checksum
now.
2001-06-07 14:35:58 +00:00
mrg 2a32c938de make this program actually work. 2001-06-07 14:15:39 +00:00
wiz ea23c08f2a Typos and grammar fixes (last part of misc/13133 by Michael K. Sanders) 2001-06-07 13:58:23 +00:00
wiz e265f98875 Typos and grammer fixes in comments (misc/13133 by Michael K. Sanders) 2001-06-07 13:44:46 +00:00
wiz fa87a2091d Typos in comments (misc/13133 by Michael K. Sanders) 2001-06-07 13:32:46 +00:00
mrg 6b94f57396 make ifioctl() compat lkm friendly. 2001-06-07 13:26:48 +00:00
simonb 8e610505cb Add sradixsort to the NAME section. 2001-06-07 13:17:09 +00:00
mrg 9a7e97f190 only warn about not writing the sun header once. PR#12809 2001-06-07 12:50:29 +00:00
mrg 3da5c0d664 fix bug in audiorecord -t handling. 2001-06-07 12:48:27 +00:00
mrg 79ba24e616 wait a couple of seconds for the interface to go live, before calling ping.
fixes problem noted by gkm@petting-zoo.net where the interface was still
negotiating before ping failed, causing the network config to wrongly failed.
2001-06-07 12:34:55 +00:00
rafal a1830df1bb Fix a deadlock in the tx code -- the code checked the DMA status before
sync'ing the descriptor, leading to a race where the packet could complete
after the DMA check but before the sync of the descriptor, sending the code
into unknown territory and the DMA engine into space.  Also, fix a bug with
spurious watchdog resets going off due to the if_timer not always being set
on transmit.

Finally, clean up use of hardcoded magic numbers, get them from hpcreg.h
when possible.
2001-06-07 12:20:42 +00:00
rafal 63f856cb2e Add a bunch of defines for bits withing the ethernet-related registers so
the Seeq driver can use them instead of hardcoded constants.
2001-06-07 12:10:34 +00:00
rafal e8ab2dca62 Add me to developer list. 2001-06-07 12:05:20 +00:00
itojun b3c3c41bd0 sync with 20010228-pl03. 2001-06-07 11:10:35 +00:00
itojun 7cf386438a postfix 20010228-pl03 2001-06-07 11:00:49 +00:00
enami 85fb541842 Fix typo; print sc->aue_intr_errs instead of sc->aue_rx_errs when
reporting interrupt errors.
2001-06-07 10:55:15 +00:00
leo 3aa99cbeac We really need a wsdisplay on the Milan. 2001-06-07 08:41:11 +00:00
leo e371e8a5ae Try to search for an isa bus during console configuration too... Otherwise,
we miss the console keyboard on the Milan.
2001-06-07 08:35:29 +00:00
leo 3700ec551e The newly generated config files. 2001-06-07 08:01:19 +00:00
leo d355dc319f Oops, we don't want 'MILAN' anymore.... 2001-06-07 08:00:24 +00:00
itojun 4110a47157 fix port number in master_listen(). hotta@kddlabs.co.jp 2001-06-07 07:59:24 +00:00