Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-01 | Remove some leftovers from the userret cleanups. | Artur Grabowski | |
No need to save sticks anymore. miod@ ok and test | |||
2007-03-31 | do nbuf constraint based on KERNEND/KERNBASE to avoid integer overflow from ↵ | Theo de Raadt | |
new giant sparc64 kvm; ok kettenis, tested by pooleb | |||
2007-03-31 | Map PCIe config space. | Mark Kettenis | |
2007-03-31 | Fix DEBUG. | Mark Kettenis | |
2007-03-31 | Make sure we not to match secondary cpu's on non-MP kernel. I accidentally | Mark Kettenis | |
didn't commit this bit, so it is still ok drahn@, gwk@. | |||
2007-03-31 | Detect secondary cpu's. Get rid of legacy ofroot code. | Mark Kettenis | |
ok drahn@, gwk@ | |||
2007-03-30 | Add commented out entries for pyro(4). | Mark Kettenis | |
2007-03-30 | First stab at a driver for the Host/PCIe bridge found on the Sun Fire | Mark Kettenis | |
v215/v245/v445 systems. | |||
2007-03-29 | Add power hook to scoop(4), replacing the Zaurus-specific scoop_* calls in | Uwe Stuehler | |
pxa2x0_apm.c. Set a flag to indicate that scoop is currently suspended. Test this flag in scoop_timeout() (and maybe later in other places) to avoid manipulating scoop registers while the driver is suspended. The scoop_checkdisk timeout is intentionally not stopped, as it should be safe to have timeouts running accross suspend/resume. Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an atomic operation. Result of prodding and diffs from Robert and Theo. | |||
2007-03-29 | ignore various i2c seeproms that sun puts on all their machine parts; ok ↵ | Theo de Raadt | |
miod kettenis | |||
2007-03-29 | Enable acx(4) as it is finally working on bigendian boxes. OK deraadt@ | Claudio Jeker | |
2007-03-29 | Comment fixes from Daniel Dickman <didickman AT gmail DOT com>, relevant changes | Gordon Willem Klok | |
for amd64 added by myself and while here nuke some whitespace. | |||
2007-03-29 | Equiv diff to amd64 as was done on i386, bump VM_PHYSSEG_MAX. Amd64 are | Tobias Weingartner | |
PCs too... Tested by dlg@ and brad. | |||
2007-03-28 | disk addresses are in hex, not decimal. makes my LSILogic,sas@3/disk@13 | David Gwynne | |
correctly match target 19. ok deraadt@ | |||
2007-03-28 | Bump max number of physical segments. Machines in the wild | Tobias Weingartner | |
seem to have reached this limit. ok marco@, looks ok ckuethe@ | |||
2007-03-27 | only actually change the drive LED state if there was a real state change; | Theo de Raadt | |
tested by robert and myself | |||
2007-03-27 | When trap() causes a panic, have stacktrace() use ddb to find the symbol | Miod Vallat | |
names if option DDB, instead of the fn_name() helper which only knows about trap() anyway. While there, do not attempt to print the function arguments after the first frame, since they are known to be clobbered. | |||
2007-03-27 | Try and print symbol-relative addresses for branches, and display | Miod Vallat | |
delay slots instructions correctly. | |||
2007-03-27 | grok LSILogic,sas controllers in bootpath; as well, become aware that (at | Theo de Raadt | |
least) "scsi" controllers give a target/port number, not a kernel sd#. So, translate. We might later want to do the same translation for IDE as well, but perhaps not until after people test a bit more; ok dlg | |||
2007-03-26 | software-driven drive light code, using a timeout. uwe wrote some code | Theo de Raadt | |
initially that used a disk_busy() hook, but this uses a lot less cpu and is MD; ok uwe | |||
2007-03-26 | Rip out the KERN_ error codes. | Artur Grabowski | |
ok otto@ | |||
2007-03-26 | i shouldn't be shy about commiting ahci to this. | David Gwynne | |
lots of poking by jsg@ | |||
2007-03-26 | ichss_cookie is a bad name, and should not be a void pointer. | Gordon Willem Klok | |
Spotted by Stefan Sperling <stsp AT tsp.in-berlin.de> when reviewing his piix speedstep diff. ok tedu@ | |||
2007-03-24 | Call the new ohci_checkrev function on xscale, otherwise the USB version | Christopher Pascoe | |
is not set correctly and the USB bus does not attach. Tested ckuethe@ | |||
2007-03-23 | Do not enter ddb from the interrupt handler unless option DEBUG. | Miod Vallat | |
2007-03-23 | Real atomic_{set,clear}bits_int implementation, and replace similar | Miod Vallat | |
{set,clr}_ipending with the above routines. ok kettenis@ | |||
2007-03-23 | Define PROC_PC and simplify userret(); ok kettenis@ (and I think drahn@ too) | Miod Vallat | |
2007-03-23 | Clean up the failure path of the attach routine, check the return value of | Gordon Willem Klok | |
dbdma_alloc, and mapiodev, and some whitespace/long line cleanup. Tested on 9500MP and 9600MP. ok martin@ | |||
2007-03-23 | Fix compiliation of MULTIPROCESSOR without DDB, being defined. | Gordon Willem Klok | |
From: Mike Belopuhov <mkb AT crypt.org DOT ru>. ok kettenis@ | |||
2007-03-23 | Remove duplicated defines from intr.h that are already defined in | Artur Grabowski | |
intrdefs.h that is inlucded first thing in intr.h. eyeballed for sanity by pedro@ | |||
2007-03-22 | Do not define ISA_DMA_STATS by default; ok deraadt | Miod Vallat | |
2007-03-22 | Move powerpc to __HAVE_MUTEX. With help from drahn@. Tested by nick@, xsa@, | Mark Kettenis | |
deraadt@. "reads right" deraadt@ | |||
2007-03-22 | Change yet another kernel message starting with `<'. | Miod Vallat | |
2007-03-22 | When registering VME interrupts, maintain a direct ipl->vector table, as long | Miod Vallat | |
as no more than one interrupt is registered for a given level. Then, if the VME interrupt vector reading cycle fails on the 188 interrupt arbiter, we can use this table as a hint if it has a valid entry, since we know on which ipl line the interrupt occured. This basically silences the m188_ext_int: timeout getting VME interrupt vector, level 3, mask 0x400<IRQ3> occasional messages appearing when the MVME376 is overloaded. | |||
2007-03-22 | In cmmu routines, replace splhigh() with disable_interrupts(), saves a function | Miod Vallat | |
pointer indirection for a similar result; also move the interrupt disabling code to the public routines, so that we do not end altering the psr more than necessary. | |||
2007-03-22 | split userland & kernel struct sensor/sensordev so that the addition | Theo de Raadt | |
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert | |||
2007-03-21 | no need to include uvm_extern.h here | Martin Reindl | |
2007-03-21 | Map the kernel text read only. Because we can. | Miod Vallat | |
2007-03-21 | Uninitialized variable in db_write_bytes(). | Miod Vallat | |
2007-03-21 | ahci seems to work fine on i386. thanks to marc winiger for figuring that | David Gwynne | |
out for me. | |||
2007-03-21 | Real atomic_{set,clear}bits_int implementation, ok deraadt | Miod Vallat | |
2007-03-21 | Real atomic_{set,clear}bits_int implementation, no performance hit on 060 | Miod Vallat | |
unless used on non-aligned data; ok deraadt@ | |||
2007-03-21 | Mips_IOSyncDCache last argument is in the 0..2 range, not -1..1, so let | Miod Vallat | |
C and asm code agree on this; this causes no functional change on r10k and fewer wt invalidates on r5k. ok kettenis@ | |||
2007-03-21 | remove extra *p test, from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2007-03-21 | enable ahci(4). this only attaches to the jmicron controllers so far. | David Gwynne | |
if anyone can quickly try this on i386 i'll enable it there too. ok deraadt@ | |||
2007-03-20 | Move macppc to __HAVE_CPUINFO, and make locore.S and trap.c suitable for | Mark Kettenis | |
MULTIPROCESSOR. From now on sprg0 holds a pointer to struct cpuinfo, which is used to spill registers to during trap instead of the globals we used to use for that purpose. Bits and pieces from NetBSD. Help from drahn@ and art@. Tested by xsa@, thib@, miod@, gwk@, deraadt@. ok drahn@, gwk@ | |||
2007-03-20 | Remove unused ALIGN32 macro. It wouldn't work anyway, since | Deanna Phillips | |
ALIGNBYTES32 has been gone for years. ok art | |||
2007-03-20 | typo in comment | Todd T. Fries | |
ok jmc@ | |||
2007-03-20 | Spring cleaning: some whitespace, clean up the failure path in the attach | Gordon Willem Klok | |
routine, and check the return of the mapiodev, and dbdma_create functions. Tested on Power Macintosh 9500MP and a 9600MP. "the diff looks fine to me." dlg@ | |||
2007-03-19 | Remove force-PIO workaround for wd@pciide. | Miod Vallat | |