summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bcw.c
AgeCommit message (Collapse)Author
2007-03-20Fix crystal on/off routine (no more panic). Add two new routines toMarcus Glocker
set and clear the device's MAC filter.
2007-03-20Document some routines by pointing to the refering specs URL.Marcus Glocker
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-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-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-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-15Set chip operation mode in the init path. Add first bits to enableMarcus Glocker
interrupts at some point.
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-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-01Set phy / radio softc vars to initial default values.Marcus Glocker
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-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-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-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
2007-02-23Add missing routine to just allow a number in a given range. ReplacesMarcus Glocker
some /* XXX */ lines.
2007-02-23Add bcw_phy_xmitpower().Marcus Glocker
2007-02-23Complement bcw_radio_set_txpower_a().Marcus Glocker
2007-02-23Add and activate bcw_radio_init2050 (radio type B).Marcus Glocker
2007-02-23Activate bcw_phy_init2060() (type A radio) in bcw_radio_on().Marcus Glocker
2007-02-23Complement bcw_phy_inita(), add bcw_radio_init2060().Marcus Glocker
2007-02-22Add bcw_phy_lo_b_measure().Marcus Glocker
2007-02-22Add bcw_phy_initb2() and bcw_phy_initb4(). Activate bcw_phy_init() in theMarcus Glocker
bcw_init() path.
2007-02-22Halftime for PHY init code, another ~1000 new lines.Marcus Glocker
2007-02-20~1052 lines of new PHY radio initialization code and no end in sight.Marcus Glocker
2007-02-18Add bcw_phy_set_baseband_attenuation().Marcus Glocker
2007-02-18Comment corrections from Bret Lambert.Marcus Glocker
2007-02-18Add bcw_shm_write16().Marcus Glocker
2007-02-18Sort routines (phy, radio).Marcus Glocker
2007-02-18Start to add radio PHY initialization routines.Marcus Glocker
Rename some radio variable names to names which doesn't confuse me everytime I have to use them.
2007-02-18Turn radio (version 2050) on.Marcus Glocker
2007-01-14Introduce register read/write helper routines for radio and phy. StartMarcus Glocker
to add bcw_radio_on() and bcw_radio_channel(). ok Jon Simola
2007-01-07Spacing, comments.Marcus Glocker
2007-01-07Initialize GPIO.Marcus Glocker
2007-01-06Fix error string for loadfirmware().Marcus Glocker
2007-01-06Make the driver able to read the network byte ordered firmware file.Marcus Glocker
ok deraadt@ (also for the last dev/microcode/bcw import).
2007-01-05Check that ucode size doesn't get exceeded when parsing for a firmwareMarcus Glocker
file. Spotted by deraadt@