EV-64260-BP & GT64260 bi_recs
Quoted 1 line · Wolfgang Denk
I'm getting a bit tired about this discussion.
I got tired a long time ago.
Quoted 3 lines
We start with siome
nice ideas, then some open issues pop up, and instead of trying to find a solution we drop everything again.
^^^^^^^^^^^^^^^^^^^^^^^^^
No, we don't drop everything again, there is my patch, and Mark said he'll push it if there is no consensus in the next few days, which I've already bet $50 on.
Quoted 9 lines
For instance. Hey, but we are talking about a very, very special case here - when you have set of non-standard controllers which don't know their own addresses _and_ need to get a specific assignment _and_ you don't know the initialization sequence _and_ ...
For 98% of all practical purposes it will be sufficient to pass the list of MAC addresses, and for 1.95% it will be sufficient to combine the MAC address with information about the driver type (GT, 82xx, ...).
But this is lousy logic, it's this kind of logic (it's OK for 98% of cases) that has given us the crap we have right now.
Just what is wrong with my solution of BI_GT64260_ETH_CFG, BI_8260_ETH_CFG, BI_8XX_ETH_CFG, etc?
MS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · In message <[email protected]> you wrote:
Just what is wrong with my solution of
BI_GT64260_ETH_CFG,BI_8260_ETH_CFG,BI_8XX_ETH_CFG, etc?
I don't think you need to pass different information around; in fact, all these probably need exactly the same information... There is no inherent difference between the ethernet interfaces on a 8xx or on a 82xx. But both the 8xx and 82xx come with two pretty much different onchip ethernet controllers (SCC/FEC on 8xx, SCC/FCC on 82xx).
So should we have BI_8XX_SCC_ETH_CFG, BI_8XX_FCC_ETH_CFG,BI_8260_SCC_ETH_CFG, BI_8260_FCC_ETH_CFG, ...? Certainly not.
I don't know the GT64260 that well; what makes it's ethernet interface so much different from all other devices that it cannot share a common BI_ETH_CFG?
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim"
- Edsgar W. Dijkstra
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/