PowerMac7,3 sound (was: PowerBook5,4 -- no sound?)

Andreas Schwab schwab at suse.de
Thu May 18 06:14:29 EST 2006


Andreas Schwab <schwab at suse.de> writes:

> Johannes Berg <johannes at sipsolutions.net> writes:
>
>> Andreas, you'll probably be able to get a bit further by inserting the
>> following code in front of the loop in i2sbus-core.c line 162, and
>> removing the of_address_to_resource call inside the loop.
>>
>>   dev->resources[0].start = 0x80010000;
>>   dev->resources[0].end   = 0x80010fff;
>>   dev->resources[1].start = 0x80008000;
>>   dev->resources[1].end   = 0x800080ff;
>>   dev->resources[2].start = 0x80008100;
>>   dev->resources[2].end   = 0x800081ff;
>>
>> But I'm not sure that is correct on all machines (in fact, I'm not
>> perfectly sure it is correct on your machine).
>
> I have the following sound resources in /proc/iomem:
>
>         80008000-800083ff : 0.00010000:i2s
>           80008000-800083ff : Sound DMA
>         80010000-80010fff : 0.00010000:i2s
>           80010000-80010fff : Sound Control
>
> I'm not sure whether the first mapping should be split, but I don't know
> much about how resource mappings work.

It definitely didn't work.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list