summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-04-07Add Velleman K8055 USB experimenter kit (from Jens Teglhus Moller)Stuart Henderson
and Belkin F6C120 UPS, both UQ_BAD_HID.
2010-04-07syncStuart Henderson
2010-04-07Add Velleman K8055 USB experimenter kit (from Jens Teglhus Moller)Stuart Henderson
and Belkin F6C120 UPS.
2010-04-07Move UQ_BAD_HIDs together and line up columns better.Stuart Henderson
ok deraadt@, earlier version ok jasper@, feedback halex@
2010-04-07Move descriptive comments right onto the line with the definitionStuart Henderson
to ease grepping, rewording them slightly to mostly fit onto 1 line and to clarify UQ_EHCI_NEEDTO_DISOWN. ok deraadt@
2010-04-07Make intagp restore pgtbl_ctl and the scratch page to the gtt on resume.Owain Ainsworth
When we move more towards kms we'll need to save/restore what is bound to the aperture, but right now this is not needed (since we always unbind everything before we go down anyway). "can not hurt" deraadt@. tested by halex, deraadt and maybe some others.
2010-04-07Correctly initialize cursor attribute when this display is a console device;Miod Vallat
tested by marco@
2010-04-07If we have done a wsdisplay_suspend(), and ACPI decides it does not want toTheo de Raadt
suspend, we must roll back by calling wsdisplay_resume() or the virtual console switching will be locked forever ok oga
2010-04-07txq->lastds is only valid when txq is not empty.Damien Bergamini
Check for emptiness of the TX queue instead of lastds != NULL. I have a feeling this might fix the "device timeout" issues reported by Rivo Nurges on his AR5418 unveiled by athn.c r1.28 commit, though he is not around to confirm. This is a candidate for -stable.
2010-04-07update initvals and TX gains for AR9285 >=1.2Damien Bergamini
check result of carrier leakage calibration and redo calibration if needed add support for newer AR9285 chips (AR9285 XE 2.0). tested for non-regression on a DNXA-95 "Still seems to work here" kettenis@
2010-04-07Make suspend/resume work on MP machines (running an MP kernel). Joint workMark Kettenis
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@ ok marco@, deraadt@, pirofti@, mlarkin@
2010-04-06update a random sampling of drivers after the proc.h -> systm.h moveTed Unangst
2010-04-06move some of proc.h's greatest hits to systm.h, speeding up compiles.Ted Unangst
lots of build testing by deraadt, ok/feedback deraadt guenther kettenis
2010-04-06Implement functions to take away the secondary CPUs from the scheduler andMark Kettenis
give them back again, effectively stopping and starting these CPUs. Use the stop function in sys_reboot(). ok marco@, deraadt@
2010-04-06Correct setting the autoneg ticks for GigE PHY, corrects what mediaChristian Weisgerber
is presented for some of the Broadcom bge(4) FastE adapters. From Brad.
2010-04-06always enable both 2GHz and 5GHz LNAs regardless of the bandDamien Bergamini
we're using. fixes operation on some 5GHz channels (e.g 153). great thanks to Yao Zhao (dragonlinux at gmail dot com) for identifying the issue on run(4).
2010-04-06Split the device_register() code responsible for boot path recognition intoMiod Vallat
two distinct sets of routines: one for the ARCBios-compatible path used on non-KL systems (such as O2 and Octane), and one for the KL system using dksc() paths. When trying to match a dksc() path, walk the KL configuration of the whole system until the dksc controller is found; since the controller numbers are not assigned sequentially and contiguously, the old code would not work on complex systems (such as when booting from controller #6 when #3 to #5 are unaffected).
2010-04-06Obtain struct sgi_device_location for the console input and output devices,Miod Vallat
and compare against them when attaching potential console drivers, to figure out whether they indeed are acting are console devices or not.
2010-04-06Add more KL grovelling routines: one routine to enumerate on all nodes,Miod Vallat
and routines to turn a KL console and a KL component structs, respectively, into struct sgi_device_location for further device identification. XXX Due to the way PCI devices are numbered on PIC buses, this code is tainted XXX by knowledge about PIC widgets, to compensate. I have considered changing XXX xbridge(4) to have our PCI device numbering match KL on PIC-connected XXX devices, but I expect this to be even uglier. This is not settled yet.
2010-04-06Introduce struct sgi_device_location to carry enough information to uniquelyMiod Vallat
identify a given device by its physical connection, and add a lazy compare routine. This will be used shortly.
2010-04-06Provide WIDGET_ID_FOO() macros to extract parts of the ID register value,Miod Vallat
instead of duplicating tedious mask and shift constructs MAXINT times.
2010-04-06spacingTheo de Raadt
2010-04-06on devices that have a radio switch, check GPIO pin 2 and reportDamien Bergamini
that the radio is disabled with the same message as in other drivers. let initialization continue for the moment until i'm sure it is correct.
2010-04-06On RT3090 chips, read vendor RF settings from ROM and apply them.Damien Bergamini
2010-04-06Give rt3090_efuse_read_2() a chance to work by using the correct offset.Damien Bergamini
Found after jbg@ sent me a horrible dmesg.
2010-04-06A fix for the PCI-X check so that this is only tested on controllersChristian Weisgerber
that could be PCI-X. This bit is not valid for PCIe controllers. From Brad
2010-04-06Simple implementation of RFC4941, "Privacy Extensions for StatelessStefan Sperling
Address Autoconfiguration in IPv6". For those among us who are paranoid about broadcasting their MAC address to the IPv6 internet. Man page help from jmc, testing by weerd, arc4random API hints from djm. ok deraadt, claudio
2010-04-06add Intel 82801GR RAID.David Gwynne
2010-04-06sync againAlexander Hall
2010-04-06tweak previousAlexander Hall
noted by damien@
2010-04-06add BELKIN F5D8055V2Alexander Hall
ok deraadt@, damien@
2010-04-06syncAlexander Hall
2010-04-06ids for BELKIN F5D8055V2Alexander Hall
2010-04-06sparc64 has no boot(8) page; from Daniel DickmanJason McIntyre
2010-04-06se(4) now fits, for you sickos buying such strange hardwareTheo de Raadt
2010-04-06use SLISTs for managing the ccb free list rather than TAILQs.David Gwynne
2010-04-06modify siop to provide an iopool as a way for the midlayer to manageDavid Gwynne
access to its free ccbs. ok krw@ beck@ marco@ tested by beck@
2010-04-06modify mpi to provide an iopool as a way for the midlayer to manage accessDavid Gwynne
to its free ccbs. this allows the midlayer to schedule access to the bus in a roundrobin fashion for all consumers on the bus, including io from devices and even the internal mpi management commands used to poll the state of raid devices. the result is fairer sharing between disks on the bus and more reliable sensor updates. ok krw@ beck@ marco@ tested by beck@
2010-04-06cut sd over to using the new shiny scsi_xsh api. instead of pushing io ontoDavid Gwynne
the disk as soon as it gets any from the block layer, this now registers a callback for when a resource becomes available on the bus. ok krw@ beck@ marco@ tested by many including krw@ beck@ mk@ okan@ todd@
2010-04-06implement a new mechanism for allocating resources on the bus.David Gwynne
instead of optimistically trying to use a resource by executing an xs and then failing when there's no room for it, this puts things that want to use the hardware on a runqueue. as resources become available on the bus then consumers on the runqueue are popped off and guaranteed access to the resource. the resources are generally "ccbs" in adapter drivers, so this abstracts a way for the midlayer to get access to them into something called iopools. it also provides a callback api for consumers of resources to use: the scsi_ioh api for things that want direct access to the ccbs, and the scsi_xsh api for things that want to issue a scsi_xfer on the bus. these apis have been modelled on the timeout api. scsi_xs_get and therefore scsi_scs_cmd have been cut over to using these apis internally, so if they are allowed to sleep then can wait on the runqueue for a resource to become available and therefore guarantee that when executed on an adapter providing an iopool that they will succeed. ok krw@ beck@ marco@ tested by many including krw@ beck@ mk@ okan@ todd@
2010-04-05Make this work properly after the cpu_info indexing change.Mark Kettenis
tested by ratchov@
2010-04-05backout these two files i committed by accident.Damien Bergamini
2010-04-05Fix indentation.Mark Kettenis
2010-04-05fix regression on RT2860C introduced in previous commit.Damien Bergamini
2010-04-05Initial bits for >=RT3090 support.Damien Bergamini
Probably not functionnal yet (but test reports are welcome). Update microcode for RT2860 while I'm here (remember to run make && make install under sys/dev/microcode/ral/).
2010-04-05syncDamien Bergamini
2010-04-05new Ralink PCI IDsDamien Bergamini
2010-04-05Remove a useless usbd_get_interface_descriptor.Jonathan Armani
"iff you commit over the Hero" mk@
2010-04-05fill in the the lowest aligned logical block address field. itDavid Gwynne
indicates the LBA of the first logical block that is located at the beginning of a physical block implemented as best as i can by my understanding of the spec. not tested yet.
2010-04-05Be sure to preserve boot code load address and size information whenMiod Vallat
writing a new VID label.