lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 30 Dec 2008 13:43:27 +0100
From:	"Per Andreas Gulbrandsen" <theperan@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Question about several drivers for one physical device

Hi.

I have two drivers that both use the same device, an FPGA connected
via pci. These two pci drivers represent different functionality in
the FPGA, and they each have it's own BAR. My problem is that I can't
get these two drivers to correctly initialize. Only the first one
loaded actually finds the device (which one of the two doesn't
matter). The second driver I load never has it's probe method run, and
so it doesn't initialize correctly. I am aware that integrating these
two drivers in one module is a possiblity, but since these two drivers
aren't really related (except that they both drive an FPGA) I would
like to keep them as two separate modules. My question is really: Is
there another way to do this, or will I have to integrate the two so
they share init/exit/probe methods?

--
mvh
Per Andreas Gulbrandsen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ