kernel_optimize_test/arch/powerpc/boot/dts
Grant Erickson 05781ccd74 ibm_newemac: Parameterize EMAC Multicast Match Handling
Various instances of the EMAC core have varying: 1) number of address
match slots, 2) width of the registers for handling address match slots,
3) number of registers for handling address match slots and 4) base
offset for those registers.

As the driver stands today, it assumes that all EMACs have 4 IAHT and
GAHT 32-bit registers, starting at offset 0x30 from the register base,
with only 16-bits of each used for a total of 64 match slots.

The 405EX(r) and 460EX now use the EMAC4SYNC core rather than the EMAC4
core. This core has 8 IAHT and GAHT registers, starting at offset 0x80
from the register base, with ALL 32-bits of each used for a total of
256 match slots.

This adds a new compatible device tree entry "emac4sync" and a new,
related feature flag "EMAC_FTR_EMAC4SYNC" along with a series of macros
and inlines which supply the appropriate parameterized value based on
the presence or absence of the EMAC4SYNC feature.

The code has further been reworked where appropriate to use those macros
and inlines.

In addition, the register size passed to ioremap is now taken from the
device tree:

	c4 for EMAC4SYNC cores
	74 for EMAC4 cores
	70 for EMAC cores

rather than sizeof (emac_regs).

Finally, the device trees have been updated with the appropriate compatible
entries and resource sizes.

This has been tested on an AMCC Haleakala board such that: 1) inbound
ICMP requests to 'haleakala.local' via MDNS from both Mac OS X 10.4.11
and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from
'haleakala.local' to those same systems in the '.local' domain via MDNS
now work.

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-09 16:30:46 +10:00
..
adder875-redboot.dts
adder875-uboot.dts
asp834x-redboot.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
bamboo.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
c2k.dts powerpc: DTS file for the C2K 2008-06-09 13:41:16 +10:00
canyonlands.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
cm5200.dts [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
ebony.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
ep88xc.dts
ep405.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
ep8248e.dts
glacier.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
haleakala.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
holly.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
katmai.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
kilauea.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
ksi8560.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
kuroboxHD.dts
kuroboxHG.dts
lite5200.dts [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
lite5200b.dts [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
makalu.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
motionpro.dts [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
mpc832x_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc832x_rdb.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc834x_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc836x_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc836x_rdk.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc866ads.dts
mpc885ads.dts
mpc5121ads.dts
mpc7448hpc2.dts [POWERPC] Cleanup mpic nodes in .dts 2008-06-02 14:44:25 -05:00
mpc8272ads.dts
mpc8313erdb.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8315erdb.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8349emitx.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8349emitxgp.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8377_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8377_rdb.dts Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
mpc8378_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8378_rdb.dts Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
mpc8379_mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8379_rdb.dts Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
mpc8540ads.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8541cds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8544ds.dts [POWERPC] 85xx: Add next-level-cache property 2008-06-02 14:44:25 -05:00
mpc8548cds.dts Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
mpc8555cds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8560ads.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8568mds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8572ds.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
mpc8610_hpcd.dts Merge branch 'merge' 2008-06-09 12:19:41 +10:00
mpc8641_hpcn.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
pcm030.dts
pq2fads.dts
prpmc2800.dts
ps3.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
rainier.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
sam440ep.dts powerpc/4xx: Convert Sam440ep DTS to dts-v1 2008-06-11 08:33:59 -04:00
sbc8349.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
sbc8548.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
sbc8560.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
sbc8641d.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
sequoia.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
storcenter.dts [POWERPC] Cleanup mpic nodes in .dts 2008-06-02 14:44:25 -05:00
stx_gp3_8560.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
taishan.dts ibm_newemac: Parameterize EMAC Multicast Match Handling 2008-07-09 16:30:46 +10:00
tqm5200.dts [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
tqm8540.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
tqm8541.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
tqm8548-bigflash.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
tqm8548.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
tqm8555.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
tqm8560.dts powerpc: Add dma nodes to 83xx, 85xx and 86xx boards 2008-06-27 16:04:29 -05:00
walnut.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00
warp.dts [POWERPC] PIKA Warp: Update DTS to support Rev B boards 2008-05-29 07:06:56 -05:00
yosemite.dts [POWERPC] Convert remaining dts-v0 files to v1 2008-05-29 07:06:56 -05:00