Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 drivers should spoof version 1 labels | Theo de Raadt | |
2007-06-08 | - always set the partition disk size to full disk info (from driver) | Theo de Raadt | |
- always store our new fatty 16-partitions-with-full-cpg-info style sun disklabels on the disk. - correct an error in matching old-style 16-partition matching code; the checksum spanned a different region tested by me, groked by krw, which is a lot more than the rest of the post-hackathon exhausted slackers | |||
2007-06-07 | Comment 'fixes'. All bounds_check_with_label now identical except for | Kenneth R Westerback | |
vax and alpha. | |||
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 | clamp the disklabel d_secperunit to what the disk actually says it has, | Theo de Raadt | |
not to what some bogus disklabel from the past may say (some of which may have been caused by older openbsd disklabel programs). resolves issues seen by myself and Markus Lude on sparc/sparc64 machines | |||
2007-06-06 | an XXsize() function that got skipped | Theo de Raadt | |
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 | bounds_check_with_label() checks for i/o outside of the partition and | Kenneth R Westerback | |
for overwriting the disklabel. Reorder some checks so all copies of bounds_check_with_label do the checks in the same order. Order picked by using the currently most popular one. Should be no functional change. "If it's boring, commit it" deraadt@ | |||
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-06-01 | Don't initialize d_partitions[RAW_DISK] just before calling | Kenneth R Westerback | |
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@ | |||
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 | Be consistant and use b_cylinder when saving the cylinder number for | Kenneth R Westerback | |
disksort, not b_resid. b_cylinder is defined to be 'b_resid' so no functional change. ok deraadt@ | |||
2007-05-31 | extend the sun disklabel format to contain filesystem types. also, | Theo de Raadt | |
store the information fsck needs. this allows us to create raid partitions, nicely, of course. ok miod todd krw | |||
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 | use the right capitalization for `SBus' | Igor Sobrado | |
ok jmc@ | |||
2007-05-29 | typo | Theo de Raadt | |
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-29 | Add led(4). | Mark Kettenis | |
2007-05-29 | New driver for front panel LEDs on the V215/245. | Mark Kettenis | |
2007-05-29 | remove support for many alternative kernel choices -- only try /bsd and | Theo de Raadt | |
not the other stupid names. that feature was retarded. tested on a few architectures by a few people | |||
2007-05-28 | bob missed a file, zap zap | Ted Unangst | |
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 | avoid bypassing sys/queue.h in many places in the kernel. | Pierre-Yves Ritschard | |
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@ | |||
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-28 | Fix comparison between signed and unsigned integer. Makes the random | Mark Kettenis | |
panics during autoconf disappear on the v215. ok dlg@, otto@ | |||
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 | tht works | David Gwynne | |
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-26 | Add re(4). From brad at comstyle dot com. | Mark Kettenis | |
2007-05-26 | More comment typos from Diego Casati. Including winners like funtion, allmost, | Kenneth R Westerback | |
oustside, seqencer, toghether, nessissary, etc. | |||
2007-05-25 | "interupt" -> "interrupt" in various comments. Mostly from Diego Casati. | Kenneth R Westerback | |
2007-05-23 | Print real/available memory in MB as well as bytes in dmesg, and unify | Peter Valchev | |
architectures to print it the same way. ok henning, miod; i386 part from tom | |||
2007-05-21 | Switch pcfiic to rwlock. | Jonathan Gray | |
ok dlg@ kettenis@ | |||
2007-05-20 | Replace ASSERT with KDASSERT and get rid of its definition; while there, | Miod Vallat | |
remove some #if 0 dead code which won't get ressurrected anytime soon. | |||
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@ |