enami
97ceb61316
MII access routines for ASIX AX88190.
2001-08-04 11:38:57 +00:00
dante
26c61e2dd0
change\n\tswitch (scsiq->host_status)\nto\n\tswitch (scsiq->scsi_status)\nin adw_isr_callback()
2001-07-31 23:12:01 +00:00
jdolecek
2b7d2123cd
Make console polling (cnpollc/cngetc) work on IBM PS/2 keyboard controller
...
using level triggered interrupts, which livelocks calling intr routine
if the data register is not read in the interrupt routine, as it's case
when polling after interrupts are enabled during boot.
Block all interrupts when polling for keypress, and modify intr routine
to read and store value from data register. The latter one is to avoid
losing a keypress when one would manage to press a key when kernel is
not in spl-guarded code section.
Tested with classic pccons, 'pcconskbd at pckbc' and 'pckbd at pckbc'
configurations, on i386.
2001-07-31 13:15:28 +00:00
tsutsui
1f1c7b96d8
Fix some comments and remove an unused define. Partially from OpenBSD.
2001-07-27 16:16:34 +00:00
tsutsui
aa9c31f0c3
Pull up some changes from OpenBSD's iha.c rev 1.6:
...
- rename tul_* functions/variables iha_* for consistency
- disable updating EEPROM routine, which does not work anyway
- make iha_rate_tbl[] const
2001-07-27 15:51:14 +00:00
tsutsui
5a7161cf2a
Pull up some changes from OpenBSD's iha.c rev 1.5:
...
- minor code cleanups
- rename some functions for better consistensy/clarity
- consolidate extended message generation into new function
- a couple of minor code clarifications to eliminate extra return
statements and make absolutely sure actscb is NULL during a reselect
2001-07-27 15:10:56 +00:00
thorpej
fe97433fcd
All CORKSCREWs have MII.
2001-07-27 02:33:34 +00:00
wiz
e11d04474c
issueing -> issuing
2001-07-26 22:55:12 +00:00
jdolecek
528ab39cef
make local variable 'len' in wi_set_nwkey() size_t (hence unsigned)
...
this one is merely cosmetic, no functional change
2001-07-26 19:46:01 +00:00
jdolecek
b834e97632
make local variable 'len' in awi_wep_setnkey() size_t (hence unsigned)
...
this one is merely cosmetic, no functional change
2001-07-26 19:40:59 +00:00
tsutsui
5309850228
Fix timeout overflow caused by "scsictl format" on machines HZ==100.
2001-07-26 15:51:04 +00:00
ad
3b6c996d19
- Stop the system drive status check when re-configuring in order to
...
avoid a issuing a possibly spurious warning.
- Squash some nits.
2001-07-26 12:38:03 +00:00
kanaoka
be5153a923
- Increase Early TX threshold if underrun occurred.
2001-07-25 09:57:31 +00:00
jdolecek
000f85917b
Since ~all pckbc_poll_data1() callers had the appropriate pckbc
...
tag handy and we are going to need more of it in pckbc_poll_data1() soon,
change pckbc_poll_data1() to accept it as first arg. iot, ioh_d, ioh_c are
no longer passed separately. Use fabricated pckbc tag for calls from
arch/arc/jazz/pckbc_jazzio.c and dev/isa/pckbc_isa.c.
2001-07-23 21:03:19 +00:00
thorpej
13dab3bfa7
Make sure to initialize the all Rx descriptors properly in *_init()
...
even if mbufs for them are already allocated.
2001-07-23 17:20:03 +00:00
thorpej
a7dc1c1b01
Some whitespace cleanup.
2001-07-23 17:08:18 +00:00
tsutsui
2f456b8f00
Make sure to initialize the all Rx descriptors properly in sonic_init()
...
even if mbuf for them are already allocated.
This fixes "receive descriptor exhausted" errors.
2001-07-23 16:33:48 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
thorpej
7859dd206a
The EEPROM registers/bits are different on the Corkscrew (3c515). Adjust
...
for this.
2001-07-20 05:44:48 +00:00
thorpej
9bf4afa0b6
Add the ISA Bridge ASIC registers found on the Corkscrew (3c515).
2001-07-20 05:43:11 +00:00
thorpej
623f83a793
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
2001-07-19 16:25:23 +00:00
onoe
69b6def907
Do not copy first keys into four key entries; the bug was introduced in 1.17
2001-07-18 02:06:44 +00:00
fredette
047e3dd5d8
When reporting an ICR value, use bitmask_snprintf to
...
give a human-readable description of the value.
2001-07-15 16:32:40 +00:00
scw
05be817d7b
Call clmpcc_init() when setting up the console to get the chip into
...
a known state.
For some reason, "Bug" on mvme68k can't be relied upon to leave it
in a good enough state for our console routines...
2001-07-12 17:21:01 +00:00
chs
864f123d5a
add a missing newline in a printf.
2001-07-10 00:36:36 +00:00
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +00:00
thorpej
fa91d59528
Remove unnecessary include files, from Onno van der Linden.
2001-07-08 17:52:02 +00:00
thorpej
0884f20bf7
bzero -> memset
2001-07-07 16:13:44 +00:00
thorpej
7f597fba74
bcopy -> memcpy, strcpy, memmove
2001-07-07 16:00:09 +00:00
thorpej
150ca9d41a
bcopy -> memcpy, strcpy
2001-07-07 15:59:37 +00:00
thorpej
06ff822b44
bcopy -> strcpy
2001-07-07 15:57:50 +00:00
thorpej
7a4838199c
bcopy -> memcpy
2001-07-07 15:56:07 +00:00
thorpej
7711ad565b
bcopy -> memcpy
2001-07-07 15:53:13 +00:00
thorpej
c2c26e1362
bcmp -> memcmp
2001-07-07 05:35:39 +00:00
mjacob
0134959e74
If I've told myself once, I've told myself 1000 times- *NEVER* commit
...
w/o test compiling first. Argh. I nuked one extra line that I shouldn't
have.
2001-07-07 01:44:21 +00:00
thorpej
2861457faf
Fix a typo in htosonic32(), pointed out by soda@netbsd.org.
2001-07-06 16:20:07 +00:00
mjacob
f0ba6b733c
White space cleanup. Fix oopslet about having overlapping loop states.
...
Handle FW crashes as an isp_async call. Reclaim a missing logging level
bit.
2001-07-06 16:19:10 +00:00
mjacob
3628ea89ae
Add some wads more definitions. Add macros for request/response queue
...
in/out pointer access.
2001-07-06 16:18:08 +00:00
mjacob
70d59a5876
Minor comment update.
2001-07-06 16:17:36 +00:00
mjacob
5089fba315
Defer turning off the no_mbox_ints flag until after the system is ready
...
for interrupts. Handle FW crashes in outer layer.
2001-07-06 16:17:17 +00:00
mjacob
092afb0ce9
More 2300 support: macroize access to request/response in/out pointers.
2001-07-06 16:16:11 +00:00
mjacob
9386c78f88
Some whitespace cleanup. Initial forcelout support.
...
Fix longstanding bug where we should have been checking
against Channel B's settings to see whether to apply tag
usage. Oops.
Some more 2300 support- macroize access to request queue in/out pointers.
Firmware crashes now handled in platform outer code via an isp_async call.
If we get a LIP, and we're on a private or public loop, kill off all
active commands as if they had been killed by a 'SCSI Bus Reset'. I've
seen data corruption on commands that complete 'normally' after a LIP.
Bad.
2001-07-06 16:15:38 +00:00
thorpej
fd1fd6bb0f
If using the hardware cursor, make sure the cursor shape is initialized,
...
otherwise we won't be able to see anything if the system firmware has
either not initialized it, or initialized it to "invlisible".
2001-07-05 16:45:23 +00:00
thorpej
5c0f65ea82
Do a little manual CSE, taking unneeded comparisons out of loops,
...
and shrinking the object code somewhat. On an R4400:
Before:
text data bss dec hex filename
16248 16 0 16264 3f88 dp83932.o
Before:
text data bss dec hex filename
14424 16 0 14440 3868 dp83932.o
2001-07-05 15:02:27 +00:00
thorpej
b7ea2efc25
A new DP83932 ``SONIC'' driver, which uses bus_dma(9) and does I/O
...
directly to mbufs. Handles both 32-bit and 16-bit, big- and little-
endian configurations of the chip (we could squeeze out some conditionals
yet, though).
2001-07-05 14:37:41 +00:00
toshii
4866f1a22b
Fix typo. s/extention/extension/
2001-07-05 08:38:24 +00:00
thorpej
a1054ae7c6
D'oh, use the right bitbang ops for the DL10022, pointed out by
...
Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-07-05 05:36:02 +00:00
thorpej
a2985ca976
Fix variable names in the strict-alignment case.
2001-07-05 05:28:29 +00:00
wiz
e7313e53ae
Fix typo in comment.
2001-07-04 20:34:03 +00:00
jdolecek
6d63e5d890
g/c WE_FLAGS_*, use DP8390_FORCE_{8|16}BIT_MODE instead WE_FLAGS_*
...
counterpart. Fixes kern/7295 by Martin Husemann.
2001-07-04 11:14:10 +00:00