Commit Graph

50297 Commits

Author SHA1 Message Date
itojun
51a9c75998 simplify per-if stats. 2001-10-18 09:09:25 +00:00
itojun
ae5499819c reduce diffs with kame (mostly cosmetic).
move IPV6_CHECKSUM processing to sys/netinet6/raw_ip6.c.
constify a couple of places.
2001-10-18 07:44:33 +00:00
thorpej
dcd30fd216 Add a missing return statement in an error case, and g/c some
cruft that's not relevant in the PCI world.
2001-10-18 06:29:55 +00:00
thorpej
c616253896 Remove some more stuff left over from copying bits of the HME driver. 2001-10-18 06:28:17 +00:00
thorpej
d44a5ae87c Remove some unneeded stuff from the gem_pci_softc. 2001-10-18 06:14:33 +00:00
thorpej
c559c94a45 Add goo to fetch the MAC address from OpenFirmware on the macppc
port.  Copied from the macppc "gmac" driver, but otherwise untested.
2001-10-18 03:55:07 +00:00
thorpej
285d37822b - The GEM registers are always memory type registers. Don't use a
broken hueristic to determine memory vs. i/o (one should never make
  an assumption that the bus_space_tag_t is a pointer, as this code
  did).
- Fix the "can't map registers" error message.
- Garbage-collect some code that is not relevant to the GEM (which
  was already #if 0'd out).
- Cluster all the SPARC-specific code into one place (will be
  replaced with Properties once that is fleshed out).
2001-10-18 03:48:48 +00:00
thorpej
bfda843574 Manipulate the Tx desc pointer as 2 32-bit values, just as
we do with the Rx desc pointer, both for consistency, and
for platforms which don't have bus_space_*_8().
2001-10-18 03:33:33 +00:00
mhitch
b216e63487 Use boot arguments to try to determine the boot device. The OSLoadPartition
string, if present, will override the second argument (which may be the
path/kernel being loaded).  This will provide a way to netboot the kernel
and allow the root device be set to a disk partition.
2001-10-18 02:36:33 +00:00
mhitch
6d6ab09e29 Initial boot device determination code: makebootdev() to parse boot command
line parameters, and device_register() to try to match the boot device.  Works
on a Challenge S (and similar machines), but will need more work for other
SCSI adapters.
2001-10-18 02:25:33 +00:00
mhitch
7c6b1c8da0 We have device_register(). 2001-10-18 02:19:54 +00:00
matt
cc06635a2c Use correct SRR1 bit in EXC_PGM|EXC_USER fault to catch a trap. 2001-10-18 01:33:48 +00:00
matt
f2ceecb472 In pmap_syncicache, preserve the page offset contained in the supplied
physical address.
2001-10-18 01:03:44 +00:00
reinoud
492b11d134 Added the documentation section of arch/arm32 to not let it dissapear.
Can't say for sure ig the interrupts/majors+minors files are still valid
though.
2001-10-18 00:05:00 +00:00
reinoud
e8a24b6100 Forgot these ones... and make notice of the move. 2001-10-17 23:58:34 +00:00
reinoud
9bb6db7a85 Major step in creation of arch/acorn32 : remove acorn RiscPC compatibles
and RC7500 from the old arch/arm32 that is gonna be deleted in its whole
soon.

IMPORTANT for RC7500 ... this also removes all RC7500 support .... its a
big pitty but was virtually unsupported allready for a few years and noone
had one... if someone wants to make RC7500 or decendants support undo this
removal and start from here.
2001-10-17 23:53:29 +00:00
thorpej
9b2f51421c Use a pool cache for namei buffers -- it's faster to allocate from
a pool cache than a pool.
2001-10-17 23:33:29 +00:00
reinoud
be3168ab71 Sad point .... remove RC7500 support from the iomd directory in the
arch/arm/iomd/* .... the RC7500 isnt really an iomd/vidc machine but has
different video/audio chip and was kind of hardwired/hacked into the other
chip drivers.
2001-10-17 23:28:19 +00:00
matt
747d79ef47 Workaround "../../../.." 2001-10-17 23:21:44 +00:00
reinoud
163c0895bf Bug fix : due to changes in wscons having a wsmux seems mandatory now to
get it compiled...

added the pseudo-device wsmux 1 to ensure this demand.
2001-10-17 22:54:25 +00:00
thorpej
397a84f51a Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful:
If __PCI_DEV_FUNCORDER is defined, don't do the song-and-dance to check if
a device is multi-function; machdep code is going to tell us exactly which
functions to probe.

Note this required changing how pci_func_devorder() works in the
sparc64 PCI machdep code; now the "curnode" is assumed to point
to the bus, rather than some function (typically 0) on the device,
just as pci_bus_devorder() makes that assumption.

All this should allow the PCI code to actually locate the second
HME device on a Sun Netra t1, which is at 3,1 -- previously, the
PCI code would have missed it because there is no device at 3,0.

(Sun deserves a brick to the head for this one -- this seems clearly
out of line with the PCI spec.)
2001-10-17 22:16:41 +00:00
thorpej
b8c7d53f1c Fix a typo in a DIAGNOSTIC check. 2001-10-17 18:43:04 +00:00
jdolecek
8507456e91 add emuxki (Creative Labs SBLive!) 2001-10-17 18:41:20 +00:00
jdolecek
d4df209cbd Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.
2001-10-17 18:39:41 +00:00
ichiro
190ebf4d1f regen 2001-10-17 15:44:50 +00:00
ichiro
b45d3009cf add Dallas Semiconductor product
USB-FOB/iBUTTON
2001-10-17 15:44:22 +00:00
itojun
1990d680c4 do not change neighbor cache state on entry timeout,
if the cache entry is for outgoing router.

perform on-linkness check before default router (re-)seletion.

do not play with interface direct route on nd6_rtrequest.

sync a lot of cosmetic changes.  sync with kame
2001-10-17 10:55:09 +00:00
haya
5f75bfa4ba Move some chip initialise code into pccbb_chipinit() function. 2001-10-17 10:25:51 +00:00
itojun
dfb1429789 unifdef OLDIP6OUTPUT 2001-10-17 08:23:05 +00:00
chs
b5ad35867e fix pmap_changebit() to look for the bit in the page attrs
in addition to any PTEs.
2001-10-17 06:28:16 +00:00
shin
b2f579a9a8 add wsmux to build kernel. 2001-10-17 01:34:41 +00:00
shin
a125433f3e set & export MACHINE_CPU. 2001-10-17 01:33:47 +00:00
bjh21
5dcc1bbb2d Set the major number of swapdev correctly (it's 0, not 1). This
finally makes pageouts work.
2001-10-16 23:58:29 +00:00
bjh21
07b63ac97a On ELF systems, make intptr_t and uintptr_t long, because Matt says so.
This makes regress/lib/libc/int_fmtio compile.
2001-10-16 20:40:45 +00:00
kleink
7c6ef4a85e Make this capable of being included without pre-requisite headers. 2001-10-16 19:47:44 +00:00
kleink
7c182e37e3 Cosmetical nit-pick. 2001-10-16 18:05:26 +00:00
kleink
ac7e78d152 Define caddr_t, gid_t and uid_t via <sys/ansi.h>. 2001-10-16 18:04:14 +00:00
uch
d8c8db85ef R5900 support.
COP0_SYNC
	In R5900 mtc0, tlbr, tlbp, tlbwi, tlbwr must be followed by sync.p.
	if defined MIPS3_5900, COP0_SYNC is defined as sync.p. else nothing.
 IPL_ICU_MASK
	mask interrupt directly ICU instead of SR.IM.
	I've added this feature to support software interrupt for R5900.
	and this option may be useful for platform which has cascaded ICU.
2001-10-16 16:31:32 +00:00
kleink
1242c3de72 Make this capable of being included without pre-requisite headers. 2001-10-16 15:52:19 +00:00
uch
07f8f33bb9 R5900 miss-prediction of branch targets for short-loop. 2001-10-16 15:40:53 +00:00
uch
2fa5ea9720 playstation2 port 2001-10-16 15:38:29 +00:00
christos
070d583bb3 PR/14256: Kevin P. Neal: Add quirk for micropolis drive. 2001-10-16 13:33:02 +00:00
tron
b7ca23147b Add UDMA/100 support for SiS chipsets 645, 650 and 730. 2001-10-16 08:22:50 +00:00
tron
5858458732 Regen. 2001-10-16 08:15:01 +00:00
tron
7c4f946401 Add host bridges of SiS 645, 650 and 730 chipsets. 2001-10-16 08:14:15 +00:00
tron
40dc031852 Add missing timings for Ultra DMA modes 3 to 5 on SiS hostadapters.
Problem pointed out by IWAMOTO Toshihiro on "tech-kern@netbsd.org".
2001-10-16 08:10:24 +00:00
itojun
7dcf45fbd8 more whitespace/comment sync with kame 2001-10-16 06:24:44 +00:00
chs
4b887dad17 it is with great chagrin that I must fix yet another 64-bit math bug. 2001-10-16 05:56:23 +00:00
itojun
45c8a6a57e remove unused #define. sync whitespace/comment with kame. 2001-10-16 04:57:38 +00:00
minoura
1f7386b8aa #include mulaw.h for converter functions prototypes. 2001-10-16 04:36:56 +00:00