tsutsui
311a1a842c
Clean up receive interrupt routine:
...
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.
Mostly from thorpej's if_rtp.c.
2000-12-03 14:24:17 +00:00
fvdl
2b69243845
Add AHC_NO_TAGS option to switch off tagged queueing. Done because
...
tagged queueing has a severe performance impact (60%) on write
throughput with UBC. Needs investigation.
2000-12-02 14:53:01 +00:00
augustss
a51ea43fd6
Make this compile again (on i386).
2000-12-01 04:37:54 +00:00
pk
d736ce5086
We don't need <sys/proc.h>, <sys/user.h> and <machine/cpu.h>.
2000-11-30 23:21:39 +00:00
pk
55fa60c3e5
De-__P().
2000-11-30 23:12:43 +00:00
pk
58b6f2ef7d
KNF patrol && De-__P().
2000-11-30 23:06:44 +00:00
pk
03903e1da8
KNF patrol.
2000-11-30 23:01:03 +00:00
tsutsui
786dc5161c
Clarify RX status header length and some cosmetics.
2000-11-30 15:51:57 +00:00
tsutsui
fd4d074b27
After rev 1.16 rtk driver uses the CRC from the chip,
...
so no need to adjust Rx address for it. Fixes kern/11301.
2000-11-30 15:33:04 +00:00
thorpej
64222ad03a
Fix some printf formats, and remove SPARC-specific debugging stuff.
2000-11-30 14:41:46 +00:00
pk
7006bcd449
Fix two cases of reversed arguments to printf();
2000-11-30 09:58:03 +00:00
eeh
9e7aa98aa6
Add TAG QUEUE support to the ncr53c9x driver.
2000-11-30 00:19:25 +00:00
thorpej
997701c6c1
Define additional AC'97 registers.
2000-11-28 16:54:17 +00:00
ad
57ea462da2
lsu -> ld, by popular request.
2000-11-26 17:44:02 +00:00
takemura
3c9d9276dc
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
...
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
soren
290a66c213
Reduce probe noise.
2000-11-21 05:23:37 +00:00
sommerfeld
acc196c4a9
Initialize ring buffer pointers when the ring buffer is allocated.
...
(comsoft() can be invoked before comopen() on serial consoles; a character
received before the console is opened "for real" can result in a fatal trap
unless the ring buffer pointers are initialized early)
2000-11-18 15:46:23 +00:00
bouyer
42681a6a9f
Supports ETHERCAP_VLAN_MTU. Tested on sbus hme on Ultra/1.
...
Thanks to Andrei Petrov for the hint !
2000-11-17 19:08:00 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
thorpej
60f33f91c2
Pull in <uvm/uvm_extern.h>
2000-11-14 18:35:10 +00:00
thorpej
275539f03c
NBPG -> PAGE_SIZE
2000-11-14 18:21:00 +00:00
pk
4c54ce2034
Define ncr53c9x_ioctl() and use it to start sync negotiation.
2000-11-13 15:24:22 +00:00
pk
ad9bda9339
Change `nvram size' data type to `bus_size_t'.
2000-11-11 11:59:42 +00:00
pk
035ceca5b2
Add note about time-of-day and interval timer programming on this chip
...
are combined into the same (write-only!) control register.
2000-11-11 11:18:07 +00:00
pk
526def8fd1
Add a function to retrieve the size of the on-chip NVRAM area.
2000-11-11 11:03:31 +00:00
eeh
faa5920bd2
Use the MI console magic sequence framework.
2000-11-08 23:13:03 +00:00
ad
142ab5b1ec
Move lsu stuff to more logical locations, and push queueing into the lsu
...
driver.
2000-11-08 19:20:33 +00:00
wrstuden
88cbfbe36d
Move guts of pciide_print_modes() to wdc_print_modes() so that non-pciide
...
wdc drivers (like macppc's obio IDE interface) can use it. Also add
support to both wd attach line and to wdc_print_modes() to print
Ultra/{33,66,100} for respective UDMA modes (From Manuel Bouyer).
2000-11-08 17:57:36 +00:00
thorpej
d764c4d540
One more fix to multicast hash computation. Submitter confirms that
...
with this fix, multicast does indeed work properly on the EPIC.
From Zdenek Salvet <salvet@ics.muni.cz>.
2000-11-08 15:20:29 +00:00
chs
b6b3ee8657
remove what looks to be a bit of leftover debug code.
2000-11-05 23:00:10 +00:00
thorpej
aac73109ae
Feh, fix st00p1d braino in last.
2000-11-05 05:41:25 +00:00
scw
3b5fce6c46
Invert the sense of i82586_init()'s return value so that
...
it matches what ether_ioctl() expects.
2000-11-04 19:48:38 +00:00
veego
232ac6b3d1
Print the vendor and chip id in the DPRINTF with 0x%x and not just %d.
2000-11-04 18:28:19 +00:00
thorpej
05d5f37522
Shadow the AC'97 codec registers. This adds two capabilities:
...
* support devices that crash when reading the codec registers; a flags
interface is added to the host interface and one flag is defined
(AC97_HOST_DONT_READ).
* new API (restore_ports) for restoring the user's settings. This
can be useful after an APM resume after a suspend to disk.
From OpenBSD.
2000-11-04 08:07:14 +00:00
thorpej
0bb6525f5b
Add some more codec IDs. From OpenBSD.
2000-11-04 05:45:57 +00:00
tsutsui
39355e9743
Make this compilie with LANCE_REVC_BUG.
2000-11-03 06:21:32 +00:00
tsutsui
d952450835
Wrap function declaration with "#ifndef sun3/#endif"
...
because sun3 does not have bus_space(9) support and
it have not switched to MI intersil7170 driver.
XXX We should split this into intersil7170{reg,var}.h ?
2000-11-03 05:23:07 +00:00
bjh21
930c4cf062
First attempt at multicast stuff. I suspect it doesn't work.
...
Use ether_ioctl -- saves 300 bytes of text.
2000-11-03 00:25:36 +00:00
bjh21
42e564ed45
Remove unnecessary includes.
...
Add a compiled-in RCSID.
2000-11-02 21:56:46 +00:00
bjh21
13234acd0f
Convert to using ether_ioctl().
...
G/C huge swathes of unused code and outdated comments.
2000-11-02 21:42:41 +00:00
eeh
2a860a3de9
Adapt to the new line discipline scheme.
2000-11-01 23:54:57 +00:00
eeh
f9a51c7b15
Clean up a #define that doesn't belong. Oops. That's what I get for
...
working this late.
2000-10-31 08:06:14 +00:00
eeh
37486bb837
Get the bpp driver to work properly.
2000-10-31 06:32:06 +00:00
mjl
a7fcd8b686
Fix hanging token ring when data size is multiple of 514, using
...
patch in PR/11316 by YAMAMOTO Takashi.
This fixes random hangs I experienced, and probably also
remedies PR/11300 and PR/9321.
2000-10-31 01:22:08 +00:00
bouyer
fc92601259
Fixes related to QUEUE FULL status:
...
- move status handling in siop_scsicmd_end(), it's better than in siop_intr()
- define 2 internal SIOP status, for "no status reported by device" and
reset condition
- add a list of "urgent" command, to be executed before the list of command
queued the normal way; this is used for command which got aborted
by a QUEUE FULL and have to be requeued in order.
- Don't accept to send a Q_TAG message not immediatly folowing a IDENTIFY
2000-10-23 23:18:10 +00:00
bouyer
7777f61cbe
Rearrange for script changes (scheduler core in main script, command part
...
of the scheduler in command table).
Add tagged command queuing support.
2000-10-23 14:56:16 +00:00
onoe
644aa13a51
Fixed the value of TULIPF_DBO; which was accidentaly shared with the same
...
value of TULIPF_BLE. Pointed out by Enami-san.
2000-10-23 04:05:21 +00:00
bouyer
2ebf1a0cd0
Ops, sync the script DMA map when the script RAM *don't* exists.
2000-10-21 13:56:17 +00:00
bouyer
e999ecae48
Support ETHERCAP_VLAN_MTU. Tested on a sparc 2 with:
...
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 00:00:3b:86:19:92
le0: 8 receive buffers, 2 transmit buffers
2000-10-20 09:40:26 +00:00
mrg
0c6aa8d3ed
ensure DMA mappings are not mapped streamable. fixes ethernet problems on
...
ultrasparc sbus class machines. from eeh.
2000-10-20 06:08:02 +00:00