Skip to content

Commit

Permalink
mac80211: reintroduce rt61/rt73 support
Browse files Browse the repository at this point in the history
Reintroduce rt61/rt73 support as they looks to be pretty standard and
currently required by Gemini or Xway-legacy targets.

Notice that they are b/g card.

Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed Oct 28, 2024
1 parent 7e85c30 commit 4f1b7f5
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package/kernel/mac80211/ralink.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PKG_DRIVERS += \
rt2x00-lib rt2x00-pci rt2x00-usb rt2x00-mmio \
rt2800-lib rt2800-mmio rt2800-pci rt2800-soc rt2800-usb
rt2800-lib rt2800-mmio rt2800-pci rt2800-soc rt2800-usb \
rt61-pci rt73-usb

PKG_CONFIG_DEPENDS += \
CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS \
Expand Down Expand Up @@ -128,4 +129,18 @@ $(call KernelPackage/rt2x00/Default)
AUTOLOAD:=$(call AutoProbe,rt2800usb)
endef

define KernelPackage/rt61-pci
$(call KernelPackage/rt2x00/Default)
DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-eeprom-93cx6 +kmod-lib-crc-itu-t +rt61-pci-firmware
TITLE+= (RT2x61 PCI)
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
AUTOLOAD:=$(call AutoProbe,rt61pci)
endef

define KernelPackage/rt73-usb
$(call KernelPackage/rt2x00/Default)
DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-lib-crc-itu-t +rt73-usb-firmware
TITLE+= (RT73 USB)
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
AUTOLOAD:=$(call AutoProbe,rt73usb)
endef

0 comments on commit 4f1b7f5

Please sign in to comment.