Commit Graph

2367 Commits

Author SHA1 Message Date
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
onoe
5cf8e98cb5 Experimental support for LEAP, which is cisco's implementation of IEEE802.11
EAP in aironet firmware.  Currently it seems that only cisco's RADIUS server
implements EAP for IEEE802.11, and the function is not tested at all.
2001-06-29 11:24:42 +00:00
onoe
e7e0a9984c Do not re-enable the driver after resume if the interface is marked down.
Change the first argument of awi_init/awi_stop from struct awi_softc to
struct ifnet to match the definition if_init/if_stop, though we don't
use ether_ioctl() yet.
2001-06-28 10:40:04 +00:00
onoe
950ec87b20 Do not re-enable after resume if interface is marked down. 2001-06-28 10:34:17 +00:00
nathanw
67bde7ddf3 The back end driver doesn't need PCMCIA headers, but it does need
<machine/bus.h>.
2001-06-27 22:22:12 +00:00
bjh21
770912bb85 Add support for handling full-size 802.1Q packets. 2001-06-26 22:00:44 +00:00
bouyer
e27abfaddf Make it compile with SCSIPI_DEBUG 2001-06-26 12:19:49 +00:00
onoe
65f0069f5b restore awi_power() to reenable awi after resume.
... forgot why it is disabled...
2001-06-26 08:41:19 +00:00
onoe
3e2b22f383 Fix keyid bit position of encrypted packet to make non-first key usable. 2001-06-25 12:11:59 +00:00
onoe
4fe2f5eda7 AWI_DEBUG only:
awi_dump_pkt dumps packet before encryption in transmit.
2001-06-25 12:09:51 +00:00
onoe
b383383c20 Fix capability information in association request to reflect ESS/IBSS mode.
This fix is required to interoperate with Cisco's access point.
2001-06-25 12:06:14 +00:00
bjh21
27a2f91b72 Add sc_flags to seeq8005_softc, and put a flag in it. 2001-06-25 11:38:28 +00:00
wdk
98f7903dd8 Don't reprogram SCC registers unless the values have changed.
Some CMOS Z85C30 SCC's (as used in the SGI Indy and Mips Magnum 3000's)
reset the baud rate generator when a new prescaler is loaded - despite
what is documented in the datasheet.

Avoids "character glitch" problems when line discipline characteristics
are changed at the start of the login process, or during a ftp session
on the /dev/console device.

Tested on -sgimips, -mipsco and -alpha platforms
2001-06-25 08:30:11 +00:00
enami
ffd45d10e3 Invert the logic in last commit so that it actually works. 2001-06-25 06:44:41 +00:00
matt
33fb36075d Add a flag to the softc to prevent recursion in ifstart 2001-06-25 04:46:28 +00:00
onoe
a9f2f7b41b add stubs for wiconfig(8). 2001-06-25 04:43:33 +00:00
onoe
1761d48452 cleanup unnecessary include files. 2001-06-25 04:29:19 +00:00
bjh21
abfd1d9e70 ea_mc_reset_8004(): Rather than doing the CRC32 ourselves, call
ether_crc32_be() to do it for us.
2001-06-23 17:32:21 +00:00
bjh21
3177727ba7 Fix bogons in previous commit:
* Remove harmful debugging code from seeq8005_attach().
 * Re-insert variable declarations in ea_mc_reset_8004(), since they aren't
   dead yet.
2001-06-23 13:40:35 +00:00
bjh21
9e396bc385 Attampt support for 8-bit mode. I believe this should work, but I need a more
flexible bus_space on arm26 before I can test it.
2001-06-22 20:31:55 +00:00
thorpej
2ab206fbb5 Update, based on i8259a manual. 2001-06-21 18:57:04 +00:00