Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81793 Details for
Bug 125474
at76c503a doesn't compile gcc-4 (solution)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with ?correct? spacing
at76-7-gcc4.diff (text/plain), 4.15 KB, created by
Maxim Grechkin
on 2006-03-09 11:37:04 UTC
(
hide
)
Description:
Patch with ?correct? spacing
Filename:
MIME Type:
Creator:
Maxim Grechkin
Created:
2006-03-09 11:37:04 UTC
Size:
4.15 KB
patch
obsolete
>diff -Naur at76c503a-0.12.beta23.orig/at76c503.c at76c503a-0.12.beta23.mod/at76c503.c >--- at76c503a-0.12.beta23.orig/at76c503.c 2006-03-09 21:07:26.000000000 +0300 >+++ at76c503a-0.12.beta23.mod/at76c503.c 2006-03-09 21:27:29.000000000 +0300 >@@ -279,60 +279,60 @@ > #define DRIVER_DESC "Generic Atmel at76c503/at76c505 routines" > > /* Module paramaters */ >-MODULE_PARM(debug, "i"); >+module_param(debug, int, 0); > #define DRIVER_AUTHOR \ > "Oliver Kurth, Joerg Albert <joerg.albert@gmx.de>, Alex, Nick Jones, "\ > "Balint Seeber <n0_5p4m_p13453@hotmail.com>" > MODULE_PARM_DESC(debug, "Debugging level"); > > static int rx_copybreak = 200; >-MODULE_PARM(rx_copybreak, "i"); >+module_param(rx_copybreak, int, 0); > MODULE_PARM_DESC(rx_copybreak, "rx packet copy threshold"); > > static int scan_min_time = 10; >-MODULE_PARM(scan_min_time, "i"); >+module_param(scan_min_time, int, 0); > MODULE_PARM_DESC(scan_min_time, "scan min channel time (default: 10)"); > > static int scan_max_time = 120; >-MODULE_PARM(scan_max_time, "i"); >+module_param(scan_max_time, int, 0); > MODULE_PARM_DESC(scan_max_time, "scan max channel time (default: 120)"); > > static int scan_mode = SCAN_TYPE_ACTIVE; >-MODULE_PARM(scan_mode, "i"); >+module_param(scan_mode, int, 0); > MODULE_PARM_DESC(scan_mode, "scan mode: 0 active (with ProbeReq, default), 1 passive"); > > static int preamble_type = PREAMBLE_TYPE_LONG; >-MODULE_PARM(preamble_type, "i"); >+module_param(preamble_type, int, 0); > MODULE_PARM_DESC(preamble_type, "preamble type: 0 long (default), 1 short"); > > static int auth_mode = 0; >-MODULE_PARM(auth_mode, "i"); >+module_param(auth_mode, int, 0); > MODULE_PARM_DESC(auth_mode, "authentication mode: 0 open system (default), " > "1 shared secret"); > > static int pm_mode = PM_ACTIVE; >-MODULE_PARM(pm_mode, "i"); >+module_param(pm_mode, int, 0); > MODULE_PARM_DESC(pm_mode, "power management mode: 1 active (def.), 2 powersave, 3 smart save"); > > static int pm_period = 0; >-MODULE_PARM(pm_period, "i"); >+module_param(pm_period, int, 0); > MODULE_PARM_DESC(pm_period, "period of waking up the device in usec"); > > static int international_roaming = IR_OFF; >-MODULE_PARM(international_roaming, "i"); >+module_param(international_roaming, int, 0); > MODULE_PARM_DESC(international_roaming, "enable international roaming: 0 (no, default), 1 (yes)"); > > static int default_iw_mode = IW_MODE_INFRA; >-MODULE_PARM(default_iw_mode, "i"); >+module_param(default_iw_mode, int, 0); > MODULE_PARM_DESC(default_iw_mode, "default IW mode for a new device: " > "1 (ad-hoc), 2 (infrastructure, def.), 6 (monitor mode)"); > > static int monitor_scan_min_time = 50; >-MODULE_PARM(monitor_scan_min_time, "i"); >+module_param(monitor_scan_min_time, int, 0); > MODULE_PARM_DESC(monitor_scan_min_time, "scan min channel time in MONITOR MODE (default: 50)"); > > static int monitor_scan_max_time = 600; >-MODULE_PARM(monitor_scan_max_time, "i"); >+module_param(monitor_scan_max_time, int, 0); > MODULE_PARM_DESC(monitor_scan_max_time, "scan max channel time in MONITOR MODE (default: 600)"); > > #define DEF_RTS_THRESHOLD 1536 >diff -Naur at76c503a-0.12.beta23.orig/at76c503-fw_skel.c at76c503a-0.12.beta23.mod/at76c503-fw_skel.c >--- at76c503a-0.12.beta23.orig/at76c503-fw_skel.c 2006-03-09 21:07:26.000000000 +0300 >+++ at76c503a-0.12.beta23.mod/at76c503-fw_skel.c 2006-03-09 21:30:02.000000000 +0300 >@@ -40,11 +40,11 @@ > /* Module paramaters */ > > static char netdev_name[IFNAMSIZ+1] = "wlan%d"; >-MODULE_PARM(netdev_name, "c" __MODULE_STRING(IFNAMSIZ)); >+module_param(netdev_name, charp, 0); > MODULE_PARM_DESC(netdev_name, > "network device name (default is wlan%d)"); > static int debug = 1; >-MODULE_PARM(debug, "i"); >+module_param(debug, int, 0); > MODULE_PARM_DESC(debug, > "debug output (default: 1)"); > >diff -Naur at76c503a-0.12.beta23.orig/at76_usbdfu.c at76c503a-0.12.beta23.mod/at76_usbdfu.c >--- at76c503a-0.12.beta23.orig/at76_usbdfu.c 2004-09-05 18:06:47.000000000 +0400 >+++ at76c503a-0.12.beta23.mod/at76_usbdfu.c 2006-03-09 21:27:56.000000000 +0300 >@@ -57,7 +57,7 @@ > #define DRIVER_DESC "USB Device Firmware Upgrade (DFU) handler" > > /* Module paramaters */ >-MODULE_PARM(debug, "i"); >+module_param(debug, int, 0); > MODULE_PARM_DESC(debug, "debug enabled (=1)"); > > /* DFU states */
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125474
:
81774
|
81782
|
81783
|
81790
|
81791
| 81793