Re: sparc: struct device - replace bus_id with dev_name(), dev_set_name()

From: Kay Sievers
Date: Fri May 22 2009 - 07:43:21 EST


On Fri, Apr 17, 2009 at 00:56, David Miller <davem@xxxxxxxxxxxxx> wrote:
>>> > The name size limit is gone, there is no BUS_ID_SIZE thing anymore in
>>> > the driver core. BUS_ID_SIZE should go away in the 2.6.30 timeframe.
>>> >
>>> > Could you please convert/remove BUS_ID_SIZE value from:
>>> >  drivers/net/gianfar.h:  char  Âphy_bus_id[BUS_ID_SIZE];
>>> > Â drivers/net/ucc_geth.h: Âchar phy_bus_id[BUS_ID_SIZE];
>>> >  drivers/net/pasemi_mac.h:    Âchar  Âphy_id[BUS_ID_SIZE];
>>> > Â include/linux/phy.h:#define MII_BUS_ID_SIZE Â Â Â(BUS_ID_SIZE - 3)
>>> > Â include/linux/phy.h: Â Â char bus_id[BUS_ID_SIZE];
>>> >
>>> > Or let me know how you want to convert it, so I can do it?
>>>
>>> Thanks a lot Kay, I'll look into these cases and take care
>>> of it.
>>
>> This moves the 20 into the netdevice header, we need to get rid
>> of the driver core define now, otherwise people start adding new
>> code using it, and we want to finish this thankless job finally. :)
>
> I was working on fixing this properly Kay, please be patient.
>
> I'll have it killed off in net-next-2.6 soon enough.

Hey David,
just a quick check, to make sure we are prepared when 2.6.31 opens.
Any updates regarding the BUS_ID_SIZE conversion?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/