matroxfb, anybody? (More details...)
Quoted 6 lines · Geert Uytterhoeven
Quoted 4 lines
So, attached patch adds back that
matrox_initis called unless you specifyvideo=matrox:off' on command line. In this case, matrox can be still initialized through offb. If you specifyvideo=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_nodepassed to driver by offb because of no-one told me what I can expect in that variable... DriverYou 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] ]]