summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2007-03-20Read the whole SPROM content with a single routine to a own sprom struct.Marcus Glocker
For those people who have reported about broken MAC address at attach time, this should fix the problem.
2007-03-20on com_console we need a little delay to let fifo flush itself before ↵Michael Shalayeff
resetting it and stuff to avoid garbled dmesg output; found on some arm
2007-03-20missing include and also use time_uptime as art suggested; compiles nowMichael Shalayeff
2007-03-19Only call bus_dmamap_unload() if we loaded a dmamap beforehand. Found outClaudio Jeker
the hard way on sparc64. Now acx(4) no longer panics but it does not yet work. OK mglocker@
2007-03-18Comment routine which does the chip access validation.Marcus Glocker
2007-03-18o Add bcw_80211_core_init() according toMarcus Glocker
http://bcm-specs.sipsolutions.net/80211Init. o Add a rewritten version of bcw_core_reset() called bcw_80211_core_reset() according to http://bcm-specs.sipsolutions.net/80211CoreReset. This will probably replace bcw_core_reset(), but I need more verification first. o Add bcw_core_enable() and bcw_core_disable(). There seems to be devices which contain several 802.11 cores. The unused needs to be disabled.
2007-03-17replace the VMWARE quirk that restricts the bus width to 16 targets withDavid Gwynne
one for all SPI controllers. krw has a sun machine with a 1030 that gets the bus width wrong too, so since vmware emulates that type of hardware too, we can just limit the lot of them and forget about it.
2007-03-16Split the whole chip init stuff in bcw_init() into a new functionMarcus Glocker
called bcw_chip_init(), according to the 80211Init steps in the spec.
2007-03-16Add missing "goto fail;" in an error path of fxp_attach().Claudio Jeker
2007-03-16Cleanup prototypes.Marcus Glocker
2007-03-16Remove a lot of dead code and nonexisting registers. This stuff was mostlyMarcus Glocker
copied over from bce(4) and is obsolete or needs to be rewritten.
2007-03-16Better (constant) register naming.Marcus Glocker
2007-03-16Split the beacon returned by ieee80211_beacon_alloc() in two parts andClaudio Jeker
fill everything up to IEEE80211_ELEMID_TIM into the beacon template and everything after and including IEEE80211_ELEMID_TIM into the tim template. This fixes the beacons on 11g where two TIM fields where announced. acx_beacon_locate() is used to calculate the offset to a defined TLV field. If other dirvers need it as well we may move it up into net80211. OK mglocker@
2007-03-16First super massive register cleanup run; group/sort registers,Marcus Glocker
remove lots of obsolete registers, mark unused registers for deletion, mark suspect registers for closer verification, comments ...
2007-03-15Set chip operation mode in the init path. Add first bits to enableMarcus Glocker
interrupts at some point.
2007-03-14Call ifp->if_start() at the end of the rx interrupt handling just in caseClaudio Jeker
ieee80211_input() enqueued a packet beforehand. malo(4) does not support hostap mode so this should not happen but perhaps mglocker@ gets it working someday. OK mglocker@
2007-03-14In HostAP mode, ieee80211_input() will enqueue packets in if_snd withoutClaudio Jeker
calling if_start(). So call ifp->if_start() at the end of the RX interrupt function. This solves the porblem of getting dhcp leases from the AP if the network is quiet. OK mglocker@
2007-03-12In bcw_init() check for real revision numbers now and fix a wrongMarcus Glocker
register (typo).
2007-03-12Finish chip base initialization.Marcus Glocker
2007-03-12add some HAL functions (again) inspired by the changes from theReyk Floeter
madwifi-old-openhal project. this was backed out the last time because it was too close to the release and i didn't respect the ABI/API lock.
2007-03-12do not use bcopy to set the mac address registers. this diff shouldReyk Floeter
fix the "hal" on big endian systems. thanks to the madwifi-old-openhal people
2007-03-08XXX commit a workaround (as found in a few other drivers) for theTheo de Raadt
divide by zero rate bug. Someone has to find the source of this bug one day; from jsg
2007-03-08XXX commit a workaround (as found in a few other drivers) for theTheo de Raadt
divide by zero rate bug. Someone has to find the source of this bug one day; from stephen@sock.org.uk, ok niallo
2007-03-05back out, reyk is not paying attentionTheo de Raadt
2007-03-05Add some HAL functions.Reyk Floeter
From madwifi-old-openhal via Nick Kossifidis (mickflemm at gmail dot com) Bump copyright while I'm here.
2007-03-04Fix another panic in bcw_phy_init() for sparc64. Now firmware loadsMarcus Glocker
and radio initializes on sparc64, too.
2007-03-04Fix bcw_gpio_init(); Before we can write to the GPIO control register,Marcus Glocker
we must switch back to the common core. Found because sparc64 panics on this (I start to like sparc64 :).
2007-03-04Make bcw_change_core() conform to other functions.Marcus Glocker
2007-03-04Fix panic caused by bcw_leds_switch_all() because reading from wrongMarcus Glocker
register. Noted while testing on sparc64.
2007-03-04Kill a cardbus dependency which breaked kernel compilation e.g. forMarcus Glocker
sparc*. OK deraadt
2007-03-02Fix and enable HW VLAN tagging.Kenneth R Westerback
From brad@, tested by brad on i386/amd64/sparc64 and by maja@ and ian@ on i386.
2007-03-01Set phy / radio softc vars to initial default values.Marcus Glocker
2007-03-01In acx_set_probe_resp_tmplt () ieee80211_beacon_alloc() could fail so check theClaudio Jeker
return value. Stolen from acx_set_beacon_tmplt() that already does this check.
2007-02-28SBus parallel port driver, from NetBSD but untested (no printer or cables);Miod Vallat
this should hopefully stop people from asking me about it (-:
2007-02-28Adjust residual counter for esp wide transfers; from NetBSDMiod Vallat
2007-02-28Another round of makro killing. Kill _ACX_CONF_FUNC() and replace allClaudio Jeker
calls with acx_set_conf()/acx_get_conf(). OK mglocker@
2007-02-28Fix a ieee80211_node refcount leak -- the node lookup is done inClaudio Jeker
ieee80211_encap() so there is no need to do call ieee80211_find_txnode() beforehands. OK mglocker@
2007-02-27Fix page fault trap in radio init code path and activate radio init inMarcus Glocker
bcw_init(). Remove obsolete debug code therefore. The radio seems to initialize (can't verify yet), but I'm sure there are still some tweaks.
2007-02-26Finish bcw_radio_default_radio_attenuation().Marcus Glocker
2007-02-26As we have the PCI softc data now, replace the fake if's with real ones.Marcus Glocker
Add some more debug info.
2007-02-26We need to save some PCI infos in our softc struct for further decisionsMarcus Glocker
in the driver code.
2007-02-25Power on/off cardbus socket at attach/detach time. Makes firmware uploadMarcus Glocker
work on my BCM4318 cardbus device now.
2007-02-25Calculate number of cores correctly. This is done based on the commonMarcus Glocker
core revision. Now my BCM4318 and BCM4306 both get the right number of cores.
2007-02-25dmesg should look like devN at busN locators: device infoTheo de Raadt
the locators are printed by the bus drivers, rest by the device's driver.
2007-02-24Get correct chip revision and also get chip package.Marcus Glocker
2007-02-24Fix value typos, sync radio vars with phy vars, add radio defaultMarcus Glocker
attenuation routine, add temporary debug printfs.
2007-02-23Add bcw_phy_lo_g_state().Marcus Glocker
2007-02-23Another two missing htoleX() for big endian support. Still more missingClaudio Jeker
but now I'm able to receive packets on macppc. OK mglocker@
2007-02-23Add bcw_radio_freq_r3a_value() and complement bcw_phy_initg().Marcus Glocker
2007-02-23Complement and fix a bunch of things in bcw_radio_select_channel().Marcus Glocker