Browse Source

Move devether.c to port.

After splitting devether.c into portable and architecture-specific
components (the latter to handle probing and possibly shutdown), now
move it to port/.

Signed-off-by: Dan Cross <cross@gajendra.net>
Dan Cross 3 years ago
parent
commit
cb77926f3b
4 changed files with 2 additions and 2 deletions
  1. 0 1
      sys/src/9/386/386.json
  2. 1 1
      sys/src/9/amd64/BUILD
  3. 1 0
      sys/src/9/amd64/core.json
  4. 0 0
      sys/src/9/port/devether.c

+ 0 - 1
sys/src/9/386/386.json

@@ -1,7 +1,6 @@
 {
 	"386": {
 		"SourceFiles": [
-			"../386/devether.c",
 			"../386/devrtc.c",
 			"../386/ether8169.c",
 			"../386/ether82557.c",

+ 1 - 1
sys/src/9/amd64/BUILD

@@ -60,6 +60,7 @@ PORT_SRCS = [
 	"//sys/src/9/port/devcoreboot.c",
 	"//sys/src/9/port/devdup.c",
 	"//sys/src/9/port/devenv.c",
+	"//sys/src/9/port/devether.c",
 	"//sys/src/9/port/devfdmux.c",
 	"//sys/src/9/port/devkprof.c",
 	"//sys/src/9/port/devkbin.c",
@@ -162,7 +163,6 @@ AMD64_SRCS = [
 
 # don't want to start with a number
 I386_SRCS = [
-	"//sys/src/9/386/devether.c",
 	"//sys/src/9/386/devrtc.c",
 	"//sys/src/9/386/ether8169.c",
 	"//sys/src/9/386/ether82557.c",

+ 1 - 0
sys/src/9/amd64/core.json

@@ -106,6 +106,7 @@
 			"ctype.c",
 			"devarch.c",
 			"../port/devdraw.c",
+			"../port/devether.c",
 			"../port/devmouse.c",
 			"../port/devpci.c",
 			"devpmc.c",

sys/src/9/386/devether.c → sys/src/9/port/devether.c