Age | Commit message (Collapse) | Author |
|
|
|
From John Hay via Warner Losh
|
|
not really needed, just added to satisfy the assert).
|
|
|
|
interferes with C99's anonymous stuff.
ok millert@
|
|
Make the firmware pointer no longer a const- since the continuation mailbox
code indexes off of this, compilers whine too much.
Fix various other definitions. Add a bunch of interrupt related stats.
|
|
|
|
(i.e., finally use a real CT Header for responses to nameserver commands).
|
|
|
|
Fix a buglet in delaying && waiting for mailbox completion.
|
|
|
|
structures.
|
|
vendors really don't like to support GET ALL NEXT, so we use a different,
larger memory footprint, method.
Split 2300/2312 support so we distinguish between the two.
Correctly identify that SCC Luns are 16384 luns for us, not 65536.
Turn on Reduced Interrupt Operation for LVD SCSI cards, which rocks.
Do 'mailbox continuations' in some cases- this batches repeated mailbox
commands so we don't have to wake the invokee until we're done with the
N thousand or so mailbox commands we needed to do.
Put in firmware dump code (optioned out for now- but there if needed to
capture issues for QLogic).
Fix a boatload of bugs- like handling cases of dropped frames that show
up as 'bogus' residuals (i.e., we get a a DATA UNDERRUN as reported by
the f/w, but there is no RESPONSE UNDERRUN in the FCP RSPNS IU, or the
residual is bogus- this led to a lot of silent data corruption cases).
|
|
before reading, not just the first one.
jason@ ok.
|
|
|
|
|
|
to a bus_dmamap_t, not a bus_dmamap_t (just a cosmetic change, bus_dmamap_t
is a pointer on all archs, but this was confusing)
|
|
reported by xyntrix@bitz.org
|
|
|
|
|
|
Adopted from NetBSD by Alexander Yurchenko <grange@openbsd.ru>.
costa@ ok.
|
|
simplication a while back. Luckily, it is basically cosmetic...
|
|
|
|
|
|
This allows the mouse port to become available on AlphaStation machines,
as well as on some older x86 machines.
From NetBSD.
Tested by various people on alpha and i386, no regression discovered.
|
|
|
|
Also do a little KNF while I'm in here.
|
|
|
|
not actually set. Closed PR #2569.
|
|
or shared key).
|
|
|
|
|
|
early as possible. Also move the timeout_del() in wi_stop() to
before we disable wi(4) so it doesn't fire at the wrong time.
Joint effort between mickey@ and myself.
|
|
|
|
WI_RID_P2_SHORT_PREAMBLE and WI_RID_P2_EXCLUDE_LONG_PREAMBLE.
Unforturnately, the Prism2 preamble RIDs conflict with the Lucent
WEP RIDs (and they don't seem to behave as I would expect anyway).
|
|
Nonnekes <maurice@amaze.nl> based on FreeBSD (only minor surgery necessary)
|
|
dcreg.h and out of the bus specific drivers
|
|
o Fix m->m_data alignment in wi_rxeof()
o Add a comment
|
|
|
|
o If capinfo doesn't match, save it anyway for debugging porpoises
o Add more info for capinfo failures in debug mode
|
|
EXCLUDE_UNENCRYPTED bit in the WI_RID_P2_ENCRYPTION value if we are
in shared key mode. Symbol cards, just to be different, supposedly
always want the EXCLUDE_UNENCRYPTED bit set (confirmed with the
Linux orinoco and spectrum24 drivers).
I have so far been unable to get my Symbol card to interop with
Lucent or Prism2 WEP. In BSS mode at least, this Symbol card does
not list WEP as a capability it supports. This is, to put it mildly,
rather annoying.
|
|
o Move the sc->has_wep flag into sc->wi_flags
o Only do the COR reset on Symbol cards just to play it safe.
o Remove unused sc->sc_enabled variable.
o Kill ibss_portmap array in favor of sc->wi_ibss_port, which is
stored in little endian.
mickey@ OK
|
|
o Map port type 4 to ibss regardless of firmware type. This gives
us a consistent way to set ibss mode.
|
|
is not handling them and may throw the kernel into a spurious interrupt
loop. ok art@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
only call it from wi_attach() and wi_pcmcia_activate() (ie: just once).
It would be nicer to have the COR reset be part of the bus-specific
code but we need to know whether or not we have a Lucent card since
old Lucent firmware revs get messed up on a COR soft reset.
Even with the COR reset we still need to avoid initializing Symbol
cards more than once. However, we *do* want to do a reset after
returning from suspend. Therefore, rename wi_gone to wi_flags and
store both the attach and init status in it. wi_reset() now checks
wi_flags to see if the card should be initialized in the Symbol case.
Info on initializing Symbol cards once from NetBSD.
|
|
Also add some more Symbol-specific RID values I noticed in the
Linux orinoco driver.
|