summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-06-26Since we're not ifdefed anymore, changeOwain Ainsworth
drm_{open,close,poll,read,mmap,ioctl} into the form that cdev_decl() likes, and nuke the #defines.
2008-06-26Kill the ifdefs in drmP.h too, it's meant to be os specific.Owain Ainsworth
While i'm here cleanup some duplicated #includes and reorder slightly.
2008-06-26Kill drm_sysctl.c and all references to it.Owain Ainsworth
All the code was ifdefed out anyway and it wasn't really useful.
2008-06-26Kill the rest of the ifdef maze in drm_*.cOwain Ainsworth
I was going to do this per file, but decided all it would achieve was artificially increasing my commit count. >Kill the ifdef maze. I've been considering doing this for months, it >doesn't make getting changes to and from upstream much easier, and just >makes the code hard to read.
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26Kill the ifdef maze. I've been considering doing this for months, itOwain Ainsworth
doesn't make getting changes to and from upstream much easier, and just makes the code hard to read.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26Fix sticky-address on rdr; With the current nat code, we always use the sameRyan Thomas McBride
address in the NATed state key for translation regardless of direction. Report and testing by david@
2008-06-26Typo, CMD -> AMDBrad Smith
2008-06-25Move .rodata 512KB further, since kernels will soon reach the address .rodataMiod Vallat
is currently linked at. This should eventually be replaced with a proper alignment construct in the ld script, but it's too hot and too late to do this correctly and I need a kernel that links (containing stuff to reach a cvs tree near you reasonably soon).
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25do not print scsi id, since scsibus does that now; ok krwTheo de Raadt
2008-06-25use pools for the uio and iovec allocations in sr_crypto_getcryptop()Thordur I. Bjornsson
instead of malloc; OK hshoexer@ and macro@
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@
2008-06-25auglx(4) is an audio(4) driver for the AC'97 audio codec found onMarc Balmer
some AMD Geode LX systems with CS5536 companion chip. It works similar to auich(4) and auixp(4), but the hardware dependent parts are quite different. Tested with various PC-Engines ALIX boards (1B, 3C3) and a WebDT 186 board. feedback many, ok deraadt & jmc (documentation)
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@
2008-06-25Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,Todd C. Miller
and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@
2008-06-25implement automatic time-based rekeying (every 10 minutes); ok deraadt@Damien Miller
2008-06-24Fixed a problem that would cause errors (especially when in low memoryBrad Smith
systems) because the RX chain was corrupted when an mbuf was mapped to an unexpected number of buffers. From davidch@FreeBSD
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-24Thinkpad -> ThinkPadIgor Sobrado
2008-06-24regenBrad Smith
2008-06-24- Rename the QuickCam Sphere AF to Orbit since the other Orbit MPBrad Smith
entries also share the same id between Orbit MP and Sphere MP models. - Fix the naming of the second QuickCam Orbit MP entry.
2008-06-23Don't bzero() the USB buffer before every xfer. This was just for debugMarcus Glocker
purposes.
2008-06-23amd64s bus_dma internals use a pointer to a lastaddr variable to keepDavid Gwynne
track of where it was up to when building dmamaps. that lastaddr variable is not initialised every time you start to load a dmamap, so it was using random stack garbage as state when first writing the sg list. fortunately the way it was used meant it was extremely unlikely to cause a problem, but why allow even that possibility? this inits lastaddr to 0 in all the callers of load_buffer. ok miod@
2008-06-22Remove the QuickCam Pro 5000 from the quirks list now that thereBrad Smith
is a UVC driver. ok robert@
2008-06-22regenBrad Smith
2008-06-22Add a few more QuickCam cams and touch up some of the existing entries.Brad Smith
2008-06-22Update watchdog timer code from DragonFly.Brad Smith
From sephe@DragonFly ok mglocker@
2008-06-22Like alpha, db_stack_dump() on mips and sh needs complete frame informationMiod Vallat
and can not work from a stack address only. Mention this and abort instead of printing a wrong trace. (prefer kern.splassert=3 to =2 on these platforms)
2008-06-22If no frame gets queue for a certain time, return EINVAL to the userlandMarcus Glocker
application which will cause it to exit instead let it stuck forever.
2008-06-22correct function names on some debug and panics.Federico G. Schwindt
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,Kenneth R Westerback
all defined to 4. Replace some magic number 4's with SCSI_RETRIES. Fix a few lines that were now too long.
2008-06-22remove MALLOC and FREE macros, as they are no more used in the tree.Charles Longeau
tested on non i386/amd64 archs by miod. ok miod@
2008-06-22One last forgotten FREE().Miod Vallat
2008-06-22Revert 1.203; it's not safe to blindly walk the tailq instead of the rbtreeRyan Thomas McBride
for picking states to unlink as the tailq may contain unlinked states.
2008-06-21print vendor and product in hexa on debug.Federico G. Schwindt
2008-06-21print the correct function name.Federico G. Schwindt
2008-06-21Oops. Forgot to actually change the retries in scsi_size() to SCSI_RETRIES.Kenneth R Westerback
2008-06-21regenBrad Smith
2008-06-21add Marvell Yukon PCI id for the 88E8040T chipset.Brad Smith
From Linux sky2/Marvell sk98lin drivers.
2008-06-21fgsch@ points out my last commit changed the retry limit for CD capacityKenneth R Westerback
commands. Bump limit back to the standard 4, and at the same time eliminate SDRETRIES and CDRETRIES (both defined to 4) in favour of a new define, SCSI_RETRIES, also defined to 4.
2008-06-21Eliminate cd_size() and use scsi_size() + tweaked cd_get_params()Kenneth R Westerback
instead. We do not make use of the PMI and RELADDR bits in the READ CAPACITY command, and thus there is no difference between cd and sd capacity handling. Brings cd and sd more into line, shrinks code and makes things easier to understand. Make types for blocksize and disksize consistant and MI. Make cdopen() as silent as sdopen(). ok marco@
2008-06-21fix probable cut and paste error when for the virtual QH link.Federico G. Schwindt
from netbsd via dragonfly. pointed by theo. ok by many.
2008-06-21Only do state key linking on the outbound path.Ryan Thomas McBride
Fixes stateful filtering on enc0. Problem report, testing, and ok david@
2008-06-20Another uchcom product found in the Linux driver.Jonathan Gray
2008-06-20regenJonathan Gray
2008-06-20Another uchcom product found in the Linux driver.Jonathan Gray
2008-06-20Re-enable amdmsr(4) now that it properly checks for AMD Geode LX CPU andMarc Balmer
the presence of the graphics processor. ok deraadt
2008-06-19comment out the com4 because -- even when disabled -- it shuffles all theTheo de Raadt
other com port numbers and is really really hard to diagnose. spotted by sthen