ragge
056e20f2cc
Need to get the kernel lock when entering by interrupts.
2001-06-03 15:15:02 +00:00
ragge
e2f864bf95
Break out the MP-dependent calls. Add definitions for the IPI functions.
2001-06-03 15:12:57 +00:00
ragge
d0a8785b5e
Add define for IPI vector.
2001-06-03 15:10:34 +00:00
ragge
8d7b76581f
Implement spinlocks as subroutines instead of inlines.
...
Add SPINLOCK_SPIN_HOOK; the VAX has low-priority IPIs like Alpha.
2001-06-03 15:10:11 +00:00
ragge
6e219aa5a7
Add bbssi/bbcci (bit set/clear and branch interlocked) as inline functions.
2001-06-03 15:08:32 +00:00
ragge
1da9a91480
A bunch of fixes:
...
- Make generic console routines not relying on running on master cpu.
- Add routine to start console transmitter (after IPI).
- Use real IPIs instead of the "console doorbell".
- Add routines cpu_send_ipi()/cpu_handle_ipi().
2001-06-03 15:07:20 +00:00
lukem
461a7daf74
fix comment
2001-06-03 14:29:42 +00:00
tsutsui
ad811093a3
Add iha at pci .
2001-06-03 13:46:57 +00:00
tsutsui
bcdd082840
Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
...
Based on OpenBSD's iha driver, and modified some structures by me.
Tested on arc, i386 and macppc.
2001-06-03 13:43:45 +00:00
simonb
976bdd3f47
Change to new libbz2 API.
2001-06-03 13:43:01 +00:00
simonb
6a1c62c440
Update to bzip2 v1.0.1, building with reachover Makefiles to dist/bzip2.
...
Complete API change, library major bumped. *sigh*
2001-06-03 13:41:59 +00:00
simonb
204134d4a3
Add prototypes so this builds with the standard NetBSD warnings enabled.
2001-06-03 13:39:38 +00:00
bjh21
e1fdb3abbf
Rather than duplicating the LDM/STM/LDC/STC fixup code between
...
early_abort_fixup() and late_abort_fixup(), have the latter tail-call the
former. This saves another 200 bytes, and I've found my ARM710a card now, so
I've even tested it.
2001-06-03 13:38:14 +00:00
tsutsui
c9d2bd8419
Sort some entries.
2001-06-03 13:21:28 +00:00
simonb
2b666e6b9a
Import bzip2 1.0.1
2001-06-03 13:03:00 +00:00
simonb
239d7a60d4
Yet another import helper shell script, this one for bzip2.
2001-06-03 13:02:16 +00:00
hannken
de85f7e43e
Assign a saved copy of dt->fs_file to mountpoint. dt->fs_file will be freed
...
otherwise resulting in a wrong spcl.c_filesys .
2001-06-03 09:51:10 +00:00
itojun
dc1b085d64
prevent overflow of lifetime value. sync with kame
2001-06-03 09:26:04 +00:00
itojun
987416580a
remove usr.sbin/mtrace6. sort.
2001-06-03 06:19:13 +00:00
itojun
45b2928589
do not visit mtrace6
2001-06-03 06:09:10 +00:00
thorpej
4e7cb03446
Differentiate between a DL10019 and a DL10022 (they have slight
...
MII differences).
2001-06-03 04:52:28 +00:00
thorpej
37368cb858
Use the correct bitbang ops on the DL10022 (oops!).
2001-06-03 04:39:52 +00:00
mrg
28bd948dba
finish moving context management back to being global. add a new ctx_lock
...
for context administration.
2001-06-03 04:03:28 +00:00
christos
717b628383
move extern at a global scope.
2001-06-03 04:02:34 +00:00
thorpej
cc3002d53b
Clarify a historical comment.
2001-06-03 03:55:10 +00:00
thorpej
f75e45c854
In ti_init2(), use a simpler, more obvious, and correct MTU
...
calculation to give the firmware.
2001-06-03 03:46:43 +00:00
thorpej
f2b9a1f3cc
Replace a bunch of home-grown Ethernet related constants with
...
ones defined in <net/if_ether.h>
2001-06-03 03:29:44 +00:00
thorpej
7b1b8dd02a
Consider the configured MTU of the interface when determining
...
if a packet is too large.
2001-06-03 03:24:23 +00:00
chs
88905c8ca1
clear and restore pcb_onfault around calling uvm_fault(),
...
so that bugs in the fault-handling code will panic sooner.
2001-06-03 03:12:31 +00:00
thorpej
597194532e
Add a capability bit that indicates support for Gigabit Ethernet
...
jumbo frames, and use it in SIOCSIFMTU.
2001-06-03 03:07:39 +00:00
thorpej
70b2367cfd
1.5W -- hardware IPv4/TCP/UDP checksumming support.
2001-06-03 02:48:45 +00:00
chs
c8642d34a1
let kernfs_mmap() use the default error method.
2001-06-03 02:23:31 +00:00
chs
27e388d697
let portalfs_mmap() use the default error method.
2001-06-03 02:22:40 +00:00
chs
6e2828061f
procfs_bmap() should never be called, make it a "bad op".
...
let procfs_mmap() use the default error method.
2001-06-03 02:21:35 +00:00
thorpej
f0f999ee47
Skip the pseudo-header checksum if nxt == 0.
2001-06-03 01:37:28 +00:00
matt
9086deaf4d
Default to kernel_map if no addr is available.
2001-06-03 00:32:25 +00:00
bjh21
6a32761143
Now that cpu_dataabt_fixup() can fail, print slightly more useful information
...
(address and disassembly of the instruction that aborted) when it does so.
2001-06-02 22:48:40 +00:00
bjh21
3c88c46567
In {early,late}_abort_fixup(), return ABORT_FIXUP_FAILED, rather than
...
panic'ing, if we hit an instruction we can't fix up. This saves 250-odd bytes
of code, and should allow the caller to print a more useful message.
2001-06-02 22:30:07 +00:00
bjh21
f594a52dae
late_abort_fixup: Get the indentation right!
2001-06-02 22:08:11 +00:00
jdolecek
fb1a28db61
Console input may not be necessarily keyboard, adjust accordingly.
...
Comment out the splhigh stuff for now, it doesn't quite match current use.
2001-06-02 22:04:11 +00:00
thorpej
9987ee5249
Driver for the Broadcom BCM5201/BCM5202 "Mini-Theta" Ethernet
...
PHYs. This is also the same PHY core as in the 3Com 3c905C.
The PHY is documented in the 3c905C manual.
2001-06-02 21:42:10 +00:00
thorpej
424f7a1e65
Make PHY matching all table-driven.
2001-06-02 21:39:38 +00:00
bjh21
0c870e10e0
Convert bus_space_{read,write}_multi_1() into macros, since they're just
...
wrappers round {read,write}_multi_1() anyway.
2001-06-02 21:31:02 +00:00
bjh21
54a986d7fc
Replace arm6_dataabt_fixup() and arm7_dataabt_fixup() with early_abort_fixup()
...
and late_abort_fixup(), based on the abort model in use, rather than the CPU
type. This cleans up the code and makes it smaller. Only tested on an
ARM6 -- I can't find my ARM710a card right now.
2001-06-02 21:03:32 +00:00
bjh21
947699688a
Create hcscreg.h, and put a couple of magic numbers in there.
2001-06-02 20:13:50 +00:00
jdolecek
d005e2321e
Document cnbell(), cngetc(), cngetsn(), cnpollc(), cnputc().
2001-06-02 19:12:59 +00:00
bjh21
7089595665
Initial cpufunc operations for ARM3. Not actually used yet.
2001-06-02 19:01:03 +00:00
chs
821ec03ed9
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
2001-06-02 18:09:08 +00:00
sommerfeld
c60038a831
Avoid being overly specific since the unresolved merge conflict tags
...
we detect could have come from something other than cvs.
2001-06-02 18:04:44 +00:00
christos
42c813cc0b
don't deref -1.
2001-06-02 17:30:28 +00:00