drochner
106e6868db
fix off-by-one error in font table initialisation
...
(mostly harmless because it is zero initialized in most cases anyway)
1999-12-13 14:04:06 +00:00
thorpej
014cd3fcc1
Take a stab at making this work on big-endian systems.
1999-12-12 17:46:36 +00:00
thorpej
afbb07a0e5
Use htole32() and le32toh().
1999-12-12 02:53:56 +00:00
thorpej
a661b4e5dc
Oops, forgot to byte-swap the receive descriptors.
1999-12-12 02:41:51 +00:00
thorpej
caae0e1aa1
- Don't try to run the chip in big-endian mode. Not all chips support
...
this consistently, and it doesn't always work even when the chip
supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
little-endian mode.
1999-12-11 00:32:59 +00:00
mjacob
4b6c35ccaf
Respond to a crucial security alert.
1999-12-08 11:01:44 +00:00
thorpej
ff4a32590d
When checking the SROM checksum, if the standard location fails, try
...
the new standard location (according to the SROM format update document
for the 21143). From Masanori Kanaoka.
1999-12-07 18:24:01 +00:00
drochner
162086b1cd
do the screen switch asynchronously (via timeout(0)) if possible,
...
this hopefully helps for the (very rare) display corruption reported
in PR kern/8628
1999-12-06 18:54:50 +00:00
ad
801b079e37
If the vga driver isn't present in the kernel and PCDISPLAY_SOFTCURSOR
...
is set, then pcdisplay_cursor() should disable the hardware cursor first
time it is called.
1999-12-06 10:04:50 +00:00
mjacob
60416909de
Oops. The compiler didn't catch this 'used before set'. Kudos
...
to Sean Doran for finding it and being nice in telling me.
1999-12-05 18:20:53 +00:00
mjacob
53ecdaee6c
Some queue related functions now use a u_int16_t. Turn some messages into
...
CFGPRINTF messages. Clear up the f/w download slightly. If less than
rev 5 2100 chip, turn off loop fairness. Clean up a botch or two.
1999-12-04 03:08:18 +00:00
mjacob
5854be051d
Make sure we have a big enough buffer to sprintf into (noticed by
...
deraadt@openbsd.org ).
1999-12-04 03:06:54 +00:00
mjacob
0f0fbfa802
Roll core version minor. Clean out some target mode stuff. Respecify some
...
queue related functions to take u_int16_t's. Restructure the softc a bit.
1999-12-04 03:06:05 +00:00
mjacob
f5c2acedc2
(wow- I thought I'd already committed most of this).
...
Clean up some isp_attach time stuff- if ISP2100_FABRIC is defined try *really*
hard to make sure that we get the firmware state to FW_READY and see the
loop state where the Port Database is ready to be gathered- if we don't do
this it's unlikely we will be able to correctly query the nameserver because
we won't see that we're on a fabric.
Clean up the completely broken and stupid attempts to hot switch the
'slow' start routine out of the way. Sigh.
Turn speed announcements into CFGPRINTF functions (available only if DEBUG
defined).
1999-12-04 03:04:59 +00:00
mjacob
e363023daf
Rearrange defines to make the file diff cleaner with OpenBSD. Change CFGPRINTF
...
and default verbose levels. Add in a forced compile in f/w define unless
either IS_DISABLE_FW or ISP_COMPILE_FW defined.
1999-12-04 02:59:29 +00:00
sommerfeld
878fa4790f
Fix "make includes" since pckbc moved to dev/ic from dev/isa
...
(Hi, Jason!)
1999-12-04 02:16:24 +00:00
sommerfeld
97cb535e46
change comment to mention that this driver also handles the '558 and '559
1999-12-04 02:02:30 +00:00
thorpej
4560ac465a
Split the PC-like keyboard controller driver into chip back-end and
...
bus front-end.
1999-12-03 22:48:22 +00:00
thorpej
66a51bd133
Quiet down the "excessive collision" messages w/ LEDEBUG. None of the other
...
Ethernet drivers really report this quite as loudly as this did.
1999-12-01 00:40:53 +00:00
ad
4763c00196
- Don't use our own private endian conversion cruft (from OpenBSD).
...
- SmartRAID V is not and will never be an EATA board (from OpenBSD).
- Use dpt_outl() when issuing EATA command packet address to HBA.
- Fix a style nit.
- Fix a typo.
1999-11-29 15:04:23 +00:00
bouyer
7bd006b847
Improve a few debug messages.
1999-11-28 20:04:22 +00:00
scw
54f42f17fc
Don't bother spinning in the console 'putc' routine for the transmitter
...
to become idle; it actually doesn't matter as the chip takes care of
this for us. It would also spin endlessly in certain circumstances
during shutdown.
While I'm here, (finally) add code to allow sending BREAK characters.
1999-11-28 12:23:18 +00:00
augustss
961d4d6ad2
Change CS4297 id entry.
1999-11-24 23:21:01 +00:00
sommerfeld
17d170b1ca
defopt COM_DEBUG, COM_HAYESP, and COM16650
1999-11-22 03:53:38 +00:00
augustss
f73590bbf0
Print the PnP id of unknown codecs.
1999-11-20 01:16:15 +00:00
thorpej
9ed17102f4
- Use the common MII bit-bang module.
...
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.
1999-11-19 18:22:42 +00:00
thorpej
dc5a586c1c
Use the common MII bit-bang module.
1999-11-19 18:17:14 +00:00
joda
d7496546b5
try to do a better job of figuring out the EEPROM size; the old code
...
didn't work on (some?) 557-based cards
1999-11-19 15:19:14 +00:00
bouyer
3a220103e8
Adapt printf format for 64bit stats counters.
1999-11-19 10:42:48 +00:00
thorpej
916d6aaa36
Use the common MII bit-bang module.
1999-11-17 17:56:52 +00:00
thorpej
5bd0644a68
Make the MII code match the `ep' driver's (*again*).
1999-11-17 08:03:30 +00:00
simonb
fca16d1571
Move the "Attach the interface" section after printing the mac address
...
and buffer sizes. Stops the ipv6 attach info from messing up the
other driver info.
1999-11-17 03:42:24 +00:00
dante
70bd4a7d53
Let user enable/disable WDTR, SDTR and Tag Queuing from kernel config file
1999-11-15 19:55:53 +00:00
thorpej
4bdf6bd731
Call mii_down() as appropriate.
1999-11-12 18:14:17 +00:00
scw
3981e235b7
Zero is a valid value for ch_tcor and ch_rcor, so be a bit more conservative
...
when deciding if the baud-rate should be changed. (Spotted by Bruce Martin)
Also fix the mask used when setting the Rx FIFO threshold to zero. I don't
yet understand how the Rx side worked with the code as it was. ;-}
1999-11-11 09:38:43 +00:00
mycroft
f8934aa2f6
Modification to the previous:
...
We still have to preload the command, when selecting without ATN. (We could
probably avoid this by being more careful in the interrupt handler...)
1999-11-10 05:02:53 +00:00
mycroft
58fec0d55a
When sending a REQUEST SENSE, do *not* attempt to create an I_T_L nexus. This
...
is technically wrong, and some targets (like my 4x NEC CD-ROM drive) misbehave
when we do.
1999-11-10 04:21:30 +00:00
mycroft
5b75863870
A residual after select with DMA step 2 is legitimate (in fact, *not* having a
...
residual would probably be cause for concern), so don't spew about it.
1999-11-10 00:42:37 +00:00
sommerfeld
dea88f1c20
Completely rewrite receive processing to avoid sleep-deprivation-induced
...
brain damage and infinite loops, and lousy RTTs
Also, flush tx queues when reassociating with AP and when taking the
interface down.
1999-11-09 14:58:07 +00:00
sommerfeld
1cfdb728d0
avoid touching freed mbuf after allocation failure.
1999-11-08 15:56:16 +00:00
sommerfeld
66ab262b1c
add a bunch of debug printfs under IFF_DEBUG and IFF_LINK2;
...
turn on IFF_DEBUG to trace the management protocol goo.
turn on IFF_LINK2 as well to see beacons.
1999-11-08 15:45:00 +00:00
sommerfeld
94bb856781
misc cleanups; seems to work a little better in a dense-AP environment now.
...
1) ignore probe requests rather than printing "unknown mgmt subtype"
(cosmetic)
2) don't panic if mget of the 2nd mbuf in a chain fails (patch from MCR)
(though that whole function badly needs to be rewritten)
3) be a little more tenacious about hanging on to an access point.
1999-11-08 13:24:00 +00:00
sommerfeld
8be740541b
Extract MAC address from CIS data in pcmcia front end.
...
Fix multicast address manipulation.
ipv6 now works through this driver.
1999-11-06 16:43:53 +00:00
sommerfeld
73bf131124
Add rcsid's
1999-11-05 05:13:36 +00:00
thorpej
0ad32f07d2
Revert this part of rev 1.59:
...
- Be more conservative when resetting the interface after a transmit error.
It caused the interface to totally wedge on the (somewhat common) transmit
FIFO underrun condition.
1999-11-04 20:27:11 +00:00
sommerfeld
d9bc6e4f98
Conditionalize so this builds on 1.4.x..
1999-11-04 18:43:42 +00:00
sommerfeld
58e709f695
Minimally functional driver for the am79c930 802.11 controller chip).
...
Working well enough to support dhcp; i'm doing this commit using the
interface.
Supports FH only. Does not yet do ad-hoc mode; works in
infrastructure mode. Not yet tested in environments with multiple
access points.
1999-11-04 17:10:53 +00:00
jonathan
0588cdfc88
Update user-level PPS-API to match -05 draft.
...
Change PPS_<xxx> ioctls to PPS_IOC_<xxx>.
1999-11-04 05:33:58 +00:00
thorpej
97bbad1f0b
Do rd/line and rd/mult on the MX98725 and LC82C115, too.
1999-11-04 01:27:32 +00:00
thorpej
e3f20e8ff1
Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
...
21142, and 21143, if the PCI bus says its okay.
1999-11-04 01:20:55 +00:00