summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/alpha/disksubr.c
AgeCommit message (Expand)Author
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
2007-06-14excessive blank lines making the versions differentTheo de Raadt
2007-06-14set the prototype disklabel to version 1Theo de Raadt
2007-06-14do not depend on previous loop variable, use a constant insteadTheo de Raadt
2007-06-12all disksubr.c did their b_flags manipulation differently (and wrong).Theo de Raadt
2007-06-10No need for two *LABELSECTOR and *LABELOFFSET defines that mean theKenneth R Westerback
2007-06-09The differences in the last non-homogeneous bounds_check_with_label()Kenneth R Westerback
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-09by hand i carefully found that all the differences in setdisklabel()Theo de Raadt
2007-06-09annoying spacing glitch which makes the diffs biggerTheo de Raadt
2007-06-08all disklabels read from the kernel now always contain a total sectorTheo de Raadt
2007-06-07More bounds_check_with_label homogenization. Fix a couple of typos whileKenneth R Westerback
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-06a fair sprinking of knf, code movement, and sometimes character-by-characterTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-02Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than justKenneth R Westerback
2007-05-31KNF, whitespace and comment rectification to make allKenneth R Westerback
2007-05-31Standardize on -1 as the error return value forKenneth R Westerback
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-05-29Refactor readdisklabel() to ensure there is a single point of return, inKenneth R Westerback
2007-02-18Remove #ifdef/#endif's around MBR checking code. Remove now unusedKenneth R Westerback
2007-02-18If no MBR partitions are found when spoofing a disklabel, try lookingKenneth R Westerback
2007-02-03Don't spoof an msdosfs partition if it claims to start after the endKenneth R Westerback
2006-10-28We don't currently write a disklabel into an OpenBSD ('A6') DOS MBRKenneth R Westerback
2006-10-21Don't try to spoof 0 length DOS MBR/EBR partitions. By skippingKenneth R Westerback
2006-10-21Some KNF cleanup.Kenneth R Westerback
2006-10-21We have a pointer (pp), so use it in the DOSPTYP_UNUSED case ratherKenneth R Westerback
2006-10-20Try again with local variable to avoid alignment issues.Kenneth R Westerback
2006-10-18back out disksubr changes ... since they violate strict alignment onTheo de Raadt
2006-10-17The dosparts member of cpu_disklabel was not used for any persistantKenneth R Westerback
2006-10-10Don't spoof a Free/NetBSD MBR partition as the 'a' partition in aKenneth R Westerback
2006-10-04unused variableTheo de Raadt
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
2006-10-04Zap bad144 bad sector info in disklabels. Sparsely used if at all forKenneth R Westerback
2006-09-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
2006-08-20When spoofing an MSDOS disklabel, don't create partitions with a finalKenneth R Westerback
2006-08-17tsk tsk, krw did not test compile thisTheo de Raadt
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
2006-08-11Use d_secperunit rather than 0x1fffffff as the default value forKenneth R Westerback
2006-07-11Remove DISKLABEL_ALL, DISKLABEL_ALPHA, leave DISKLABEL_I386 inKenneth R Westerback
2006-07-09Remove DLT_* logic from Alpha as well, being careful to keep theKenneth R Westerback
2006-07-03Eliminate most of the #if/#endif maze in alpha, hppa, hppa64, and mips64Kenneth R Westerback
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
2006-06-11Amiga is no longer amoung us. Some architectures were too sentimentalKenneth R Westerback
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat