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:	Sun, 01 Sep 2013 22:33:04 +0100
From:	Ben Hutchings <ben@...adent.org.uk>
To:	David Miller <davem@...emloft.net>
Cc:	David Daney <david.daney@...ium.com>,
	netdev <netdev@...r.kernel.org>
Subject: [PATCH net-next] bcm87xx: Add MODULE_DEVICE_TABLE

bcm87xx currently isn't auto-loaded if built as a module.

Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
Compile-tested only.

Ben.

 drivers/net/phy/bcm87xx.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/net/phy/bcm87xx.c b/drivers/net/phy/bcm87xx.c
index 7997895..f5b44ff 100644
--- a/drivers/net/phy/bcm87xx.c
+++ b/drivers/net/phy/bcm87xx.c
@@ -230,4 +230,11 @@ static void __exit bcm87xx_exit(void)
 }
 module_exit(bcm87xx_exit);
 
+static struct mdio_device_id __maybe_unused bcm87xx_tbl[] = {
+	{ PHY_ID_BCM8706, 0xffffffff },
+	{ PHY_ID_BCM8727, 0xffffffff },
+	{ }
+};
+
 MODULE_LICENSE("GPL");
+MODULE_DEVICE_TABLE(mdio, bcm87xx_tbl);


Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ