* Ethernet driver on 2.6.22 @ 2007-09-23 22:52 hce 2007-09-24 1:34 ` Randy Dunlap 0 siblings, 1 reply; 8+ messages in thread From: hce @ 2007-09-23 22:52 UTC (permalink / raw) To: linux-kernel Hi, I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found a following issue on 2.6.22. On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to build CS8900A Ethernet driver to kernel, it was running perfect. But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o could not be compiled in to the kernel (or as a module when I tried to CONFIG_CS89X0=m) unless I commented out depends statement in drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I missing something here? Thank you. Regards, Jim ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-23 22:52 Ethernet driver on 2.6.22 hce @ 2007-09-24 1:34 ` Randy Dunlap 2007-09-24 2:40 ` hce 0 siblings, 1 reply; 8+ messages in thread From: Randy Dunlap @ 2007-09-24 1:34 UTC (permalink / raw) To: hce; +Cc: linux-kernel On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > Hi, > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > a following issue on 2.6.22. > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > build CS8900A Ethernet driver to kernel, it was running perfect. > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > could not be compiled in to the kernel (or as a module when I tried to > CONFIG_CS89X0=m) unless I commented out depends statement in > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > missing something here? I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is limited to 3 specific boards: config CS89x0 tristate "CS89x0 support" depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) (latter: ARCH_PNX010X is not used anywhere else AFAICT) --- ~Randy Phaedrus says that Quality is about caring. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-24 1:34 ` Randy Dunlap @ 2007-09-24 2:40 ` hce 2007-09-24 3:39 ` Randy Dunlap 0 siblings, 1 reply; 8+ messages in thread From: hce @ 2007-09-24 2:40 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel Thanks Randy. On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > Hi, > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > a following issue on 2.6.22. > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > could not be compiled in to the kernel (or as a module when I tried to > > CONFIG_CS89X0=m) unless I commented out depends statement in > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > missing something here? > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > limited to 3 specific boards: > > config CS89x0 > tristate "CS89x0 support" > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 and I hope someone knows 2.6.22 well can answer it. > (latter: ARCH_PNX010X is not used anywhere else AFAICT) Yes, but you only need to enable ISA and NET_PCI to use CS89x0. > --- > ~Randy > Phaedrus says that Quality is about caring. > Thank you. Kind regards, Jim ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-24 2:40 ` hce @ 2007-09-24 3:39 ` Randy Dunlap 2007-09-24 22:39 ` hce 0 siblings, 1 reply; 8+ messages in thread From: Randy Dunlap @ 2007-09-24 3:39 UTC (permalink / raw) To: hce; +Cc: linux-kernel On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > Thanks Randy. > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > Hi, > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > a following issue on 2.6.22. > > > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > > could not be compiled in to the kernel (or as a module when I tried to > > > CONFIG_CS89X0=m) unless I commented out depends statement in > > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > > missing something here? > > > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > > limited to 3 specific boards: > > > > config CS89x0 > > tristate "CS89x0 support" > > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) > > The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > > > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) > > I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, > the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 > and I hope someone knows 2.6.22 well can answer it. > > > (latter: ARCH_PNX010X is not used anywhere else AFAICT) > > Yes, but you only need to enable ISA and NET_PCI to use CS89x0. Right. I don't have any problem building CS89x0 for X86_32: make defconfig then enable ISA (what!?!? why not in defconfig?) and then enable CS89x0. Please send your .config file. --- ~Randy Phaedrus says that Quality is about caring. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-24 3:39 ` Randy Dunlap @ 2007-09-24 22:39 ` hce 2007-09-24 22:44 ` Randy Dunlap 0 siblings, 1 reply; 8+ messages in thread From: hce @ 2007-09-24 22:39 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > > > Thanks Randy. > > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > > > Hi, > > > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > > a following issue on 2.6.22. > > > > > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > > > could not be compiled in to the kernel (or as a module when I tried to > > > > CONFIG_CS89X0=m) unless I commented out depends statement in > > > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > > > missing something here? > > > > > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > > > limited to 3 specific boards: > > > > > > config CS89x0 > > > tristate "CS89x0 support" > > > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) > > > > The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > > > > > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) > > > > I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, > > the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 > > and I hope someone knows 2.6.22 well can answer it. > > > > > (latter: ARCH_PNX010X is not used anywhere else AFAICT) > > > > Yes, but you only need to enable ISA and NET_PCI to use CS89x0. > > Right. > > I don't have any problem building CS89x0 for X86_32: > make defconfig then enable ISA (what!?!? why not in defconfig?) > and then enable CS89x0. I don't have my embedded system here, I'll try when I get there. But, let me clarify it, did you mean to type "make defconfig" on linux (kernel) directory, and enable ISA, NET_PCI and CS89x0 from the prompt? My procedure was to edit .config to enable ISA, NET_PCI and CS89x0 from vim, then type "make menuconfig" and "make oldconfig" (The same procedure I did in 2.6.11 which works fine). Does that make things differently? > Please send your .config file. I'll, but I don't have the system right now. Thanks Randy. > --- > ~Randy > Phaedrus says that Quality is about caring. > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-24 22:39 ` hce @ 2007-09-24 22:44 ` Randy Dunlap 2007-09-25 2:37 ` hce 0 siblings, 1 reply; 8+ messages in thread From: Randy Dunlap @ 2007-09-24 22:44 UTC (permalink / raw) To: hce; +Cc: linux-kernel On Tue, 25 Sep 2007 08:39:07 +1000 hce wrote: > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > > > > > Thanks Randy. > > > > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > > > > > Hi, > > > > > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > > > a following issue on 2.6.22. > > > > > > > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > > > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > > > > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > > > > could not be compiled in to the kernel (or as a module when I tried to > > > > > CONFIG_CS89X0=m) unless I commented out depends statement in > > > > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > > > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > > > > missing something here? > > > > > > > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > > > > limited to 3 specific boards: > > > > > > > > config CS89x0 > > > > tristate "CS89x0 support" > > > > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) > > > > > > The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > > > > > > > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) > > > > > > I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, > > > the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 > > > and I hope someone knows 2.6.22 well can answer it. > > > > > > > (latter: ARCH_PNX010X is not used anywhere else AFAICT) > > > > > > Yes, but you only need to enable ISA and NET_PCI to use CS89x0. > > > > Right. > > > > I don't have any problem building CS89x0 for X86_32: > > make defconfig then enable ISA (what!?!? why not in defconfig?) > > and then enable CS89x0. > > I don't have my embedded system here, I'll try when I get there. But, > let me clarify it, did you mean to type "make defconfig" on linux > (kernel) directory, and enable ISA, NET_PCI and CS89x0 from the > prompt? > > My procedure was to edit .config to enable ISA, NET_PCI and CS89x0 > from vim, then type "make menuconfig" and "make oldconfig" (The same > procedure I did in 2.6.11 which works fine). Does that make things > differently? You should do "make oldconfig" immediately after editing the .config file (AFAIK). Or the "make menuconfig" might run the oldconfig changes for you. Then I would just double-check the final .config file to make sure that it contains what you expect it to contain. > > Please send your .config file. > > I'll, but I don't have the system right now. OK. --- ~Randy Phaedrus says that Quality is about caring. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-24 22:44 ` Randy Dunlap @ 2007-09-25 2:37 ` hce 2007-09-25 5:55 ` Randy Dunlap 0 siblings, 1 reply; 8+ messages in thread From: hce @ 2007-09-25 2:37 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel On 9/25/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Tue, 25 Sep 2007 08:39:07 +1000 hce wrote: > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > > > > > > > Thanks Randy. > > > > > > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > > > > a following issue on 2.6.22. > > > > > > > > > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > > > > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > > > > > > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > > > > > could not be compiled in to the kernel (or as a module when I tried to > > > > > > CONFIG_CS89X0=m) unless I commented out depends statement in > > > > > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > > > > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > > > > > missing something here? > > > > > > > > > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > > > > > limited to 3 specific boards: > > > > > > > > > > config CS89x0 > > > > > tristate "CS89x0 support" > > > > > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) > > > > > > > > The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > > > > > > > > > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) > > > > > > > > I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, > > > > the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 > > > > and I hope someone knows 2.6.22 well can answer it. > > > > > > > > > (latter: ARCH_PNX010X is not used anywhere else AFAICT) > > > > > > > > Yes, but you only need to enable ISA and NET_PCI to use CS89x0. > > > > > > Right. > > > > > > I don't have any problem building CS89x0 for X86_32: > > > make defconfig then enable ISA (what!?!? why not in defconfig?) > > > and then enable CS89x0. > > > > I don't have my embedded system here, I'll try when I get there. But, > > let me clarify it, did you mean to type "make defconfig" on linux > > (kernel) directory, and enable ISA, NET_PCI and CS89x0 from the > > prompt? > > > > My procedure was to edit .config to enable ISA, NET_PCI and CS89x0 > > from vim, then type "make menuconfig" and "make oldconfig" (The same > > procedure I did in 2.6.11 which works fine). Does that make things > > differently? > > You should do "make oldconfig" immediately after editing the .config > file (AFAIK). Or the "make menuconfig" might run the oldconfig > changes for you. Sorry, I was not clear. The procedure was actually I type "make ARCH=arm menuconfig" first, then I could not find the CONFIG_ISA, CONFIG_NET_SPI and CONFIG_CS89x0 on config screen, this is still puzzles me why could "make menuconfig" displays all possible configurations on 2.6.22? Could you please explain? Because I was not able to add CONFIG_ISA, CONFIG_NET_SPI and CONFIG_CS89x0 from "make menuconfig", I used vim to manually added those and then "make oldconfig". > Then I would just double-check the final .config file > to make sure that it contains what you expect it to contain. Yes, I did double-check with the .config file, all three are =y. Thanks Randy. Regards, Jim ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ethernet driver on 2.6.22 2007-09-25 2:37 ` hce @ 2007-09-25 5:55 ` Randy Dunlap 0 siblings, 0 replies; 8+ messages in thread From: Randy Dunlap @ 2007-09-25 5:55 UTC (permalink / raw) To: hce; +Cc: linux-kernel On Tue, 25 Sep 2007 12:37:32 +1000 hce wrote: > On 9/25/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > On Tue, 25 Sep 2007 08:39:07 +1000 hce wrote: > > > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > > > > > > > > > Thanks Randy. > > > > > > > > > > On 9/24/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > > > > > a following issue on 2.6.22. > > > > > > > > > > > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > > > > > > > build CS8900A Ethernet driver to kernel, it was running perfect. > > > > > > > > > > > > > > But on 2.6.22, I made the same configuration for CS8900A, the cs89x0.o > > > > > > > could not be compiled in to the kernel (or as a module when I tried to > > > > > > > CONFIG_CS89X0=m) unless I commented out depends statement in > > > > > > > drivers/net/Kconfig. I double checked all three are CONFIG_ISA=y, > > > > > > > CONFIG_NET_PCI=y and CONFIG_CS89X0=y. Any explanation please, was I > > > > > > > missing something here? > > > > > > > > > > > > I didn't look in 2.6.11 Kconfig files, but in 2.6.22, this driver is > > > > > > limited to 3 specific boards: > > > > > > > > > > > > config CS89x0 > > > > > > tristate "CS89x0 support" > > > > > > depends on NET_PCI && (ISA || MACH_IXDP2351 || ARCH_IXDP2X01 || ARCH_PNX010X) > > > > > > > > > > The Kconfig for CS89x0 in 2.6.11 is exactly the same as 2.6.22. > > > > > > > > > > > Does ARM S3C2400A qualify as any of those? (MACH_... or ARCH_...) > > > > > > > > > > I can run CS89x0 for ARM S3C2400 in 2.6.11, at least I can say yes, > > > > > the ARM S3C2400A qualifies those in 2.6.11, I don't know the 2.6.22 > > > > > and I hope someone knows 2.6.22 well can answer it. > > > > > > > > > > > (latter: ARCH_PNX010X is not used anywhere else AFAICT) > > > > > > > > > > Yes, but you only need to enable ISA and NET_PCI to use CS89x0. > > > > > > > > Right. > > > > > > > > I don't have any problem building CS89x0 for X86_32: > > > > make defconfig then enable ISA (what!?!? why not in defconfig?) > > > > and then enable CS89x0. > > > > > > I don't have my embedded system here, I'll try when I get there. But, > > > let me clarify it, did you mean to type "make defconfig" on linux > > > (kernel) directory, and enable ISA, NET_PCI and CS89x0 from the > > > prompt? > > > > > > My procedure was to edit .config to enable ISA, NET_PCI and CS89x0 > > > from vim, then type "make menuconfig" and "make oldconfig" (The same > > > procedure I did in 2.6.11 which works fine). Does that make things > > > differently? > > > > You should do "make oldconfig" immediately after editing the .config > > file (AFAIK). Or the "make menuconfig" might run the oldconfig > > changes for you. > > Sorry, I was not clear. The procedure was actually I type "make > ARCH=arm menuconfig" first, then I could not find the CONFIG_ISA, > CONFIG_NET_SPI and CONFIG_CS89x0 on config screen, this is still > puzzles me why could "make menuconfig" displays all possible > configurations on 2.6.22? Could you please explain? Probably not. > Because I was not able to add CONFIG_ISA, CONFIG_NET_SPI and NET_PCI > CONFIG_CS89x0 from "make menuconfig", I used vim to manually added > those and then "make oldconfig". > > > Then I would just double-check the final .config file > > to make sure that it contains what you expect it to contain. > > Yes, I did double-check with the .config file, all three are =y. After you ran "make oldconfig" ? I don't know much about ARM configs. You should probably be asking about this on some linux-arm mailing list. However, I did make ARCH=arm s3c2410_defconfig and that particular board config enables ISA. Then if I enabled NET_PCI, I can also enable CS89x0. The default ARM config (if there is one) doesn't seem to enable ISA. --- ~Randy Phaedrus says that Quality is about caring. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-09-25 5:56 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-23 22:52 Ethernet driver on 2.6.22 hce 2007-09-24 1:34 ` Randy Dunlap 2007-09-24 2:40 ` hce 2007-09-24 3:39 ` Randy Dunlap 2007-09-24 22:39 ` hce 2007-09-24 22:44 ` Randy Dunlap 2007-09-25 2:37 ` hce 2007-09-25 5:55 ` Randy Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®