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
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
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
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
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
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
kristerw
90b4d889db
Silent gcc 3.0 warnings that multi-line string literals are deprecated (and
...
these literals should not be multi-line. It looks like they became that way
when a developer got a bit carried away when KNFing the code...)
2001-06-02 17:29:46 +00:00
matthias
0319a3d7bf
Add a missing line from i386/i386/pmap.c to make this work again.
2001-06-02 16:47:17 +00:00
thorpej
ad9d3794b0
Implement support for IP/TCP/UDP checksum offloading provided by
...
network interfaces. This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us. In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software. This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.
We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.
Note: hardware-assisted checksumming defaults to "off". It is
enabled with ifconfig(8). See the manual page for details.
Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:09 +00:00
thorpej
ca4d373730
Implement support for IP/TCP/UDP checksum offloading provided by
...
network interfaces. This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us. In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software. This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.
We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.
Note: hardware-assisted checksumming defaults to "off". It is
enabled with ifconfig(8). See the manual page for details.
Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
toshii
9590a56496
Use bus_space_{read,write}_multi_stream_2 where available.
2001-06-02 15:49:16 +00:00
jdolecek
4db9600c94
use hd0a instead sd0a in 'help' command example
2001-06-02 14:56:13 +00:00
manu
4788337ddb
Fixed a rough buf in ptrace SETFPREGS (was using regs instead of fpregs)
2001-06-02 13:49:44 +00:00
matthias
af667cdd42
The io offsets in arm32/isa/timerreg.h included the IO_TIMER1 offset.
...
With dev/ic/i8253reg.h this is not the case.
Add IO_TIMER1 to all offsets used in inb and outb. This fixes port-arm32/13009.
2001-06-02 12:51:28 +00:00
bjh21
fd7e9d6d32
Clean up hcsc_match: Don't check the manufacturer ID, since podule IDs are
...
unique anyway. Do check whether the description starts with "SCSI", since
HCCS used the same ID for their IDE podule.
2001-06-02 12:07:34 +00:00
jdolecek
58467b0a9d
Slighly improve the PTRACE_CONT comment
2001-06-02 11:46:09 +00:00
bjh21
e9ff9b9d73
Enable disconnect/reselect (now that it works) and parity checking.
2001-06-02 11:43:40 +00:00
bjh21
68035f55f1
In DEBUG kernels, catch page faults in interrupt handlers early.
2001-06-02 11:17:32 +00:00
bjh21
c81d426dcf
Save R14 (in a proper stack frame) around {read,write}_multi_1, since page
...
faults can corrupt it on arm26.
2001-06-02 11:15:56 +00:00
bjh21
447793851c
Add hcsc to every configuration that has SCSI podules.
2001-06-02 10:48:54 +00:00
bjh21
972ef526d2
Add hcsc, scsibus and some SCSI devices.
...
Also, add some useful compiler options to FOURMEG.
2001-06-02 10:47:55 +00:00
bjh21
2d35661e6a
Use write_munti_1() to implement bus_space_write_multi_1().
2001-06-02 10:45:43 +00:00
bjh21
ac0d39dfe8
Add write_multi_1().
2001-06-02 10:44:56 +00:00
bjh21
3df8e425e7
Correct permissions on vmapbuf'ed pages. A read from a device is a write to
...
memory, and vice versa.
2001-06-02 10:44:02 +00:00
jdolecek
40033835d8
Comment DIAGNOSTIC, DEBUG out
...
Use the 'root on ? type ?' config by default, leave the nfs one commented out,
add line for root on ed0a
2001-06-02 10:37:27 +00:00
kim
549a254824
It is misleading that the kernel outputs "DHCP server:" followed by
...
the value of "next-server" from the DHCP (or BOOTP) reply. This is
not the DHCP server's IP address (except by chance), so instead of
"server" make it print "next-server".
2001-06-02 01:52:10 +00:00
chs
9bde6cff5c
remove bogus curly braces from a structure forward-declaration.
2001-06-02 01:19:29 +00:00
thorpej
2da55b9a39
Define some extra configuration block bits used on the i82550 (a.k.a.
...
PRO 100/S), including the extended RFA format. Don't hard-code the
RFA size to allow us to use the extended format in the future.
2001-06-02 01:04:01 +00:00