Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-02 | Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than just | Kenneth R Westerback | |
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@ | |||
2007-06-01 | some architectures called setroot() from cpu_configure(), *way* before some | Theo de Raadt | |
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too | |||
2007-05-31 | Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go) | Uwe Stuehler | |
ok gwk, deraadt | |||
2007-05-31 | KNF, whitespace and comment rectification to make all | Kenneth R Westerback | |
bounds_check_with_label() routines as identical as possible without changing any code. Code nits and adjustments to come. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-31 | Standardize on -1 as the error return value for | Kenneth R Westerback | |
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@ | |||
2007-05-29 | Updated disklabel format to support larger disks and partitions. We | Otto Moerbeek | |
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@ | |||
2007-05-29 | Refactor readdisklabel() to ensure there is a single point of return, in | Kenneth R Westerback | |
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@ | |||
2007-05-28 | bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@ | Todd T. Fries | |
2007-05-27 | back out bio, breaks dlg's sparc64 v215 | Todd T. Fries | |
prompted by/ok dlg@ deraadt@ | |||
2007-05-26 | prodded by marco, enable bio everywhere | Todd T. Fries | |
grudgingly ok deraadt@ | |||
2007-05-20 | Fix KERNBASE, so that profiling kernels initialize (but profiling is broken | Miod Vallat | |
at the moment). | |||
2007-05-16 | forgot this one in my previous commit. | Thordur I. Bjornsson | |
splassert_ctl defaults to 1 now, so dont wrap the checks for splassert_ctl > 0 in __predict_false(). ok deraadt@ | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo de Raadt | |
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them) | |||
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |
2007-05-04 | setroot() was a ugly mix of MI and MD code, with different bugs on different | Theo de Raadt | |
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..) | |||
2007-05-01 | Simple monoprocessor mutex implementation, faster than the MI code, four left | Miod Vallat | |
to go. | |||
2007-04-29 | Blink 8x slower, so that this fits better with Kraftwerk's ``Elektro | Miod Vallat | |
Kardiogramm'' in the background. | |||
2007-04-29 | machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and related | Miod Vallat | |
variables from arch/sh/ to arch/landisk/. ok deraadt@ | |||
2007-04-26 | ack the power switch interrupt even if machdep.kbdreset is not set | Martin Reindl | |
from Matthew R. Dempsky | |||
2007-04-12 | Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted by | Miod Vallat | |
djm@ | |||
2007-04-10 | Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY and | Miod Vallat | |
__BUS_SPACE_ALIGNED_ADDRESS. | |||
2007-04-09 | Fix (unused) extintr_disable_by_num behaviour, and make vmstat -i output | Miod Vallat | |
provide the correct irq numbers. | |||
2007-03-23 | Do not enter ddb from the interrupt handler unless option DEBUG. | Miod Vallat | |
2007-03-19 | Remove force-PIO workaround for wd@pciide. | Miod Vallat | |
2007-03-19 | bus_dmamap_sync fixes to cope with real life. | Miod Vallat | |
2007-03-13 | Add <machine/fpu.h> for upcoming userland changes. | Miod Vallat | |
2007-03-13 | Move UKC later in the boot process, so that it can use malloc(). | Miod Vallat | |
2007-03-13 | Dangling include | Miod Vallat | |
2007-03-03 | Kernel crash dumps and associated libkvm bits for landisk. | Miod Vallat | |
2007-02-28 | spelling | David Krause | |
2007-02-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
2007-02-18 | If no MBR partitions are found when spoofing a disklabel, try looking | Kenneth R Westerback | |
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'. This enables iPod shuffles and other umass devices that are shipped with a bare FAT32 filesystem to be used as install media. And generally makes things easier for the user just trying to mount some media, e.g. floppies. Does not make it safe to write a disklabel or MBR on such a device! That will still obliterate the FAT filesystem. Help and suggestions from tom@ and deraadt@. Feedback and suggestions for future enhancements from espie@ mickey@ and peter@. ok tom@ deraadt@ | |||
2007-02-06 | Get memory size from SH-IPL+g whenever possible, before relying upon the | Miod Vallat | |
hardcoded 64MB. No functional change since we have not encountered non-64MB systems yet. | |||
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur Grabowski | |
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok | |||
2007-02-03 | Don't spoof an msdosfs partition if it claims to start after the end | Kenneth R Westerback | |
of the disk. Fixes the creation of spurious 'i' partitions on new iPod Shuffle. And other devices with no MBR, just a FAT32 filesystem. Pointed out most recently by Stephan A. Rickauer for his sixth generation, clip-on iPod shuffle. Fix tested by Stephan. ok pedro@ tom@ miod@ 'nice' deraadt@ | |||
2007-02-03 | There is no good reason to disable half of the 7751 cache, so don't. | Miod Vallat | |
2007-01-15 | power(4) driver for the power switch on many landisk models, hooked | Martin Reindl | |
up to machdep.kbdreset; modelled after the sparc64 power(4) driver discussed with miod@ and jsg@ | |||
2006-12-18 | fix device names and typos in comments | Martin Reindl | |
2006-12-18 | force wd at pciide down to PIO mode 4 (yuck) until some DMA issues are | Martin Reindl | |
sorted out. makes the px-ehs much more happier. ok jsg@ | |||
2006-11-21 | Define IPL_SCHED. | Miod Vallat | |
2006-11-21 | splassert support. | Miod Vallat | |
2006-11-21 | Don't bother using _cpu_intr_raise() for splhigh(), use _cpu_intr_suspend(). | Miod Vallat | |
2006-11-21 | Use _cpu_intr_resume() instead of splx() for consistency. No functional change. | Miod Vallat | |
2006-11-20 | Enable support for audio on landisk. | Dale Rahn | |
2006-11-20 | goodbye splserial, hello splaudio. | Dale Rahn | |
2006-11-16 | crank version | Theo de Raadt | |
2006-11-16 | use teeny little delays as we clock the rtc, makes the boot code notice | Theo de Raadt | |
that time is ticking, so it can timeout properly | |||
2006-11-16 | initialize tick timer | Theo de Raadt | |