device_get_name (9)
Leading comments
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...
NAME
device_get_name , device_get_nameunit - access the name of a device's device class or instanceSYNOPSIS
In 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 devDESCRIPTION
The 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.