Browse Source

ftdi: Rename files to lowl-ftdi.{c,h} to fit with naming convention

Copyrights also updated
Luke Dashjr 11 years ago
parent
commit
c713997a85
6 changed files with 8 additions and 17 deletions
  1. 1 1
      Makefile.am
  2. 1 1
      driver-bfx.c
  3. 1 1
      driver-x6500.c
  4. 1 1
      jtag.c
  5. 2 2
      lowl-ftdi.c
  6. 2 11
      lowl-ftdi.h

+ 1 - 1
Makefile.am

@@ -304,7 +304,7 @@ bfgminer_SOURCES += driver-hashfast.c
 endif
 
 if NEED_BFG_LOWL_FTDI
-bfgminer_SOURCES += ft232r.c ft232r.h
+bfgminer_SOURCES += lowl-ftdi.c lowl-ftdi.h
 endif
 
 if NEED_BFG_LOWL_HID

+ 1 - 1
driver-bfx.c

@@ -17,7 +17,7 @@
 #include "libbitfury.h"
 #include "logging.h"
 #include "lowlevel.h"
-#include "ft232r.h"
+#include "lowl-ftdi.h"
 #include "miner.h"
 #include "util.h"
 

+ 1 - 1
driver-x6500.c

@@ -25,8 +25,8 @@
 #include "jtag.h"
 #include "logging.h"
 #include "miner.h"
-#include "ft232r.h"
 #include "lowlevel.h"
+#include "lowl-ftdi.h"
 #include "lowl-usb.h"
 
 #define X6500_USB_PRODUCT "X6500 FPGA Miner"

+ 1 - 1
jtag.c

@@ -16,7 +16,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "ft232r.h"
+#include "lowl-ftdi.h"
 #include "jtag.h"
 #include "logging.h"
 #include "miner.h"

+ 2 - 2
ft232r.c → lowl-ftdi.c

@@ -1,5 +1,5 @@
 /*
- * Copyright 2012-2013 Luke Dashjr
+ * Copyright 2012-2014 Luke Dashjr
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the Free
@@ -17,9 +17,9 @@
 #include <libusb.h>
 
 #include "compat.h"
-#include "ft232r.h"
 #include "logging.h"
 #include "lowlevel.h"
+#include "lowl-ftdi.h"
 #include "miner.h"
 
 #define FT232R_IDVENDOR   0x0403

+ 2 - 11
ft232r.h → lowl-ftdi.h

@@ -1,14 +1,5 @@
-/*
- * Copyright 2012 Luke Dashjr
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 3 of the License, or (at your option)
- * any later version.  See COPYING for more details.
- */
-
-#ifndef BFGMINER_FT232R_H
-#define BFGMINER_FT232R_H
+#ifndef BFG_LOWL_FTDI_H
+#define BFG_LOWL_FTDI_H
 
 #include <stdbool.h>
 #include <stdint.h>