diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
commit | df6d3916f3b7b7e2067567a256dd4f0c1ea854a2 (patch) | |
tree | 0fdeab1ab5d566605fc99aeb5ea3f621f11e7608 /sound/ppc/pmac.c | |
parent | 74add80cbd7fe246c893b93ee75ac59acdd01dd4 (diff) | |
parent | 197686dfe0038fd190326d118b743ff65ad20c0e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (77 commits)
[POWERPC] Abolish powerpc_flash_init()
[POWERPC] Early serial debug support for PPC44x
[POWERPC] Support for the Ebony 440GP reference board in arch/powerpc
[POWERPC] Add device tree for Ebony
[POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now
[POWERPC] MPIC U3/U4 MSI backend
[POWERPC] MPIC MSI allocator
[POWERPC] Enable MSI mappings for MPIC
[POWERPC] Tell Phyp we support MSI
[POWERPC] RTAS MSI implementation
[POWERPC] PowerPC MSI infrastructure
[POWERPC] Rip out the existing powerpc msi stubs
[POWERPC] Remove use of 4level-fixup.h for ppc32
[POWERPC] Add powerpc PCI-E reset API implementation
[POWERPC] Holly bootwrapper
[POWERPC] Holly DTS
[POWERPC] Holly defconfig
[POWERPC] Add support for 750CL Holly board
[POWERPC] Generalize tsi108 PCI setup
[POWERPC] Generalize tsi108 PHY types
...
Fixed conflict in include/asm-powerpc/kdebug.h manually
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 2bae9c1a2b54..5a2bef44a2f5 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -843,7 +843,7 @@ static void __init detect_byte_swap(struct snd_pmac *chip) | |||
843 | /* if seems that Keylargo can't byte-swap */ | 843 | /* if seems that Keylargo can't byte-swap */ |
844 | for (mio = chip->node->parent; mio; mio = mio->parent) { | 844 | for (mio = chip->node->parent; mio; mio = mio->parent) { |
845 | if (strcmp(mio->name, "mac-io") == 0) { | 845 | if (strcmp(mio->name, "mac-io") == 0) { |
846 | if (device_is_compatible(mio, "Keylargo")) | 846 | if (of_device_is_compatible(mio, "Keylargo")) |
847 | chip->can_byte_swap = 0; | 847 | chip->can_byte_swap = 0; |
848 | break; | 848 | break; |
849 | } | 849 | } |
@@ -910,7 +910,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip) | |||
910 | chip->node = of_find_node_by_name(NULL, "i2s-a"); | 910 | chip->node = of_find_node_by_name(NULL, "i2s-a"); |
911 | if (chip->node && chip->node->parent && | 911 | if (chip->node && chip->node->parent && |
912 | chip->node->parent->parent) { | 912 | chip->node->parent->parent) { |
913 | if (device_is_compatible(chip->node->parent->parent, | 913 | if (of_device_is_compatible(chip->node->parent->parent, |
914 | "K2-Keylargo")) | 914 | "K2-Keylargo")) |
915 | chip->is_k2 = 1; | 915 | chip->is_k2 = 1; |
916 | } | 916 | } |
@@ -941,22 +941,22 @@ static int __init snd_pmac_detect(struct snd_pmac *chip) | |||
941 | return -ENODEV; | 941 | return -ENODEV; |
942 | } | 942 | } |
943 | /* This should be verified on older screamers */ | 943 | /* This should be verified on older screamers */ |
944 | if (device_is_compatible(sound, "screamer")) { | 944 | if (of_device_is_compatible(sound, "screamer")) { |
945 | chip->model = PMAC_SCREAMER; | 945 | chip->model = PMAC_SCREAMER; |
946 | // chip->can_byte_swap = 0; /* FIXME: check this */ | 946 | // chip->can_byte_swap = 0; /* FIXME: check this */ |
947 | } | 947 | } |
948 | if (device_is_compatible(sound, "burgundy")) { | 948 | if (of_device_is_compatible(sound, "burgundy")) { |
949 | chip->model = PMAC_BURGUNDY; | 949 | chip->model = PMAC_BURGUNDY; |
950 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ | 950 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ |
951 | } | 951 | } |
952 | if (device_is_compatible(sound, "daca")) { | 952 | if (of_device_is_compatible(sound, "daca")) { |
953 | chip->model = PMAC_DACA; | 953 | chip->model = PMAC_DACA; |
954 | chip->can_capture = 0; /* no capture */ | 954 | chip->can_capture = 0; /* no capture */ |
955 | chip->can_duplex = 0; | 955 | chip->can_duplex = 0; |
956 | // chip->can_byte_swap = 0; /* FIXME: check this */ | 956 | // chip->can_byte_swap = 0; /* FIXME: check this */ |
957 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ | 957 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ |
958 | } | 958 | } |
959 | if (device_is_compatible(sound, "tumbler")) { | 959 | if (of_device_is_compatible(sound, "tumbler")) { |
960 | chip->model = PMAC_TUMBLER; | 960 | chip->model = PMAC_TUMBLER; |
961 | chip->can_capture = 0; /* no capture */ | 961 | chip->can_capture = 0; /* no capture */ |
962 | chip->can_duplex = 0; | 962 | chip->can_duplex = 0; |
@@ -965,7 +965,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip) | |||
965 | chip->freq_table = tumbler_freqs; | 965 | chip->freq_table = tumbler_freqs; |
966 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ | 966 | chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ |
967 | } | 967 | } |
968 | if (device_is_compatible(sound, "snapper")) { | 968 | if (of_device_is_compatible(sound, "snapper")) { |
969 | chip->model = PMAC_SNAPPER; | 969 | chip->model = PMAC_SNAPPER; |
970 | // chip->can_byte_swap = 0; /* FIXME: check this */ | 970 | // chip->can_byte_swap = 0; /* FIXME: check this */ |
971 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); | 971 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); |