Skip to contentSkip to conversation

Interesting stuffs & feature bits

DISCUSSION Benjamin Herrenschmidt 1 participant 1 message Jan 9, 1999 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Benjamin Herrenschmidt

Apparently, on mt heathrow-based PowerBook, channel A is 0x4000 and channel B is 0x8000 but MacOS always enable bit at 0x2000 when setting one of those. So, in the array of feature, the mask for channel A should be 0x00004200 and for channel B, it should be 0x00008200. So I guess this bit is wrong too. The result for heathrow would be:

#define HEATHROW_SCCA_IO 0x4000
#define HEATHROW _SCCB_IO 0x8000
#define HEATHROW _SCC_ENABLE 0x2000

                               ^^^^^^

This is a typo, the value is 0x200, like OHare.

Signature · 10 lines
           E-Mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>




[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to [email protected] ]]