summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-29dlg needs to learn grepTheo de Raadt
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-29- use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning)Jason Wright
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says ok kjell
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-29change bytes to kilobytes so i dont have to think about where megabytesDavid Gwynne
start.
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-29sort sections;Jason McIntyre
2006-06-29- special/node may be specified multiple times; from andracsJason McIntyre
- clean up DESCRIPTION somewhat feedback/ok otto ray
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-29mention the MCP51 and MCP55Brad Smith
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-29do not add an extra space; nwid and description come out wrongTodd T. Fries
fix as proposed by maja@, thanks!
2006-06-29fallout from previous: remmapping anonymous memory did not account dsize ↵Michael Shalayeff
proper; found by krause and mmap_fixed
2006-06-29A start at removing long Xr lists near the end. Almost all the thingsTheo de Raadt
have been mentioned up higher already, so the Xr list near the bottom was always getting out of date. It is just not realistic to expect that it could ever be kept up to date; ok jmc
2006-06-29correct machines.Dale Rahn
2006-06-29Add sizes, finally.Dale Rahn
2006-06-29[-t ufs | lfs | external_type] -> [-t type]Jason McIntyre
syncs it w/ mount(8) too; suggested by martin usage() update
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-29gastelloMichael Shalayeff
2006-06-29make compile w/ debug; from danielcavanagh@aanet.com.auMichael Shalayeff
2006-06-29Document that pcap files can only be writen to the /var/run directory.Hans-Joerg Hoexer
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-29use strlcpy; nicm__@ntlworld.comTheo de Raadt
2006-06-29it is a really good idea to store the result cvs_buf_load_fd returnsJoris Vink
in bp, considering we depend on that. found by reyk who is now my favorite german person, 10x.
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-28use quiet mode (-q) by default and add a flag -V for the old "verbose"Reyk Floeter
mode. if you really need to know all the details (the old GNU'ish behaviour), use -V or even -t for tracing. ok joris@
2006-06-28Workaround the workaround added to load the kernel with redboot.Dale Rahn
Make the address temporarily back to what it was so rdsetroot works. Also fix a wrapped line indent error while here.
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