firewire: replace get_features card driver hook
by feature variables in the fw_card struct. The hook appeared to be an
unnecessary abstraction in the card driver interface.
Cleaner would be to pass those feature flags as arguments to
fw_card_initialize() or fw_card_add(), but the FairnessControl register
is in the SCLK domain and may therefore not be accessible while Link
Power Status is off, i.e. before the card->driver->enable call from
fw_card_add().
Signed-off-by:
Stefan Richter <stefanr@s5r6.in-berlin.de>
Showing
- drivers/firewire/core-topology.c 1 addition, 2 deletionsdrivers/firewire/core-topology.c
- drivers/firewire/core-transaction.c 1 addition, 2 deletionsdrivers/firewire/core-transaction.c
- drivers/firewire/core.h 0 additions, 5 deletionsdrivers/firewire/core.h
- drivers/firewire/ohci.c 2 additions, 12 deletionsdrivers/firewire/ohci.c
- include/linux/firewire.h 3 additions, 0 deletionsinclude/linux/firewire.h
Loading
Please register or sign in to comment