summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2007-01-27When flooding dmesg with ``can't read/write phy register'', be nice enough toMiod Vallat
print the register number, so that someone gets a chance to investigate the problem.
2007-01-27convert to our locks to rwlocks.David Gwynne
2007-01-26remove duplicate test; from bradJason Wright
2007-01-24revert changes committed between r1.25 and 1.26.Damien Bergamini
this breaks some RT2560 adapters. pointed out by krw@ and Pierre Riteau.
2007-01-23adjust m_data and m_len directly rather than calling m_adj().Marcus Glocker
From tsutsui@NetBSD over brad, some corrections by claudio@, tested by brad on sparc64 and otto@ on landisk. OK claudio@
2007-01-19Some '= 0' -> '= NULL' cleanup for pointer fields and return values.Kenneth R Westerback
From Brad. Tested by nick@ just to be sure.
2007-01-18do not freak out if cannot map physdrives into volumes and handle it proper ↵Michael Shalayeff
everywhere
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-12Keep the wsscreen_descr in the softc, to allow sti of different textMiod Vallat
resolutions to attach without disturbing each other.
2007-01-11Add the ability for a sti backend to specify callbacks to disable and enableMiod Vallat
access to the sti rom, as this seems to be necessary for sti@pci; hide this with macros so that platforms which do not have pci support (i.e. hp300) do not get bloated from this. ok mickey@
2007-01-11Allow sti_attach_common() to return an error code, and do not fall intoMiod Vallat
sti_end_attach() if an error has occured. ok mickey@
2007-01-08Fix comment. From Constantine A. Murenin.Mark Kettenis
2007-01-07Fix VCore voltage detection on w83637hf.Mark Kettenis
Based on a diff from Constantine A. Murenin
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@
2007-01-05If the firmware load routines fail, be sure the ucode gets freed.Marcus Glocker
2007-01-05Report about correct firmware filename if not found.Marcus Glocker
2007-01-05Prototypes spacing.Marcus Glocker
2007-01-05Make the upload of initialization values work again, after implementingMarcus Glocker
the single firmware file.
2007-01-05First shot of making the driver capable to parse several firmware filesMarcus Glocker
from one single file. Suggested and help by deraadt@
2007-01-03After the firmware has been loaded to the chip, read the exact firmwareMarcus Glocker
revision from the chip and print it in a debug line. Verify that the firmware has the right revision for us.
2007-01-03M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf tags.Claudio Jeker
See similar rum(4) commit for more info. OK mglocker@
2007-01-03Rename bcw_shm_write_4() to bcw_shm_ctl_word(). We need the originalMarcus Glocker
name space for the new routines.
2007-01-03Pretty printing of debug messages.Marcus Glocker
2007-01-03Avoid mixing of u_int* and uint* in the same code. uint* wins.Marcus Glocker
2007-01-03Replace bus_space_read_2() by the BCW_READ16 macro.Marcus Glocker
2007-01-03Replace bus_space_write_2() by the BCW_WRITE16 macro.Marcus Glocker
2007-01-03Replace bus_space_read_4() by the BCW_READ macro.Marcus Glocker
2007-01-03Replace bus_space_write_4() by the BCW_WRITE macro.Marcus Glocker
2007-01-03Spacing, comments.Marcus Glocker
2007-01-03Add first shot of the firmware upload. Tested on i386 and amd64.Marcus Glocker
2007-01-03Uncomment bcw_powercontrol_crystal_off() for now because it leads toMarcus Glocker
a panic later.
2006-12-31Add a debug printf to warn when malo_init() fails and resets the card.Claudio Jeker
2006-12-31There is no need to busy wait in malo_send_cmd(). 0x0c14 only stores theClaudio Jeker
current state of the card (not running, loading FW, running). Now instead wait after loading the boot firmware for the magical 0x5 to appear. Also add a few missing bus_dmamap_sync() calls. OK mglocker@
2006-12-31Use a bus_space_barrier instead of those stupid 0x0c14 reads to make sureClaudio Jeker
that access is done in correct order. OK mglocker@
2006-12-31In malo_init() check for firmware loading errors and in case of an errorClaudio Jeker
reset the card so that we have a chance that a later malo_init() works. OK mglocker@
2006-12-31malo_stop() never fails so no need to return an error. OK mglocker@Claudio Jeker
2006-12-31Use #ifdef MALO_DEBUG else a simple #define MALO_DEBUG will not work.Claudio Jeker
2006-12-31Bye bye unused acx_shutdown() we won't miss you.Claudio Jeker
2006-12-30Fix another printf where the format string did not match with the varargs.Claudio Jeker
2006-12-30spacing.Marcus Glocker
2006-12-30Don't use M_DUP_PKTHDR() on static mbufs. M_DUP_PKTHDR() copies the mtagClaudio Jeker
chain and so a later MFREE() is needed to free the chain again. Just initialize a minimal mbuf header for bpf_mtap(). See earlier rum(4) commit for the full story. OK mglocker@ Sounds good jsg@
2006-12-30Add flow control support.Mark Kettenis
ok brad@
2006-12-30Why doing something as complex as for () bus_space_write_1(); when thereClaudio Jeker
is bus_space_write_region_1() that does the same. OK mglocker@
2006-12-29No colon after "address".Marcus Glocker
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-12-28spacing.Marcus Glocker