summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-03-13Add two more SFSR bits found on UltraSPARC-III cpus.Mark Kettenis
2007-03-13Dangling includeMiod Vallat
2007-03-13regenRobert Nagy
2007-03-13Add ITM Touchscreen from Future Technology DevicesRobert Nagy
2007-03-13tlb shootdown in pmap_change_attrs was shooting the wrong va.Artur Grabowski
"yes man" mickey@ (I think that meant 'ok').
2007-03-13we need a resid tooDavid Gwynne
2007-03-13add timeouts on ata_xfersDavid Gwynne
2007-03-13Implement proper atomic.h for sparc64.Artur Grabowski
ok kettenis@
2007-03-13add quirk for Sony DSC-T10, which is UFI, not SCSI.Steven Mestdagh
help and ok krw@
2007-03-12In bcw_init() check for real revision numbers now and fix a wrongMarcus Glocker
register (typo).
2007-03-12better desiredvnodes not based on maxusers; pedro@ deraadt@ okMichael Shalayeff
2007-03-12Finish chip base initialization.Marcus Glocker
2007-03-12very ugly indentTheo de Raadt
2007-03-12add some HAL functions (again) inspired by the changes from theReyk Floeter
madwifi-old-openhal project. this was backed out the last time because it was too close to the release and i didn't respect the ABI/API lock.
2007-03-12do not use bcopy to set the mac address registers. this diff shouldReyk Floeter
fix the "hal" on big endian systems. thanks to the madwifi-old-openhal people
2007-03-12ata counts sectors from 1, scsi counts from 0. adjust the value in theDavid Gwynne
read capacity completion to compensate.
2007-03-12parse the ata_identify to get a more correct value for the capacity of theDavid Gwynne
disk.
2007-03-12finish teh ata_identify struct.David Gwynne
2007-03-12unlock tree, move on towards 4.1-currentTheo de Raadt
2007-03-08XXX commit a workaround (as found in a few other drivers) for theTheo de Raadt
divide by zero rate bug. Someone has to find the source of this bug one day; from jsg
2007-03-08XXX commit a workaround (as found in a few other drivers) for theTheo de Raadt
divide by zero rate bug. Someone has to find the source of this bug one day; from stephen@sock.org.uk, ok niallo
2007-03-07For unsupported (yet) Expert3D style frame buffers, attach pcons and attachMiod Vallat
a really dumb wsdisplay to pcons, so that wskbd/wsmouse input drivers can be used for input, and prom for output. This is a band-aid for the release, so that people with such frame buffers do not need to unplug them or switch to serial console to install OpenBSD. Probably not the best way to do this, but this one has a minimal footprint and no tentacles in wscons. ok deraadt@
2007-03-07Implement hardware interrupt handler. For now, detect command completionChristopher Pascoe
and shut down the controller upon error (no recovery).
2007-03-07Set ITSDONE otherwise the SCSI layer will sleep forever waiting for ourChristopher Pascoe
queued commands to be done.
2007-03-06Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you followMark Kettenis
the instructions in /usr/X11R6/README.
2007-03-06Three more Expert3D-like frame buffers we shouldn't attach to yet.Miod Vallat
2007-03-06Add missing splx in poll path.Christopher Pascoe
2007-03-06Update CCS macro to return the current command slot rather than just beingChristopher Pascoe
a mask. Fix some typos and try to keep functions in the same order as prototypes to make the code easier to navigate.
2007-03-06big changes to the completion path in ahci.cDavid Gwynne
- add a ccb_done member to the ahci_ccb, which points to a function that is used to complete the current xfer - ccbs no longer rely on an ata_xfer being provided for submission to work - ahci is stupid and has no way to telling you the difference between an empty command slot, and a completed command. we keep track of active commands with ap_active in ahci_port, so we dont try and complete commands we havent actually submitted - ahci_start simple submits a command to the hardware now - provide the start of an interrupt handler for each port (which is not yet called by the controllers interrupt handler) - provide an ahci_poll which is built on top of ahci_start and ahci_port_intr - remove the fake ata_xfers from the softreset path - on completion of an ahci command, sync the relevant dma memory - provide a completion path for ata_xfers which syncs the xfers buffer and calls the xfers completion handler in atascsi.c: - start defining the contents of the response to an ATA IDENTIFY command specific to SATA - implement the faking of scsi inquiries, so now you'll actually see a disk attach to ahci. - start implementing a fake scsi read capacity. it presents a fake geometry though, so dont get too excited when ahci magically makes your disk have a terabyte in size. lots of discussion, help, tweaks, and an ok from pascoe@
2007-03-06since we dont overwrite the dva of the cmd_table in the cmd_hdr now, weDavid Gwynne
dont have to carry the cmd_tables dva around in the ccb anymore.
2007-03-06dont do pointer maths with void *David Gwynne
2007-03-06Apply a SG segment size limit and remove the length check.Christopher Pascoe
2007-03-06No need to continually assign the control table addresses, provided we don'tChristopher Pascoe
ever zero out the whole command header. Also add some diagnostic checks to ensure we don't violate any of the controller's DMA address/size restrictions.
2007-03-06dlg@ advises that the bus_space operations will endian convert the DMA baseChristopher Pascoe
addresses for me when it writes to the registers. Don't swap them manually.
2007-03-06Make the 1:1 mapping of command slot to command header/table entriesChristopher Pascoe
explicit by including pointers to both of them in the ccb. Inspired by dlg@
2007-03-05Add pmap_prefer() for SH4, from NetBSD; ok drahn@Miod Vallat
2007-03-05Prevent a NULL pointer dereference in __pmap_kptp_lookup(); from NetBSDMiod Vallat
2007-03-05Lower the ipl to what it was at the time of the trap in general_exception,Miod Vallat
instead of remaining at splhigh; from NetBSD ok drahn@
2007-03-05Work around a virtual aliasing conflict issue. Basically allow multipleDale Rahn
readers but only one writer on a physical page. Not the most optimal, but has been tested. ok miod@
2007-03-05Add mmap for upa(4). Makes the X wsfb(4) driver actually work instead ofMark Kettenis
crashing the machine on UltraSPARC-III machines with creator(4) framebuffers. ok jason@, tsi@
2007-03-05proper check for [non]user returns to syscall gate page; found by miod@Michael Shalayeff
2007-03-05back out, reyk is not paying attentionTheo de Raadt
2007-03-05Add some HAL functions.Reyk Floeter
From madwifi-old-openhal via Nick Kossifidis (mickflemm at gmail dot com) Bump copyright while I'm here.
2007-03-05remove jumbo frame support by replacing MEXTALLOC with MCLGET, andReyk Floeter
simplify the VLAN code. this will close PR 5356 (system panics under high load). From claudio@ who is currently not around to commit this fix tested and ok by mcbride@, reyk@, todd@, Paul Hirsch, and brad
2007-03-05If tty-timestamping is requested, but no PPS signal is present, output aMarc Balmer
warning message and unconditionally set the sensor state to WARNING. discussed with otto, ckuethe; ok otto, "i like it" ckuethe
2007-03-05add a reminder about the extra attach functionDavid Gwynne
2007-03-05add space for a match and attach routine to the device list, so particularDavid Gwynne
controllers can specify extra code to run at match or attach time. use this on jmicron controllers to restrict attaching to ahci on pci function 0 (high functions are normal pciide style controllers), and to do the CCR tweaking to enable ahci.
2007-03-05Recognise ATAPI device signatures.Christopher Pascoe
2007-03-04Make sure a bpf device can only be opened once.Can Erkin Acar
Previously the descriptor was locked only after an interface is set, leading to a race condition. Reported by Jon Steel < jon.steel at esentire com > tested by otto@, looks correct deraadt@
2007-03-04Fix another panic in bcw_phy_init() for sparc64. Now firmware loadsMarcus Glocker
and radio initializes on sparc64, too.