summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-04-03syncMarco Pfatschbacher
2010-04-03Add Nokia Internet Stick CS-15.Marco Pfatschbacher
OK jsg@
2010-04-03byteswap the cmdset word properly so we enable the right features onDavid Gwynne
bigendian archs.
2010-04-03remove some debug outputDavid Gwynne
2010-04-03dont allocate with M_TEMP and then free with M_DEVBUF. made even worse thatDavid Gwynne
this was done for every sensor update, which really screwed up the memory stats. noticed by deraadt@
2010-04-03add support for emulating the disk characteristics and disk limits vpdDavid Gwynne
pages. this if the first step in figuring out if disks use a different physical block size compared to the logical block size they present to the operating system.
2010-04-03add bnx; from bradTheo de Raadt
2010-04-03document the first byte of the random MAC addressTheo de Raadt
2010-04-02add $OpenBSD$Jonathan Gray
2010-04-02ugly spacingTheo de Raadt
2010-04-02Special-case SIOCADDMULTI and SIOCDELMULTI ioctls, based on code from if_tun.Stefan Sperling
Makes IPv6 work with if_vether. ok deraadt
2010-04-02Add a case so that FIONREAD on the master side of a pty returns the sizeNicholas Marriott
of the output queue (that is, the data coming from the program on the slave side) rather than falling through to ttioctl which returns the size of the input queue (the amount written to the master). ok deraadt
2010-04-02Put se(4) onto these ramdisksTheo de Raadt
2010-04-02SiS 190 ethernet driver ported from FreeBSD by Christopher ZimmermannTheo de Raadt
<madroach@zakweb.de>. SiS 191 is not verified to work yet because he does not have the hardware; if anyone has it, please contact him.
2010-04-02For the VT8251 host bridge, only attach the pci bus is non-zero, otherwiseMark Kettenis
keep attaching bus 0 forever. tested by mk@
2010-04-02fix an ugly constructTheo de Raadt
2010-04-02Clear the PG_PMAP_EXE flags whenever writable mappings are created.Dale Rahn
ok deraadt@ kettenis@
2010-04-02Remove parent/slave mode of rbus as nothing uses it.Jonathan Gray
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
2010-04-02allow this to compile in the never-gonna-happen world without INETTheo de Raadt
2010-04-01Add PCI_PRODUCT_ATI_RADEON_HD4500_M to the listRobert Nagy
2010-04-01Add more dell subids found in the windows driver.Jonathan Gray
ok marco@
2010-04-01Avoid null pointer dereference. Pointed out by Nick Hudson; variant on hisMark Kettenis
diff from NetBSD.
2010-04-01Don't index cpu_info by apic id, but by device unit number instead. RecentMark Kettenis
Intel CPUs come up with apic id's >= 32, even on systems with less than 32 logical CPUs. ok krw@, marco@; tested by deraadt@
2010-04-01Add H700 now that we know the subid...Marco Peereboom
2010-04-01Allow for multiple CPUs by moving to an array of cpu_info.Joel Sing
ok kettenis@
2010-03-31More carefully manage PG_PMAP_EXE bit and cache flushing on pmap_protectDale Rahn
operations, where X or W is taken away. ok deraadt@ kettenis@
2010-03-31Make sure the boundaries of uvm_pglistalloc() calls are set up with lowMiod Vallat
being page-aligned, and high being end of page (i.e. high & PAGE_MASK == PAGE_MASK) everywhere, for consistency. Future code will depend on this. ok deraadt@
2010-03-31Add bnx firmware on installation media; this causes a media oflow, soMiod Vallat
enlarge bsd.rd filesystem; this in turn causes a cd oflow, so enlarge cd filesystem. ok jsing@ deraadt@
2010-03-31Bring /dev/apm support in line with apm(4). Make the suspend button sendMark Kettenis
a suspend request event to apmd(8) instead of suspending immediately. Also keep track of whether /dev/apm and /dev/apmctl are currently open, such that we can still suspend immediately if apmd(8) isn't running. ok deraadt@, marco@, pirofti@, jsing@, oga@
2010-03-31if bthub defines are needed by conf.c, they must come from files.bluetoothTheo de Raadt
2010-03-31fix typoTheo de Raadt
2010-03-31Radeon HD2400 XT works. Tested by Dennis den Brok; thanks!Owain Ainsworth
2010-03-31update the inteldrm GEM interface to the newer version.Owain Ainsworth
This adds a couple of new ioctls and remove the I915_GEM_EXECBUFFER ioctl in exchange for EXECBUFFER2 which supports better tiling parameters. the original interface is removed since our GEM support will not support it. This temporarily breaks the build of libdrm_intel, this will be fixed in the next commit. discussed with matthieu@
2010-03-30Add missing bthub device entries on arches that support bluetooth.Matthieu Herrb
ok miod@, deraadt@, todd@.
2010-03-30Prevent the apmd/x races for good.Owain Ainsworth
When we hit suspend time, go through all wsdisplays on the system. if they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full vt switch to a !mapped vt, and prevent switching back until resume time. This has to be called from MD code because this involves userland running so that X can run the vt switch signal handler. This way, any case where we are using the "poke registers from userland" model, we will not be on the hardware when we go down, so the kernel can actually handle thing properly. Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at this time.. Idea from deraadt somewhere over the Faroe Islands (I thought of a similar thing myself a while ago). Much prompting from him. Ok and comments miod@
2010-03-30Since we use a direct mapping for the area where we save a process' floatingMark Kettenis
point registers, we no longer need to flush/purge the cache.
2010-03-30Support Radeon Mobility HD3670; James Thackray. Thanks!Owain Ainsworth
2010-03-30syncOwain Ainsworth
2010-03-30Mobility Radeon HD3670, from James Thackray (first.last@gmail.com)Owain Ainsworth
2010-03-30Have bge_start check if there are less than 16 free send BDs and if notChristian Weisgerber
set IFF_OACTIVE and try again later. Previously bge(4) reserved 16 send BDs after loading DMA maps but the hardware only requires one reserved send BD. From FreeBSD, via Brad
2010-03-30Do not print ac97 link rate message unless debug is enabled.David Coppa
Adapted from NetBSD OK jakemsr@
2010-03-30We will never condtionalize ficache on PTE_PROT(TLB_EXECUTE) because itTheo de Raadt
is risky. Delete the comment suggesting we might.
2010-03-29Initialize various uninitialized variables. Found by jsg@ via Clang.Kenneth R Westerback
Feedback from miod@ and kettenis@. ok beck@
2010-03-29PMAP_CANFAIL for bus_dmamem_map on all other architectures (and someOwain Ainsworth
whitespace tweaks on i386 so that it matches). ok kettenis@
2010-03-29Add Radeon HD360 Mobility.Owain Ainsworth
Info from Mitja.
2010-03-29Don't try and idle the engine via the ring if the cp is not running.Owain Ainsworth
It means we've cleaned up the ring and bad things will happen (like panics) on X closedown. tested by (and ok) beck@
2010-03-28Fix user-after-free bug in pmap_remove(). Page table pages are freed as soonMark Kettenis
as the last page table entry that was actually used is cleared. So make sure we check the page table page is still there for every page we remove. Otherwise we will bring back the tlb entry and cache lines when we touch the freed page, and we will create an illegal alias (non-equivalent mapping) as soon as the page gets re-used. Seems to fix the last remaining issue with fast page recycling (although I need to do a bit more testing to be sure). Help from drahn@, ok jsing@ and miod@ (for an earlier version of this diff)
2010-03-28Add envy(4), as found on Tezro; attaches, not tested yet because marco@ doesn'tMiod Vallat
seem to have speakers at home.
2010-03-28Correctly account devio usage, instead of relying upon unused devio registersMiod Vallat
being set to zero; this allows a full PIC bus to correctly configure I/O resources. While there, when initializing a ppb, setup I/O resources before memory resources; without this a ppb connected to a PIC could not get I/O resources if devices behind it would use both I/O and memory resources.
2010-03-28Correctly report the R16010 version.Miod Vallat