1
linux/drivers/firewire
Stefan Richter 8e85973efc firewire: optimize config ROM creation
The config ROM image of the local node was created in CPU byte order,
then a temporary big endian copy was created to compute the CRC, and
finally the card driver created its own big endian copy.

We now generate it in big endian byte order in the first place to avoid
one byte order conversion and the temporary on-stack copy of the ROM
image (1000 bytes stack usage in process context).  Furthermore, two
1000 bytes memset()s are replaced by one 1000 bytes - ROM length sized
memset.

The trivial fw_memcpy_{from,to}_be32() helpers are now superfluous and
removed.  The newly added __compute_block_crc() function will be folded
into fw_compute_block_crc() in a subsequent change.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-10-14 23:10:48 +02:00
..
core-card.c firewire: optimize config ROM creation 2009-10-14 23:10:48 +02:00
core-cdev.c firewire: cdev: normalize variable names 2009-10-14 23:10:48 +02:00
core-device.c firewire: core: don't update Broadcast_Channel if RFC 2734 conditions aren't met 2009-06-14 11:57:06 +02:00
core-iso.c firewire: core: fix crash in iso resource management 2009-09-05 15:59:34 +02:00
core-topology.c firewire: rename source files 2009-06-05 16:26:18 +02:00
core-transaction.c firewire: core: fix topology map response handler 2009-09-12 14:48:40 +02:00
core.h firewire: optimize config ROM creation 2009-10-14 23:10:48 +02:00
Kconfig firewire: new stack is no longer experimental 2009-06-21 10:53:26 +02:00
Makefile firewire: net: add Kconfig item, rename driver 2009-06-14 14:26:29 +02:00
net.c firewire: net: better FIFO address range check and rcodes 2009-06-16 22:48:09 +02:00
ohci.c firewire: optimize config ROM creation 2009-10-14 23:10:48 +02:00
ohci.h firewire: reorganize header files 2009-06-05 16:26:18 +02:00
sbp2.c firewire: normalize style of queue_work wrappers 2009-10-14 23:10:48 +02:00