diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/net/sk98lin/Makefile |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'drivers/net/sk98lin/Makefile')
-rw-r--r-- | drivers/net/sk98lin/Makefile | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/drivers/net/sk98lin/Makefile b/drivers/net/sk98lin/Makefile new file mode 100644 index 000000000000..6783039ffb75 --- /dev/null +++ b/drivers/net/sk98lin/Makefile | |||
@@ -0,0 +1,89 @@ | |||
1 | # | ||
2 | # Makefile for the SysKonnect SK-98xx device driver. | ||
3 | # | ||
4 | |||
5 | |||
6 | # | ||
7 | # Standalone driver params | ||
8 | # SKPARAM += -DSK_KERNEL_24 | ||
9 | # SKPARAM += -DSK_KERNEL_24_26 | ||
10 | # SKPARAM += -DSK_KERNEL_26 | ||
11 | # SKPARAM += -DSK_KERNEL_22_24 | ||
12 | |||
13 | obj-$(CONFIG_SK98LIN) += sk98lin.o | ||
14 | sk98lin-objs := \ | ||
15 | skge.o \ | ||
16 | skethtool.o \ | ||
17 | skdim.o \ | ||
18 | skaddr.o \ | ||
19 | skgehwt.o \ | ||
20 | skgeinit.o \ | ||
21 | skgepnmi.o \ | ||
22 | skgesirq.o \ | ||
23 | ski2c.o \ | ||
24 | sklm80.o \ | ||
25 | skqueue.o \ | ||
26 | skrlmt.o \ | ||
27 | sktimer.o \ | ||
28 | skvpd.o \ | ||
29 | skxmac2.o \ | ||
30 | skproc.o \ | ||
31 | skcsum.o | ||
32 | |||
33 | # DBGDEF = \ | ||
34 | # -DDEBUG | ||
35 | |||
36 | ifdef DEBUG | ||
37 | DBGDEF += \ | ||
38 | -DSK_DEBUG_CHKMOD=0x00000000L \ | ||
39 | -DSK_DEBUG_CHKCAT=0x00000000L | ||
40 | endif | ||
41 | |||
42 | |||
43 | # **** possible debug modules for SK_DEBUG_CHKMOD ***************** | ||
44 | # SK_DBGMOD_MERR 0x00000001L /* general module error indication */ | ||
45 | # SK_DBGMOD_HWM 0x00000002L /* Hardware init module */ | ||
46 | # SK_DBGMOD_RLMT 0x00000004L /* RLMT module */ | ||
47 | # SK_DBGMOD_VPD 0x00000008L /* VPD module */ | ||
48 | # SK_DBGMOD_I2C 0x00000010L /* I2C module */ | ||
49 | # SK_DBGMOD_PNMI 0x00000020L /* PNMI module */ | ||
50 | # SK_DBGMOD_CSUM 0x00000040L /* CSUM module */ | ||
51 | # SK_DBGMOD_ADDR 0x00000080L /* ADDR module */ | ||
52 | # SK_DBGMOD_DRV 0x00010000L /* DRV module */ | ||
53 | |||
54 | # **** possible debug categories for SK_DEBUG_CHKCAT ************** | ||
55 | # *** common modules *** | ||
56 | # SK_DBGCAT_INIT 0x00000001L module/driver initialization | ||
57 | # SK_DBGCAT_CTRL 0x00000002L controlling: add/rmv MCA/MAC and other controls (IOCTL) | ||
58 | # SK_DBGCAT_ERR 0x00000004L error handling paths | ||
59 | # SK_DBGCAT_TX 0x00000008L transmit path | ||
60 | # SK_DBGCAT_RX 0x00000010L receive path | ||
61 | # SK_DBGCAT_IRQ 0x00000020L general IRQ handling | ||
62 | # SK_DBGCAT_QUEUE 0x00000040L any queue management | ||
63 | # SK_DBGCAT_DUMP 0x00000080L large data output e.g. hex dump | ||
64 | # SK_DBGCAT_FATAL 0x00000100L large data output e.g. hex dump | ||
65 | |||
66 | # *** driver (file skge.c) *** | ||
67 | # SK_DBGCAT_DRV_ENTRY 0x00010000 entry points | ||
68 | # SK_DBGCAT_DRV_??? 0x00020000 not used | ||
69 | # SK_DBGCAT_DRV_MCA 0x00040000 multicast | ||
70 | # SK_DBGCAT_DRV_TX_PROGRESS 0x00080000 tx path | ||
71 | # SK_DBGCAT_DRV_RX_PROGRESS 0x00100000 rx path | ||
72 | # SK_DBGCAT_DRV_PROGRESS 0x00200000 general runtime | ||
73 | # SK_DBGCAT_DRV_??? 0x00400000 not used | ||
74 | # SK_DBGCAT_DRV_PROM 0x00800000 promiscuous mode | ||
75 | # SK_DBGCAT_DRV_TX_FRAME 0x01000000 display tx frames | ||
76 | # SK_DBGCAT_DRV_ERROR 0x02000000 error conditions | ||
77 | # SK_DBGCAT_DRV_INT_SRC 0x04000000 interrupts sources | ||
78 | # SK_DBGCAT_DRV_EVENT 0x08000000 driver events | ||
79 | |||
80 | EXTRA_CFLAGS += -Idrivers/net/sk98lin -DSK_DIAG_SUPPORT -DSK_USE_CSUM -DGENESIS -DYUKON $(DBGDEF) $(SKPARAM) | ||
81 | |||
82 | clean: | ||
83 | rm -f core *.o *.a *.s | ||
84 | |||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||