kernels/linux-2.4.0/drivers/ide/ide-pmac.c
/* This one could be later extended to handle CMD IDE and be used by some kind
 * of /proc interface. I want to be able to get the devicetree path of a block
 * device for yaboot configuration
 */
This one could be later extended to handle CMD IDE and be used by some kind
of /proc interface. I want to be able to get the devicetree path of a block
device for yaboot configuration
This one could be later extended to handle CMD IDE and be used by some kind of / proc interface . I want to be able to get the devicetree path of a block device for yaboot configuration
struct device_node*
pmac_ide_get_devnode(ide_drive_t *drive)
{
	int i = pmac_ide_find(drive);
	if (i < 0)
		return NULL;
	return pmac_ide[i].node;
}
struct device_node * pmac_ide_get_devnode ( ide_drive_t * drive ) { int i = pmac_ide_find ( drive ) ; if ( i < 0 ) return NULL ; return pmac_ide [ i ] . node ; }
This one could be later extended to handle CMD IDE and be used by some kind
 of /proc interface.
This one could be later extended to handle CMD IDE and be used by some kind of / proc interface .