summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-08-12Add new accelerated driver for SPX graphics found in some VAXstations,hans
remove old broken lcspx driver. This is a bugfixed and refactored version of the spx driver originally developed by Blaz Antonic in 2005. OK'ed by mhitch.
2008-08-12fix an off-by-one in isochronous interval check, and streamline somedrochner
frame / microframe calculation, avoiding overestimation of frames needed, reviewed by Jared D. McNeill
2008-08-12fix an inconsistency in a check for invalid configuration index vs. value;drochner
noticed by Frank Wille in PR kern/39211, but unrelated to the problem described (The check can practically never be hit.)
2008-08-12Deny read/write access to snapshot vnodes. We use fss(4) to read fromhannken
snapshots. With this policy in place: - Separate the snapshot vnode lock from the snapshot common lock. Snapshots no longer need recursive vnode locks. - Use a mutex (si_snaplock) to serialize creation, deletion, reading and writing of snapshots. - Move ffs_read() for snapshots into ffs_snapshot.c. Reviewed by: Jason Thorpe <thorpej@netbsd.org> While here change ffs_copyonwrite() to fail requests from pagedaemon that need to copy-on-write.
2008-08-11Add polling support to ld_twe_flush().simonb
Fixes the "cpu_switcho: switching above IPL_SCHED" panic for ld@twe disks on shutdown in kern/38655.
2008-08-11Add a flags argument to the ld(4) flush handlers, and call these with asimonb
"poll" flag when called from ld_shutdown(). This is the infrastructure part of kern/38655 - in itself it doesn't fix the panic referenced in that PR. XXX: At least ld_twa.c and perhaps ld_iop.c and ld_icp.c need to check for this new poll flag and do something useful.
2008-08-08KASSERT works better with == instead of =pooka
2008-08-06remove a KASSERT which is wrong since audio(4)'s device/softc were splitdrochner
2008-08-06Identify the O2 Micro OZ711E0 and treat it the same as all of thedyoung
other O2 Micro bridges, which seem to spuriously report bus errors if parity-error detection is enabled.
2008-08-06Regen.dyoung
2008-08-06Define O2 Micro OZ711E0. From OpenBSD.dyoung
2008-08-06Convert socket options code to use a sockopt structureplunky
instead of laying everything into an mbuf. approved by core
2008-08-03make i386 ALL kernel compilecegger
2008-08-03Allow using VGA_POST without ACPI again.joerg
2008-08-02High speed isochronous transfer support, from Jeremy Morse as part ofjmcneill
Google Summer of Code 2008.
2008-08-02Update copyright.jmcneill
2008-08-02High speed isochronous support, from Jeremy Morse as part of Googlejmcneill
Summer of Code 2008.
2008-08-01fix incomplete device_t-ificationmacallan
Now it works again.
2008-08-01Increase delay after channel reset from 100ms to 500ms, suggested by bouyer.dillo
Fixes unreliable drive detection on NVIDIA MCP67.
2008-08-01Force ahcisata to attach to NVIDIA MCP65 and MCP67, as they don'tdillo
work with viaide. Reviewed by bouyer.
2008-08-01Destroy our mutex on detach in order to avoidws
an "allocation contains active lock" panic when halting a LOCKDEBUG kernel.
2008-07-31-ubsa needs to be attached as whole device on USB, because it setsdrochner
the configuration. The match/attach code was assuming whole-device attach args all the time. -Use the first (ie index 0) configuration for ubsa -- it makes the code work in at least one case (PR kern/39211 by Frank Wille), and there is no indication that an alternative configuration would be needed. (I've admittedly never seen a usb device with more than one configuration.) This fixes mistakes when uhmodem support was added, and the changes were not tested with a Huawei device yet. So please test if you can.
2008-07-31machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do ajoerg
POST when options VGA_POST is present.
2008-07-31Calling fxp_init within the interrupt handler results inws
a hang (continuous assertion of FXP_SCB_STATACK_RNR). Instead do it in the ioctl routine after receiving a signal from the interrupt handler.
2008-07-29Regen.tron
2008-07-29Add nVidia GeForce 7300 LE.tron
2008-07-29fix typo.christos
2008-07-28just whitespace fixes.christos
2008-07-28fix type punned warnings.christos
2008-07-28lint wins again :-) From Anon Ymous:christos
- fix a mis-placed parenthesis. - fix assignment to the wrong variable.
2008-07-28-in usbd_probe_and_attach(), split out the code for per-device anddrochner
per-interface attachment into individual functions, to ease maintainance and allow easier plugin of new attachment functions -keep a counter of USB interfaces in use on a device, and try to keep track of interfaces claimed by drivers behind the framework's back
2008-07-28add missing device_private(), fixes crash in interrupt handlerdrochner
2008-07-28Don't pmf_device_deregister() if it was not registered, which happensdrochner
if attach() encountered an error before. In contrast, such a protection should not be needed for the register() call, so remove it there.
2008-07-28Clarify some printfs in error cases so we at least know what subsystemjmcneill
reported them.
2008-07-27Unbreak twa after the last two commits.joerg
2008-07-26remove comment that is no longer trueplunky
2008-07-26make sure we write little endian. From Anon Ymouschristos
2008-07-25Add {} around VLAN_INPUT_TAG() - VLAN_INPUT_TAG() can't be a do ... while (0).dsl
2008-07-25Replace a 'do { ... } while (0);' with 'for (;;) { ... break; }'dsl
so that the 'continue' has the (probably) desired effect.
2008-07-24* Add the BSS node during the auth phase so negotiation can occurblymn
* Make the adding of a node into a function instead of duplicating code
2008-07-24Add support for Broadcom 5722 and identify 5755 ASICs.sborrill
2008-07-22Add pci_mapreg_submap(): This function is pci_mapreg_map() with twobjs
additional arguments, offset and maxsize. This new functionality eases handling certain tasks within the direct rendering manager, though I hope others will also find it useful. pci_mapreg_map() is now merely a wrapper around pci_mapreg_submap(); the latter contains all of the code from the former. ok christos@
2008-07-21Express explicitly that VGA_POST needs X86EMU.joerg
2008-07-21Repeat after me: do not pollute sys with #ifdef _RUMPKERNELpooka
2008-07-21don't include i82365var.h, fixes build error, from Robert Swindellsdrochner
2008-07-19buf_destroy() an embedded buffer before returning memory to poolkardel
issue detected by LOCKDEBUG panicing about "allocation contains active lock"
2008-07-19support new drm.mrg
XXX: not fully enabled yet. config(1) has a makeoptions bug with complex conditionals. see files.drm / files.pcidrm for some instructions on how to enable it.
2008-07-16split device/softc for sd (tested with a USB stick)drochner
2008-07-16split device/softc for scsibusdrochner
2008-07-16Don't ignore poor retarded ubt(4) devices which have vendor and product idtonnerre
== 0. Discovered by mballmer@obsd, ok'd by plucky@.