summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-11-11The interrupt routine doesn't need to explicity invoke splbio/splx.Kenneth R Westerback
But the polling routine needs to wraps its call of the interrupt routine with splbio/splx. This ensures scsi_done() is properly protected. While in the polling routine, fix the timing code so milliseconds are not treated as microseconds.
2007-11-11Use two software interrupt sources per processor for IPIs, instead of onlyMiod Vallat
one, so that we can have maskable and unmaskable IPIs. Make the clock ipis maskable, and masked at IPL_CLOCK and above. This allows us to get rid of the retrig hack in setipl().
2007-11-11In dma_cachectl(), flush unconditionnaly on all processors, regardless of theMiod Vallat
cpu bitmask of the pmap.
2007-11-11syncMartin Reindl
2007-11-11support little I-O DATA UPS GPS thingyTheo de Raadt
2007-11-11bring in ~7 years worth of improvements and bug fixes from NetBSDJacob Meuser
user noticible highlights: - recording works - setting the blockize works correctly - added master volume mute ok ratchov
2007-11-10syncTheo de Raadt
2007-11-102 port usb hub with ethernet in it..Theo de Raadt
2007-11-10do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok marco@
2007-11-10- syncAntoine Jacoutot
2007-11-10- add support for more multifunction Epson devices (from FreeBSD and SANE).Antoine Jacoutot
I'm not adding any new !MF USB scanner IDs as those can be handled using libusb and sane-backends (from ports). - bring the uscanner man page up-to-date with actually supported scanners ok winiger@ mbalmer@ jmc@, input and ok jsg@
2007-11-10weel -> wellJoel Sing
2007-11-10Clean up some debugging left-overs.Marc Balmer
2007-11-10- Fix command timeouts in certain scenarios (like under X11)Marcus Glocker
- Properly issue the RTS-Threshold firmware command ok claudio@
2007-11-10knf.Marc Balmer
2007-11-10Activate umbg(4) on macppc.Marc Balmer
ok jsg, dlg.
2007-11-10Activate umbg(4) in i386.Marc Balmer
ok dlg.
2007-11-10umbg(4) is a driver to support the USB attached Meinberg USB5131 DCF77Marc Balmer
radio clock. umbg(4) implements a timedelta sensor and reports the signal quality in the Signal sensor as percentage. The signal sensor status further indicates if the clock is free running (WARN). ok dlg, jsg
2007-11-10Remove a fair amount of duplicated code by making cpu_mp_startup callMark Kettenis
cpu_initialize.
2007-11-10For single-processor kernels, only match the CPU we're running on.Mark Kettenis
2007-11-09Be more careful when handling ipis:Miod Vallat
- only process the pending ipis once per external interrupt, at the beginning. - use the ipl we were at when the interrupt occured, not the ipl at which we enabled interrupts again, in order to decide whether we can run hardclock or statclock.
2007-11-09In dma_cachectl*(), try and perform fewer remote processor operations wheneverMiod Vallat
possible.
2007-11-09Do not bother checking for curproc != NULL if we know a trap comes fromMiod Vallat
usermode, since curproc can not be NULL outside the kernel.
2007-11-09Wrong logic in ubt_xmit_acl_start(); reported by Dmitry KomissaroffMiod Vallat
(dxi, mail dot ru), thanks!
2007-11-09IPL_xxx values on hp300 are logical values (although some of them happen toMiod Vallat
match the real hardware level used for them). So instead of keeping a few loose variables to store the runtime computed psr bits to use for the logical IPL levels, just keep a complete array of all psr values. Thus we can have a correct splassert_check().
2007-11-09Get rid of IPL_TTYNOBUF, it was handled exactly like IPL_TTY for years.Miod Vallat
2007-11-09Move splassert_check() from common m68k code to each m68k-based architecture,Miod Vallat
as its implementation may vary accross platforms (and will very soon).
2007-11-09Fix PSLTOIPL and IPLTOPSL to only use three bits of interrupt mask.Miod Vallat
2007-11-09On MULTIPROCESSOR kernels, don't forget to grab the kernel lock whenMiod Vallat
processing soft interrupts; and there was much rejoicing.
2007-11-09Call prom_set_trap_table for secondary CPUs too.Mark Kettenis
2007-11-09Use the interrupt stack as the initial stack for spinning up secondary CPUs.Mark Kettenis
Inspired by a change in NetBSD pointed out by miod@.
2007-11-09Make disklabel aware of NTFS.Joel Sing
ok miod@ krw@
2007-11-09Code to read in the cylinder groups is duplicated in a few spots,Thordur I. Bjornsson
factor it into a new function, ffs_cgread(); and use that. From mickey; OK art@, toby@
2007-11-09Add Exar UARTs XR17C152, XR17C154 and XR17C158.Federico G. Schwindt
From Daniel Neri (daniel dot neri at sigicom dot se) via PR/5618.
2007-11-09regen.Federico G. Schwindt
2007-11-09Add Exar UARTs XR17C152, XR17C154 and XR17C158.Federico G. Schwindt
From Daniel Neri (daniel dot neri at sigicom dot se) via PR/5618.
2007-11-08Pass correct pointers to memcpy when concatanating strings/buffersCan Erkin Acar
ok weingart@, marco@
2007-11-08convert the value to a string instead of using aml_val2str()Can Erkin Acar
which returns invalid pointers if the value is not a string, causing acpibat to panic, as reported by mbalmer@ and Alexey Suslikov. tested by Alexey Suslikov, ok marco@
2007-11-08Fix unsafe queue macro useBret Lambert
ok thib@ 'emphatic' ok beck@
2007-11-07more low hanging fruit; Expand the nfsm_srvwcc_data() macroThordur I. Bjornsson
and nuke it's definition. OK krw@, blamers@
2007-11-07Check for pfi_kif's that are neither groups nor have a real interface.Marco Pfatschbacher
This prevents a null-deref when empty groups are used in set loginterface. Fixes PR 5628 as reported by Andreas Bihlmaier. Bad mpf :( OK henning@
2007-11-07Fix a comment.Marc Balmer
2007-11-07regenBrad Smith
2007-11-07rename the Intel 82452 hostbridge chipset entry.Brad Smith
ok oga@ dlg@
2007-11-07More SPLBIO around scsi_done.Kenneth R Westerback
2007-11-06Close a race where we might save/drop the fpu state of the wrong process inMark Kettenis
the ipi handlers.
2007-11-06ramdisks should have the same behaviour as GENERICTheo de Raadt
2007-11-06all ACPI_ENABLE kernels need acpi_interrupt()Theo de Raadt
2007-11-06Do not panic in arpintr() if IF_DEQUEUE returns NULL, this is perfectly legalMiod Vallat
and can happen on slow mp systems under a lot of network load; ok kettenis@
2007-11-06Keep a pending software interrupts mask per processor, instead of having itMiod Vallat
global; and only schedule software interrupts on the currently running cpu.