mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
196f5cb265
Idea from Kevin Quick, implementation from Gentoo. Also cleaned and added a minor license patch from Gentoo. Builds for many x86_64 kernels.
13 lines
321 B
Diff
13 lines
321 B
Diff
--- broadcom-sta.orig/src/wl/sys/wl_linux.c
|
|
+++ broadcom-sta.new/src/wl/sys/wl_linux.c
|
|
@@ -40,7 +40,9 @@
|
|
#include <linux/pci_ids.h>
|
|
#define WLC_MAXBSSCFG 1
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
|
|
#include <asm/system.h>
|
|
+#endif
|
|
#include <asm/io.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/pgtable.h>
|