commit | a8c9a53c22441efcd57ad7955231b2804696b133 | [log] [tgz] |
---|---|---|
author | David Dillow <dave@thedillows.org> | Mon Mar 02 22:15:09 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 02 22:15:09 2009 -0800 |
tree | 7c6090475a02814b4a5e1a500d6066a811691bb7 | |
parent | d20b606c99c7fd9f1b6c6ec43c877eaae827d169 [diff] |
typhoon: repair firmware loading The conversion to avoid using pci_alloc_consistent() broke the firmware load process, as well as added an order-4 kmalloc and doubled the memory usage of the firmware image. Go back to loading a page at a time. Also, since the user can now give us utter garbage for firmware, do a cursory validation so we don't try to load just anything. Signed-off-by: David Dillow <dave@thedillows.org> Signed-off-by: David S. Miller <davem@davemloft.net>