summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-01-23Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providingMichael Knudsen
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis
2009-01-23Make write_user_windows() do what the name suggests: flush user windows insteadMark Kettenis
of all windows.
2009-01-22Make bus_mem_add_mapping() return ENOMEM if we fail to allocate kva insteadMark Kettenis
of panicing. ok drahn@
2009-01-22Call checkdisklabel() for labels built from native info. This willKenneth R Westerback
ensure 'c' always has the correct size as the rest of the kernel assumes. Thus prevent dd'ing causing a SCSI out-of-bounds error. ok miod@
2009-01-21Extend the acceleration code to handle jfb (XVR-600, XVR-1200) models, theMiod Vallat
software only code is kept in case we can't reliably figure out what kind of device we are facing. Tested on XVR-1200 by Mattieu Baptiste, and on Expert3D-Lite by me.
2009-01-20add softraidTodd T. Fries
go ahead miod@
2009-01-20I can't figure out why flushing all user windows before writing out windowsMark Kettenis
saved in the pcb to the stack fixes the problems with user space register window corruption I see on sun4v. So I give up and commit the workaround. It isn't too evil, since this isn't in the fast path and we're likely to spill these windows anyway in the process of writing out the register windows. Curiously enough, the OpenSolaris code seems to do pretty much the same.
2009-01-20Install ACPI S3 resume trampoline code in a lowmem page. First partMike Larkin
of ACPI S3 suspend/resume support. This is for i386. Help/comments from art, toby, marco, jordan, kurt ok marco@, kurt@
2009-01-20Add a few more inline functions to read priviliged registers.Mark Kettenis
2009-01-19The acceleration code would not work on XVR-600 and XVR-1200, so if it turnsMiod Vallat
out it doesn't work, fall back to dumb software routines until we know better. Also, do not attach to the second head of the XVR-1200 yet, the second node lacks basic frame buffer properties. Tested by Mattieu Baptiste, thanks!
2009-01-19Clear RI_CLEARMARGINS in the ri_bits == NULL ifb(4) kluge, the new windowMiod Vallat
position code may set it.
2009-01-18Define HEAP_START so that we can use space below it for ethernet buffers;Miod Vallat
this prevents if_ie buffers from possibly overwriting the stack. Crank bootloader versions.
2009-01-18Recompute file pointer position when seeking backwards, as it gets reinitializedMiod Vallat
to zero otherwise; allows the tftp bootloader to work again after the switch to the MI loadfile code.
2009-01-18enable atphy/ageKevin Lo
ok kettenis@
2009-01-17gdt_compact() was removed years ago, so kill the code and commentsPhilip Guenthe
that worked around its presence ok'ed by miod@
2009-01-17If the hypervisor call that fetches randomness returns EWOULDBLOCK,Mark Kettenis
reschedule the timeout again instead of complaining.
2009-01-17Clean things up a bit, and be a bit more fussy about the proper sequence inMark Kettenis
which we should receive messages from our peer.
2009-01-17Return NO_CCB if we run out of descriptors.Mark Kettenis
Suggested by krw@
2009-01-17Sync vio_sendmsg() with equivalent code in vdsk(4).Mark Kettenis
2009-01-17Enable vrng(4).Mark Kettenis
2009-01-17Make this work in guest domains.Mark Kettenis
2009-01-17Recognize environmental change machine checks on ES40, and report whatMiod Vallat
happens instead of panicing; while there, start providing more details for ev6 processor machine checks as well. This allows power supplies to be unplugged and exchanged while the system is running, without causing the kernel to crash.
2009-01-17Implement SYNCHRONIZE CACHE and make SCSI_POLL work while we're there.Mark Kettenis
2009-01-16Set the number of openings to the number of ring descriptors minus one. ForMark Kettenis
some reason, setting it to the number of descriptors causes ring overruns.
2009-01-16Make it possible to boot from vdsk(4).Mark Kettenis
2009-01-16Make transfers bigger than PAGE_SIZE work.Mark Kettenis
2009-01-16Remove bogus KASSERT.Mark Kettenis
2009-01-16Call start callback unconditionally.Mark Kettenis
2009-01-16Improve VIO state machine, and initiate VIO handshake ourselves. Makes thisMark Kettenis
work with newer versions of Solaris.
2009-01-16add next-server option to exampleOleg Safiullin
ok jmc@ stevesk@
2009-01-14Be sure to allocate memory with M_ZERO in sbus_alloc_dma_tag(), or strangeMiod Vallat
things happen. ok kettenis@
2009-01-14Enable vsdk(4).Mark Kettenis
2009-01-14add and enable uaudio as it's working fine for meJasper Lievisse Adriaanse
"go ahead" miod@
2009-01-14int cpuspeed is global. ok markus@Alexander Yurchenko
2009-01-13Trivial lvalue abuse fixes, no binary changes.Alexander Yurchenko
ok millert@ tedu@
2009-01-13Fix lvalue abuse by removing a redundant cast.Alexander Yurchenko
ok kettenis@
2009-01-13Turn mpbios into a real device, such that people can disable it on crappyMark Kettenis
BIOSes. ok deraadt@ (for the amd64 bit, or the i386 bit, can't remember which)
2009-01-12A storage driver should be DV_DULL, not DV_IFNET. Pointed out by dlg@.Mark Kettenis
2009-01-12Look up the "compatible" property of the right node to detect serialMark Kettenis
interfaces on the m4k/m5k/m8k/m9k.
2009-01-12Oops, sunkbd_decode() still needs to be public for *cngetc() to work;Miod Vallat
spotted the hard way by kettenis.
2009-01-12Enable WSDISPLAY_COMPAT_RAWKBD and wsmux on sparc64; ok matthieu@Miod Vallat
2009-01-12Initial stab at a driver for virtual disks found on sun4v logical domains.Mark Kettenis
Still needs some work, but reading from and writing to a disk image works.
2009-01-12Add padding to some message structs since the Solaris virtual disk serversMark Kettenis
seems to want it. Also add 'struct vio_rdx' to make sure we use the proper padding there too.
2009-01-12Add a callback function that gets called when an LDC connection is established.Mark Kettenis
2009-01-12As recommended by the Sun Virtual IO specification, use tick() to generateMark Kettenis
session ID instead of arc4random().
2009-01-12Be more strict when checking window-left and window-top values.Miod Vallat
2009-01-11Add some tested USB stuff. -mojMats O Jansson
2009-01-11Fix a sed bug in the makefile's depend target.Paul Irofti
What happened was that the output of mkdep was fed to a sed expression that trimmed a bit more than required and also failed to work when attempting to do make depend with pcc. Example: genassym_c.o: /tmp/genassym.whatever ../../../../../sys/param.h \ was changed to: assym.h: \ but what was intended was: assym.h: ../../../../../sys/param.h \ For the pcc -M output things were a bit different and after the make depend the genassym entry would still remain and make would fail. This affected all platforms except amd64 and sgi. Okay miod@.
2009-01-11Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)Bret Lambert
conversions. ok kettenis@ ok krw@ (possibly for the second time :)
2009-01-11Define a limit to the input which can be fed to sunkbd_input() at once,Miod Vallat
will be necessary for rawkbd mode.