summaryrefslogtreecommitdiffstats
path: root/sys/arch/sh/include/disklabel.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use #ifndef _MACHINE_DISKLABEL_H_ everywhere. Replace _ARM_DISKLABEL_H_krw2015-09-301-4/+4
| | | | | | and _SH_DISKLABEL_H_ with _MACHINE_DISKLABEL_H_. Add the guard to loongson and octeon. The #defines are not used anywhere else in the tree so no functional change.
* Use consistant whitespace/comments for #define'ing LABELSECTOR,krw2015-09-301-4/+4
| | | | | LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
* SH is not ARM.drahn2008-04-061-4/+4
|
* b_cylinder does not need to be set on the callpath down into drivers.deraadt2007-06-201-4/+1
| | | | cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
* significantly simplified disklabel infrastructure. MBR handling becomes MIderaadt2007-06-171-62/+1
| | | | | | | | 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
* Try again with local variable to avoid alignment issues.krw2006-10-201-2/+1
| | | | | | | | | | "The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@"
* back out disksubr changes ... since they violate strict alignment onderaadt2006-10-181-1/+2
| | | | | some architectures (kaboom); that will be fixed in the next iteration hopefully!
* The dosparts member of cpu_disklabel was not used for any persistantkrw2006-10-171-2/+1
| | | | | | | | | data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@
* Sync with recent disklabel.h changes. Zap dkbad.krw2006-10-061-3/+1
| | | | "Free commits" miod@
* Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase withmiod2006-10-061-0/+112
minor changes.