summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-09-15Make this compile if !MULTIPROCESSOR.Mark Kettenis
ok brad@
2008-09-15regenBrad Smith
2008-09-15Add an IDT PCIe bridge.Brad Smith
2008-09-15I forgot to sync the NetBSD Copyright 2004-2008 update. Fix it.Marcus Glocker
Spotted by stu@ and miod@
2008-09-15Sync ehci-isoc part a bit up with NetBSD:Marcus Glocker
- Sign over Jeremy Morse's copyright (who contributed ehci-isoc support) to NetBSD copyright but still mention him as contributor. OK'd by Jeremy Morse. - Update TODO list. - Clarify the error message in case when a low/full speed isoc device has been attached to ehci. - Add a missing break so that the isoc setup code doesn't access uninitialized microframe content which has been request by the driver but not been used. OK kevlo@
2008-09-14Use one block mapping to map kernel text up to 4MB and another one for theMark Kettenis
remainder to prevent covering kernel data. ok miod@
2008-09-13Kernel map is supposed to only allocate from the limited kernel addresses,Dale Rahn
panic if the kernel attempts to map an improper address.
2008-09-13fallback to 11b support if the EEPROM is not reporting any available mode.Reyk Floeter
there is probably a new EEPROM format here, but i don't know how to parse the AR5424 version yet, so just set some defaults for these chipsets for now.
2008-09-13fix potential use of uninitialized valueCharles Longeau
Found by LLVM/Clang Static Analyzer. "Right." miod@
2008-09-12zap a deprecated macro, NMOD.Thordur I. Bjornsson
2008-09-12provide a NOTE_TRUNCATED kq hint in nfs_setattr() if the fileThordur I. Bjornsson
shrinks, same thing as UFS does. ok/pointers pedro@ ok blambert@
2008-09-12move the declaration of nfsrv3_procs to nfs_syscalls.cThordur I. Bjornsson
ok blambert@
2008-09-12just like v4 icmp, icmp6 recycles mbufs so we need to callHenning Brauer
pf_pkt_addr_changed to clear the recorded pf state information in the hdr claudio ok
2008-09-12In acpitz_setfan(), try to send fan commands to ``power resources'' objects.Miod Vallat
Makes a few hp laptops run cooler and quieter.
2008-09-12Remove bzero/memset calls after pool_gets by passing the PR_ZEROBret Lambert
flag to the pool_get call. ok art@, krw@
2008-09-12SCSI_DATA_UIO is never used. Code which checks for it is either dead orMiod Vallat
commented out, remove it. Unifdef TFS while there. ok marco@ krw@
2008-09-12less waste for amaps in the common case:Otto Moerbeek
allocate a single malloc chunk instead of three and allocate a single slot for a single page instead of four slots. ok miod@ tedu@ @deraadt
2008-09-12Don't forget to actually return a pa for the K0SEG case...Miod Vallat
2008-09-12Some fixes for dc_txeof()..Brad Smith
- Don't reload the watchdog timer in case there are still unhandled descriptors. - Don't clear IFF_OACTIVE unless there are at least 6 free TX descriptors. The function dc_encap() will bail if there are only 5 or fewer free TX descriptors, causing dc_start() to abort so it makes no sense to pretend we could process mbufs again when in fact we can't. - Always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case. From FreeBSD
2008-09-11Update for the renaming of the existing BCM4322 entry to SERIAL_2.Brad Smith
A COM port should not be misleadingly labeled as a Wifi chipset.
2008-09-11Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.Brad Smith
2008-09-11regenBrad Smith
2008-09-11Re-add the Broadcom BCM4321 and BCM4322 PCI ids and correct the previousBrad Smith
entry labeled as BCM4322 which is actually a serial port.
2008-09-11regenMark Kettenis
2008-09-11Revert previous commit; it introduces duplicate #defines.Mark Kettenis
2008-09-11In rlphy_service() for the MII_TICK case don't bother to check whetherBrad Smith
the currently selected media is of type IFM_AUTO as autonegotiation does not need to be kicked anyway.
2008-09-11Fix a typo.Brad Smith
2008-09-11regenBrad Smith
2008-09-11Add Broadcom BCM4321 and BCM4322 PCI ids.Brad Smith
2008-09-11issue a NOTE_TRUNCATE if the file size has shrinkedThordur I. Bjornsson
ok tedu@, blambert@, art@
2008-09-11regenMiod Vallat
2008-09-11Broadcom BCM4315.Miod Vallat
2008-09-11Thermal Zone entities might not be direct object references, but namedMiod Vallat
references. Account for this, and the hp530 laptop won't spontaneously power down thinking internal temperature is over 500C. ok marco@
2008-09-11Use & not && to mask bits.Jonathan Gray
ok miod@
2008-09-11ANSI function declarations.Brad Smith
2008-09-11Remove the redundant local variable 'revision' from the PCI attach function.Brad Smith
The softc field dc_revision contains the PCI revision. No functional change.
2008-09-11Add missing license. Copy the license used elsewhere with the dc(4) driver.Brad Smith
2008-09-11For chips with a broken DC_ISR_RX_STATE which never signalsBrad Smith
stopped nor the waiting state and also no other means to check whether the receiver is idle, we have no choice but to call mii_tick unconditionally even in the case of the DC_REDUCED_MII_POLL handling as far as the RX side is concerned. This isn't necessarily worse than checking whether RX is idle though because unlike as with TX we're racing with the hardware, which might receive packets any time while we poll the MII, anyway. Fixes the use of trunk(4) with the affected interfaces. From FreeBSD
2008-09-11add support for arm9e core, taken from NetBSD.Kevin Lo
ok drahn@
2008-09-10add support for the PCA9555 device which has 16 instead of 8 pins.Reyk Floeter
ok deraadt@
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-09-10There's no need to fully traverse the wakeup queue when waking a specificBret Lambert
process sleeping on a unique address (wakeup -> wakeup_one) ok guenther@, tedu@, art@
2008-09-10icmp_reflect reuses mbufs. call pf_pkt_addr_changed to clear the stateHenning Brauer
key stuff.
2008-09-10re-enable the state key linking. i believe the bugs that hit us shortlyHenning Brauer
before release are fixed, and the extra check i added prevents incorrect linking if there are still cases with tunnels, tho none of the testers saw these yet, except for an icmp case that will be fixed shortly. the extra check prevents misbehavior there. if you see 'pf: state key linking mismatch' messages please report them to me along with ifconfig -A and mention if you do any routing or nat tricks. ok deraadt
2008-09-1040-bit GART support for PCIE devices. From drm git a while ago.Owain Ainsworth
Tested by a few, no regressions for normal use.
2008-09-10Kill the max_context member of the softc, it does nothing useful.Owain Ainsworth
2008-09-09Kill some stupid agp api wrapper functions, just use the agp apiOwain Ainsworth
directly. While i'm here, factor out some common functionality into a separate function, and kill some typedefs (man this code is full of them...). Shaves another 450 bytes off the kernel. Tested by ckuethe and Paul de Weerd, thanks.
2008-09-09The pf state to pcb linking code change didn't account for theMarco Pfatschbacher
TIME_WAIT socket recycling code to redo the pcb lookup w/out resetting the inp pointer. Therefore we used the stale pcb, which leads us to reply with a RST to SYNs received on TIME_WAIT sockets. Also move the findpcb label below the pf pcb cache lookup, to avoid using a stale pcb when the caching code gets activated. OK markus@, henning@
2008-09-09actually enable pflowHenning Brauer
2008-09-09welcome pflow(4), a netflow v5 compatible flow export interface.Henning Brauer
flows export data gathered from pf states. initial implementation by Joerg Goltermann <jg@osn.de>, guidance and many changes by me. 'put it in' theo