SD Driver and multiple hardware instances
I have been asked to modify an existing SD driver to support more than one instance of the hardware. There are 3 slots on the evaluation board and 2 of the slots have the same hardware device in them. When I load the driver my spio_probe function gets called once (I expected twice). So I assume that is some address or bus pointer that I need to include when doing register reads and writes to distinguish which hardware I am talking to.
I would really appreciate some help knowing how to get two call backs to my spio_probe function, or how to register two devices on the SD bus.
Thanks,
M-
|