Skip to contentSkip to conversation

staging/wlan-ng: kill WLAN_CPU_FAMILY and WLAN_SYSARCH

PATCH In review Mike Frysinger 4 participants 5 messages Nov 12, 2008 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/wlan-ng: kill WLAN_CPU_FAMILY and WLAN_SYSARCH

The WLAN_CPU_FAMILY and WLAN_SYSARCH defines are used in all of three places (two of which look pretty suspect), so just kill them off rather than throwing up a pointless #error on processors that are not in the existing list.

---
 drivers/staging/wlan-ng/prism2_cs.c   |    8 ---
 drivers/staging/wlan-ng/wlan_compat.h |   85 ++-------------------------------
 2 files changed, 4 insertions(+), 89 deletions(-)
drivers/staging/wlan-ng/prism2_cs.c +0 -8
index 63ce565..e221b1d 100644
@@ -4,14 +4,6 @@
 #include "prism2mib.c"
 #include "prism2sta.c"
 
-#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,21) )
-#if (WLAN_CPU_FAMILY == WLAN_Ix86)
-#ifndef CONFIG_ISA
-#warning "You may need to enable ISA support in your kernel."
-#endif
-#endif
-#endif
-
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) )
 static u_int	irq_mask = 0xdeb8;		/* Interrupt mask */
 static int	irq_list[4] = { -1 };		/* Interrupt list */
drivers/staging/wlan-ng/wlan_compat.h +4 -81

114 lines not on this page · raw message

Signature · 1 line
1.6.0.3
#1 lore raw
Quoted 4 lines · Mike Frysinger

The WLAN_CPU_FAMILY and WLAN_SYSARCH defines are used in all of three places (two of which look pretty suspect), so just kill them off rather than throwing up a pointless #error on processors that are not in the existing list.

Thanks, but this is already cleaned up in my tree with a patch from someone else.

greg k-h

#2 lore raw
Quoted 8 lines · Greg KH
Quoted 4 lines · Mike Frysinger

The WLAN_CPU_FAMILY and WLAN_SYSARCH defines are used in all of three places (two of which look pretty suspect), so just kill them off rather than throwing up a pointless #error on processors that are not in the existing list.

Thanks, but this is already cleaned up in my tree with a patch from someone else.

where ? i looked in staging.git and that hasnt been touched in 2 months. -mike

#3 lore raw
Quoted 7 lines · Mike Frysinger
Quoted 6 lines · Greg KH
Quoted 4 lines · Mike Frysinger

The WLAN_CPU_FAMILY and WLAN_SYSARCH defines are used in all of three places (two of which look pretty suspect), so just kill them off rather than throwing up a pointless #error on processors that are not in the existing list.

Quoted 5 lines
Quoted 2 lines

Thanks, but this is already cleaned up in my tree with a patch from someone else.

where ? i looked in staging.git and that hasnt been touched in 2 months. -mike

Greg has been using patches.git, not staging.git

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Mike Frysinger
Quoted 11 lines · Mike Frysinger
Quoted 8 lines · Greg KH
Quoted 4 lines · Mike Frysinger

The WLAN_CPU_FAMILY and WLAN_SYSARCH defines are used in all of three places (two of which look pretty suspect), so just kill them off rather than throwing up a pointless #error on processors that are not in the existing list.

Thanks, but this is already cleaned up in my tree with a patch from someone else.

where ? i looked in staging.git and that hasnt been touched in 2 months.

It's at:

	http://kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-05-staging/

Sorry, I need to delete that old git tree, but it still contains a few patches that haven't moved into the current tree for a variety of reasons.

I've asked it to be picked up in the -next tree as well, so that will also work for you.

thanks,

greg k-h