summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-12-09Enable udcf(4).Marc Balmer
ok deraadt
2006-12-09sigh, split the bus space mapping and interrupt hookup apart so i canDavid Gwynne
reset the controller and clear interrupts off it before doing the hookup.
2006-12-09reset the hba and set the enable bit.David Gwynne
2006-12-09figure out which revision of ahci we're trying to use and print it out.David Gwynne
if we don't know about it, bomb out.
2006-12-09split the mapping of the pci resources out of the main attach funcDavid Gwynne
2006-12-09add wrappers for safe access to the register space. stolen from arc (whichDavid Gwynne
stole them from mpi).
2006-12-09add macros for debug shizzDavid Gwynne
2006-12-09bit definitions for the cap and ghc registersDavid Gwynne
2006-12-09registers for hba controlDavid Gwynne
2006-12-09the start of a driver for ahci controllers. this does nothing but map theDavid Gwynne
register space and hook an interrupt up for the controller i have, but it is going into the tree so i can work on it. commit early, commit often
2006-12-09switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542).Jun-ichiro itojun Hagino
the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
2006-12-09Like the earlier change to powernow-k7.c check for both the regular cpuidGordon Willem Klok
signature AND the AMD extended cpuid 0x800000001 (%eax). Tested by, krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and steven mestdagh <steven.mestdagh AT esat.kuleuven.be> ok dim@
2006-12-08A more permanent solution to setperf methods returning error values andGordon Willem Klok
the higher level sysctl code passing them to userland. Distinct diff from the one I passed around internally with less crazy semantics. Also nuke some trailing spaces in a few places. "just go ahead" deraadt@
2006-12-08whitespaceJun-ichiro itojun Hagino
2006-12-08typo in comment. from kameJun-ichiro itojun Hagino
2006-12-08Fix kernel link warning on i386 about boothowto being overridden, byDimitry Andric
removing the second definition from locore. To prevent locore from subsequently clobbering boothowto, remove clearing bss from it. The bootloader has already taken care of this. ok miod weingart deraadt
2006-12-08unifdef -UCOMPAT_RFC1883 (ancient)Jun-ichiro itojun Hagino
2006-12-08leftover from interface-local multicast change.Jun-ichiro itojun Hagino
2006-12-08First round of evil macro removal. _acx_set_##name##_tmplt bites the dust.Claudio Jeker
OK mglocker@
2006-12-08regenGordon Willem Klok
2006-12-08Add the Broadcom BCM5787F PCI id.Gordon Willem Klok
Add D-Link DGE-560SX and another Marvell Yukon (unknown model) PCI ids. From the Linux sky2 driver via brad@
2006-12-08From Jon Simola <simola@mecha.com>:Marcus Glocker
Style and whitespace cleanup.
2006-12-08scsibus_attach_args not scsi_attach_args for saa inThordur I. Bjornsson
mesh_attach(). ok dlg@
2006-12-08If we receive a rate of 0 from the AMRR rate adaption code, set theMarcus Glocker
TX rate to a minimum value of 1Mbit/s instead of doing a panic(). We don't know yet how the rate of 0 is produced in some conditions. ok claudio@
2006-12-07Fix some channel tweaks; e.g. solves a bug which sets the channel to 40Marcus Glocker
when switching into hostap mode. ok claudio@
2006-12-07attach Novatel Merlin U740 to ubsaFelix Kronlage
ok dlg@
2006-12-07regenMichael Knudsen
2006-12-07Add Broadcom BCM5787F.Michael Knudsen
From brad.
2006-12-07some cleanup for axe(4):Reyk Floeter
- remove IFF_RUNNING check from axe_init() and check for the appropriate condition before calling axe_init(). - check for MTU too small, as done everywhere else. - remove unnecessary setting of error to 0, its initialized to 0 in axe_ioctl(). - use the IFQ_IS_EMPTY macro in axe_watchdog(). ok brad@
2006-12-07use LINK_STATE_IS_UP(ifp0->if_link_state) instead ofReyk Floeter
ifp0->if_link_state == LINK_STATE_UP to handle the new half/full duplex link states. i forgot to commit these snippets before. ok jsg@
2006-12-07http://www.ralinktech.com/ domain name is for sale.Damien Bergamini
use official url instead: http://www.ralinktech.com.tw/
2006-12-07remove unused code, fix style and spacing, tidy up ioctl pathMartin Reindl
from brad@
2006-12-07regenerated these with Merlin U740 idFelix Kronlage
2006-12-07id for Novatel Wireless Merlin U740Felix Kronlage
2006-12-06- Move TX ring full sanity check further up and check the number of DMAReyk Floeter
segments from the DMA map, instead of counting the DMA segments in the for loop and breaking out later. - Unload the DMA map if encountering an error condition. Tested on amd64/i386/sparc64 ok brad@ mglocker@
2006-12-06Implement em_read_pcie_cap_reg(), where we set the max read size onReyk Floeter
PCIe to 4k. >From kmacy@FreeBSD Tested by mk@ and Johan Mson Lindman <tybollt at solace dot mh dot se> with the 82573 chipset. ok brad@ mglocker@ mk@
2006-12-06Enable mc and mesh in RAMDISK as well, as pointed out by brad@ its prettyGordon Willem Klok
useless to not do so.
2006-12-06starfire ethernet works here nowMartin Reindl
2006-12-06- de-staticMartin Reindl
- use pci_matchbyid, makes attaching way simpler ok brad@ reyk@
2006-12-06Enable mesh and mc device drivers in GENERIC, booting on old world macs isGordon Willem Klok
pointless without these two. ok martin@, deraadt@ durring h2k6
2006-12-06replace Adaptec AIC-6915 Starfire driver with the fully bus_dma(9)-ableMartin Reindl
driver from NetBSD ok brad@ reyk@ additional testing Nick Nauwelaerts
2006-12-06From Jon Simola <simola@mecha.com>:Marcus Glocker
Add bus-specific config space read and write functions, this fixes the attach for ian@darwinsys.com and properly enumerates multiple cores.
2006-12-06fix some multi-line comments and printfsMartin Reindl
2006-12-06nfs_readdirplusrpc():Thordur I. Bjornsson
Replace the pointer aerobics used to construct the namecache hash with a more saner approach since the former could lead to a null deref (PR5305). Also make sure that the current buf is bigenough before caching the current entry. comments&ok pedro@
2006-12-06malloc(..., M_NOWAIT) with no NULL check is bad. If allocation fails,Michael Knudsen
complain, clean up, and bail out of attach. input and ok gwk
2006-12-06When compiled with UDCF_DEBUG, only output the bits received whenMarc Balmer
udcfdebug > 1.
2006-12-06Missing newline in printf.Bernd Ahlers
ok canacar@
2006-12-05regenOtto Moerbeek
2006-12-05Add Dutch map; from Maurice Janssen; ok miod@Otto Moerbeek
2006-12-05Implement an alternative workaround for the extent lies out of region panicGordon Willem Klok
on old world macppc machines, if the compat property of the device is bandit skip the pci_addr_fixup() call. This acomplishes what the changes in rev 1.33 that were reverted attempted to do without breaking currently supported machines. A positive side effect to this change is also working PCI cards as well as onboard devices. ok drahn@