diff mbox

compat-wireless: enable uninstall for staging & atlxx

Message ID 507036.8029.qm@web56804.mail.re3.yahoo.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Walter Goldens Oct. 18, 2010, 1:44 p.m. UTC
None
diff mbox

Patch

--- a/Makefile
+++ b/Makefile
@@ -255,6 +255,13 @@  install-scripts:
 	@$(MODPROBE) -l wl1271
 	@$(MODPROBE) -l zd1211rw
 	@echo
+	@echo "Currently detected ethernet subsystem modules:"
+	@echo
+	@$(MODPROBE) -l atl1
+	@$(MODPROBE) -l atl2
+	@$(MODPROBE) -l atl1e
+	@$(MODPROBE) -l atl1c
+	@echo
 	@echo "Currently detected bluetooth subsystem modules:"
 	@echo
 	@$(MODPROBE) -l sco
@@ -284,6 +291,8 @@  uninstall:
 	@rm -rf $(KLIB)/$(KMODDIR)/drivers/ssb/
 	@rm -rf $(KLIB)/$(KMODDIR)/drivers/net/usb/
 	@rm -rf $(KLIB)/$(KMODDIR)/drivers/net/wireless/
+	@rm -rf $(KLIB)/$(KMODDIR)/drivers/staging/
+	@rm -rf $(KLIB)/$(KMODDIR)/drivers/net/atl*
 	@# Lets only remove the stuff we are sure we are providing
 	@# on the misc directory.
 	@rm -f $(KLIB)/$(KMODDIR)/drivers/misc/eeprom/eeprom_93cx6.ko*
@@ -362,6 +371,13 @@  uninstall:
 	@$(MODPROBE) -l wl1271
 	@$(MODPROBE) -l zd1211rw
 	@echo
+	@echo "Your old ethernet subsystem modules are left intact:"
+	@echo
+	@$(MODPROBE) -l atl1
+	@$(MODPROBE) -l atl2
+	@$(MODPROBE) -l atl1e
+	@$(MODPROBE) -l atl1c
+	@echo
 	@echo "Your old bluetooth subsystem modules were left intact:"
 	@echo
 	@$(MODPROBE) -l sco