Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 /*
  2  * IXP2000 MSF network device driver
  3  * Copyright (C) 2004, 2005 Lennert Buytenhek <buytenh@wantstofly.org>
  4  * Dedicated to Marija Kulikova.
  5  *
  6  * This program is free software; you can redistribute it and/or modify
  7  * it under the terms of the GNU General Public License as published by
  8  * the Free Software Foundation; either version 2 of the License, or
  9  * (at your option) any later version.
 10  */
 11 
 12 #ifndef __IXPDEV_H
 13 #define __IXPDEV_H
 14 
 15 struct ixpdev_priv
 16 {
 17         struct net_device *dev;
 18         struct napi_struct napi;
 19         int     channel;
 20         int     tx_queue_entries;
 21 };
 22 
 23 struct net_device *ixpdev_alloc(int channel, int sizeof_priv);
 24 int ixpdev_init(int num_ports, struct net_device **nds,
 25                 void (*set_port_admin_status)(int port, int up));
 26 void ixpdev_deinit(void);
 27 
 28 
 29 #endif
 30 
  This page was automatically generated by the LXR engine.