summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/rtl818x/rtl818x.h
diff options
context:
space:
mode:
authorMichael Brown2015-04-22 12:05:19 +0200
committerMichael Brown2015-04-22 12:05:19 +0200
commit2154af0077b9257f63e433ba1f07a84f9ce546eb (patch)
tree6c79f78e21d10589354956babc3e4d30e38e54f1 /src/drivers/net/rtl818x/rtl818x.h
parent[realtek] Do not attempt to access EEPROM on RTL8169 chips (diff)
downloadipxe-2154af0077b9257f63e433ba1f07a84f9ce546eb.tar.gz
ipxe-2154af0077b9257f63e433ba1f07a84f9ce546eb.tar.xz
ipxe-2154af0077b9257f63e433ba1f07a84f9ce546eb.zip
[rtl818x] Obviate RTL_ROM() hack
Reported-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/rtl818x/rtl818x.h')
-rw-r--r--src/drivers/net/rtl818x/rtl818x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/net/rtl818x/rtl818x.h b/src/drivers/net/rtl818x/rtl818x.h
index 4e57d0bd..ae4b8a96 100644
--- a/src/drivers/net/rtl818x/rtl818x.h
+++ b/src/drivers/net/rtl818x/rtl818x.h
@@ -19,6 +19,7 @@
#include <ipxe/spi_bit.h>
#include <ipxe/tables.h>
+#include <ipxe/net80211.h>
FILE_LICENCE(GPL2_ONLY);
@@ -356,4 +357,7 @@ struct rtl818x_rf_ops {
void (*conf_erp)(struct net80211_device *dev); /* set based on dev->erp_flags */
};
+extern int rtl818x_probe(struct pci_device *pdev );
+extern void rtl818x_remove(struct pci_device *pdev);
+
#endif /* RTL818X_H */