* PLX9030 port
@ 2010-08-07 16:06 vivek
0 siblings, 0 replies; only message in thread
From: vivek @ 2010-08-07 16:06 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 952 bytes --]
Hello all
I am new to the mail list
I am trying to port the driver for PLX9030 PCI host chip based add-on card from x86 to PPC7410 arch
the following function function returns NULL
pci_get_device(0x10b5, 0x9030, NULL)
vendor ID given for PLX is 0x10b5
device ID is 0x9030
These values worked and the module found the device in x86 platform,
But the same code is complied and inserted on PPC7410 platform, the modules failed to detect the device
Is there any Endianness conversion to be performed before passing the values to pci_get_device() in hex format ?
I am using linux 2.6.24 kernel and
while make-ing the module ,ko file for PPC7410 using cross_complier gcc_74xx-
there was a WARNING message "struct_module undefined "
But it is possible to insert the module in the kernel running on PPC7410, which then printk 's the message when pci_get_device() returns NULL
can anyone help?
thnaks --vivek
[-- Attachment #2: Type: text/html, Size: 1486 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-07 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 16:06 PLX9030 port vivek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox