summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-30KNF, No functional change,Gordon Willem Klok
"go at it" marco@
2006-06-30htonq() is not used, at allTheo de Raadt
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Make routines which may set PSL_IOPL consistent wrt the securelevel forMiod Vallat
which this is allowed; ok deraadt@
2006-06-30Unbreak the tree; cast the result of sizeof() to u_int32_t before passing itMark Kettenis
to htole32(). "go for it" miod@
2006-06-30fix comment, pointed out by kettenisTheo de Raadt
2006-06-30do not master enable, already done elsewhereTheo de Raadt
2006-06-30do not bother playing tag with the PCI_COMMAND_STATUS_REGTheo de Raadt
2006-06-30Old typos bite the dust.Miod Vallat
2006-06-30When allocating the default rasops attribute, it is not necessary to useMiod Vallat
non-zero parameters on a color display as long as we want white on black; this was inherited from sparc but this is not necessary on these platforms.
2006-06-30Shrink internal iomap to 256KB, it's enough for all the mappings we'll needMiod Vallat
in it.
2006-06-30On OSS systems (IIfx), compute addresses relative to VIA2 rather than VIA1,Miod Vallat
it's simpler.
2006-06-30newer alc codecs have revision in the low bits; pt out by jasperMichael Shalayeff
2006-06-30tabs, not spacesDavid Gwynne
2006-06-30Shrink dmesg output, use ether_sprintf() to print MAC address.Jonathan Gray
2006-06-30add mpi_inq. this is a custom io function that does an inquiry againstDavid Gwynne
either a normal target, or against a physical disk using the raid passthru command. it is necessary since the normal io path can only be used by the midlayer, and only against normal targets. this will be used for ppr against the disks in raid volumes on scsi controllers. tested by marco@
2006-06-30- add a disable argument for re_stop.Brad Smith
- call mii_down in re_stop.
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.