summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
2007-06-10Remove definitions and usage of usb_callout and related macros. These macrosMarc Balmer
were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg.
2007-06-10No need for two *LABELSECTOR and *LABELOFFSET defines that mean theKenneth 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-09The 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-09Enable re* at cardbus?, tested with a D-Link DGE-660TD card.Marc Balmer
ok deraadt.
2007-06-09kill stupid character differenceTheo de Raadt
2007-06-09unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two)Theo de Raadt
2007-06-09remove a useless commentTheo de Raadt
2007-06-09Silence a debug printf.Miod Vallat
2007-06-09Increase MAXDSIZ on armish to 1GB, requested long ago, ok robert@Dale Rahn
2007-06-09various simple typo cleanups, basically making this look a lot more likeTheo de Raadt
other disksubr functions without changing any of the effect.
2007-06-09by 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-09annoying spacing glitch which makes the diffs biggerTheo de Raadt
2007-06-09typoTheo de Raadt
2007-06-09Eliminate some duplicate code. No functional change.Kenneth R Westerback
ok deraadt@
2007-06-08include files.bluetooth, so that bluetooth support can be compiled,Jasper Lievisse Adriaanse
if enabled. ok gwk@
2007-06-08we need a new sub-code in the VID driver to indicate new "struct partition"Theo de Raadt
fields which contain p_sizeh and such fields. handle both kinds correctly, we hope. tested on mvme68k
2007-06-08disklabel_om_to_bsd() is generating a v1 label so set the labelKenneth R Westerback
version to 1. ok deraadt@
2007-06-08all disklabels read from the kernel now always contain a total sectorTheo 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-08all disklabels read from the kernel now always contain a total sectorTheo 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-08all drivers should spoof version 1 labelsTheo 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-07Fix typo introduced during ANSI-fication. Found by Rainer Giedat. MIPSKenneth R Westerback
kernel compiles again.
2007-06-07roller-coaster. The bug that corrupts the page tables is back.Artur Grabowski
So put back the flushg in pmap_release since at least it hides it and I can now reproduce.
2007-06-07another XXsize() botchTheo de Raadt
2007-06-07GET should have been SETOtto Moerbeek
2007-06-07Replace magic bus clock constants in est related files with defines.Dimitry Andric
ok jsg
2007-06-07Fix spacing.Dimitry Andric
2007-06-07more XXsize() functions not fixedTheo de Raadt
2007-06-07best if this compilesTheo de Raadt
2007-06-07more XXsize() falloutTheo de Raadt
2007-06-07Comment 'fixes'. All bounds_check_with_label now identical except forKenneth R Westerback
vax and alpha.
2007-06-07Eliminate unnecessary duplicate defines *_LABELSECTOR andKenneth R Westerback
*_LABELOFFSET. Don't use osdep->labelsector since it will always be LABELSECTOR, since we don't support extended DOS partitions holding the OpenBSD disk label. No functional change. Now only Alpha and Vax bounds_check_with_label differ by more than comments.
2007-06-07More bounds_check_with_label homogenization. Fix a couple of typos whileKenneth R Westerback
there. 'so go to it!' deraadt@
2007-06-07another XXsize() function forgottenTheo de Raadt
2007-06-06clamp 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-06an XXsize() function that got skippedTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo 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-06a fair sprinking of knf, code movement, and sometimes character-by-characterTheo 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-05Remove the comment "Static function protoypes". Static is gone in USB.Marc Balmer
no binary change.
2007-06-05Use phys_map, not kernel_map in v{,un}mapbuf. ok mickeyMiod Vallat
2007-06-05Remove the "Static" function declaration. It is defined to beMarc Balmer
empty and confuses the source code reader. As discussed with dlg and jsg.
2007-06-05bounds_check_with_label() checks for i/o outside of the partition andKenneth 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-05use six new macros to access & store the 48-bit disklabel fields relatedTheo 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-04bluetooth isn't really useful yet, but at least give it a chance to compileChris Kuethe
ok gwk
2007-06-04Bring presto's readdisklabel() usage into line with other uses. i.e.Kenneth R Westerback
don't call it at attach but at open, so that the correct device can be used in the DISKLABELDEV() invocation. Commit and get into miod's test schedule. '... commit your diff ...' miod@
2007-06-04do not shuffle dev 4 under the carpet; make svnd work again; uncookieOtto Moerbeek
for deraadt@ ok irc@
2007-06-04Use 166.67 and 266.67 for bus_clock and not 166.66 and 266.66,Jonathan Gray
as per recommended values from Intel documentation. ok tedu@
2007-06-03if the 915gm didn't work on i386, it's worrisome here too. remove it.Ted Unangst
2007-06-03Dummy <machine/bus.h> for softraid to compile.Miod Vallat