diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-02-03 14:30:25 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-02-03 14:30:25 -0500 |
commit | 3b5ebf8e1ac88babf60772d54bc81b180b5f53b0 (patch) | |
tree | 4325e07d1036ecda66d1f3c2e5fb5c7bbaf5341f /drivers/net/fec_mpc52xx.c | |
parent | b1792e367053968f2ddb48bc911d314143ce6242 (diff) |
powerpc/5200: Stop using device_type and port-number properties
There is no reason for the PSC UART driver or the Ethernet driver
to require a device_type property. The compatible value is sufficient
to uniquely identify the device. Remove it from the driver.
The whole 'port-number' scheme for assigning numbers to PSC uarts was
always rather half baked and just adds complexity. Remove it from the
driver. After this patch is applied, PSC UART numbers are simply
assigned from the order they are found in the device tree (just like
all the other devices). Userspace can query sysfs to determine what
ttyPSC number is assigned to each PSC instance.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/net/fec_mpc52xx.c')
-rw-r--r-- | drivers/net/fec_mpc52xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index cd8e98b45ec5..049b0a7e01f3 100644 --- a/drivers/net/fec_mpc52xx.c +++ b/drivers/net/fec_mpc52xx.c | |||
@@ -1123,9 +1123,9 @@ static int mpc52xx_fec_of_resume(struct of_device *op) | |||
1123 | #endif | 1123 | #endif |
1124 | 1124 | ||
1125 | static struct of_device_id mpc52xx_fec_match[] = { | 1125 | static struct of_device_id mpc52xx_fec_match[] = { |
1126 | { .type = "network", .compatible = "fsl,mpc5200b-fec", }, | 1126 | { .compatible = "fsl,mpc5200b-fec", }, |
1127 | { .type = "network", .compatible = "fsl,mpc5200-fec", }, | 1127 | { .compatible = "fsl,mpc5200-fec", }, |
1128 | { .type = "network", .compatible = "mpc5200-fec", }, | 1128 | { .compatible = "mpc5200-fec", }, |
1129 | { } | 1129 | { } |
1130 | }; | 1130 | }; |
1131 | 1131 | ||