summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-24There are 3 reasons why the first block in apm_probe can fail, and in oneTheo de Raadt
case it is not OK to DPRINTF, so delete that code. Found by dhill ok marco dhill
2009-06-24Add support for the SMBus controller for the Broadcom HT-1100 chipsetTheo de Raadt
to piixpm(4). from brad
2009-06-24like I did for em(4) before, doubled error messages are sillyTheo de Raadt
from brad
2009-06-24move the "pf_map_addr: selected address" printf up to -xnoisy.Stuart Henderson
ok henning@
2009-06-24Remove extra psignal/wakeup in exit1() which can cause the parent toKurt Miller
receive SIGCHLD twice if scheduled before the reaper runs. diff by guenther@ and myself. okay guenther@ deraadt@
2009-06-24Reset the rebuild counter when initiating a rebuild.Joel Sing
ok marco@
2009-06-24Abort the current rebuild if the rebuild chunk disappears. Whilst here alsoJoel Sing
rename the abort flag so that it is more generalised. ok marco@
2009-06-24for the isp(4) driver, invert the meaning of the options which pullTheo de Raadt
firmwares into the smaller (and larger) media ok krw
2009-06-24turn off POOL_DEBUG as we go into release; pointed out by mpfTheo de Raadt
2009-06-24Major update to isp driver, mostly from mjacob via FreeBSD.Kenneth R Westerback
Everything that worked before should still work so in it goes. Newer boards (2300, 2400) may now work but are still a work in progress. Thanks to many testers but especially kettenis@ for finding a show stopper bug and stomping it. ok deraadt@
2009-06-24Simplify the ioctl handling code. From Brad.Stuart Henderson
Tested by nick@
2009-06-24print RFv1/RFv2 for 8187L dmesgs; since code paths are very differentMartynas Venckus
also print 8187B/8187L rev. ids for unknown revisions and remove dots as suggested by jsg@. ok jsg@
2009-06-23syncStuart Henderson
2009-06-23Add the PCI id for the EHCI controller on the AMD 8111 from the datasheet.Stuart Henderson
From Brad.
2009-06-23Make sure that the metadata level matches the requested assembly level whenJoel Sing
creating a volume. ok marco@
2009-06-23Fix some more whitespace issues.Joel Sing
2009-06-23Add support for the 82574L chips and the bme1000 phy which is also used onClaudio Jeker
some newer ICH* chips. All the hard work done by Dariusz Swiderski sfires (at) sfires.net, tested by myself, sthen@ and many more. Eyeballed and OK dlg@ kettenis@
2009-06-23Ignore the PCT if the PSS has zero entries, only becameGordon Willem Klok
a problem after we started striking entires for containing junk and /* should never happen */ happened. Fixes PR 6175 confirmed by submiter: nick templeton nick @ nicktempleton.com ok marco@
2009-06-23- /dev/drum is long gone; sync comment with realityJasper Lievisse Adriaanse
ok thib@
2009-06-23Don't use == for string comparison.Jonathan Gray
"looks good to me" jakemsr@
2009-06-22Sync the strict alignment with vr(4). Remove the if (1) and replace it withClaudio Jeker
an #ifdef #else #endif dance. Reminded by Brad.
2009-06-22Remove unneeded sotorawpcb() call, as the PCB is unmolested betweenBret Lambert
malloc()ing it and calling that macro. No functional change, just tightening things up a bit. ok claudio@ michele@
2009-06-22Check that the address family is appropriate before processing ICMPv4 andJoel Sing
ICMPv6 messages. ok henning@
2009-06-22Always drop ICMPv6 in IPv4 datagrams, not only when compiled with INET6.Joel Sing
Suggested by Max Laier. ok henning@
2009-06-22Tidy up promiscuous mode and multicast handling; tested by Simon KuhnleStuart Henderson
and myself. From Brad.
2009-06-22Fix scrub max-mss for IPv6 traffic.Joel Sing
spotted by naddy@ ok henning@
2009-06-22sync m_inithdr() with m_gethdr() after theThordur I. Bjornsson
addition of rdomain to struct pkthdr. "Doh!" claudio@ ok henning@
2009-06-21Use static for forward decl of static arrays instead of externJonathan Gray
which made newer versions of gcc complain about mixing static and non-static decls. ok miod@
2009-06-21Disable memory above 2GB physical again, as we can end up with an unkillableMiod Vallat
process waiting on getblk when all ATE are exhausted, despite the exhaustion being transient; I fear the only way to skirt this is to use bounce buffers.
2009-06-21Remove the ioc interrupt probe code, the heuristic is correct; origin 300Miod Vallat
is still unhappy due to ``interferences'' between the L1 console and the brick's serial ports, unfortunately.
2009-06-21Add a bunch of usb devices, per deraadt@'s pressure.Miod Vallat
2009-06-21- add and enable stge(4)Jasper Lievisse Adriaanse
"sure" miod@
2009-06-21simplify write_s16 routine and just use memory stack instead of twoMartynas Venckus
buffers. ok jsg@. tested by kevlo@ and myself
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-204.6-BETAMiod Vallat
2009-06-20Preserve more registers in sigcontext, and restore them in sigreturn. ThisMiod Vallat
makes the sigreturn regress test pass, as well as todd@'s ``run sh -c "trap exit 2 3;while :; do sleep 120; done", then press ^C'' test pass. Since userland setjmp uses sigcontext, the kernel will still support the old layout for a while (until libc is fixed and a reasonable grace period is over).
2009-06-20Remove unused global variables.Miod Vallat
2009-06-20Remove unused struct ka410_cpu, long superseded by struct vs_cpu.Miod Vallat
2009-06-20Rewrite the interface flag handling case code and update the receiveChristian Weisgerber
filter handling to take advantage of ac_multirangecnt and have correct IFF_ALLMULTI handling. From Brad.
2009-06-20Force atapiscsi to depend upon wdc_base. This allows kernels to haveMiod Vallat
atapiscsi* at umass? without needing to have pciide or wdc attachments.
2009-06-20First stab at state transitions.Marco Peereboom
ok jsing
2009-06-20Decrement routing socket count in MPLS detach caseBret Lambert
While here, fix whitespace (spaces -> tabs) issue spotted by michele@ ok michele@, claudio@
2009-06-20Have hmestop() properly clear the RUNNING/OACTIVE flags and the interfaceStuart Henderson
watchdog timer. Copied over from MI hme(4). Tested by nick@. From Brad.
2009-06-19Allow bge(4) to recognize the revisions of the 57780 ASICs. From Brad.Christian Weisgerber
2009-06-19Make the 64 bit bootblocks compile again after the <machine/mnode.h> changes.Miod Vallat
2009-06-19Some more defines for bge(4). Mainly bits for accessingChristian Weisgerber
info from the firmware. Some of it will be required for further work on both older and newer chipsets. Gleaned from the Linux tg3 driver. From Brad.
2009-06-19Tidy up allocation of transmit DMA maps and generalize it to alsoChristian Weisgerber
tidy up allocation of receive DMA maps. Previously the driver was using DMA maps off the free list without fully allocating them, in order to save two or three lines releasing them on error paths. This was causing it to reuse a map already in use when under load. From NetBSD. Revert a workaround against a NULL pointer dereference on alpha when invoking bus_dmaamp_sync. All submitted by Brad.
2009-06-19They're DPME partitions, not DPMI partitions.Kenneth R Westerback
ok miod@ drahn@
2009-06-19Always report 0 as the minimal brightness level to wscons. This results inMark Kettenis
more reasonable brightness level reporting. In particular we won't report 0% if the lowest level supported by the hardware doesn't completely turn the backlight off. ok marco@, pirofti@
2009-06-19Either jordan or jsing left some debug prints behind. tsk tsk.Marco Peereboom
pointed out by todd.