driver:
http://www.scyld.com/network/rtl8139.html
ftp://ftp.scyld.com/pub/network/rtl8139.c
The driver has been tested with
* Chips: rtl8129, rtl8139/8139A/8139B chips (limited 8139C testing).
* Kernels: starting with 2.0.30/RedHat-4.2 and many later kernels.
* Architectures: x86 and Alpha (limited PowerPC testing).
but not with all combinations of each.
co trzeba zrobić:
Cytuj:
The code is simple:
(1) in global space add the following line:
int (*net_shaper_rx_hook)(struct sk_buff *skb) = NULL;
(2) Only for Linux-2.2 (not for Linux-2.0), add this too:
EXPORT_SYMBOL(net_shaper_rx_hook)
this line must appear after the definition of the hook.
(3) in the receive function of the driver change
netif_rx(skb)
to
if (net_shaper_rx_hook)
(*net_shaper_rx_hook)(skb);
else
netif_rx(skb);
NOTE 1: using non-8390-based modularized drivers with Linux-2.2
---------------------------------------------------------------
narzedzie do tego.
http://www.freesco.pl/download/zipslack/zipslack.zip
gdzie to bedzie w kodzie .c " in global space " bo nie moge tam sekcji takiej znaleść
moze tu ??
*/
Tu bym to wpisał ????
static void *rtl8139_probe1(struct pci_dev *pdev, void *init_dev,
long ioaddr, int irq, int chip_idx, int find_cnt);
static int rtl_pwr_event(void *dev_instance, int event);
uczeni w pismie proszę o zajecie sie tym driverem

opis jest w pliku README w pakiecie rshaper.