summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-03-01Add urndis(4), a driver for RNDIS Ethernet over USB.Michael Knudsen
It provides an Ethernet transport typically over EDGE or 3G on cellphones similar to what cdce(4) does on other phones. It is likely to work with most of HTC's recent and coming Android based phones but a bunch of other things (phones in particular) may use it. Started by me; brought to a working state by Jonathan Armani and Fabien Romano over the past week, with some input and additions from me. Tested on i386 and macppc by me (HTC Hero), amd64 by Jonathan and Fabien (HTC Hero), and by gilles@ (HTC Magic) on i386 or amd64. It still has a few kinks to work out, but it works well enough that I can commit this over my HTC Hero. `commit it!' deraadt
2010-03-01- properly spell 'exception' in commentsJasper Lievisse Adriaanse
- properly spell 'usefulness'
2010-03-01Set the user data of interrupt counters to the interrupt vector number usedMark Kettenis
for the interrupt. Makes the vmstat -i output similar to what we see on i386. ok deraadt@, krw@
2010-03-01shuffle slightly and add more splassert.David Gwynne
also protect the flushing of the deferred packet queue in clone_destroy with the right spls. noticed by claudio@
2010-03-01fix serial console switching logic; ok miod@ jasper@Otto Moerbeek
2010-03-01regenYojiro Uo
2010-03-01add uyurex(4) which is device driver for YUREX twitch counter device.Yojiro Uo
ok deraadt@
2010-03-01bring the splassert semantic from sparc64 to amd64. splassert in interruptDavid Gwynne
handlers now checks that the spl the isr was established at is the same as the one passed to splassert. this lets you check that isrs dont enter code that have insufficient protection if entered from process context. ok kettenis@
2010-02-28Attach the IR port as a second serial port on Fuloong 2F. Verified to attachMiod Vallat
and get interrupts by otto@, no further testing due to lack of IR devices.
2010-02-28Minimal frame buffer driver for the SiS 315 found on Lemote Fuloong systems.Miod Vallat
Currently unable to change video modes or provide any form of acceleration, so you are stuck in a 640x400x8 mode, but at least people scared of serial consoles will get a chance to use their Fuloongs now. Tested by otto@ (early developments) and jasper@ (final version)
2010-02-28In pci_mapreg_map(), do not blindly dereference a possible NULL pointerMiod Vallat
upon stumbling on a BAR which value is zero. Found the hard way by kurt@, ok kettenis@
2010-02-28A better bus_space_map() function for bonito PCI memory space, which noMiod Vallat
longers assumes all requested mappings fit in the three 64MB PCILO windows, but will instead check whether the requested mappings can be provided by PCILO regions or PCIHI regions (and on 2F-based systems, making sure we only use addresses which get properly routed from CPU to PCI within the 2F crossbar). This in turn requires early console code to abide the bus_space rules and get its resources from bus_space_map() rather than doing PCI BAR arithmetic by itself. No functional change on Lemote Yeeloong and Gdium Liberty; on Lemote Fuloong 2F this allows BAR set up in PCIHI space by PMON to be mapped by kernel code without having to compensate for the PCILO offset.
2010-02-28If no TOC header is read, report EIO. Even if the command finishedKenneth R Westerback
ok. Stops cdio(1) from printing bogus TOC info. ok marco@ beck@
2010-02-28Fix off-by-one in LOMlite hostname code.Mark Kettenis
2010-02-28enable mpiiJonathan Gray
ok marco deraadt
2010-02-28Pass L2 cache size in struct cpu_hwinfo, so that bootstrap of secondaryMiod Vallat
processors can display correct data. Now cpu1 on octane is correctly reported in dmesg.
2010-02-28Add a bell routine and let pckbd and ukbd use it; ok otto@Miod Vallat
2010-02-28Remove leftover debug printf in config_activate_children(); ok deraadtMiod Vallat
2010-02-28Add an explicit `delay constant' member to struct cpu_info, so that it canMiod Vallat
be decoupled from the nominal processor speed. While there, make sure delay() gets a proper delay constant if invoked before cpu0 attaches (how could I miss that when introducing struct cpu_hwinfo?!?)
2010-02-28implement hw.cpuspeed sysctl; ok miod@Otto Moerbeek
2010-02-28Bring battery life estimate when charging in line with most other apm(4)Otto Moerbeek
devices. Original code was inspired by/copied/stolen from the macppc apm(4), which has different semantics for battery life while charging.
2010-02-28don't guess info in the absense of a specific driver, just reportOtto Moerbeek
"we dont' know"
2010-02-28Basic apm(4), providing battery/power status and events. apm(4) is theOtto Moerbeek
generic part, ykbec(4) provides the device specific parts. Other battery/power status drivers can easily hook to adb(4). With help from miod@; ok matthieu@ miod@ jasper@
2010-02-27Remove ELF check. It is broken and since the PROM checks the loaded executableMark Kettenis
anyway, it's not worth fixing. Bump version number. ok deraadt@
2010-02-27regenRobert Nagy
2010-02-27add Radeon HD4890 from Tero KoskinenRobert Nagy
2010-02-27Fix multicast handling. All Atheros controllers use big-endian formKevin Lo
when computing multicast hash. From Brad via FreeBSD
2010-02-27Eliminate double call to scsi_done() when polling.Kenneth R Westerback
Reported by and fix tested by peters at schwertfische dot de.
2010-02-27Don't print sense info for ioctl's. Let the userland program decideKenneth R Westerback
what to tell the user. Silences cdio and cdrecord while probing media. ok dlg@ marco@ deraadt@
2010-02-26when we build a vendor label for writing, clear the memory supplied by theTheo de Raadt
buffer cache first, so that all sorts of gibble doesn't end up on the disk. ok kettenis (for the sparc/sparc64 ones, at least)
2010-02-26crank version of the ofwboot, so we can tell which is whichTheo de Raadt
2010-02-26- remove double cvs id'sJasper Lievisse Adriaanse
2010-02-26- this device doesn't provide volume control, so stop whining about it. it's ↵Jasper Lievisse Adriaanse
just not there. ok jakemsr@ drahn@
2010-02-26Back out the last commit. Bizzarely, that extra l@ makes boong from CD fail!Theo de Raadt
Why this code, which must be executed, is not failing on disk is an utter mystery. More investigation needed.
2010-02-26initialise 's' before first use in the unlikely error path; from cnstTheo de Raadt
2010-02-26Subdevice interrupt dispatcher for voyager(4) and ohci@voyager device, onlyMiod Vallat
allowed to match on old gdium artwork, as newer artwork have nothing connected to the usb pins, and this causes the empty bus probe to stall the boot a few seconds.
2010-02-26regenRobert Nagy
2010-02-26Add Ricoh SD/MMC found in the Dell Studio 1557Robert Nagy
ok deraadt@
2010-02-25Fix up some of the comments to use the correctAlexandre Ratchov
capitilization for names. from brad, thanks!
2010-02-25Add VT1617 codec ID used in VIA Tremor 5.1 cards,Alexandre Ratchov
from Alexandr Shadchin <alexandr.shadchin at gmail.com>, thanks!
2010-02-25Remove trailing spaces,Alexandre Ratchov
from Alexandr Shadchin <alexandr.shadchin at gmail.com>, thanks!
2010-02-25fix two comments that i forgot when the SA query transaction identifierDamien Bergamini
changed from 16 bytes to 2 bytes. no binary change
2010-02-25new run(4) idsDamien Bergamini
2010-02-25new run(4) idsDamien Bergamini
from Windows driver via http://www.wikidrivers.com/wiki/Ralink_RT2870
2010-02-25Add support for the 82599 ExpressModule (X520-P2) card.Jonathan Gray
2010-02-25regenJonathan Gray
2010-02-25add product id for 82599 ExpressModule found in the Linux driver.Jonathan Gray
2010-02-25- endianness fixes in then bioctl code;Marco Peereboom
- recognize additional volume and drive states; - make use of the disk vendor_id as it makes sense for sas drives; - fixup offline_reason definitions; - bring back nitems that was removed unintentionaly; - remove unused mpii_get_raid_config_pg0. from <mkb@crypt.org.ru>
2010-02-24Update comments: the bit we flip in ISR4C on LS2F systems is not undocumented,Miod Vallat
but documentation for it only exists in Chinese. I still don't have the slightest idea why flipping it is important, but I am more confident flipping it now (-:
2010-02-24Minimal support for the ST7 chip found on Gdium Liberty, brings us batteryMiod Vallat
information and a few other things not yet wired.