summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-09correct device name.Owain Ainsworth
2008-11-09Don't attach to the agp bridges on amd64 machines. They have a differentOwain Ainsworth
interface (which is currently used by iommu(4) on amd64). I have a driver for that interface, but it would currently conflict with iommu and as such has not been commited.
2008-11-09Make own struct for the stream header instead saving the data in singleMarcus Glocker
variables.
2008-11-09Add BULK xfer support.Marcus Glocker
Thanks to Carlos Valiente for donating an EeePC 701 where this has been developed and tested.
2008-11-09typos; ok ratchov@ jmc@Christian Weisgerber
2008-11-09workaround lack of struct proc. this whole mess must be cleaned out.Theo de Raadt
userland processes should not see all the kernel components.
2008-11-09make aucat(1) stop automatically the audio(1) device if it's idle. ThisAlexandre Ratchov
way, when in server mode, it consumes no CPU if there are no clients. Later, this will allow to start aucat(1) at session or system startup.
2008-11-09add missing header needed by getpagesize().Charles Longeau
ok millert@
2008-11-09if the device is not started, make sio_pollfd() pass 0 events bitmapAlexandre Ratchov
to the backend to avoid reporing the device as writable when it's stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
2008-11-09Rework that way that agp attaches.Owain Ainsworth
previously, we had a static list of pcidevs and which agp driver would be interanlly attached. Instead, split the agp drivers so they work like audio(4), where we attach a driver, which sets up some callbacks and initial state, then attaches the interface (agp(4)). Since this allows us to attach different drivers in different places, and give them /proper/ probe functions move most of the drivers back to attaching at pchb, where they should, and intagp (formerly agp_i810) stays attaching at vga, since it's part of the intel integrated graphics chips. Diff shrinks the kernel slightly, gets rid of the annoying "no integrated graphics" warning, and allows more cleanup later. Tested by many. fix for alpha build (the only other vga_pci.c consumer) suggested by miod.
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-11-09sio_revents() should return 0 poll events if the device isn't startedAlexandre Ratchov
2008-11-09rework the rate coding code to get rid of the ugly {wpi,iwn}_plcp_signal()Damien Bergamini
function. will be required for future MCS support in iwn.
2008-11-09uninitialized value, caused by a typo.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok damien@
2008-11-09tweak previous;Jason McIntyre
2008-11-09Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.Tobias Stoeckmann
oki joris@
2008-11-09remove reference to POOL_DIAGNOSTIC which hasn't existed for nearly a year.Chris Kuethe
ok tedu@
2008-11-09systrace activation happens in the middle of a rather sensitive piece ofTheo de Raadt
fork(), i worry about it a lot but cannot prove yet that sleeping there is bad. Anyways, this change makes us never sleep in that area -- the memory needed is allocated ealier like the ptrace state. tested by many developers.
2008-11-08Use atop() and ptoa() in buf_free_pages() to make it consistent withPedro Martelletto
the rest of the code, okay art@.
2008-11-08syncTheo de Raadt
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@