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
ad
67fe5fbbb4
Update for lsu; untested.
2000-10-19 14:28:46 +00:00
bouyer
d239df5374
Adapt for script change: don't assume Ent_lun_switch_entry == 0
2000-10-19 07:22:06 +00:00
bouyer
f629a0ae67
Ops, add proper bus_dmamap_sync() calls for reselect switch operations.
2000-10-18 20:06:54 +00:00
bouyer
9d3f5d7fbd
Adapt for new lun switch script.
...
Implement SCBUSACCEL ioctl.
Snapshot of work in progress on tagged queuing: we can send/receive
queue tag messages. Infrastructure to manage multiple commands per
devices not here yet.
2000-10-18 17:06:52 +00:00
bouyer
9836ff3913
Looks like frame size isn't checked; just say we can do VLAN MTU.
...
Tested with a SMC9432TX.
2000-10-18 16:49:13 +00:00
bouyer
f87b1573c3
Support ETHERCAP_VLAN_MTU by ignoring the EX_UPD_ERROR and EX_UPD_OVERSIZED
...
status bits. Tested with a 3c905-TX.
2000-10-17 16:16:52 +00:00
bouyer
5cc13a273b
Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
...
Tested with a NetVin 5000 and a WD8013EBT.
2000-10-17 16:14:42 +00:00
mjacob
c64069308b
Make changes relevant to changes in WWN defaults.
...
Also fix egregious bug where we would never decrement
the islocked recursion counter. I guess this means
that we don't recurse on this platform! All of this should
go away when we have real lock primitives to use in drivers.
2000-10-16 05:18:15 +00:00
mjacob
c7c2783178
Change some of the WWN macros- eliminate PORT_FROM_NODE_WWN and make
...
sure we have a DEFAULT_{PORT,NODE}WWN and ISP_{NODE,PORT}WWN macro
as a requirement for all platforms.
2000-10-16 05:16:56 +00:00
mjacob
ffdbddbd79
Add in commented-out hiwater measurement.
...
Remove egregious older bug which had us refusing to log into
fabric devices unless they were NL ports. Whuff.
2000-10-16 05:15:55 +00:00
mjacob
298ec0ecd9
Clarify/cleanup how node and port names are derived from nvram. Remove
...
clause 2 of licence. Remember to print initiator ID (LOGINFO level).
2000-10-16 05:15:05 +00:00
thorpej
4318834442
Don't trim off the FCS, pass it up.
2000-10-15 19:56:31 +00:00
bjh21
83666f01fa
Shuffle printfs around so they look right when we've got a drive attached.
2000-10-14 23:45:57 +00:00