Re: [PATCH]drivers/net/phy/: default return value in ioctl phy.c

From: Andy Fleming
Date: Mon Jan 14 2008 - 13:48:59 EST



On Dec 11, 2007, at 09:02, Rini van Zetten wrote:

Hello Andy,

This patch (to 2.6.23.9) add a default return value EOPNOTSUPP to the ioctl function. The problem with the always 0 return value is that the iwconfig (wireless) tool found a valid device when an ethernet device uses the phy abstraction layer.
I 've tetsted this with the macb driver.


Signed-off-by: Rini van Zetten <rini@xxxxxxxx>

Acked-by: Andy Fleming <afleming@xxxxxxxxxxxxx>
--
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/