struct softing_priv { struct can_priv can; /* must be the first member! */ struct net_device *netdev; struct softing *card; struct { int pending; /* variables which hold the circular buffer */ int echo_put; int echo_get;
} tx; struct can_bittiming_const btr_const; int index;
uint8_t output;
uint16_t chip;
}; #define netdev2softing(netdev) ((struct softing_priv *)netdev_priv(netdev))
struct { /* indication of firmware status */ int up; /* protection of the 'up' variable */ struct mutex lock;
} fw; struct { int nr; int requested; int svc_count; unsignedint dpram_position;
} irq; struct { int pending; int last_bus; /* * keep the bus that last tx'd a message, * in order to let every netdev queue resume
*/
} tx;
__iomem uint8_t *dpram; unsignedlong dpram_phys; unsignedlong dpram_size; struct {
uint16_t fw_version, hw_version, license, serial;
uint16_t chip[2]; unsignedint freq; /* remote cpu's operating frequency */
} id;
};
int softing_default_output(struct net_device *netdev);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.