summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2009-02-13syncTheo de Raadt
2009-02-13some devices; Mikko TolmunenTheo de Raadt
2009-02-13When faking scsi commands never copy more than xs->datalen bytes.Alexander Yurchenko
2009-02-13Change ifconfig wpaakms default setting to `psk' instead of `psk,802.1x'.Damien Bergamini
Some supplicants will autoselect 802.1X without giving users the possibility to choose between PSK or 802.1X. Similarly, no longer announce `PSK with SHA-256 based KDF' AKMP (defined in Draft 802.11w) by default in the RSN IE of beacons and probe responses as it confuses some broken supplicants. This kind of sacrifies security for interoperability with shitty (but unfortunately widespread) clients that do not follow the 802.11 standard properly. This fixes associations from Intel PROSet on XP and also reportedly fixes some Mac OS clients. I will likely make `psk-sha256' configurable through ifconfig wpaakms after the 4.5 release.
2009-02-12Change microcode loaded messages to debug, this was printedJonathan Gray
after every suspend/resume cycle filling up the dmesg buffer with the same message over and over again. ok oga@
2009-02-12BPP routines for ``intelligent'' Motorola MVME boards. Currently not usedMiod Vallat
by anything, will eventually be used by the vx(4) MVME332 driver (once I take the time to fix it) and the vsbic(4) MVME327 driver being worked on.
2009-02-12Add a pm_statistics struct to all pmap, and keep track of residentMiod Vallat
pages. Use this to provide a real pmap_resident_count() function. ok kettenis@
2009-02-12Keep track of resident pages in pm_stats, and use this to implement a realMiod Vallat
pmap_resident_count(). From NetBSD
2009-02-12Fix typo; wClockFrequency -> dwClockFrequency.Marcus Glocker
From Kenji Aoyama
2009-02-12don't access undocumented register 0x82 for <= MAC06, since newerMartynas Venckus
realteks start to behave badly if we do. this should fix the widely reported re(4) issue. makes my RTL8101E usable, fixes Thomas' RTL8168C, and PR6023. tested by many this is a more conservative version of my diff from kettenis@ (does not clear PHY register 0x0b) ok kettenis@