Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109700 Details for
Bug 164659
Add 2.6.19 kernel support to net-wireless/at76c503a
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Version check
at76c503a-0.14-kernel_version_check.patch (text/plain), 1.12 KB, created by
Steev Klimaszewski (RETIRED)
on 2007-02-10 04:40:42 UTC
(
hide
)
Description:
Version check
Filename:
MIME Type:
Creator:
Steev Klimaszewski (RETIRED)
Created:
2007-02-10 04:40:42 UTC
Size:
1.12 KB
patch
obsolete
>diff -ruN at76_usb-0.14beta1.orig/at76c503.c at76_usb-0.14beta1/at76c503.c >--- at76_usb-0.14beta1.orig/at76c503.c 2007-02-09 22:34:44.000000000 -0600 >+++ at76_usb-0.14beta1/at76c503.c 2007-02-09 22:36:01.000000000 -0600 >@@ -18,10 +18,14 @@ > * Some iw_handler code was taken from airo.c, (C) 1999 Benjamin Reed > */ > >+#include <linux/version.h> >+#if KERNEL_VERSION(2,6,19) > LINUX_VERSION_CODE > #include <linux/config.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/init.h> > #include <linux/kernel.h> >-#include <linux/version.h> > #include <linux/sched.h> > #include <linux/errno.h> > #include <linux/poll.h> >diff -ruN at76_usb-0.14beta1.orig/at76_usbdfu.c at76_usb-0.14beta1/at76_usbdfu.c >--- at76_usb-0.14beta1.orig/at76_usbdfu.c 2007-02-09 22:34:44.000000000 -0600 >+++ at76_usb-0.14beta1/at76_usbdfu.c 2007-02-09 22:36:40.000000000 -0600 >@@ -24,7 +24,12 @@ > * - Firmware upload (device-to-host) support > */ > >+#include <linux/version.h> >+#if KERNEL_VERSION(2,6,19) > LINUX_VERSION_CODE > #include <linux/config.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/slab.h> > #include <linux/usb.h> > #include "at76c503.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 164659
: 109700