patch-2.1.36 linux/drivers/net/defxx.c
Next file: linux/drivers/net/depca.c
Previous file: linux/drivers/net/de620.c
Back to the patch index
Back to the overall index
- Lines: 69
- Date:
Tue Apr 22 22:42:48 1997
- Orig file:
v2.1.35/linux/drivers/net/defxx.c
- Orig date:
Sun Feb 2 05:18:39 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/net/defxx.c linux/drivers/net/defxx.c
@@ -215,6 +215,7 @@
#include <linux/pci.h>
#include <linux/bios32.h>
#include <linux/delay.h>
+#include <linux/init.h>
#include <asm/byteorder.h>
#include <asm/bitops.h>
#include <asm/io.h>
@@ -437,9 +438,9 @@
* the device structure.
*/
-int dfx_probe(
+__initfunc(int dfx_probe(
struct device *dev
- )
+ ))
{
int i; /* used in for loops */
@@ -636,10 +637,10 @@
* None
*/
-struct device *dfx_alloc_device(
+__initfunc(struct device *dfx_alloc_device(
struct device *dev,
u16 iobase
- )
+ ))
{
struct device *tmp_dev; /* pointer to a device structure */
@@ -731,9 +732,9 @@
* enabled yet.
*/
-void dfx_bus_init(
+__initfunc(void dfx_bus_init(
struct device *dev
- )
+ ))
{
DFX_board_t *bp = (DFX_board_t *)dev->priv;
@@ -865,9 +866,9 @@
* None
*/
-void dfx_bus_config_check(
+__initfunc(void dfx_bus_config_check(
DFX_board_t *bp
- )
+ ))
{
int status; /* return code from adapter port control call */
@@ -969,9 +970,9 @@
* returning from this routine.
*/
-int dfx_driver_init(
+__initfunc(int dfx_driver_init(
struct device *dev
- )
+ ))
{
DFX_board_t *bp = (DFX_board_t *)dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov