Message ID | 20231115133414.1221480-1-justinlai0215@realtek.com (mailing list archive) |
---|---|
Headers | show |
Series | Add Realtek automotive PCIe driver | expand |
On Wed, Nov 15, 2023 at 09:34:01PM +0800, Justin Lai wrote: > This series includes adding realtek automotive ethernet driver > and adding rtase ethernet driver entry in MAINTAINERS file. > > This ethernet device driver for the PCIe interface of > Realtek Automotive Ethernet Switch,applicable to > RTL9054, RTL9068, RTL9072, RTL9075, RTL9068, RTL9071. ... > MAINTAINERS | 7 + > drivers/net/ethernet/realtek/Kconfig | 17 + > drivers/net/ethernet/realtek/Makefile | 1 + > drivers/net/ethernet/realtek/rtase/Makefile | 10 + > drivers/net/ethernet/realtek/rtase/rtase.h | 353 +++ > .../net/ethernet/realtek/rtase/rtase_main.c | 2542 +++++++++++++++++ > drivers/net/ethernet/realtek/rtase/tt.c | 2542 +++++++++++++++++ > drivers/net/ethernet/realtek/rtase/tt.h | 353 +++ Hi Justin, Unless I am mistaken, by the end of this patch set tt.c is identical to rtase_main.c, and tt.h is identical to rtase.h. If so, why? $ cd drivers/net/ethernet/realtek/rtase $ sha1sum *.[ch] | sort 9762c7f0fc1acb214d1705905495fad6b902a3c8 rtase.h 9762c7f0fc1acb214d1705905495fad6b902a3c8 tt.h ccfe889f5ae3b6ecfa0dfba91d30fd7beffd4291 rtase_main.c ccfe889f5ae3b6ecfa0dfba91d30fd7beffd4291 tt.c
> On Wed, Nov 15, 2023 at 09:34:01PM +0800, Justin Lai wrote: > > This series includes adding realtek automotive ethernet driver and > > adding rtase ethernet driver entry in MAINTAINERS file. > > > > This ethernet device driver for the PCIe interface of Realtek > > Automotive Ethernet Switch,applicable to RTL9054, RTL9068, RTL9072, > > RTL9075, RTL9068, RTL9071. > > ... > > > MAINTAINERS | 7 + > > drivers/net/ethernet/realtek/Kconfig | 17 + > > drivers/net/ethernet/realtek/Makefile | 1 + > > drivers/net/ethernet/realtek/rtase/Makefile | 10 + > > drivers/net/ethernet/realtek/rtase/rtase.h | 353 +++ > > .../net/ethernet/realtek/rtase/rtase_main.c | 2542 +++++++++++++++++ > > drivers/net/ethernet/realtek/rtase/tt.c | 2542 +++++++++++++++++ > > drivers/net/ethernet/realtek/rtase/tt.h | 353 +++ > > Hi Justin, > > Unless I am mistaken, by the end of this patch set tt.c is identical to > rtase_main.c, and tt.h is identical to rtase.h. > > If so, why? Sorry, tt.c and tt.h are redundant codes. This part will be corrected in the next version of the patch. > > $ cd drivers/net/ethernet/realtek/rtase > $ sha1sum *.[ch] | sort > 9762c7f0fc1acb214d1705905495fad6b902a3c8 rtase.h > 9762c7f0fc1acb214d1705905495fad6b902a3c8 tt.h > ccfe889f5ae3b6ecfa0dfba91d30fd7beffd4291 rtase_main.c > ccfe889f5ae3b6ecfa0dfba91d30fd7beffd4291 tt.c