Skip to contentSkip to conversation

matroxfb, anybody? (More details...)

DISCUSSION Petr Vandrovec Ing. VTEI 1 participant 1 message Feb 1, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Geert Uytterhoeven
Quoted 4 lines

So, attached patch adds back that matrox_init is called unless you specify video=matrox:off' on command line. In this case, matrox can be still initialized through offb. If you specify video=matrox:disabled', driver will be unavailable for offb too.

Which does not help if you have 2 Matrox boards, due to the single static `initialized' variable.

No problem because of driver initializes ALL matroxes once matrox_init is called, regardless of device_node contents (behavior is determined by video=matrox:dev:X parameter).

Quoted 4 lines
Quoted 2 lines

Also, driver still does not use device_node passed to driver by offb because of no-one told me what I can expect in that variable... Driver

You can find the PCI base addresses in there (look at atyfb_of_init() for an example).

Unless `register_pci_region' is here, I think that I stay with current behavior. I'm too lazy to add skipping of already registered devices into matrox_init().
Petr Vandrovec [email protected]

[[ 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] ]]