Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-22 | PCI malo(4) works | Martin Reindl | |
from Janjaap van Velthooven | |||
2007-06-20 | alpha kernel have wsmux but not the actual devices; PR #5469 from janjaap | Miod Vallat | |
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-17 | Eliminate a few straggling 'labelsector' field declarations from | Kenneth R Westerback | |
cpu_disklabel's. 'labelsector' is not used anywhere according to grep. 'go for it' deraadt@ | |||
2007-06-17 | Some alpha (or SRM) designs use level 3 for i/o interrupts, instead of the | Miod Vallat | |
more commonly encountered level 4. Do not complain in splassert() in this case (this is similar to the older vsbus vax machines workaround). | |||
2007-06-17 | significantly simplified disklabel infrastructure. MBR handling becomes MI | Theo de Raadt | |
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn | |||
2007-06-14 | excessive blank lines making the versions different | Theo de Raadt | |
2007-06-14 | set the prototype disklabel to version 1 | Theo de Raadt | |
2007-06-14 | do not depend on previous loop variable, use a constant instead | Theo de Raadt | |
2007-06-12 | all disksubr.c did their b_flags manipulation differently (and wrong). | Theo de Raadt | |
correct and unify; ok thib miod | |||
2007-06-10 | No need for two *LABELSECTOR and *LABELOFFSET defines that mean the | Kenneth R Westerback | |
same thing. Keep LABELSECTOR and LABELOFFSET and nuke ALPHA_LABELSECTOR and ALPHA_LABELOFFSET. Kernel still compiles and boots. Superfluidity pointed out by deraadt@. | |||
2007-06-09 | The differences in the last non-homogeneous bounds_check_with_label() | Kenneth R Westerback | |
routines (alpha, vax) prove to be not worth keeping. Move bounds_check_with_label() into the MI world. Eliminate unreliable and almost certainly useless checks for overwriting a disklabel. After discussion with deraadt@ | |||
2007-06-09 | unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two) | Theo de Raadt | |
2007-06-09 | remove a useless comment | Theo de Raadt | |
2007-06-09 | by hand i carefully found that all the differences in setdisklabel() | Theo de Raadt | |
implimentations were simply either missing code, or spacing and such. setdisklabel() can become MI now. | |||
2007-06-09 | annoying spacing glitch which makes the diffs bigger | Theo de Raadt | |
2007-06-08 | include files.bluetooth, so that bluetooth support can be compiled, | Jasper Lievisse Adriaanse | |
if enabled. ok gwk@ | |||
2007-06-08 | all disklabels read from the kernel now always contain a total sector | Theo de Raadt | |
size which is the REAL DISK SIZE. always. if a driver fails to set this right, please fix it. agreed with otto and krw | |||
2007-06-07 | More bounds_check_with_label homogenization. Fix a couple of typos while | Kenneth R Westerback | |
there. 'so go to it!' deraadt@ | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2007-06-06 | a fair sprinking of knf, code movement, and sometimes character-by-character | Theo de Raadt | |
accuracy so that the variious disksubr.c's can be compared easier. setdisklabel() starts taking an int for openmask. ok krw, and read by quite a few other people | |||
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 | start of dumpconf() unification, which one day we can pray will be MI | Theo de Raadt | |
(and part of setroot); ok miod | |||
2007-05-29 | Use atomic operations to operate on netisr, instead of clearing it at splhigh. | Miod Vallat | |
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones. | |||
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 | Maintaining a broken compatibility layer for a broken OS is not a productive | Bob Beck | |
activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others in the hackathon room. | |||
2007-05-28 | bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@ | Todd T. Fries | |
2007-05-28 | Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET | Thordur I. Bjornsson | |
mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@ | |||
2007-05-27 | pagemove() is no longer used. | Miod Vallat | |
2007-05-27 | back out bio, breaks dlg's sparc64 v215 | Todd T. Fries | |
prompted by/ok dlg@ deraadt@ | |||
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-05-26 | prodded by marco, enable bio everywhere | Todd T. Fries | |
grudgingly ok deraadt@ | |||
2007-05-16 | splassert_ctl defaults to 1 now, so dont wrap the checks for | Thordur I. Bjornsson | |
splassert_ctl > 0 in __predict_false(). ok deraadt@ | |||
2007-05-16 | The world of __HAVEs and __HAVE_NOTs is reducing. All architectures | Artur Grabowski | |
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@ | |||
2007-05-15 | Remove the MI implementation of mutexes and remove the __HAVE_MUTEX | Artur Grabowski | |
option. Every architecture implements mutexes now. | |||
2007-05-15 | oops; martin go see what you did here.. | Theo de Raadt | |
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-10 | Alpha needs (will need) MUTEX_OLDIPL as well. | Artur Grabowski | |
2007-05-06 | garbage collect release_fpu() and synchronize_fpstate() | Martin Reindl | |
2007-05-05 | simple single-processor only mutex implementation | Martin Reindl | |
ok miod@ | |||
2007-05-05 | Directly map IPL_xxx in terms of ALPHA_PSL_IPL_xxx values, and implement | Miod Vallat | |
splassert. ok art@ martin@ | |||
2007-05-04 | Faster pmap_extract() code for pmap_kernel, from NetBSD. | Miod Vallat | |
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |