summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-07-14Be sure to propagate PSL_O in psw on PCXU* processors to userland processesMiod Vallat
and signal handlers. ok kettenis@
2008-07-14m_copy can return NULL, so check for itHenning Brauer
problem found by "Adrian M. Whatley" <amw> and "Stephan A. Rickauer" <stephan.rickauer>, both @ni.phys.ethz.ch fix by me, ok mpf
2008-07-14Zap some dead commons that are no longer used.Artur Grabowski
"Commitski!" miod@
2008-07-14Finish support for uncompressed payloads (UDESCSUB_VS_FORMAT_UNCOMPRESSED).Marcus Glocker
2008-07-13Do not specify the gateway on RTM_DELETE -- similar fix was done in the arpClaudio Jeker
code. This fixes in6_ifloop_request warnings seen on carp interfaces. OK henning@, found and tested by david@
2008-07-13Spacing.Marcus Glocker
2008-07-13Save format and frame descriptors to a format group structure so weMarcus Glocker
can use them later for stuff like VIDIOC_S_FMT (e.g. set custom resolution).
2008-07-13Add some additional hardware revisions from FreeBSD needed forJonathan Gray
upcoming changes and sort list.
2008-07-12reference vmt (openbsd) rather than vmware (xorg)Chris Kuethe
ok dlg
2008-07-12Make the console interrupt driven.Mark Kettenis
2008-07-12Make sure the label is read in rdopen(), this isn't the case if youMiod Vallat
boot bsd.rd -a and want to mount the ramdisk later on. ok otto@ krw@ millert@
2008-07-12Right now agp_generic_enable() is wrong. It has been since 2006. ItOwain Ainsworth
assumes that the display device and the agp bridge are the same device. In almost all cases this is incorrect. In order to correctly enable the agp device with the correct mode, we need to set the AGP_COMMAND register on both the display and the bridge with the right bits. Since agp is currently attaching at vga(4), due to the problems with the intel integrated graphics (a problem that I still need to solve, to be honest), for now just provide both pci_attach_args to the agp init, and get what we need from there to do the enable. This fixes the "agp bug" which i have been known to rant about, a lot. So agp radeons now work with dri without needing to be forced to pci mode. This wasn't detected before, since the only non-drm consumer of agp is the intel X driver, the i810 agp driver has its own enable function. tested by many. ok kettenis@.
2008-07-12syncBernd Ahlers
2008-07-12Add another Acer id.Bernd Ahlers
help & ok jsg@
2008-07-12Shave off a few instructions from cpu_switchto().Mark Kettenis
2008-07-12Add a temporary hack to attach only the first thread of every core forMark Kettenis
MULTIPROCESSOR kernels. We map 'struct cpuinfo' at the same virtual address on every processor, but since threads on the same core share an MMU this doesn't quite work. With the hack we are at least able to use the other core (and any additional processors).
2008-07-12Add core(4).Mark Kettenis
2008-07-12Perform IOMMU cache flushes on Oberon.Mark Kettenis
2008-07-12Use the proper interrupt target ID on Oberon.Mark Kettenis
2008-07-12Adjust SUN4U_TLB_RESERVED_MASK for updated SUN4U_TLB_PA_MASK.Mark Kettenis
2008-07-12Don't install interrupt handlers for non-exitsing interrupts on CMU-CH.Mark Kettenis
2008-07-12On Fujitsu's SPARC64 CPUs, the data_access_error trap is synchronous, and AFSRMark Kettenis
will be 0. Check SFSR too, before deciding there's no fault.
2008-07-12Add macros to get the appropriate interrupt target ID for non-UPA CPUs andMark Kettenis
use them in cpu_myid().
2008-07-12Remove obsolete TODO comment.Marcus Glocker
2008-07-12regenBrad Smith
2008-07-12Add the OUI id for JMicron and the ids for the JMP202 FastE PHY andBrad Smith
JMP211 GigE PHY. From FreeBSD
2008-07-12Add support for the Marvell 88E8016 PHY.Brad Smith
ok dlg@
2008-07-11If there is a 100baseT4 connection then fall through so as toBrad Smith
explicitly set the duplex flag instead of returning right away. ok dlg@
2008-07-11Check the correct BMSR bit in the capabilities field when checkingBrad Smith
for 100baseT4. The dcphy(4) driver could inadvertently display 100baseT4 for the media type for PHY not actually capable of 100baseT4. From FreeBSD ok dlg@
2008-07-11Qlogic -> QLogicIgor Sobrado
2008-07-11Fujitsu SPARC64-VI CPU's have two cores that have two threads each. ProvideMark Kettenis
a core(4) device, representing these cores and attach cpu(4) devices to it for each thread.
2008-07-11Add timeout_add_{tv,ts,bt,sec,usec,nsec} so that we can add timeoutsBret Lambert
in something other than clock ticks. From art@'s punchlist and (for the time being) not yet used. "you're doing it wrong" art@,ray@,otto@,tedu@ ok art@
2008-07-11de-__inline a trio of functions to shave some space.Bret Lambert
ok art@
2008-07-11Don't try to read the "regs" propety; it's pointless.Mark Kettenis
2008-07-11remove an unused function. ok jsg@Kevin Lo
2008-07-11Handle CPUs with a clock speed >= 2 GHz correctly.Mark Kettenis
2008-07-11initialise the state kept between calls to dmamap_load_buffer to 0. thereDavid Gwynne
was an extremely small chance that random stack garbage coudl be used which could corrupt a dmamap. this is the same as the change made to amd64 in src/sys/arch/amd64/amd64/bus_dma.c r1.10. ok miod@ kettenis@
2008-07-10Handle breaks.Mark Kettenis
2008-07-10nuke two bogus ARGSUSEDThordur I. Bjornsson
2008-07-10move a common statement out of if/else;Thordur I. Bjornsson
adjust the mbuf before loading it, with bus_dmamap_load_mbuf(), that way we dont have to fiddle with ds_addr; ok dlg@
2008-07-10Don't terminate the array of matching product/vendor IDs with { 0, 0 }Marc Balmer
when usb_lookup is used. If a device indeed has 0 as vendor and product ID, like the HP DL165 BMC Server Engines SE USB Device, a wrong driver will attach and the machine will most pbly crash. Problem reported Rivo Nurges <rix@estpak.ee> cvs: ----------------------------------------------------------------------
2008-07-10Detect whether com(4) is the console on the m4k.Mark Kettenis
2008-07-10Add support for Fujitsu SPARC64-VI CPUs.Mark Kettenis
UltraSPARC I/II has a 41-bit physical address space, UltraSPARC III/IV has a 43-bit physical address space. The Fujitsu SPARC64-VI extends this to 46 bits. Adjust the TTE masks to take this into account and adjust some locore code that truncated physical addresses to 41 bits (fixing a potential bug for UltraSPARC III/IV too). While there, fix the locore code for UltraSPARC Architecture 2007 CPUs, which may support up to 56 bits of physical address space.
2008-07-10Add support for getting the time of day on the m4k.Mark Kettenis
2008-07-10Add a function to get the time of day from the prom on the m4k.Mark Kettenis
2008-07-10check pf NAT source port allocation against net.inet.(tcp|udp).baddynamicDamien Miller
lists; prevents use of ports corresponding to well-known services. replace a couple of arc4random()%N with arc4random_uniform(N) that missed the first round. ok mcbride@
2008-07-10In pf_state_insert(), if the first pf_state_key_attach() fails, theDavid Krause
state key is freed by pf_state_key_attach(). But in the case of NAT, there are two state keys allocated, so we must free the second key manually. Fixes a pf_state_key_pl leak seen in certain cases with pfsync or with pf state-insert errors. ok mcbride@ henning@
2008-07-10Make cams with Sonix chipset work by avoiding excessive alternateMarcus Glocker
interface switching, which kind of crashed the device.
2008-07-10add X11 ports to default TCP baddynamic listDamien Miller
2008-07-10the DRM_{READ,WRITE}$NUMBER() macros currently useOwain Ainsworth
bus_space_{read,write}(). A bug in the code this was based on means that this is also used for scatter gather maps, which are bus_dma memory, not pci memory. This obviously fails. Pull them out into a function and Special case scatter gather to use the mapped virtual address to write instead. Makes writeback test pass on pci and pci express radeon cards. Tested by, among others ckuethe@ and sthen@.