summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-30Some machines lack the virtual-dma property. In that case, go backTheo de Raadt
to the 128KB assumption, until we find out another way to determine the space. Damn.
2006-06-30Support for calling Embedded Controller via new GPE interfaceJordan Hargrave
ok marco@
2006-06-30Added new code for GPE handlingJordan Hargrave
Also works with ACPIEC; need to fixup acpiec.c to remove original interrupt handler ok marco@
2006-06-30Added offset argument for acpi read/write pmreg routines (new GPE code)Jordan Hargrave
ok marco@
2006-06-29two typecasts which make lint warn a lot less; ok kettenisTheo de Raadt
otto went further, and verified that the operation is exactly the same in C, and that it is currently only our lint that is being a whiner -- but it is a loud enough whine that we should silence it
2006-06-29simplify the PCI match routine a bit.Brad Smith
ok dlg@
2006-06-29we dont have to beat mpt to attach to this hardware anymore.David Gwynne
2006-06-29remove mpt. it has since been replaced with mpi, which is a smaller andDavid Gwynne
cleaner driver that supports more hardware.
2006-06-29do not check for master/io/mem enablesTheo de Raadt
2006-06-29no need to check io/mem enables before calling pci_mapreg_map()Theo de Raadt
2006-06-29do not check for master/io/mem enables; ok kettenisTheo de Raadt
2006-06-29Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breakingMark Kettenis
it again. ok miod@, jason@
2006-06-29Finally fix the EEPROM reading code so that we can access the EEPROMs on allBrad Smith
devices. In order to access the EEPROM, we must select 'EEPROM programming' mode, and then set the EEPROM chip select bit. Previously, we were setting both bits simultaneously, which doesn't work: they must be set in the right sequence. Always obtain the station address from the EEPROM, now that EEPROM reading works correctly. Have re_tick() check for link state and set rl_link appropriately, if there is a link then also check if the send queue is empty and if not then try to send any queued packets. Have re_start() check for the lack of link state or if OACTIVE is set, if so then return. From FreeBSD
2006-06-29Normalize the correction passed to adjtime(2) before using it in theMark Kettenis
__HAVE_TIMECOUNTER case. ok otto@
2006-06-29regenBrad Smith
2006-06-29add the Intel IOP331 PCIX-PCIX bridge and fix the existing IOP331 entriesBrad Smith
as they are really the IOP332 PCIE-PCIX bridges.
2006-06-29add support for NVIDIA MCP51 and MCP55 SMbus controllers.Brad Smith
Info about the new BAR locations on the Linux lm-sensors list via jsg@ ok dlg@
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29If invoking mapdev() with a non-aligned pa, make sure we allocate enough pagesMiod Vallat
if we cross a page boundary; really only necessary for some sun4 tricky attachments, no functional change.
2006-06-29Map the correct size for the colormap registers (not that it really mattersMiod Vallat
since this is rounded up one page).
2006-06-29fallout from previous: remmapping anonymous memory did not account dsize ↵Michael Shalayeff
proper; found by krause and mmap_fixed
2006-06-29Move register value pair table definitions into if_zydreg.hJonathan Gray
and move declarations of the big ones to get them off the limited amount of stack we get to play with in kernel land. Discussed with Florian, ok reyk@ xsa@
2006-06-29split some fields up in the spi port and dev config pages. makes the pprDavid Gwynne
code easier since we dont have to byteswap and shift stuff around so much. no functional change though.
2006-06-29make compile w/ debug; from danielcavanagh@aanet.com.auMichael Shalayeff
2006-06-29tweak to make this easier for me to readDavid Gwynne
2006-06-29theres a ton of 32bit fields in mpi messages that have subfields that lieDavid Gwynne
on byte boundaries. so rather than byteswappping and bitshifting the values in these subfields around we can break them up into byte fields and access them directly. this breaks up the control field in the scsi io command.
2006-06-29oops, fix the order of the configuration fields in mpi_cfg_spi_port_pg1David Gwynne
2006-06-29regenBrad Smith
2006-06-29add a few ALi devices.Brad Smith
2006-06-29do not return from the reset function if there was a timeoutBrad Smith
with the firmware.
2006-06-29- Assign RCAs beginning at 1 since 0 is used to deselect all cards.Uwe Stuehler
- Always set the "SDIO function 0" pointer to something, even if it is a memory-only card to avoid further special cases in SDIO drivers.
2006-06-29Oops! Clear the "function 0" pointer when the card goes away.Uwe Stuehler
2006-06-29Thanks to ian@ who experimented a lot with his TI PCI7621 SDHC, we knowUwe Stuehler
that the controller "kind-of" works, but it does not indicate completion of the host controller reset. Thus we cannot know whether the reset was successful or not, so don't return an error if the reset timed out.
2006-06-29Read the "slot info" PCI configuration register to find out how manyUwe Stuehler
SDHC slots there are and which BAR describes the first slot (64-bit BARs are not handled for now). This was needed for TI's PCI7621 SDHC so that we don't find slots which are not really there. Idea gleaned from Linux driver; tested with TI PCI7621 by ian@
2006-06-29try prom mapping first, then memory mapping, then io mapping.. this worksTheo de Raadt
on v210 and on netra t1 105, good sign it will work on others. mechanism pointed out by miod, tested by dlg and djm and I
2006-06-28cleanup dmesg logging for iommu goo, make it follow the standard formTheo de Raadt
2006-06-28look at "virtual-dma" property to decide where the iommu address spaceTheo de Raadt
is, instead of having iommu_init() decide
2006-06-28keep track of what is a schizo and what is tomatilloTheo de Raadt
2006-06-28Only set devvp->v_specmountpoint on successful mounts, Nicholas MarriottPedro Martelletto
2006-06-28from freebsd 1.179:Michael Shalayeff
When the softupdates worklist gets too long, threads that attempt to add more work are forced to process two worklist items first. However, processing an item may generate additional work, causing the unlucky thread to recursively process the worklist. Add a per-thread flag to detect this situation and avoid the recursion. This should fix the stack overflows that could occur while removing large directory trees. pedro@ tedu@ ok
2006-06-28No need to add function prototypes twice to a header file.Claudio Jeker
2006-06-28Another unused function bites the dust -- this time pflogrtrequest(). OK markus@Claudio Jeker
2006-06-28Kill unused encrtrequest(). OK markus@Claudio Jeker
2006-06-28+ firmload for rum and zyd devices; ok jsg@.Xavier Santolaria
2006-06-28rewrite how the sensors are created. previously they would wait for io toDavid Gwynne
be done on the logical disks so ami_scsi_cmd can stash the name of the device doing the io. we now walk the device tree after the logical disks are attached and use the names of ami's child devices. ok marco@
2006-06-28* azalia_pci_detach()Brad Smith
add some debug messages * azalia_codec_delete() fix a possible NULL dereference From kent NetBSD
2006-06-28put proto where it is because dlg says he is a dodoTheo de Raadt
2006-06-28Add a roothook so the firmware can load when the adapterJonathan Gray
is already inserted at boot time.
2006-06-28Leave usbd_add_drv_event() call till the end of the attach processJonathan Gray
to remove the possibility of things like panics due to unitialised timeouts when the usb task runs before we finish attaching.
2006-06-28Allow devices > revision 43.30 to attach.Jonathan Gray
Devices < 43.30 don't support all the used commands according to Florian.