devclass (9)
Leading comments
Copyright (c) 1998 Doug Rabson All rights reserved. This program is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in...
NAME
devclass - object representing a class of devicesSYNOPSIS
Vt typedef struct devclass *devclass_t ;DESCRIPTION
The Vt devclass object has two main functions in the system. The first is to manage the allocation of unit numbers for device instances and the second is to hold the list of device drivers for a particular bus type. Each Vt devclass has a name and there cannot be two devclasses with the same name. This ensures that unique unit numbers are allocated to device instances.Beware that this means Vt devclass must be the same for different bus attachments of the same device driver.