acooks / tn40xx-driver

Linux driver for tn40xx from Tehuti Networks
71 stars 50 forks source link

Fix building of MV88X3310 with DKMS #22

Open jp-bennett opened 4 years ago

jp-bennett commented 4 years ago

Signed-off-by: Jonathan Bennett JBennett@incomsystems.biz I have a card that uses the MV88X3310 chip, and have located the appropriate firmware file and added it to my source directory. DKMS was failing to find and process that firmware file, because the dkms build instructions were changing the current directory before the Makefile had a chance to test for the hdr file's existence. This is a potential workaround, tested to work on CentOS 8.

Korkman commented 3 years ago

Tested to work on Debian Buster when applied to version 004.

nazgul77 commented 3 years ago

I can confirm this works for me on Manjaro Linux, with the same hardware