Skip to contentSkip to conversation

dead(?) CONFIG vars

DISCUSSION Geert Uytterhoeven 2 participants 3 messages Jul 5, 2007

lore
Share & tools
lore
#0 lore raw

Hi Robert,

Quoted 3 lines · Robert P. J. Day

===== AP1000 ===== arch/m68k/sun3/prom/printf.c:40:#ifdef CONFIG_AP1000 arch/m68k/sun3/prom/init.c:34:#ifdef CONFIG_AP1000

The AP1000 was actually a SPARC system (cluster). The only reason these tests ended up in arch/m68k/ are because lots of Sun3 code got copied from SPARC.

I guess these #ifdefs can be nuked.

Quoted 8 lines

include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */
net/ipv4/arp.c:60: * Alan Cox : Took the AP1000 nasty FDDI hack and
net/ieee80211/ieee80211_rx.c:1139: * Orinoco AP1000. */
usr/include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
usr/include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
usr/include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */

For these you want to talk to Paul Mackerras and the sparclinux people (in CC).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#1 lore raw
Quoted 22 lines · Geert Uytterhoeven

Hi Robert,

Quoted 3 lines · Robert P. J. Day

===== AP1000 ===== arch/m68k/sun3/prom/printf.c:40:#ifdef CONFIG_AP1000 arch/m68k/sun3/prom/init.c:34:#ifdef CONFIG_AP1000

The AP1000 was actually a SPARC system (cluster). The only reason these tests ended up in arch/m68k/ are because lots of Sun3 code got copied from SPARC.

I guess these #ifdefs can be nuked.

Quoted 8 lines

include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */
net/ipv4/arp.c:60: * Alan Cox : Took the AP1000 nasty FDDI hack and
net/ieee80211/ieee80211_rx.c:1139: * Orinoco AP1000. */
usr/include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
usr/include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
usr/include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */

Quoted 1 line

For these you want to talk to Paul Mackerras and the sparclinux people (in CC).

oh, i realize that some of that content is not relevant for you. all i'm doing is printing out *everywhere* in the tree that symbol appears so you can see if it affects you in any way, besides that part that just affects your particular architecture.

do you want me to submit a patch removing that stuff related just to m68k? or do you want to handle it yourself? i'm fine either way.

rday

Signature · 7 lines
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
#2 lore raw
In reply to Geert Uytterhoeven

Hi Robert,

Quoted 23 lines · Robert P. J. Day
Quoted 20 lines · Geert Uytterhoeven
Quoted 3 lines · Robert P. J. Day

===== AP1000 ===== arch/m68k/sun3/prom/printf.c:40:#ifdef CONFIG_AP1000 arch/m68k/sun3/prom/init.c:34:#ifdef CONFIG_AP1000

The AP1000 was actually a SPARC system (cluster). The only reason these tests ended up in arch/m68k/ are because lots of Sun3 code got copied from SPARC.

I guess these #ifdefs can be nuked.

Quoted 8 lines

include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */
net/ipv4/arp.c:60: * Alan Cox : Took the AP1000 nasty FDDI hack and
net/ieee80211/ieee80211_rx.c:1139: * Orinoco AP1000. */
usr/include/linux/major.h:66:#define APBLOCK_MAJOR 38 /* AP1000 Block device */
usr/include/linux/major.h:67:#define DDV_MAJOR 39 /* AP1000 DDV block device */
usr/include/linux/if_arp.h:69:#define ARPHRD_BIF 775 /* AP1000 BIF */

Quoted 1 line

For these you want to talk to Paul Mackerras and the sparclinux people (in CC).

Quoted 7 lines

oh, i realize that some of that content is not relevant for you. all i'm doing is printing out *everywhere* in the tree that symbol appears so you can see if it affects you in any way, besides that part that just affects your particular architecture.

do you want me to submit a patch removing that stuff related just to m68k? or do you want to handle it yourself? i'm fine either way.

Feel free to remove it from m68k. Thx!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds