summaryrefslogtreecommitdiffstats
path: root/sys/sys/disklabel.h
Commit message (Collapse)AuthorAgeFilesLines
* buf.h:gibbs1997-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the definition of a buffer queue so that bufqdisksort can properly deal with bordered writes. Add inline functions for accessing buffer queues. This should be considered an opaque data structure by clients. callout.h: New callout implementation. device.h: Add support for CAM interrupts. disk.h: disklabel.h: tqdisksort->bufqdisksort kernel.h: Add new configuration entries for configuration hooks and calling cpu_rootconf and cpu_dumpconf. param.h: Add a priority for sleeping waiting on config hooks. proc.h: Update for new callout implementation. queue.h: Add TAILQ_HEAD_INITIALIZER from NetBSD. systm.h: Add prototypes for cpu_root/dumpconf, splcam, splsoftcam, etc..
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Changed dkunit() to use some previously unused bits in the 'type' fielddg1997-01-241-7/+3
| | | | to extend the unit field to 9 bits (512 units).
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:bde1996-09-211-7/+6
| | | | | | | | | | | | | - don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers.
* Don't include <sys/conf.h> for the kernel in disk-related headers.bde1996-09-201-7/+5
| | | | | | | | | | It is needed for implementation details but very little of it is needed for the interface. Include it in the few places that didn't already include it. Include <sys/ioccom.h> in <sys/disklabel.h> (as already in <sys/diskslice.h>) so that all the disk-related headers are almost self-sufficient.
* The Great PC98 Merge.asami1996-06-141-1/+34
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Bring in ccd support.asami1996-05-031-1/+3
| | | | New disk type for ccd.
* Merge in Lite2: use fixed-width types and reformat comments.hsu1996-03-111-65/+66
| | | | Reviewed by: davidg & bde
* Oops, the previous change was missing the declaration of `structbde1995-11-241-1/+3
| | | | | buf_queue_head'. It isn't forward declared in <sys/types.h> like `struct buf'.
* Declared tqdisksort(). <sys/disklabel.h> is the wrong place, butbde1995-11-241-1/+2
| | | | <sys.disk.h> isn't used, so the declaration there isn't seen.
* Remove transitory labelling code. Labels are now handled by essentiallybde1995-09-161-47/+2
| | | | | the original 4.4lite code. Machine Specific Partitions are now handled separately.
* Remove trailing whitespace.rgrimes1995-05-301-7/+7
|
* Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support.dg1995-05-161-1/+2
| | | | | Reviewed by: Bruce Evans Submitted by: Poul-Henning Kamp
* Removed extraneous comma.dg1995-05-151-2/+2
| | | | Reviewed by: Bruce Evans
* making a reservation for more bits before people start using themjulian1995-04-301-1/+15
| | | | | | | | | | | | | | | | | | in the minor number, (this stuff HAS to go!) The change I want is: /* 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 _________________________________________________________________ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------------------------------------- | TYPE | SLICE | MAJOR? | UNIT |PART | <-now ----------------------------------------------------------------- | TYPE |PART2| SLICE | MAJOR? | UNIT |PART | <-soon ----------------------------------------------------------------- I want 3 more part bits (taken from 'TYPE' (useless as it is) (JRE) */
* Remove bogus unused `struct cpu_disklabel'.bde1995-04-151-3/+1
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-1/+3
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Add a prototype.bde1995-02-221-1/+3
|
* disklabel.h:bde1994-12-111-21/+55
| | | | | | | | | | | | | | | Prepare for disk slices - more macros for handling disk device numbers, version of readdisklabel() without DOS goop. Clean up prototypes. Uniformize idempotency ifdef. diskslice.h: New file. dkbad.h: Define more magic numbers. Declare internalized version of dkbad struct and functions to operate on it. Uniformize idempotency ifdef.
* Declare `struct dkbad' with the correct scope so that everything includingbde1994-11-141-1/+3
| | | | | <sys/disklabel.h> doesn't have to include <sys/dkbad.h> to avoid compiler warnings.
* changed '#ifdef i386' to '#ifdef __i386__'phk1994-10-311-2/+2
|
* Julian Elischer's disklabel fixes.jkh1994-10-271-1/+41
|
* Addedpaul1994-10-201-2/+3
| | | | | | | | | #define MBR_PTYPE_FreeBSD 0xa5 /* FreeBSD partition type */ Reviewed by: Submitted by: Obtained from:
* Made them all idempotent.paul1994-08-211-1/+6
| | | | | Reviewed by: Submitted by:
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+32
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+332
OpenPOWER on IntegriCloud