freebsd-dev/sys/geom
Ed Schouten 06d425f92e Remove the distinction between device minor and unit numbers.
Even though we got rid of device major numbers some time ago, device
drivers still need to provide unique device minor numbers to make_dev().
These numbers are only used inside the kernel. They are not related to
device major and minor numbers which are visible in devfs. These are
actually based on the inode number of the device.

It would eventually be nice to remove minor numbers entirely, but we
don't want to be too agressive here.

Because the 8-15 bits of the device number field (si_drv0) are still
reserved for the major number, there is no 1:1 mapping of the device
minor and unit numbers. Because this is now unused, remove the
restrictions on these numbers.

The MAXMAJOR definition was actually used for two purposes. It was used
to convert both the userspace and kernelspace device numbers to their
major/minor pair, which is why it is now named UMINORMASK.

minor2unit() and unit2minor() have now become useless. Both minor() and
dev2unit() now serve the same purpose. We should eventually remove some
of them, at least turning them into macro's. If devfs would become
completely minor number unaware, we could consider using si_drv0 directly,
just like si_drv1 and si_drv2.

Approved by:	philip (mentor)
2008-05-29 12:50:46 +00:00
..
bde Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cache
concat
eli On some arches, openssl is built with OPENSSL_NO_CAMELLIA, so the 2007-11-19 08:59:32 +00:00
gate
journal Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
label o s/resiserfs_sb/reiserfs_sb/. 2007-11-16 19:43:26 +00:00
linux_lvm Add a geom class to map Linux LVM logical volumes. 2008-02-20 07:45:36 +00:00
mirror Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
multipath Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nop
part Implement the G_PART_DUMPCONF method for all 6 schemes. Also call 2008-04-23 20:13:05 +00:00
raid3 Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
shsec
stripe
uzip
vinum - Recognize the 'volume' parameter when creating a plex. 2008-05-22 10:27:03 +00:00
virstor LINT compiled just fine for me, but it seems it breaks tinerbox way of 2007-09-23 15:10:48 +00:00
zero
geom_aes.c
geom_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_bsd.c Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type. 2007-12-06 09:20:27 +00:00
geom_ccd.c
geom_ctl.c
geom_ctl.h
geom_dev.c Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
geom_disk.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
geom_disk.h
geom_dump.c
geom_event.c When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +00:00
geom_fox.c
geom_int.h
geom_io.c Don't limit BIO_DELETE requests to MAXPHYS, they perform no data 2007-12-16 18:03:31 +00:00
geom_kern.c
geom_mbr_enc.c
geom_mbr.c
geom_pc98_enc.c
geom_pc98.c
geom_slice.c
geom_slice.h
geom_subr.c - Assert that we don't send new provider event for a provider which has 2008-05-18 22:50:50 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c
geom_vfs.h
geom_vol_ffs.c
geom.h Add g_retaste(), which given a class will present all non-open providers 2008-03-23 01:23:35 +00:00
notes