summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2007-10-06Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.Kenneth R Westerback
2007-10-05gilles missed one of the __attribute__((__packed__)) here inJonathan Gray
the __attribute__((__packed__)) -> __packed conversion.
2007-10-04attribute packed -> __packedGilles Chehade
ok miod@ a while ago, ok pyr@
2007-10-04Since we know the firmware load works, merge the single firmware filesMarcus Glocker
together to one single, finally. You need to bump the firmware package to version 1.3! OK jsg@
2007-10-03MALLOC+bzero -> malloc+M_ZERO.Kenneth R Westerback
In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
2007-10-01Spacing.Marcus Glocker
2007-10-01Fix `bogus xmit rate setup' panic, which mostly happened while associatingMarcus Glocker
to an 11b AP due to not correct initialized tx rates.
2007-10-01remove rate_fb variable as it always gets set to the same valueJonathan Gray
as rate anyway.
2007-10-01Print the MAC address.Jonathan Gray
2007-10-01Disable default debug setting, make tx power map printing debug only.Jonathan Gray
2007-10-01more btoc -> atopMartin Reindl
2007-10-01Use uint_* consistent.Marcus Glocker
Agreed with jsg@
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.Kenneth R Westerback
2007-09-30Spacing.Marcus Glocker
2007-09-30Shows the real size of a register in the hex define.Marcus Glocker
OK jsg@
2007-09-30Don't count interrupts with state "not of interest".Marcus Glocker
From Oleg Safiullin. OK jsg@
2007-09-30BWI_BBP_ATTEN is a 16-bit register, so use CSR_WRITE_2 to access it.Mark Kettenis
Fixes unaligned access on strict-alignment architectures. ok mglocker@
2007-09-30s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change.Mark Kettenis
2007-09-29Fix two panic's on macppc. Allows me first network communication overMarcus Glocker
my PowerBook G4 internal BCM4306 device.
2007-09-27Spacing.Marcus Glocker
2007-09-27Add automatic rate control (AMRR).Marcus Glocker
2007-09-27Spacing.Marcus Glocker
2007-09-27M_ZERO changesCharles Longeau
ok dlg@
2007-09-27Kill __BIT* macros.Marcus Glocker
Help and OK jsg@
2007-09-26ep(4) is totally weird. due to hardware design limitations it playsHenning Brauer
wierd games with caching mbufs. as part of that it used regular mbufs and makes them M_PKTHDR mbufs on the fly, instead of calling m_gethdr. of course it did it hackish and wrong and did not properly initialize the pkthdr fields, which stated to cause problems as soon as we started to stuff more into the packet header. so use the freshly introduced m_inithdr() to make the mbuf a pktdr mbuf. problem found + analyzed by janjaap@stack.nl PR5563, input theo, ok claudio
2007-09-24Add radio tap support. We still need to calculate correct RX rate andMarcus Glocker
RX signal strength.
2007-09-23Fix page fault kernel crash when changing media and device is up.Marcus Glocker
2007-09-23Add missing device name printf arguments for firmware load error output.Marcus Glocker
2007-09-23More debug ouput cleanup.Marcus Glocker
2007-09-23Correctly clear PCI_STATUS_TARGET_TARGET_ABORT bit.Marcus Glocker
2007-09-23Properly handle the physical address in bwi_encap() as well.Jonathan Gray
With this change I can now scan, associate and ssh via bwi(4)
2007-09-23Make sure to set physical address in bwi_newbuf()Jonathan Gray
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-18Drag back the original DragonFlyBSD firmware loading routines, so we canMarcus Glocker
load the same firmware revision as they do. Our previously used firmware images seem to contain the wrong revision. You need to bump your firmware package to version 1.2. Other than expected, loading the right firmware revision still doesn't fix a fatal chip error at initialization time.
2007-09-18Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-17If device is down, don't handle any interrupts. Even don't read theMarcus Glocker
interrupt status register instead return directly. This fixes the machine freeze on amd64 and let me receive proper interrupts if device is up. This bit was originaly in the DragonFly code, and must have sneaked out while porting ...
2007-09-17Several DPRINTF arguments was missing, which can lead to ugly kernelMarcus Glocker
crashes. Fix them.
2007-09-17In case of IV load failure free ucode.Marcus Glocker
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-16Remove more obsolete firmware specific bits.Marcus Glocker
2007-09-16Remove obsolete firmware specific bits.Marcus Glocker
2007-09-16Better version of fake KKASSERT until they are changed properly.Jonathan Gray
2007-09-16Do sc_disable when device gets stopped.Marcus Glocker
OK jsg@
2007-09-16Clear error before starting m_defrag() equivalent.Jonathan Gray
2007-09-16Move some noisy debug printfs to higher levels.Jonathan Gray
2007-09-16CardBus works much better when sc_enable is called.Jonathan Gray
Remove some safety returns while here. ok mglocker@
2007-09-16Free ucode if an error happens while FW / IV load. Always return a properMarcus Glocker
code in case of error.
2007-09-16Convert most of the remaining non firmware handling code.Jonathan Gray
2007-09-16Remove most of the __unused due to to code being enabled.Jonathan Gray
2007-09-15Adapt firmware images prefix to driver name. Needs bump to firmwareMarcus Glocker
package version 1.1.