summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-03-29enable kate(4); ok deraadt@Constantine A. Murenin
2008-03-28If we fail to load the kernel, drop the user into interactive mode of ARCS,Joel Sing
rather than just rebooting. ok deraadt@, miod@, jasper@
2008-03-27Remove unwanted code and sync with mips64/arcbios.c.Joel Sing
ok miod@
2008-03-27Majorly cleanup/overhaul com @ macebus code.Joel Sing
ok miod@
2008-03-27Data mode can only be changed when updating the clock, so don't botherJoel Sing
trying to change to BCD mode before reading. Also, don't assume that the clock is in 24 hour mode when updating. tested jasper@, ok miod@
2008-03-27add detach support. this has to be the easiest diff for hotplug ever, goDavid Gwynne
read it :) ok kettenis@ jsg@
2008-03-27test the Vdd registers of Andigilog chips against the minimum voltage readings;Constantine A. Murenin
'good plan' deraadt; ok kettenis, mikeb
2008-03-27update the revision cpuid table, removing three duplicate ids from "JH-F"Constantine A. Murenin
and adding two missing ids for Mobile AMD Sempron rev DH-G2; tested todd
2008-03-27welcome kate(4), a new driver supporting AMD K8 temperature sensorsConstantine A. Murenin
discussed with deraadt and others tested by jasper, deraadt, todd and others
2008-03-26Disable some code that reads some sun4u-specific registers for diagnosticMark Kettenis
reasons, but isn't otherwise used.
2008-03-26plug a mem leak. the array of ports wasnt freed on detach.David Gwynne
2008-03-26Add DIOCRLDINFO support.Kenneth R Westerback
2008-03-25Make pci_intr_map(9) fail if the interrupt line register is set to 0xff.Mark Kettenis
Prevents crashes later on when we try to estabish the interrupt. ok miod@, deraadt@
2008-03-24Make it possible to disable/enable pseudo devices in UKC, config file andMats O Jansson
at config -e. -moj ok deraadt@
2008-03-24Remove KASSERT that's causing grieve on sun4v, and I've never seen triggered.Mark Kettenis
2008-03-24add it(4) at port 0x228, found on some motherboards.Oleg Safiullin
ok deraadt@
2008-03-24We were led astray (like many others before us) to believe thatTheo de Raadt
msg_controllen should be CMSG_LEN() instead of CMSG_SPACE() because the kernel fd passing code was erroring out when "cm->cmsg_len != control->m_len" instead of "CMSG_ALIGN(cm->cmsg_len) != control->m_len". On machines with 16-byte alignment, when one thinks about how the ALIGN padding happens, it is clear that msg_controllen has to be CMSG_SPACE() or the kernel cannot hope to bounds check the messages correctly. For now, change the check to cm->cmsg_len > control->m_len to permit the old ABI to continue working. Later perhaps when all the old binaries are gone we can stop permitting their use. lots of discussion with kettenis
2008-03-24Use correct cpuid on sun4v.Mark Kettenis
2008-03-24auvia(4) doesn't record properly, so don't claim full-duplexJacob Meuser
capabilities.
2008-03-248-bit has been emulated for some time now. quit lying.Jacob Meuser
2008-03-24Change XXgetdisklabel() to the 'normal' four parameter model toKenneth R Westerback
prepare for adding missing DIOC* ioctl's. No functional change.
2008-03-23Add code to initialize CPUs on sun4v.Mark Kettenis
2008-03-23Sigh! The sun4v TTEs have a different layout than sun4u TTEs. Rename theMark Kettenis
existing sun4u defines and add sun4v. For now, decide which set to use at compile time. Change the sun4u-specific code in locore.s to use the sun4u defines.
2008-03-23typo; deraadtMiod Vallat
2008-03-23Not-functional-enough driver for the Sun Expert3D cards, put in tree as anMiod Vallat
incentive for further tinkering only; not for the faint of heart.
2008-03-23Sometimes the registers claiming the aperture size on 9XX chipsets lie.Owain Ainsworth
So instead, use the size of the aperture BAR to determine the aperture size for agp_i810, and don't let the 855 and above have the aperture set. Next to nothing uses it anyway so no harm. introduce generic_{get,set} aperture which has this behaviour so other drivers may use it if useful. Change inspired by what freebsd did after i noticed my aperture size was wrong. Tested by many, ok kettenis@.
2008-03-23setroot() is supposed to be safe in all cases, so kill the special casesTheo de Raadt
for RB_DFLTROOT; ok miod
2008-03-23Wrong printf construct.Miod Vallat
2008-03-23show all mounts command for ddb. From mickey a long time ago.Miod Vallat
2008-03-23Use new defines from pcidevs to match Expert3D.Miod Vallat
2008-03-23regenMiod Vallat
2008-03-23More 3DLabs devices.Miod Vallat
2008-03-23Make ovbcopy() the default bcopy() flavour; requested by deraadt@ some time ago.Miod Vallat
2008-03-23Fix ovbcopy() operation when copying shorts backwards, similar to sparcMiod Vallat
locore.s r1.76
2008-03-23Add AGP support for the Intel G33 chipset.Damien Bergamini
Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100). Based on NetBSD code. ok oga@
2008-03-23enable andl; ok deraadtConstantine A. Murenin
2008-03-23New andl(4) driver for Andigilog aSC7611 Hardware Monitor.Constantine A. Murenin
Tested in my i2c sandbox against an i2c dump from D946GZIS, a dmesg for which was kindly donated to our dmesg@. 'commit it' deraadt@
2008-03-22Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fdKenneth R Westerback
driver(s). Adapted from sd driver. ok marco@
2008-03-22Reintroduce the cputyp variable, and use it to distinguish between sun4u andMark Kettenis
sun4v.
2008-03-22- remove pre-uvm prototype of pmap_page_index()Jasper Lievisse Adriaanse
ok miod@
2008-03-22Nuke some unused magic.Tobias Weingartner
ok deraadt@
2008-03-22flag constant values should be UL, spotted by deraadt@Otto Moerbeek
2008-03-22Simplify cpu_switchto() such that it doesn't need to know the number ofMark Kettenis
register windows provided by the hardware; this number is not readily available on sun4v. This removes the optimization that skips flushing register windows if a process exits. We can add that back later if it turns out to make a significant impact.
2008-03-22Remove TRAPS_USE_IG code.Mark Kettenis
2008-03-22Quick comment fixups.Tobias Weingartner
ok deraadt@, kettenis@, brad@, marco@
2008-03-22Split out the code that sets the TSB registers and call it fromMark Kettenis
pmap_bootstrap_cpu().
2008-03-22Use ASI_BLK_P instead of ASI_BLK_COMMIT_P when saving floating pointMark Kettenis
registers. UltraSPARC T1 doesn't support ASI_BLK_COMMIT_P, and I can't see why this code needs commit force.
2008-03-22remove unused fields from envy_softc structure, no functional changeAlexandre Ratchov
2008-03-22add audio(4) driver the ability to use different block sizes for play andAlexandre Ratchov
record modes. This makes possible to have blocks of the same duration if the play and record formats are different. The API change is backward compatible, so it shouldn't be noticed by current audio ports. ok jakemsr
2008-03-22Switch to our initial stack after switching over to our own trap table. ThisMark Kettenis
removes the need to lock the stack (and cpuinfo) into the TLB on sun4v.