Copyright (c) 2003 M. Warner Losh 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...
NAMEdevice_get_name , device_get_nameunit - access the name of a device's device class or instance
SYNOPSISIn sys/param.h In sys/bus.h Ft const char * Fn device_get_name device_t dev Ft const char * Fn device_get_nameunit device_t dev
DESCRIPTIONThe Fn device_get_name function returns the name of the device's device class.
The Fn device_get_nameunit function returns the name of the device's instance.