Age | Commit message (Collapse) | Author |
|
Probably not functionnal yet (but test reports are welcome).
Update microcode for RT2860 while I'm here (remember to run
make && make install under sys/dev/microcode/ral/).
|
|
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
|
|
code it was originally copied from.
ok kettenis@
|
|
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.
ok oga@ krw@ kettenis@
|
|
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.
Suggested by and ok kettenis@
|
|
their pci counterparts, similar to recent changes in NetBSD.
ok oga@ deraadt@ jasper@
|
|
The Asus Eee PC 1005P has such a device.
This makes things even more confusing since athn now also supports
some non-802.11n devices!
Please let me know if you have such a device.
|
|
|
|
Found by LLVM/Clang Static Analyzer.
ok grange@ krw@
|
|
|
|
|
|
- ANSI
- KNF
- remove the use of register
from Brad
|
|
just use nitems(). (this leaves NENTS() alone for now)
ok deraadt@ krw@
|
|
power off the cardbus slot after athn_attach() and in athn_stop().
|
|
written from scratch based on the vendor driver for Linux (ath9k).
AR9285 and AR9287 parts are 100% untested.
only basic functionnalities are enabled for now.
committed over an AR9281.
"commit" deraadt
|
|
operations in the detach function in the right order. Also ensure that the
interrupt handlers not trust registers that go away.
read over very carefully by dms, tested by me
|
|
- intrline is not a string
ok jsg@
|
|
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not matter; DMA is already ceased
ok dlg
|
|
ok claudio@
|
|
|
|
ok oga@, jsg@, blambert@, zap zap zap deraadt@
|
|
to use it to allocate a ``every operation will fail'' rbus in case of
error.
|
|
of the bus_space_tag_t it contains; an upcoming implementation will need
to know the rbus_tag_t for which it works at this point.
All callers updated accordingly; no functional change intended.
|
|
pci bus because of the expresscard adaptors... Lacking a better mechanism,
also remind people to keep those lists syncronised.
|
|
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards
can work in the expresscard adaptor, as pci devices.
ok jsg
|
|
|
|
|
|
|
|
provided by Parfait
ok oga
|
|
shared code in case either cardbus or pci varients are not configured.
|
|
|
|
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
"If it works for you, commit it. The diff looks right." claudio@
"Seems to work here with ACX111 CardBus" jsg@
|
|
Only call acx_detach() if acx_attach() was successful.
ok mglocker@, "hurry up" deraadt@
|
|
Found by pcc.
OK deraadt.
|
|
|
|
are fairly small. tested by a few, and kettenis says he will test it sooner
if it is commited...
|
|
resources setup by the bus front ends, especially the shutdown hook.
Found while testing some other changes with a CardBus adapter and
re_attach() was failing early before the interface pointer was
assigned. Then the system was rebooted, the shutdown hook was called
and *boom* in re_stop().
|
|
A COM port should not be misleadingly labeled as a Wifi chipset.
|
|
|
|
|
|
|
|
import some fixes for 1T2R adapters from the linux vendor driver.
|
|
chipset revision is not supported yet, so add it commented out.
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
ok jsg@
|
|
sure to #include "foo.h" in all code that uses the softc,
otherwise some object files will have a different idea of how
big the softc struct is.
This will result in things like part of the softc, say the interrupt
handler being overridden by other data. Putting printfs in the
main object file will look fine as it has the right idea as to
what the size is. It is only after several hours debugging
that you start to figure out what the hell is going on.
jsing started trying to figure out the problem and got hints
from kettenis that it likely wasn't an interrupt problem,
after quite a bit of head scratching with joel I eventually spotted
the problem.
ok reyk@ jsing@
|
|
ok dlg@, jsing@, deraadt@
|
|
ok dlg@
|
|
change.
ok deraadt@
|