summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-08Get rid of va-ppc.h.Mark Kettenis
ok miod@
2008-11-08when defragmenting an mbuf chain, do not call M_DUP_PKTHDR.Damien Bergamini
this is an overkill in this case as it duplicates mbuf tags etc... following a discussion with kettenis@ a few months ago about gem(4) did some cleanup while i was there.
2008-11-08remove two printfs that slipped through my last commit.Damien Bergamini
2008-11-08sort;Jason McIntyre
2008-11-08initialize k to NULL in wpi_tx_data()Damien Bergamini
2008-11-08fix macros up so they use the do { } while (/* CONSTCOND */ 0) idiomDavid Gwynne
ok deraadt@ otto@
2008-11-08do not call if_start() from tx_done() unless there is a reason to do soDamien Bergamini
(IFF_OACTIVE was set.)
2008-11-08do not allocate cmd memory for rings 5 and 6 (HCCA) which are unused.Damien Bergamini
2008-11-08Support for retrieving revisions from branches in branches was missing.Tobias Stoeckmann
Reported by chl@, ok joris@
2008-11-08rework iwn_start().Damien Bergamini
2008-11-08new firmware & HW CCMP cryptoDamien Bergamini
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08set the default device to /dev/audio for legacy mode.Alexandre Ratchov
From Thomas Pfaff <tpfaff _at_ agderlink.no> and tweaks from me
2008-11-08when dev_attach()ing play-only or record-only streams, don'tAlexandre Ratchov
use both play and record parameters (one of them might be NULL, causing aucat to segfault).
2008-11-08from reed@netbsd:Jason McIntyre
Be consistent: document the birthtime field of struct stat for the "B" field specifier.
2008-11-08brad, noone said you could go making changes like that (doubling theTheo de Raadt
amount of memory and interrupt time each bge uses) without discussing it with other people. lots of people are complaining about the lack of communication in your process, and you are going to have to change that.
2008-11-08When initializing the standard RX ring, do not allocate mbufs clusters for theTheo de Raadt
whole ring.
2008-11-08Clean up some of the comments.Brad Smith
2008-11-08When initializing the standard RX ring, allocate mbufs clusters for theBrad Smith
whole ring.
2008-11-08syncTheo de Raadt
2008-11-08Reduce the delay's a bit in the miibus read/write routines.Brad Smith
Based on the Linux r8169 driver. Tested on PCI/CardBus and PCIe adapters.
2008-11-08Add malloc and buckets views that display kernel malloc statistics similarCan Erkin Acar
to vmstat -m
2008-11-08Reduce the number of TX descriptors to 512, such a large number is notBrad Smith
necessary without TSO.
2008-11-08Add a softc field mii_oui to store the OUI.Brad Smith
2008-11-08Add additional link status checking for for the BCM5906 PHY.Brad Smith
Based on info from the Linux tg3 driver.
2008-11-08Only read the Gig status register if Gig media status is detected.Brad Smith
2008-11-08Some clients don't parse a DHO_DHCP_OPTION_OVERLOAD option the wayKenneth R Westerback
I expected. They object if there are no bits set in the option value. So just use DHO_PAD in the reserved space unless at least one of the bits is set. Various versions tested by Tobias Ulmer on OpenSolaris, matthieu@ on busybox's DHCP client, and Uwe Dippel on Solaris. All of which failed before.
2008-11-08remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@
2008-11-08fix format stringCharles Longeau
ok otto@
2008-11-08fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ pedro@
2008-11-08Document the ddb.trigger sysctl.Chris Kuethe
feedback and ok mpf@, deraadt@
2008-11-08Add a new sysctl ``ddb.trigger''Marco Pfatschbacher
Writing to it, will bring the system into the kernel debugger. ddb.console=1 is required and the sysctl command has to be executed from the actual console tty. If the securelevel is < 1, the tty check is ignored. Feedback and OK ckuethe@, deraadt@.
2008-11-08Take into account that our ether_input() already strips theMarco Pfatschbacher
ethernet header. This lets us actually process the incoming LACP-Packets. It should now work with a lot more switches. At least a Catalyst 3500 seems happy. OK brad@
2008-11-07Move JPAKE define to make life easier for portable. ok djm@Darren Tucker
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07- Set default RX coal packets to 64, so RX coal timeout takes control duringBrad Smith
bulk data operations. This greately reduces the interrupt rate while keeps bulk data performance. - Set default TX coal packets to 64 and TX coal timeout to 65535us (maximum allowable value). This greately reduce the interrupt rate while greately increases (almost doubles) small packet TX performance. From DragonFly
2008-11-07expose the block size in the sndio API by making par->round writableAlexandre Ratchov
and thus remove the ugly rate <-> block-size table from sio_setpar(3). Handle the block size negociation in aucat(1), since it has few constrains the code is overally simpler. ok jakemsr@, major crank suggested by deraadt@
2008-11-07more models, muhahahahaTheo de Raadt
2008-11-07same umass dance required for Huawei E169g/E618; Stefan Sperling; ok jsgTheo de Raadt
2008-11-07clean-up regexps, replacing some . (any char) with \. (actual dot),Marc Espie
adding grouping parentheses, compiling whatever's compilable with /o, restricting words with word boundaries. /b okay grunk@, jmc@ (with help from jmc@) #10000 ! Oddly fitting, as my first commit was concerned with manpages as well...
2008-11-07different fix for pr5883 than proposed by the submitter, found when glancingTodd T. Fries
at apple code go ahead drahn@
2008-11-07use do { } while (/* CONSTCOND */ 0) construct for all multi-line functional ↵Theo de Raadt
macros; ok otto
2008-11-07add space to some log/debug messages for readability; ok djm@ markus@Kevin Steves
2008-11-07Try recollecting RX/TX descriptors if we are going to switch back to TX/RXBrad Smith
interrupts. There seems to be a race between turning on TX/RX interrupt and asserting TX/RX interrupt by the hardware. From Sephe@DragonFly
2008-11-07Simplify the interface flag handling in the ioctl handler.Brad Smith
2008-11-07Remove storing the Ethernet header in the receve interrupt handler, theBrad Smith
disabled code that used to use this was removed 7 years ago.
2008-11-07Add more initialisation steps (read reset register; pause; set burst sizeBrad Smith
in config register). From NetBSD
2008-11-07- According to the Apple GMAC driver, the GEM ASIC specification andBrad Smith
the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order to avoid TX underruns. - Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. - Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. From FreeBSD Tested by a few users with Apple GMAC's and Sun ERI.