summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-01-29Only start using the rtc for statclock after we've received the firstMark Kettenis
interrupt. On some machines the rtc doesn't generate interrupts and we would end up not running statclock() at all. ok miod@, art@
2009-01-29Make multicast actually work this time.Mark Kettenis
2009-01-29Switch tsec(4) over to using MCLGETI when allocating mbufs for the rx ring.Mark Kettenis
2009-01-28Implement proper multicast support.Mark Kettenis
2009-01-28Make bus_mem_add_mapping() return ENOMEM if we fail to allocate kva insteadMark Kettenis
of panicing.
2009-01-28Add missing braces in trunc_page() call from vmapbuf().Alexander Yurchenko
ok miod@
2009-01-27Get rid of the last traces of uvm.pager_[se]vaMiod Vallat
2009-01-27Switch the amd64 PCI_CONF_LOCK from being a simplelock and splhigh to aOwain Ainsworth
mutex with ipl set to IPL_HIGH. While i'm here, unify the code with i386, by giving the same lock to the i386 code. This lock is mostly for MP, but could actually prevent a race where a process is doing pci_conf_{read,write}, and then an interrupt fire and also does pci_conf_{read,write}. Since this is a two stage process, the interrupt could race with the one, causing the value to the written to the wrong place, or the wrong value to be written. Tested by many. "go ahead" kettenis@.
2009-01-25Remove /dev/drum and related code.Miod Vallat
2009-01-25In hpibid(), when computing timeouts from the cpuspeed variable, account forMiod Vallat
68040 systems where cpuspeed is only 3/8 of the intended value.
2009-01-25If hdattach() aborts early because the disk is not in good shape, alwaysMiod Vallat
fail hdopen().
2009-01-25Behave correctly in interrupt handlers if no tty has been allocated yetMiod Vallat
(this was supposed to have been fixed in r1.25, but there was still a missing check).
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