Re: Loading drivers via kldload

2011-08-16 Thread John Baldwin
On Monday, August 15, 2011 9:06:34 am Andriy Gapon wrote: on 13/08/2011 00:20 David Somayajulu said the following: This is pretty bizarre. I have been experimenting with a very simple driver (see source below) which essentially checks the PCI vendor and Device ID's in the probe routine.

Re: Loading drivers via kldload

2011-08-16 Thread Andriy Gapon
The following are pure speculations, I'd rather let David speak, but just in case; on 16/08/2011 18:45 John Baldwin said the following: Well, that would seem odd, still. It only returns BUS_PROBE_GENERIC (not 0), so David's driver's probe routine should still be called to get a chance to

RE: Loading drivers via kldload

2011-08-16 Thread David Somayajulu
Please see below. -david S. -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Tuesday, August 16, 2011 9:26 AM To: John Baldwin Cc: David Somayajulu; freebsd-current@freebsd.org Subject: Re: Loading drivers via kldload The following are pure speculations, I'd rather

Re: Loading drivers via kldload

2011-08-16 Thread John Baldwin
On Tuesday, August 16, 2011 12:26:11 pm Andriy Gapon wrote: The following are pure speculations, I'd rather let David speak, but just in case; on 16/08/2011 18:45 John Baldwin said the following: Well, that would seem odd, still. It only returns BUS_PROBE_GENERIC (not 0), so

Re: Loading drivers via kldload

2011-08-16 Thread Andriy Gapon
on 16/08/2011 22:09 John Baldwin said the following: On Tuesday, August 16, 2011 12:26:11 pm Andriy Gapon wrote: The following are pure speculations, I'd rather let David speak, but just in case; on 16/08/2011 18:45 John Baldwin said the following: Well, that would seem odd, still. It

Re: Loading drivers via kldload

2011-08-15 Thread Andriy Gapon
on 13/08/2011 00:20 David Somayajulu said the following: This is pretty bizarre. I have been experimenting with a very simple driver (see source below) which essentially checks the PCI vendor and Device ID's in the probe routine. The attach and detach are empty functions. When I run kldload

Re: Loading drivers via kldload

2011-08-12 Thread Stanislav Sedov
On Thu, 11 Aug 2011 17:08:30 -0700 David Somayajulu david.somayaj...@qlogic.com mentioned: Hi All, While loading PCIe based HBA drivers via kldload, does FreeBSD expect a valid (i.e., non-zero) PCI subsystem Vendor and Device IDs? It depends on the specific driver. FreeBSD doesn't check

RE: Loading drivers via kldload

2011-08-12 Thread David Somayajulu
-current@freebsd.org Subject: Re: Loading drivers via kldload On Thu, 11 Aug 2011 17:08:30 -0700 David Somayajulu david.somayaj...@qlogic.com mentioned: Hi All, While loading PCIe based HBA drivers via kldload, does FreeBSD expect a valid (i.e., non-zero) PCI subsystem Vendor and Device IDs

Loading drivers via kldload

2011-08-11 Thread David Somayajulu
Hi All, While loading PCIe based HBA drivers via kldload, does FreeBSD expect a valid (i.e., non-zero) PCI subsystem Vendor and Device IDs? Thanks, David Somayajulu This message and any attached documents contain information from QLogic Corporation or its