Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
soc:2009:asdlkf:notes:3c90x.c [2009/07/07 00:18] asdlkf created |
soc:2009:asdlkf:notes:3c90x.c [2009/07/07 19:45] (current) mdc |
||
---|---|---|---|
Line 1: | Line 1: | ||
<code c> | <code c> | ||
- | static struct net_device_operations a3c90x_operations = { | ||
- | .open = a3c90x_open, | ||
- | .close = a3c90x_close, | ||
- | .poll = a3c90x_poll, | ||
- | .transmit = a3c90x_transmit, | ||
- | .irq = a3c90x_irq, | ||
- | }; | ||
- | struct pci_driver a3c90x_driver __pci_driver = { | ||
- | .ids = a3c90x_nics, | ||
- | .id_count = (sizeof(a3c90x_nics) / sizeof(a3c90x_nics[0])), | ||
- | .probe = a3c90x_probe, | ||
- | .remove = a3c90x_remove, | ||
- | }; | ||
- | |||
a3c90x_probe | a3c90x_probe | ||
alloc_etherdev | alloc_etherdev | ||
netdev_init | netdev_init | ||
pci_set_drvdata | pci_set_drvdata | ||
- | netdev_priv | ||
- | memset | ||
adjust_pci_device | adjust_pci_device | ||
a3c90x_reset | a3c90x_reset | ||
- | a3c90x_internal_SetWindow | ||
- | a3c90x_internal_IssueCommand | ||
- | a3c90x_internal_IssueCommand | ||
- | |||
netdev_link_up | netdev_link_up | ||
(netdev_put) | (netdev_put) | ||
- | } | ||
a3c90x_open | a3c90x_open | ||
- | netdev_priv | ||
a3c90x_hw_start | a3c90x_hw_start | ||
- | netdev_priv | ||
- | a3c90x_internal_SetWindow | ||
- | a3c90x_internal_IssueCommand | ||
- | a3c90x_internal_IssueCommand | ||
- | |||
a3c90x_setup_tx_ring | a3c90x_setup_tx_ring | ||
- | malloc_dma | + | a3c90x_setup_rx_ring |
- | memset | + | |
- | a3c90x_setup_rx_ring<------------No memset? | + | |
- | malloc_dma | + | |
- | virt_to_bus | + | |
a3c90x_refill_rx_ring | a3c90x_refill_rx_ring | ||
- | alloc_iob | + | a3c90x_prepare_rx_desc |
- | a3c90x_prepare_rx_desc | + | |
- | a3c90x_internal_IssueCommand | + | |
- | virt_to_bus | + | |
- | virt_to_bus | + | |
- | a3c90x_internal_IssueCommand | + | |
- | + | ||
(a3c90x_free_resources) | (a3c90x_free_resources) | ||
(a3c90x_reset) | (a3c90x_reset) | ||
- | } | + | |
+ | a3c90x_transmit | ||
+ | a3c90x_internal_IssueCommand | ||
a3c90x_poll | a3c90x_poll | ||
- | netdev_priv | ||
a3c90x_process_tx_packets | a3c90x_process_tx_packets | ||
- | netdev_priv | ||
- | virt_to_bus | ||
netdev_tx_complete | netdev_tx_complete | ||
a3c90x_process_rx_packets | a3c90x_process_rx_packets | ||
- | netdev_priv | ||
(netdev_rx_err) | (netdev_rx_err) | ||
iob_put | iob_put | ||
Line 71: | Line 31: | ||
alloc_iob | alloc_iob | ||
a3c90x_prepare_rx_desc | a3c90x_prepare_rx_desc | ||
- | a3c90x_internal_IssueCommand | ||
- | } | ||
- | a3c90x_transmit | + | a3c90x_irq |
- | netdev_priv | + | |
- | iob_len | + | |
a3c90x_internal_IssueCommand | a3c90x_internal_IssueCommand | ||
- | virt_to_bus | ||
- | } | ||
- | a3c90x_irq | + | a3c90x_close |
- | netdev_priv | + | a3c90x_reset |
- | a3c90x_internal_IssueCommand | + | a3c90x_free_resources |
- | } | + | a3c90x_free_tx_ring |
+ | a3c90x_free_rx_ring | ||
+ | a3c90x_free_rx_iobuf | ||
a3c90x_remove | a3c90x_remove | ||
- | pci_get_drvdata | ||
- | netdev_priv | ||
unregister_netdev | unregister_netdev | ||
a3c90x_reset | a3c90x_reset | ||
- | a3c90x_internal_SetWindow | ||
- | a3c90x_internal_IssueCommand | ||
- | a3c90x_internal_IssueCommand | ||
netdev_nullify | netdev_nullify | ||
netdev_put | netdev_put | ||
- | } | + | |
</code> | </code> |