summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-02-15destatic and deinline. return type on line before rest of functionOwain Ainsworth
declaration. no binary size change.
2009-02-15move pflows ioctl to new numbers. Fixes a problem with wi(4)Joerg Goltermann
spotted by mcbride@ Theo@: "This diff is correct. Please commit it right away"
2009-02-15Revert previous.Marc Balmer
2009-02-15Fix compilation of kernels that have pf, but not pfsync.Marc Balmer
ok dlg, henning, sthen
2009-02-15on IGPGART chipsets, map the pcigart table uncached. This fixes some bugs forOwain Ainsworth
freebsd and linux, and i'm assured by an amd employee that it is needed. With this diff the RS690 at phesslers@'s work work the first time you boot it, you can even restart X to your heart's content. However, after a reboot it goes back to not working. I've not managed to rule out buggered hardware yet, so anyone with a RS690 chipset would make my very grateful by checking if the same thing happens there. RS480 also needs this, but seems to still be broken.
2009-02-15for the sake of correctness bus_dmamap_sync when necessary for theOwain Ainsworth
hardware-status-page.
2009-02-15Remove some ifdeffed out debugging code that I'm not so fond of.Owain Ainsworth
2009-02-15Remove some dead and unneeded defines, types and prototypes.Owain Ainsworth
2009-02-15Make the pcigart functions return 0 on success and an errno on failure,Owain Ainsworth
instead of 1 on success and zero on failure. I hated that twisty logic.
2009-02-15Split out the switch statement that writes the pcigart table entry intoOwain Ainsworth
a separate function. Makes this code a lot easier to read.
2009-02-15Remove drm_pci_alloc and associated definitions.Owain Ainsworth
2009-02-15Convert intel hardware-status-page allocation over to new dmamem api.Owain Ainsworth
2009-02-15convert drm_scatter code over to using the new dmamem api.Owain Ainsworth
removes the custom code in there, so shrinks the kernel by a few bytes. Convert other code to deal with data structure changes.
2009-02-15convert the pcigart case where the gart table is in system memory overOwain Ainsworth
to use the new api. More cleanup to this file coming soon.
2009-02-15Convert CONSISTENT maps over to dmamem api.Owain Ainsworth
2009-02-15convert drm_addbufs_pci over to new dmamem api.Owain Ainsworth
2009-02-15Convert machdrm over to new dmamem api.Owain Ainsworth
2009-02-15introduce drm_dmamem_alloc() to allocate dma memory with bus_dma.Owain Ainsworth
The next few commits will convert calls to drm_pci_alloc (which I hate) over to this new api, and convert other handrolled stuff over too. First part of my cleaning up bus_dma useage in drm.
2009-02-15do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok krw@ miod@ (some months ago)
2009-02-15change M_WAITOK --> M_WAITOK | M_CANFAILCharles Longeau
with help from miod@ ok miod@ oga@
2009-02-15Set the limit of the GDT table to its size - 1.Mike Belopuhov
Reported by and diff from Remco <remco at d-compu.dyndns.org>, thanks! Checked with kettenis@. ok kettenis
2009-02-15Properly send a request sense command if the command status asks for it.Miod Vallat
2009-02-15Sun's usage of the "banner-name" property is just too inconsistent to giveMark Kettenis
us a chance to parse it and generate strings for hw.product and hw.vendor. Use the "name" property instead. This should give us a better chance of booting on UltraSPARC T2+ systems. ok deraadt@
2009-02-15copystr(), copyinstr() and copyoutstr() should all return ENAMETOOLONG ifJoel Sing
string length exceeds maxlength. ok miod@
2009-02-15attach the Intel WiFi Link 100 and 6000 Series (though no firmwareDamien Bergamini
is available yet.) branch the ampdu_{tx,rx}_{start,stop} callbacks too. remove code that is only needed for evaluation/test boards.
2009-02-15make "ifconfig if0 chan" list the channels supported by the device.Damien Bergamini
add "ifconfig if0 scan" to scan for access points or to list known stations in Host AP mode. remove the [-]wmm command while i'm here. QoS is mandatory with 802.11n so there's not much point into making it an option. fix parsing of the "powersave" command too. discussed with deraadt@ man page hints from jmc@ display hints from sobrado@ "i like it" cnst@, grange@
2009-02-15Add cvs tagMarco Peereboom
2009-02-15Add sleep plumbing code for amd64 making it the sameish as i386. CommittingMarco Peereboom
per mlarkin request. Code from mlarkin, mptramp code from kurt Lots of comments weingart, art & others Tested in snaps for weeks ok kurt, marco
2009-02-15regenJonathan Gray
2009-02-15Radeon HD 3100/3300 and Intel X58 ids.Jonathan Gray
2009-02-15avoid possibly using an uninitialized variable.Jacob Meuser
problem found by chl@, fix tested by jasper@.
2009-02-14this was not even test compiled without VLAN supportTheo de Raadt
2009-02-14remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok fgsch@ krw@
2009-02-14Make spstrcpy() return ENAMETOOLONG if the string being copied is too long.Mark Kettenis
ok miod@
2009-02-14Limit the amount of physical memory to 2GB. Using more causes memoryMark Kettenis
corruption on PA-RISC 2.0 systems (and there are very few PA-RISC 1.1 systems that support more than 2GB). ok miod@
2009-02-14Fix logic error in copyinstr() when deciding whether to return EFAULTMiod Vallat
or ENAMETOOLONG.
2009-02-14Sync device lists with GENERIC.Miod Vallat
2009-02-14Add vsbic(4), a drive for the MVME327A SCSI and floppy controller, only forMiod Vallat
the SCSI part so far.
2009-02-14Fix a few defines.Miod Vallat
2009-02-14enable Attansic L1 Ethernet (age/atphy)Kevin Lo
ok deraadt@
2009-02-14Don't call cpu_setup() twice on non-MULTIPROCESSOR kernels. Fixes problemsMark Kettenis
with longrun on the Transmeta Crusoe. tested by ian@, grange@ ok hshoexer@, weingart@
2009-02-13Use a different dispatcher for the NMI traps on 88110, these are tooMiod Vallat
different from regular hardware interrupts to be worth handling the same way. Disable IPI reception while we are handling pending IPIs. And do not reenable them by mistake if we need to send an IPI in return. This lets GENERIC.MP boot single user on a MVME197DP. There are still many bugs to fix.
2009-02-13Release the secondary processor initialization interlock a bit later,Miod Vallat
after the currently running processor has advertized itself as ready.
2009-02-13Allow IPIs on the secondary processors later in the bootstrap process, whenMiod Vallat
we are sure the NMI stack exists.
2009-02-13When switching processes, do not reenable interrupts until pmap_activate()Miod Vallat
has been invoked on the new process.
2009-02-13Provide a specific delay() routine using separate timers for the two cpusMiod Vallat
on MVME197DP boards running the MP kernel.
2009-02-13Make delay() a per-board function pointer.Miod Vallat
2009-02-13missing braces; ok marcoStuart Henderson
2009-02-13Make "boot -d" work on amd64 MP.Andreas Gunnarsson
Prodded by oga@ (a long time ago) and mikeb@ Also ok by kettenis@ and grange@
2009-02-13use nitems(); dunnoseriously@gmailTheo de Raadt