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-prev] [day] [month] [year] [list]
Date:	Mon, 14 Jun 2010 17:53:29 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Robert Emanuele <rob@...nuele.us>
CC:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Testing to see if a driver is loaded

On 06/12/2010 10:33 PM, Robert Emanuele wrote:
> Greetings once again,
>
> I was wondering if there is a simple way to test if a driver is loaded
> from within another driver's probe?  I have one driver that depends on
> another.  I see several *_find_device functions in
> include/linux/device.h.  I haven't found a "find driver" nor an
> arbitrary way of doing that.
>
> Thanks for any guidance,

There's not a simple answer, it depends what you are trying to achieve 
(i.e. in what way is the driver dependent on the other one..)
--
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