summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2008-08-14in ieee80211_input(), call if_start() after enqueuing frames in if_sndDamien Bergamini
when acting as an access point instead of having each driver doing the job. tested by krw@ (ral AP) and me with several drivers.
2008-08-13Add more Config mode registers.Brad Smith
From FreeBSD
2008-08-13Replace the use of a separate softc field to track the linkBrad Smith
state with the newly minted link flag in the softc's rl_flags field. Tested by fkr@
2008-08-11Add support for TX/RX checksum offload for newer re(4) chipsets.Brad Smith
Tested by naddy@ From FreeBSD
2008-08-05Add support for reading the MAC address for newer re(4) chipsets.Brad Smith
The current method results in a MAC address of all zeros. Tested by bernd@/jcs@ with 8102E and fkr@ with 8168C. From FreeBSD ok jsg@
2008-07-30Do not print adapter target id on the attachment line, now that scsibus(4)Miod Vallat
prints it. These should be the last offenders.
2008-07-30spacingReyk Floeter
2008-07-30Update the RF, RFGAIN, MODE, INI, and BBGAIN initialization tablesReyk Floeter
with different versions for various ar5212 variants and add an extra table for PCI-E devices. This fixes support for various newer devices (like the 1st generation MacBook, T61 variants) but it still does not work on a number of other devices. Tested by many ok deraadt@
2008-07-29In ahc_free(), which is invoked if attachment fails, do not free()Miod Vallat
pointers we don't own, but the autoconf machinery does.
2008-07-29Reenable the AUXWRITE dance to try and find the aux port in pckbc(4), basedMiod Vallat
on an attachment dependent flag; the Tadople SPARCLE needs it. ok kettenis@ deraadt@
2008-07-29- fix FIFO overruns on PCI-E chipsets by setting the DMA sizeReyk Floeter
RX/TX configuration registers to 128 instead of 512 bytes. - add a few more MAC/RF id strings for the dmesg. - check for PCI-E instead of single chip variants in a few places. ok deraadt@
2008-07-28syncReyk Floeter
2008-07-28syncReyk Floeter
2008-07-27fix a typo in a comment.Marc Balmer
ok mglocker
2008-07-24the softc sc_lock lockmgr lock is unused, so remove it.Thordur I. Bjornsson
ok krw@, dlg@
2008-07-21rename rt2860 pci ids to match with reality.Damien Bergamini
import some fixes for 1T2R adapters from the linux vendor driver.
2008-07-21instead of passing rx tstamp and rssi to the ieee80211_input function,Damien Bergamini
pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
2008-07-21cleanup - we don't have resource structureKevin Lo
ok jsg@
2008-07-17Zero mbreg_t structure *before* initializing any members, not when we'reMark Kettenis
halfway through. Makes the ISP12160 correctly load its firmware again on sparc64. ok krw@
2008-07-16Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.Miod Vallat
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@
2008-07-15Adapt some code from the FreeBSD driver required to makeJonathan Gray
newer PCI Express adapters (ie 8168C*/8102*) work. V2 Checksum offload format in RTL8102 devices not yet supported. No objections from brad@. Thanks to everyone who tested.
2008-07-13Add some additional hardware revisions from FreeBSD needed forJonathan Gray
upcoming changes and sort list.
2008-07-02unify using WDCDEBUG.Federico G. Schwindt
2008-07-01Do not use MINCLSIZE to figure out if a single mbuf or a mcluster should beClaudio Jeker
used. Instead use MHLEN and MLEN acordingly because MINCLSIZE is bigger than a single mbuf now. OK mglocker@
2008-06-30wrap logging code around WDC_DEBUG. shrinks kernel by ~4k.Federico G. Schwindt
jsg@ krw@ miod@ ok.
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
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@
2008-06-25do not print scsi id, since scsibus does that now; ok krwTheo de Raadt
2008-06-22Update watchdog timer code from DragonFly.Brad Smith
From sephe@DragonFly ok mglocker@
2008-06-14Allow ath(4) to detach cleanly when attaching via PCI. AlsoJoel Sing
complete/cleanup the attachment cleanup code. ok reyk@ jsg@
2008-06-13If you have #if FOO > 0 parts of your softc beJonathan Gray
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@
2008-06-11Zero mbreg_t (mailbox) structures allocated on the stack before fillingKenneth R Westerback
them in and sending to the adapter. Reduces probe of empty controller from 15 minutes or so to 30 seconds or so. And probably fixes other things too. Also add a few more debug statements and tweak some comments. From mjacob via FreeBSD. ok deraadt@
2008-06-11Don't get the address of the txstats pointers when doing bzero,Jonathan Gray
just use the actual pointers. Debugged into the early hours of the morning with todd, without being able to use a keyboard with ddb. Fixes a panic seen on his powerbook.
2008-06-08Set up shutdown and powerhooks with code adapted from rt2661.Jonathan Gray
Fixes resume from suspend/hibernate problems mentioned in PR 5845.
2008-06-08Make serial console on non-primary ports work to on i386.Mark Kettenis
tested by jbg@, "it is right" deraadt@
2008-06-01Make SCSI isp(4) use the same SCSI initiator ID as the prom on sparc/sparc64.Mark Kettenis
ok marco@, krw@, deraadt@
2008-06-01ACX111 parts can't send using short slot time, but it seems to have no problemBrad Smith
to receive packets sent using short slot time. Turn on short slot time support, so that we don't prevent other STA from using short slot time. From sephe@DragonFly ok mglocker@
2008-06-01Use 1Mbits/s as beacon sending rate; it seems to fix TX performance issueBrad Smith
when using acx(4) as HostAP. From sephe@DraonFly ok mglocker@
2008-05-31Properly set the IFF_OACTIVE flag if all the descriptrs are in use forBrad Smith
the TX ring and clear the flag when some have been freed. ok dlg@ kettenis@
2008-05-28Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI controllers.Mark Kettenis
The registers seems to return 0 on my 12160 and there are some indications that it doesn't really exist. This may fix panics seen with the 10160 on sparc64 machines. ok krw@
2008-05-27Don't print SCSI ID, it's redundant now that scsibus(4) prints the sameMark Kettenis
information. ok deraadt@
2008-05-27Don't print SCSI ID, it's redundant now that scsibus(4) prints the sameMark Kettenis
information.
2008-05-25add a function to get default parameters for ac97 codecs. all ac97Jacob Meuser
codecs support 16-bit stereo slinear_le @ 48kHz. ok ratchov@
2008-05-25tweak the SPI port configuration if we figure out that it is not quiteDavid Gwynne
right, in particular the adapters scsi id on the bus. requested by kettenis@ who is having trouble with the scsi controller on the primepower 250.
2008-05-23Bye bye awi(4). No net80211 love, uses its own WEP code and has not workedBrad Smith
properly in 8.5 years so just garbage collect the driver. ok damien@ deraadt@
2008-05-22More timeout(9) usage cleaned up.Michael Knudsen
ok claudio
2008-05-21Switch i386 from pccom to com. Welcomed by many.Mark Kettenis
ok dlg@, jsing@, deraadt@
2008-05-13Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@
2008-05-11Fix a typo with the media duplex flag being used for AUI connectionsBrad Smith
so that the status routine will properly display half duplex instead of full. ok henning@ krw@
2008-05-09- Count excess and late collisions as output errors.Brad Smith
- Count receive errors as input errors. Based on similar change to the gem(4) driver from NetBSD. ok kettenis@