summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-04-25add basic support for Envy24HT chips and for ``ESI Juli@''Alexandre Ratchov
cards using it. No mixer yet. ok jakemsr@
2009-04-25start splitting the driver in two parts: one specific to theAlexandre Ratchov
generic Envy24 chip common to all cards and another part specific to the cards. This will ease adding support for other card models. ok jakemsr@
2009-04-25KNF and prettify some dmesg strings.Michael Knudsen
2009-04-25explicitely enable the "audio function" widget. it can be a validJacob Meuser
source or endpoint.
2009-04-25beep generators are input endpoints. but ther are not supposedJacob Meuser
to be listed in other widgets' connection lists. if a beep generator is found in another widget's connection list, treat it as a dead end.
2009-04-24Fix two issues with resource accounting:Mark Kettenis
1. Simba, the UltraSPARC-IIi Advanced PCI Bridge doesn't support the standard address range registers. Skip resource accounting on these devices for now. 2. Some machines (for example sparc64) actually implement a 32-bit I/O space, so start parsing the registers that gives us the upper 16 bits and make sure the extent covers the entire 32-bit address range.
2009-04-24No more static functions, comment cleanup, and general pedantry.Michael Knudsen
2009-04-24Make the names in the softc look more like our other drivers.Michael Knudsen
2009-04-24Damn. Forgot to add protos when destaticing functions.Michael Knudsen
2009-04-24Add berkwdt(4), a driver for Berkshire Products PCI PC Watchdog writtenMichael Knudsen
by Wim Van Sebroeck. Commented out in GENERIC but Heriberto Molina is getting devices for developers so we can maintain this more easily. Many thanks to both! Man page will follow later. ``don't hold back for man page'' deraadt
2009-04-24syncMichael Knudsen
2009-04-24Add product id for Berkshire Products PCI PC Watchdog.Michael Knudsen
2009-04-24remove no longer needed workaroundJacob Meuser
2009-04-24make sure the internal/fixed mic is connected to an adc by defaultJacob Meuser
2009-04-24the internal/fixed speaker is special. the dac it connects toJacob Meuser
by default might not be in a converter group. make sure such a dac is not disabled and gets a meaningful name.
2009-04-24use the direction/association/sequence ordered lists of i/o pins toJacob Meuser
create the converter group lists. start with converters that are connected to pins by default, then add converters that can be connected to pins.
2009-04-24drop _generic from azalia_generic_codec_fnode(). there will notJacob Meuser
be a non-generic version. move the prototype to azalia.h so it can also be used in azalia.c in the future.
2009-04-24create lists of analog and digital input and output pins. storeJacob Meuser
the pin nids, the default converter the pin connects to and the pin's priority. priority is based on the pin's default direction and the association and sequence numbers from the vendor. according to the hda spec, lower association/priority means higher priority. sort the list in order of highest to lowest priority.
2009-04-24- a function to check if a node is connected to a particular adc byJacob Meuser
default - a function to find the first adc in the adc list that a node is connected to - use these functions to find which adc the internal mic is connected to by default
2009-04-24after all widgets have been initialized, loop through all widgetsJacob Meuser
and do some further initialization and information gathering: - disable mixer and selector widgets that don't have any enabled connections - create lists of analog and digital input and output converters - find the internal/fixed connection microphone and speaker, and which converters they are connected to by default - create a list of jack sensing capable pins some of this was already being done in other places, but moved here for simplification/better organization
2009-04-24"selected" connections don't mean much for mixer widgets. allJacob Meuser
connections to a mixer widget are enabled and unmuted by default. when finding a default connection through a mixer, check all connections, not just the "selected" connection.
2009-04-24Switch ix over to em flavoured MCLGETI.Jonathan Gray
Initial diff from reyk with a bunch of critical fixes from me. ok reyk@, 'put it in when you're confident with it' dlg@ on an earlier rev.
2009-04-24Add support for ICH10 SATA devices not operating in AHCI mode.Jonathan Gray
Tested by Christian Stuermer.
2009-04-23Clear IFF_RUNNING and IFF_OACTIVE flags and cancel watchdog timer inMark Kettenis
hme_stop(). From Brad.
2009-04-23Start using extended buffer descriptors on the jumbo ring and use MCLGETI toMark Kettenis
allocate mbufs for it. Another jumbo allocator bites the dust! ok dlg@
2009-04-22Start doing resource accounting on non-root PCI busses by populating theMark Kettenis
extents based on address range forwarded by the bridge as indicated by the limit registers. Remove the now redundant BAR initialization code for type 0 devices. ok oga@
2009-04-22sync to MECANIQUE change, and add a uftdi found there, spotted by Henrik ↵Theo de Raadt
Hellerstedt
2009-04-22vendor 0x1781 is MECANIQUE, or was, and now people who don't want to payTheo de Raadt
for an ID uses that space. It is better to name it by that name to be more clear what is going on. shrug. this story dug out by sthen
2009-04-22dont need to zero the tx pkt pool structure before initting it now thatDavid Gwynne
pool_init does its job properly.
2009-04-22remove a meaningless sensor.desc; ok deraadtConstantine A. Murenin
2009-04-22replace arrays of dmamaps and mbuf pointers used to manage packetsDavid Gwynne
on the tx rings (one mbuf ptr/dmamap array entry was created for every tx descriptor slot at attach time) with a dynamically grown list of mbuf pointers and dmamaps. bnx used to have 512 dmamaps/mbuf pointers for the tx ring, now my system is running with 8 under moderate load. the big bonus from this is that the dmamap handling is greatly simplified. reyk@ likes this a lot
2009-04-21Switch aps(4) to use timeout_add_msec() instead of timeout_add() with aMichael Knudsen
calculation of ticks. Saves 26 bytes. ok oga `fine' deraadt
2009-04-21tweak the whitespace in the softc a bit to make it easier to read.David Gwynne
2009-04-21syncTheo de Raadt
2009-04-21new ftdi; 8U232AM4; Takanori Watanabe spotted itTheo de Raadt
2009-04-20unbreak EHCI_DEBUG - usbd_dump_pipe() is only defined if USB_DEBUG isReyk Floeter
also true. no binary change without EHCI_DEBUG. ok jsg@
2009-04-20when transmitting packets, put the dmamap we used for the packet into theDavid Gwynne
last descriptor slot in the ring. the tx completion code expects the dmamap to be there so it can unload it. ok reyk@
2009-04-20fix dma map unmapping and unloading in the tx cleanup path.Reyk Floeter
ok dlg@
2009-04-20Don't map all agp memory we allocate.Owain Ainsworth
If we're just going to be making it available to userland (the X server), just use load_raw and make sure it's zeroed with BUS_DMA_ZERO. Should save $AMOUNT_BOUND_TO_GART kva. Most kernel users also write through the gart, so no mapping there either. tested by sthen and todd a while back.
2009-04-19zero temperature in acpi refers to -273,2degC -- convert to uK ↵Constantine A. Murenin
appropriately; ok deraadt marco
2009-04-19Call acpi_sleep_walk() when powering down just like when enteringKenneth R Westerback
any other sleep state. This tells acpi wake devices to not wake up the box until manual powering up resets their status. Makes my Dell GX520 stay powered off in response to 'halt -p'. In snaps for a while. ok marco@ (several times) deraadt@
2009-04-19calculate size correctly if PAGE_SIZE != ATI_PCIGART_PAGE_SIZE.Owain Ainsworth
from upstream a while back.
2009-04-19The G4X and GM45 just /had/ to have a different counter register.Owain Ainsworth
Been meaning to pull this in from upstream for ages.
2009-04-19Count number of cpus found (potentially not attached) and store thatTheo de Raadt
in sysctl hw.ncpufound; ok miod kettenis
2009-04-18Fix tyop.Michael Knudsen
ok mglocker
2009-04-17schsio_probe() reads the chip id to find out if we should attach or not.Michael Knudsen
schsio_attach() then later reads the chip id to print which device we found. I noticed that isa_attach_args has a field called ia_aux which can be used for driver specific stuff, so stuff the device id in there so we don't need to get the value from the chip again during attach.
2009-04-17Switch hme(4) over to using MCLGETI when allocating mbufs for the RX ring.Mark Kettenis
tested by okan@, sthen@
2009-04-17Add device ranking support for future sleep/wake developments.Paul Irofti
okay marco@
2009-04-16Change some parameter types from int to u_int8_t since theMichael Knudsen
bus_space_.. API uses that.
2009-04-15Remove some unused symbolic constants.Michael Knudsen