summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-02-12include devices found on fuloong: com0, re and rgephy; ok miod@Otto Moerbeek
2010-02-12use early setup hook to get serial console on the fuloong; with & ok miod@Otto Moerbeek
2010-02-12tftp boot paths do not start with a /; ok miod@Otto Moerbeek
2010-02-12Allow for two more per-platform function pointers, one for extra setup workMiod Vallat
while pmon is still available, and one for reset (in addition to the already existing powerdown routine). Add reset and powerdown code to the fuloong 2f platform; this also fixes reset on yeeloong. Tested by otto@
2010-02-12Switch to using mkuboot for building the U-Boot image.Michael Knudsen
`looks right' drahn
2010-02-12Add mkuboot, a utility to build images for Das U-Boot.Michael Knudsen
This code is basically sys/arch/socppc/stand/mkboot/ but fixed to work on little endian machines and extended slightly to allow specifying the image OS and platform. Input from drahn and kettenis. ok kettenis
2010-02-12Overhaul per-platform specific operation by moving all the differences intoMiod Vallat
per-platform structs or function pointers; therefore bonito(4) no longer needs to know about particular systems. While there, bring little bits of Fuloong 2F support, tested on otto@'s machine.
2010-02-12Allow more legacy interrupts to reach the legacy PIC; found the hard way byMiod Vallat
otto@ on Fuloong.
2010-02-12ehci bits, not enabled.Dale Rahn
2010-02-12Initial version of ehci shim for omap, not complete.Dale Rahn
2010-02-12Rework prcm to support additional iclk/fclk registers.Dale Rahn
2010-02-12introduce a uvm_km_valloc_try function that won't get a lower level lockTed Unangst
for use by the uvm pseg code. this is the path of least resistance until we sort out how many of these functions we really need. problem found by mikeb ok kettenis oga
2010-02-11Correct argument for splx() is s2 not s so that the splx() calls match to theClaudio Jeker
spl(soft)net() calls. Found by Gleydson Soares.
2010-02-11"unmute" GPIO 0 on all Dell machines with IDT 92HD71B7 codecs.Jacob Meuser
desilences E4300 for drahn@. ok drahn@
2010-02-11default to no pckbc and no legacy hardware; ok miod@Otto Moerbeek
2010-02-11align comments; ok miod@Otto Moerbeek
2010-02-11cd in nam2blk; ok miodOtto Moerbeek
2010-02-11fuloong model defineOtto Moerbeek
2010-02-11No need for M_CANFAIL if M_NOWAIT is used. Found by Gleydson Soares.Claudio Jeker
OK mk@
2010-02-10Only allow the common voltages of the card and the host when writing the OCRDale Rahn
back to the card. fixes a problem where the controller supported lower voltages than the card. With variable name change requested miod, ok miod@ krw@
2010-02-10remove lingering debug print.Dale Rahn
2010-02-10And now mounts with reads and writes work.Dale Rahn
2010-02-10Would seem that the sdmmc layer does not like having CRC7 as part of theDale Rahn
136 bit RESP, shift it out. Card size is recognized.
2010-02-10check that rf reg is != 0xff, not rf val.Damien Bergamini
2010-02-10Blame the right interrupt bit in `spurious interrupt' messages.Miod Vallat
2010-02-10Close to working MMCHS (ommmc) driver. much thanks to mk@ for continual poking.Dale Rahn
2010-02-10Unfortunately, newer versions of u-boot found on the beagle do not allowDale Rahn
the OS type of OpenBSD, so claim to be linux so u-boot is happy. Sigh.
2010-02-09Make the bonito_pci_attach_hook per-platform, as a new callback in structMiod Vallat
bonito_config. Move the Geode initalization code previously found there to yeeloong-specific code; and on Gdium, clear all the BAR of the internal mini pci slot - it does not get initialized by PMON and the MI PCI code complains about the bogus values it finds there on cold boots.
2010-02-09Flush caches upon startup anyway, the gdium pmon keeps it dirty, unlikeMiod Vallat
the lemote pmon.
2010-02-09Switching the strange VIA VT8251 PCIE host bridge into a PCI-PCI bridgeMark Kettenis
didn't quite work since the bridge seems to end up largely unconfigured, and our PCI resource configuration code isn't quite smart enough (yet) to fix things up. So instead switch it only into PCI-PCI bridge mode long enough to snoop the bus number, and attach pci(4) using that number. This is probably safer anyway, since ACPI may not like us switching things around behind its back. Fixes PR 6253 & 6304.
2010-02-09Build ral firmware on loongson (for Gdium).Miod Vallat
2010-02-09Process kernel options correctly when run from a `go' command instead ofMiod Vallat
`boot'.
2010-02-09Less aggressive cache ops on BUS_DMASYNC_PREREAD alone (leftover from olderMiod Vallat
code before I got DMA address computation reliable).
2010-02-09wsmux (for external, big-boned-fingers compatible, keyboards) and ext2fsMiod Vallat
support on the ramdisk.
2010-02-09Set the rtm_priority when sending RTM_ADD/RTM_DELETE messages out inClaudio Jeker
rt_newaddrmsg(). Makes the routing daemons a bit less confused when interfaces are reconfigured.
2010-02-09Correctly track RTF_UP on RTM_CHANGE. Since the interface can changeClaudio Jeker
rt_if_linkstate_change() needs to be rerun for this route and the resulting rt_flags need to copied to the rtm_flags for userland. Problem found and diagnosed by Doran Mori. OK henning@, jsing@
2010-02-09Before cloning a route to change the MTU check that the route we clone fromClaudio Jeker
is valid and usable (reject and blackholes are not conidered usable). TCP has this nasty behaviour to clone routes to disable PMTU and this combined with dynamic routing resulted in dead sessions when there was a default reject route installed. OK henning@, sthen@
2010-02-09Add 10GSFP+Cu to the Ethernet media types. This is for 10G direct attachedClaudio Jeker
cables. OK jsg@, krw@, sthen@
2010-02-09- add the whole gang of USB devices; as prompted by deraadt@Jasper Lievisse Adriaanse
- add section headers ok otto@ miod@
2010-02-09Fix off-by-one system control register defines, makes 2D acceleration onMiod Vallat
Gdium work.
2010-02-09XY Failure reads no longer require temp buffer or WUF_FAILJordan Hargrave
2010-02-08Use character raw device to read disklabel during bootprobe, as allKenneth R Westerback
other devices do. Silences complaints about missing media on removable media devices. ok marco@ jsing@
2010-02-08Add ZTE K3565-Z USB MSM modem.Marco Pfatschbacher
OK jsg@
2010-02-08syncMarco Pfatschbacher
2010-02-08Add ZTE K3565-Z USB MSM modem.Marco Pfatschbacher
OK jsg@
2010-02-08remove redundant bits.Damien Bergamini
2010-02-08final bits for RT3572 and some fixes for RT3070 and RT3071.Damien Bergamini
2010-02-08Add ral(4), found on the Gdium Liberty 1000.Miod Vallat
2010-02-08Minimal completion support for .l.s and .l.d routines, necessary for atMiod Vallat
least the R5k and R10k family FPU which trap if the operands are too large (i.e. positive unbiased exponent > fracbits). This is quick and dirty band aid until that code is replaced with interface code to the MI kernel softfloat code.
2010-02-08add the 10us sifs directly to the pre-computed ack durations.Damien Bergamini