Query: get_ccwdev_by_busid
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GET_CCWDEV_BY_BUSID(9) The ccw bus GET_CCWDEV_BY_BUSID(9)NAMEget_ccwdev_by_busid - obtain device from a bus idSYNOPSISstruct ccw_device * get_ccwdev_by_busid(struct ccw_driver * cdrv, const char * bus_id);ARGUMENTScdrv driver the device is owned by bus_id bus id of the device to be searchedDESCRIPTIONThis function searches all devices owned by cdrv for a device with a bus id matching bus_id.RETURNSIf a match is found, its reference count of the found device is increased and it is returned; else NULL is returned.AUTHORCornelia Huck <cornelia.huck@de.ibm.com> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 GET_CCWDEV_BY_BUSID(9)