diff options
590 files changed, 10014 insertions, 7178 deletions
diff --git a/Documentation/i2c/busses/i2c-piix4 b/Documentation/i2c/busses/i2c-piix4 index c5b37c570554..ac540c71c7eb 100644 --- a/Documentation/i2c/busses/i2c-piix4 +++ b/Documentation/i2c/busses/i2c-piix4 | |||
@@ -8,7 +8,7 @@ Supported adapters: | |||
8 | Datasheet: Only available via NDA from ServerWorks | 8 | Datasheet: Only available via NDA from ServerWorks |
9 | * ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges | 9 | * ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges |
10 | Datasheet: Not publicly available | 10 | Datasheet: Not publicly available |
11 | * AMD SB900 | 11 | * AMD Hudson-2 |
12 | Datasheet: Not publicly available | 12 | Datasheet: Not publicly available |
13 | * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge | 13 | * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge |
14 | Datasheet: Publicly available at the SMSC website http://www.smsc.com | 14 | Datasheet: Publicly available at the SMSC website http://www.smsc.com |
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index fd9a2f67edf2..50a59860ceed 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt | |||
@@ -1454,6 +1454,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
1454 | 1454 | ||
1455 | Module for internal PC-Speaker. | 1455 | Module for internal PC-Speaker. |
1456 | 1456 | ||
1457 | nopcm - Disable PC-Speaker PCM sound. Only beeps remain. | ||
1457 | nforce_wa - enable NForce chipset workaround. Expect bad sound. | 1458 | nforce_wa - enable NForce chipset workaround. Expect bad sound. |
1458 | 1459 | ||
1459 | This module supports system beeps, some kind of PCM playback and | 1460 | This module supports system beeps, some kind of PCM playback and |
@@ -1631,7 +1632,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
1631 | Module snd-sscape | 1632 | Module snd-sscape |
1632 | ----------------- | 1633 | ----------------- |
1633 | 1634 | ||
1634 | Module for ENSONIQ SoundScape PnP cards. | 1635 | Module for ENSONIQ SoundScape cards. |
1635 | 1636 | ||
1636 | port - Port # (PnP setup) | 1637 | port - Port # (PnP setup) |
1637 | wss_port - WSS Port # (PnP setup) | 1638 | wss_port - WSS Port # (PnP setup) |
@@ -1639,10 +1640,11 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
1639 | mpu_irq - MPU-401 IRQ # (PnP setup) | 1640 | mpu_irq - MPU-401 IRQ # (PnP setup) |
1640 | dma - DMA # (PnP setup) | 1641 | dma - DMA # (PnP setup) |
1641 | dma2 - 2nd DMA # (PnP setup, -1 to disable) | 1642 | dma2 - 2nd DMA # (PnP setup, -1 to disable) |
1643 | joystick - Enable gameport - 0 = disable (default), 1 = enable | ||
1644 | |||
1645 | This module supports multiple cards. | ||
1642 | 1646 | ||
1643 | This module supports multiple cards. ISA PnP must be enabled. | 1647 | The driver requires the firmware loader support on kernel. |
1644 | You need sscape_ctl tool in alsa-tools package for loading | ||
1645 | the microcode. | ||
1646 | 1648 | ||
1647 | Module snd-sun-amd7930 (on sparc only) | 1649 | Module snd-sun-amd7930 (on sparc only) |
1648 | -------------------------------------- | 1650 | -------------------------------------- |
diff --git a/Documentation/sound/alsa/ControlNames.txt b/Documentation/sound/alsa/ControlNames.txt index 5b18298e9495..fea65bb6269e 100644 --- a/Documentation/sound/alsa/ControlNames.txt +++ b/Documentation/sound/alsa/ControlNames.txt | |||
@@ -18,8 +18,9 @@ SOURCE: | |||
18 | Master | 18 | Master |
19 | Master Mono | 19 | Master Mono |
20 | Hardware Master | 20 | Hardware Master |
21 | Speaker (internal speaker) | ||
21 | Headphone | 22 | Headphone |
22 | PC Speaker | 23 | Beep (beep generator) |
23 | Phone | 24 | Phone |
24 | Phone Input | 25 | Phone Input |
25 | Phone Output | 26 | Phone Output |
diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt index 70d68ce8640a..a87dc277a5ca 100644 --- a/Documentation/thermal/sysfs-api.txt +++ b/Documentation/thermal/sysfs-api.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | Generic Thermal Sysfs driver How To | 1 | Generic Thermal Sysfs driver How To |
2 | ========================= | 2 | =================================== |
3 | 3 | ||
4 | Written by Sujith Thomas <sujith.thomas@intel.com>, Zhang Rui <rui.zhang@intel.com> | 4 | Written by Sujith Thomas <sujith.thomas@intel.com>, Zhang Rui <rui.zhang@intel.com> |
5 | 5 | ||
@@ -10,20 +10,20 @@ Copyright (c) 2008 Intel Corporation | |||
10 | 10 | ||
11 | 0. Introduction | 11 | 0. Introduction |
12 | 12 | ||
13 | The generic thermal sysfs provides a set of interfaces for thermal zone devices (sensors) | 13 | The generic thermal sysfs provides a set of interfaces for thermal zone |
14 | and thermal cooling devices (fan, processor...) to register with the thermal management | 14 | devices (sensors) and thermal cooling devices (fan, processor...) to register |
15 | solution and to be a part of it. | 15 | with the thermal management solution and to be a part of it. |
16 | 16 | ||
17 | This how-to focuses on enabling new thermal zone and cooling devices to participate | 17 | This how-to focuses on enabling new thermal zone and cooling devices to |
18 | in thermal management. | 18 | participate in thermal management. |
19 | This solution is platform independent and any type of thermal zone devices and | 19 | This solution is platform independent and any type of thermal zone devices |
20 | cooling devices should be able to make use of the infrastructure. | 20 | and cooling devices should be able to make use of the infrastructure. |
21 | 21 | ||
22 | The main task of the thermal sysfs driver is to expose thermal zone attributes as well | 22 | The main task of the thermal sysfs driver is to expose thermal zone attributes |
23 | as cooling device attributes to the user space. | 23 | as well as cooling device attributes to the user space. |
24 | An intelligent thermal management application can make decisions based on inputs | 24 | An intelligent thermal management application can make decisions based on |
25 | from thermal zone attributes (the current temperature and trip point temperature) | 25 | inputs from thermal zone attributes (the current temperature and trip point |
26 | and throttle appropriate devices. | 26 | temperature) and throttle appropriate devices. |
27 | 27 | ||
28 | [0-*] denotes any positive number starting from 0 | 28 | [0-*] denotes any positive number starting from 0 |
29 | [1-*] denotes any positive number starting from 1 | 29 | [1-*] denotes any positive number starting from 1 |
@@ -31,77 +31,77 @@ and throttle appropriate devices. | |||
31 | 1. thermal sysfs driver interface functions | 31 | 1. thermal sysfs driver interface functions |
32 | 32 | ||
33 | 1.1 thermal zone device interface | 33 | 1.1 thermal zone device interface |
34 | 1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *name, int trips, | 34 | 1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *name, |
35 | void *devdata, struct thermal_zone_device_ops *ops) | 35 | int trips, void *devdata, struct thermal_zone_device_ops *ops) |
36 | 36 | ||
37 | This interface function adds a new thermal zone device (sensor) to | 37 | This interface function adds a new thermal zone device (sensor) to |
38 | /sys/class/thermal folder as thermal_zone[0-*]. | 38 | /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the |
39 | It tries to bind all the thermal cooling devices registered at the same time. | 39 | thermal cooling devices registered at the same time. |
40 | 40 | ||
41 | name: the thermal zone name. | 41 | name: the thermal zone name. |
42 | trips: the total number of trip points this thermal zone supports. | 42 | trips: the total number of trip points this thermal zone supports. |
43 | devdata: device private data | 43 | devdata: device private data |
44 | ops: thermal zone device call-backs. | 44 | ops: thermal zone device call-backs. |
45 | .bind: bind the thermal zone device with a thermal cooling device. | 45 | .bind: bind the thermal zone device with a thermal cooling device. |
46 | .unbind: unbind the thermal zone device with a thermal cooling device. | 46 | .unbind: unbind the thermal zone device with a thermal cooling device. |
47 | .get_temp: get the current temperature of the thermal zone. | 47 | .get_temp: get the current temperature of the thermal zone. |
48 | .get_mode: get the current mode (user/kernel) of the thermal zone. | 48 | .get_mode: get the current mode (user/kernel) of the thermal zone. |
49 | "kernel" means thermal management is done in kernel. | 49 | - "kernel" means thermal management is done in kernel. |
50 | "user" will prevent kernel thermal driver actions upon trip points | 50 | - "user" will prevent kernel thermal driver actions upon trip points |
51 | so that user applications can take charge of thermal management. | 51 | so that user applications can take charge of thermal management. |
52 | .set_mode: set the mode (user/kernel) of the thermal zone. | 52 | .set_mode: set the mode (user/kernel) of the thermal zone. |
53 | .get_trip_type: get the type of certain trip point. | 53 | .get_trip_type: get the type of certain trip point. |
54 | .get_trip_temp: get the temperature above which the certain trip point | 54 | .get_trip_temp: get the temperature above which the certain trip point |
55 | will be fired. | 55 | will be fired. |
56 | 56 | ||
57 | 1.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz) | 57 | 1.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz) |
58 | 58 | ||
59 | This interface function removes the thermal zone device. | 59 | This interface function removes the thermal zone device. |
60 | It deletes the corresponding entry form /sys/class/thermal folder and unbind all | 60 | It deletes the corresponding entry form /sys/class/thermal folder and |
61 | the thermal cooling devices it uses. | 61 | unbind all the thermal cooling devices it uses. |
62 | 62 | ||
63 | 1.2 thermal cooling device interface | 63 | 1.2 thermal cooling device interface |
64 | 1.2.1 struct thermal_cooling_device *thermal_cooling_device_register(char *name, | 64 | 1.2.1 struct thermal_cooling_device *thermal_cooling_device_register(char *name, |
65 | void *devdata, struct thermal_cooling_device_ops *) | 65 | void *devdata, struct thermal_cooling_device_ops *) |
66 | 66 | ||
67 | This interface function adds a new thermal cooling device (fan/processor/...) to | 67 | This interface function adds a new thermal cooling device (fan/processor/...) |
68 | /sys/class/thermal/ folder as cooling_device[0-*]. | 68 | to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself |
69 | It tries to bind itself to all the thermal zone devices register at the same time. | 69 | to all the thermal zone devices register at the same time. |
70 | name: the cooling device name. | 70 | name: the cooling device name. |
71 | devdata: device private data. | 71 | devdata: device private data. |
72 | ops: thermal cooling devices call-backs. | 72 | ops: thermal cooling devices call-backs. |
73 | .get_max_state: get the Maximum throttle state of the cooling device. | 73 | .get_max_state: get the Maximum throttle state of the cooling device. |
74 | .get_cur_state: get the Current throttle state of the cooling device. | 74 | .get_cur_state: get the Current throttle state of the cooling device. |
75 | .set_cur_state: set the Current throttle state of the cooling device. | 75 | .set_cur_state: set the Current throttle state of the cooling device. |
76 | 76 | ||
77 | 1.2.2 void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) | 77 | 1.2.2 void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) |
78 | 78 | ||
79 | This interface function remove the thermal cooling device. | 79 | This interface function remove the thermal cooling device. |
80 | It deletes the corresponding entry form /sys/class/thermal folder and unbind | 80 | It deletes the corresponding entry form /sys/class/thermal folder and |
81 | itself from all the thermal zone devices using it. | 81 | unbind itself from all the thermal zone devices using it. |
82 | 82 | ||
83 | 1.3 interface for binding a thermal zone device with a thermal cooling device | 83 | 1.3 interface for binding a thermal zone device with a thermal cooling device |
84 | 1.3.1 int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, | 84 | 1.3.1 int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, |
85 | int trip, struct thermal_cooling_device *cdev); | 85 | int trip, struct thermal_cooling_device *cdev); |
86 | 86 | ||
87 | This interface function bind a thermal cooling device to the certain trip point | 87 | This interface function bind a thermal cooling device to the certain trip |
88 | of a thermal zone device. | 88 | point of a thermal zone device. |
89 | This function is usually called in the thermal zone device .bind callback. | 89 | This function is usually called in the thermal zone device .bind callback. |
90 | tz: the thermal zone device | 90 | tz: the thermal zone device |
91 | cdev: thermal cooling device | 91 | cdev: thermal cooling device |
92 | trip: indicates which trip point the cooling devices is associated with | 92 | trip: indicates which trip point the cooling devices is associated with |
93 | in this thermal zone. | 93 | in this thermal zone. |
94 | 94 | ||
95 | 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz, | 95 | 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz, |
96 | int trip, struct thermal_cooling_device *cdev); | 96 | int trip, struct thermal_cooling_device *cdev); |
97 | 97 | ||
98 | This interface function unbind a thermal cooling device from the certain trip point | 98 | This interface function unbind a thermal cooling device from the certain |
99 | of a thermal zone device. | 99 | trip point of a thermal zone device. This function is usually called in |
100 | This function is usually called in the thermal zone device .unbind callback. | 100 | the thermal zone device .unbind callback. |
101 | tz: the thermal zone device | 101 | tz: the thermal zone device |
102 | cdev: thermal cooling device | 102 | cdev: thermal cooling device |
103 | trip: indicates which trip point the cooling devices is associated with | 103 | trip: indicates which trip point the cooling devices is associated with |
104 | in this thermal zone. | 104 | in this thermal zone. |
105 | 105 | ||
106 | 2. sysfs attributes structure | 106 | 2. sysfs attributes structure |
107 | 107 | ||
@@ -114,153 +114,166 @@ if hwmon is compiled in or built as a module. | |||
114 | 114 | ||
115 | Thermal zone device sys I/F, created once it's registered: | 115 | Thermal zone device sys I/F, created once it's registered: |
116 | /sys/class/thermal/thermal_zone[0-*]: | 116 | /sys/class/thermal/thermal_zone[0-*]: |
117 | |-----type: Type of the thermal zone | 117 | |---type: Type of the thermal zone |
118 | |-----temp: Current temperature | 118 | |---temp: Current temperature |
119 | |-----mode: Working mode of the thermal zone | 119 | |---mode: Working mode of the thermal zone |
120 | |-----trip_point_[0-*]_temp: Trip point temperature | 120 | |---trip_point_[0-*]_temp: Trip point temperature |
121 | |-----trip_point_[0-*]_type: Trip point type | 121 | |---trip_point_[0-*]_type: Trip point type |
122 | 122 | ||
123 | Thermal cooling device sys I/F, created once it's registered: | 123 | Thermal cooling device sys I/F, created once it's registered: |
124 | /sys/class/thermal/cooling_device[0-*]: | 124 | /sys/class/thermal/cooling_device[0-*]: |
125 | |-----type : Type of the cooling device(processor/fan/...) | 125 | |---type: Type of the cooling device(processor/fan/...) |
126 | |-----max_state: Maximum cooling state of the cooling device | 126 | |---max_state: Maximum cooling state of the cooling device |
127 | |-----cur_state: Current cooling state of the cooling device | 127 | |---cur_state: Current cooling state of the cooling device |
128 | 128 | ||
129 | 129 | ||
130 | These two dynamic attributes are created/removed in pairs. | 130 | Then next two dynamic attributes are created/removed in pairs. They represent |
131 | They represent the relationship between a thermal zone and its associated cooling device. | 131 | the relationship between a thermal zone and its associated cooling device. |
132 | They are created/removed for each | 132 | They are created/removed for each successful execution of |
133 | thermal_zone_bind_cooling_device/thermal_zone_unbind_cooling_device successful execution. | 133 | thermal_zone_bind_cooling_device/thermal_zone_unbind_cooling_device. |
134 | 134 | ||
135 | /sys/class/thermal/thermal_zone[0-*] | 135 | /sys/class/thermal/thermal_zone[0-*]: |
136 | |-----cdev[0-*]: The [0-*]th cooling device in the current thermal zone | 136 | |---cdev[0-*]: [0-*]th cooling device in current thermal zone |
137 | |-----cdev[0-*]_trip_point: Trip point that cdev[0-*] is associated with | 137 | |---cdev[0-*]_trip_point: Trip point that cdev[0-*] is associated with |
138 | 138 | ||
139 | Besides the thermal zone device sysfs I/F and cooling device sysfs I/F, | 139 | Besides the thermal zone device sysfs I/F and cooling device sysfs I/F, |
140 | the generic thermal driver also creates a hwmon sysfs I/F for each _type_ of | 140 | the generic thermal driver also creates a hwmon sysfs I/F for each _type_ |
141 | thermal zone device. E.g. the generic thermal driver registers one hwmon class device | 141 | of thermal zone device. E.g. the generic thermal driver registers one hwmon |
142 | and build the associated hwmon sysfs I/F for all the registered ACPI thermal zones. | 142 | class device and build the associated hwmon sysfs I/F for all the registered |
143 | ACPI thermal zones. | ||
144 | |||
143 | /sys/class/hwmon/hwmon[0-*]: | 145 | /sys/class/hwmon/hwmon[0-*]: |
144 | |-----name: The type of the thermal zone devices. | 146 | |---name: The type of the thermal zone devices |
145 | |-----temp[1-*]_input: The current temperature of thermal zone [1-*]. | 147 | |---temp[1-*]_input: The current temperature of thermal zone [1-*] |
146 | |-----temp[1-*]_critical: The critical trip point of thermal zone [1-*]. | 148 | |---temp[1-*]_critical: The critical trip point of thermal zone [1-*] |
149 | |||
147 | Please read Documentation/hwmon/sysfs-interface for additional information. | 150 | Please read Documentation/hwmon/sysfs-interface for additional information. |
148 | 151 | ||
149 | *************************** | 152 | *************************** |
150 | * Thermal zone attributes * | 153 | * Thermal zone attributes * |
151 | *************************** | 154 | *************************** |
152 | 155 | ||
153 | type Strings which represent the thermal zone type. | 156 | type |
154 | This is given by thermal zone driver as part of registration. | 157 | Strings which represent the thermal zone type. |
155 | Eg: "acpitz" indicates it's an ACPI thermal device. | 158 | This is given by thermal zone driver as part of registration. |
156 | In order to keep it consistent with hwmon sys attribute, | 159 | E.g: "acpitz" indicates it's an ACPI thermal device. |
157 | this should be a short, lowercase string, | 160 | In order to keep it consistent with hwmon sys attribute; this should |
158 | not containing spaces nor dashes. | 161 | be a short, lowercase string, not containing spaces nor dashes. |
159 | RO | 162 | RO, Required |
160 | Required | 163 | |
161 | 164 | temp | |
162 | temp Current temperature as reported by thermal zone (sensor) | 165 | Current temperature as reported by thermal zone (sensor). |
163 | Unit: millidegree Celsius | 166 | Unit: millidegree Celsius |
164 | RO | 167 | RO, Required |
165 | Required | 168 | |
166 | 169 | mode | |
167 | mode One of the predefined values in [kernel, user] | 170 | One of the predefined values in [kernel, user]. |
168 | This file gives information about the algorithm | 171 | This file gives information about the algorithm that is currently |
169 | that is currently managing the thermal zone. | 172 | managing the thermal zone. It can be either default kernel based |
170 | It can be either default kernel based algorithm | 173 | algorithm or user space application. |
171 | or user space application. | 174 | kernel = Thermal management in kernel thermal zone driver. |
172 | RW | 175 | user = Preventing kernel thermal zone driver actions upon |
173 | Optional | 176 | trip points so that user application can take full |
174 | kernel = Thermal management in kernel thermal zone driver. | 177 | charge of the thermal management. |
175 | user = Preventing kernel thermal zone driver actions upon | 178 | RW, Optional |
176 | trip points so that user application can take full | 179 | |
177 | charge of the thermal management. | 180 | trip_point_[0-*]_temp |
178 | 181 | The temperature above which trip point will be fired. | |
179 | trip_point_[0-*]_temp The temperature above which trip point will be fired | 182 | Unit: millidegree Celsius |
180 | Unit: millidegree Celsius | 183 | RO, Optional |
181 | RO | 184 | |
182 | Optional | 185 | trip_point_[0-*]_type |
183 | 186 | Strings which indicate the type of the trip point. | |
184 | trip_point_[0-*]_type Strings which indicate the type of the trip point | 187 | E.g. it can be one of critical, hot, passive, active[0-*] for ACPI |
185 | E.g. it can be one of critical, hot, passive, | 188 | thermal zone. |
186 | active[0-*] for ACPI thermal zone. | 189 | RO, Optional |
187 | RO | 190 | |
188 | Optional | 191 | cdev[0-*] |
189 | 192 | Sysfs link to the thermal cooling device node where the sys I/F | |
190 | cdev[0-*] Sysfs link to the thermal cooling device node where the sys I/F | 193 | for cooling device throttling control represents. |
191 | for cooling device throttling control represents. | 194 | RO, Optional |
192 | RO | 195 | |
193 | Optional | 196 | cdev[0-*]_trip_point |
194 | 197 | The trip point with which cdev[0-*] is associated in this thermal | |
195 | cdev[0-*]_trip_point The trip point with which cdev[0-*] is associated in this thermal zone | 198 | zone; -1 means the cooling device is not associated with any trip |
196 | -1 means the cooling device is not associated with any trip point. | 199 | point. |
197 | RO | 200 | RO, Optional |
198 | Optional | 201 | |
199 | 202 | passive | |
200 | ****************************** | 203 | Attribute is only present for zones in which the passive cooling |
201 | * Cooling device attributes * | 204 | policy is not supported by native thermal driver. Default is zero |
202 | ****************************** | 205 | and can be set to a temperature (in millidegrees) to enable a |
203 | 206 | passive trip point for the zone. Activation is done by polling with | |
204 | type String which represents the type of device | 207 | an interval of 1 second. |
205 | eg: For generic ACPI: this should be "Fan", | 208 | Unit: millidegrees Celsius |
206 | "Processor" or "LCD" | 209 | RW, Optional |
207 | eg. For memory controller device on intel_menlow platform: | 210 | |
208 | this should be "Memory controller" | 211 | ***************************** |
209 | RO | 212 | * Cooling device attributes * |
210 | Required | 213 | ***************************** |
211 | 214 | ||
212 | max_state The maximum permissible cooling state of this cooling device. | 215 | type |
213 | RO | 216 | String which represents the type of device, e.g: |
214 | Required | 217 | - for generic ACPI: should be "Fan", "Processor" or "LCD" |
215 | 218 | - for memory controller device on intel_menlow platform: | |
216 | cur_state The current cooling state of this cooling device. | 219 | should be "Memory controller". |
217 | the value can any integer numbers between 0 and max_state, | 220 | RO, Required |
218 | cur_state == 0 means no cooling | 221 | |
219 | cur_state == max_state means the maximum cooling. | 222 | max_state |
220 | RW | 223 | The maximum permissible cooling state of this cooling device. |
221 | Required | 224 | RO, Required |
225 | |||
226 | cur_state | ||
227 | The current cooling state of this cooling device. | ||
228 | The value can any integer numbers between 0 and max_state: | ||
229 | - cur_state == 0 means no cooling | ||
230 | - cur_state == max_state means the maximum cooling. | ||
231 | RW, Required | ||
222 | 232 | ||
223 | 3. A simple implementation | 233 | 3. A simple implementation |
224 | 234 | ||
225 | ACPI thermal zone may support multiple trip points like critical/hot/passive/active. | 235 | ACPI thermal zone may support multiple trip points like critical, hot, |
226 | If an ACPI thermal zone supports critical, passive, active[0] and active[1] at the same time, | 236 | passive, active. If an ACPI thermal zone supports critical, passive, |
227 | it may register itself as a thermal_zone_device (thermal_zone1) with 4 trip points in all. | 237 | active[0] and active[1] at the same time, it may register itself as a |
228 | It has one processor and one fan, which are both registered as thermal_cooling_device. | 238 | thermal_zone_device (thermal_zone1) with 4 trip points in all. |
229 | If the processor is listed in _PSL method, and the fan is listed in _AL0 method, | 239 | It has one processor and one fan, which are both registered as |
230 | the sys I/F structure will be built like this: | 240 | thermal_cooling_device. |
241 | |||
242 | If the processor is listed in _PSL method, and the fan is listed in _AL0 | ||
243 | method, the sys I/F structure will be built like this: | ||
231 | 244 | ||
232 | /sys/class/thermal: | 245 | /sys/class/thermal: |
233 | 246 | ||
234 | |thermal_zone1: | 247 | |thermal_zone1: |
235 | |-----type: acpitz | 248 | |---type: acpitz |
236 | |-----temp: 37000 | 249 | |---temp: 37000 |
237 | |-----mode: kernel | 250 | |---mode: kernel |
238 | |-----trip_point_0_temp: 100000 | 251 | |---trip_point_0_temp: 100000 |
239 | |-----trip_point_0_type: critical | 252 | |---trip_point_0_type: critical |
240 | |-----trip_point_1_temp: 80000 | 253 | |---trip_point_1_temp: 80000 |
241 | |-----trip_point_1_type: passive | 254 | |---trip_point_1_type: passive |
242 | |-----trip_point_2_temp: 70000 | 255 | |---trip_point_2_temp: 70000 |
243 | |-----trip_point_2_type: active0 | 256 | |---trip_point_2_type: active0 |
244 | |-----trip_point_3_temp: 60000 | 257 | |---trip_point_3_temp: 60000 |
245 | |-----trip_point_3_type: active1 | 258 | |---trip_point_3_type: active1 |
246 | |-----cdev0: --->/sys/class/thermal/cooling_device0 | 259 | |---cdev0: --->/sys/class/thermal/cooling_device0 |
247 | |-----cdev0_trip_point: 1 /* cdev0 can be used for passive */ | 260 | |---cdev0_trip_point: 1 /* cdev0 can be used for passive */ |
248 | |-----cdev1: --->/sys/class/thermal/cooling_device3 | 261 | |---cdev1: --->/sys/class/thermal/cooling_device3 |
249 | |-----cdev1_trip_point: 2 /* cdev1 can be used for active[0]*/ | 262 | |---cdev1_trip_point: 2 /* cdev1 can be used for active[0]*/ |
250 | 263 | ||
251 | |cooling_device0: | 264 | |cooling_device0: |
252 | |-----type: Processor | 265 | |---type: Processor |
253 | |-----max_state: 8 | 266 | |---max_state: 8 |
254 | |-----cur_state: 0 | 267 | |---cur_state: 0 |
255 | 268 | ||
256 | |cooling_device3: | 269 | |cooling_device3: |
257 | |-----type: Fan | 270 | |---type: Fan |
258 | |-----max_state: 2 | 271 | |---max_state: 2 |
259 | |-----cur_state: 0 | 272 | |---cur_state: 0 |
260 | 273 | ||
261 | /sys/class/hwmon: | 274 | /sys/class/hwmon: |
262 | 275 | ||
263 | |hwmon0: | 276 | |hwmon0: |
264 | |-----name: acpitz | 277 | |---name: acpitz |
265 | |-----temp1_input: 37000 | 278 | |---temp1_input: 37000 |
266 | |-----temp1_crit: 100000 | 279 | |---temp1_crit: 100000 |
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index 3ec4f2a22585..4793c6aac733 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c | |||
@@ -218,7 +218,7 @@ static void fatal(const char *x, ...) | |||
218 | exit(EXIT_FAILURE); | 218 | exit(EXIT_FAILURE); |
219 | } | 219 | } |
220 | 220 | ||
221 | int checked_open(const char *pathname, int flags) | 221 | static int checked_open(const char *pathname, int flags) |
222 | { | 222 | { |
223 | int fd = open(pathname, flags); | 223 | int fd = open(pathname, flags); |
224 | 224 | ||
diff --git a/MAINTAINERS b/MAINTAINERS index a1a2aceca5bd..c824b4d62754 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -182,7 +182,7 @@ M: Ron Minnich <rminnich@sandia.gov> | |||
182 | M: Latchesar Ionkov <lucho@ionkov.net> | 182 | M: Latchesar Ionkov <lucho@ionkov.net> |
183 | L: v9fs-developer@lists.sourceforge.net | 183 | L: v9fs-developer@lists.sourceforge.net |
184 | W: http://swik.net/v9fs | 184 | W: http://swik.net/v9fs |
185 | T: git git://git.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git | 185 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git |
186 | S: Maintained | 186 | S: Maintained |
187 | F: Documentation/filesystems/9p.txt | 187 | F: Documentation/filesystems/9p.txt |
188 | F: fs/9p/ | 188 | F: fs/9p/ |
@@ -906,7 +906,6 @@ M: Karol Kozimor <sziwan@users.sourceforge.net> | |||
906 | L: acpi4asus-user@lists.sourceforge.net | 906 | L: acpi4asus-user@lists.sourceforge.net |
907 | W: http://acpi4asus.sf.net | 907 | W: http://acpi4asus.sf.net |
908 | S: Maintained | 908 | S: Maintained |
909 | F: arch/x86/kernel/acpi/boot.c | ||
910 | F: drivers/platform/x86/asus_acpi.c | 909 | F: drivers/platform/x86/asus_acpi.c |
911 | 910 | ||
912 | ASUS ASB100 HARDWARE MONITOR DRIVER | 911 | ASUS ASB100 HARDWARE MONITOR DRIVER |
@@ -1245,11 +1244,10 @@ S: Supported | |||
1245 | F: drivers/net/tg3.* | 1244 | F: drivers/net/tg3.* |
1246 | 1245 | ||
1247 | BROCADE BFA FC SCSI DRIVER | 1246 | BROCADE BFA FC SCSI DRIVER |
1248 | P: Jing Huang | 1247 | M: Jing Huang <huangj@brocade.com> |
1249 | M: huangj@brocade.com | 1248 | L: linux-scsi@vger.kernel.org |
1250 | L: linux-scsi@vger.kernel.org | 1249 | S: Supported |
1251 | S: Supported | 1250 | F: drivers/scsi/bfa/ |
1252 | F: drivers/scsi/bfa/ | ||
1253 | 1251 | ||
1254 | BSG (block layer generic sg v4 driver) | 1252 | BSG (block layer generic sg v4 driver) |
1255 | M: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 1253 | M: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> |
@@ -2825,7 +2823,7 @@ F: drivers/infiniband/hw/ipath/ | |||
2825 | 2823 | ||
2826 | IPMI SUBSYSTEM | 2824 | IPMI SUBSYSTEM |
2827 | M: Corey Minyard <minyard@acm.org> | 2825 | M: Corey Minyard <minyard@acm.org> |
2828 | L: openipmi-developer@lists.sourceforge.net | 2826 | L: openipmi-developer@lists.sourceforge.net (moderated for non-subscribers) |
2829 | W: http://openipmi.sourceforge.net/ | 2827 | W: http://openipmi.sourceforge.net/ |
2830 | S: Supported | 2828 | S: Supported |
2831 | F: Documentation/IPMI.txt | 2829 | F: Documentation/IPMI.txt |
@@ -3086,9 +3084,13 @@ F: kernel/kgdb.c | |||
3086 | 3084 | ||
3087 | KMEMCHECK | 3085 | KMEMCHECK |
3088 | M: Vegard Nossum <vegardno@ifi.uio.no> | 3086 | M: Vegard Nossum <vegardno@ifi.uio.no> |
3089 | P Pekka Enberg | 3087 | M: Pekka Enberg <penberg@cs.helsinki.fi> |
3090 | M: penberg@cs.helsinki.fi | ||
3091 | S: Maintained | 3088 | S: Maintained |
3089 | F: Documentation/kmemcheck.txt | ||
3090 | F: arch/x86/include/asm/kmemcheck.h | ||
3091 | F: arch/x86/mm/kmemcheck/ | ||
3092 | F: include/linux/kmemcheck.h | ||
3093 | F: mm/kmemcheck.c | ||
3092 | 3094 | ||
3093 | KMEMLEAK | 3095 | KMEMLEAK |
3094 | M: Catalin Marinas <catalin.marinas@arm.com> | 3096 | M: Catalin Marinas <catalin.marinas@arm.com> |
@@ -3618,7 +3620,7 @@ L: netfilter@vger.kernel.org | |||
3618 | L: coreteam@netfilter.org | 3620 | L: coreteam@netfilter.org |
3619 | W: http://www.netfilter.org/ | 3621 | W: http://www.netfilter.org/ |
3620 | W: http://www.iptables.org/ | 3622 | W: http://www.iptables.org/ |
3621 | T: git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6.git | 3623 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6.git |
3622 | S: Supported | 3624 | S: Supported |
3623 | F: include/linux/netfilter* | 3625 | F: include/linux/netfilter* |
3624 | F: include/linux/netfilter/ | 3626 | F: include/linux/netfilter/ |
@@ -3665,6 +3667,7 @@ L: netdev@vger.kernel.org | |||
3665 | W: http://www.linuxfoundation.org/en/Net | 3667 | W: http://www.linuxfoundation.org/en/Net |
3666 | W: http://patchwork.ozlabs.org/project/netdev/list/ | 3668 | W: http://patchwork.ozlabs.org/project/netdev/list/ |
3667 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git | 3669 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git |
3670 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git | ||
3668 | S: Maintained | 3671 | S: Maintained |
3669 | F: net/ | 3672 | F: net/ |
3670 | F: include/net/ | 3673 | F: include/net/ |
@@ -4329,6 +4332,8 @@ F: drivers/video/aty/aty128fb.c | |||
4329 | 4332 | ||
4330 | RALINK RT2X00 WIRELESS LAN DRIVER | 4333 | RALINK RT2X00 WIRELESS LAN DRIVER |
4331 | P: rt2x00 project | 4334 | P: rt2x00 project |
4335 | M: Ivo van Doorn <IvDoorn@gmail.com> | ||
4336 | M: Gertjan van Wingerde <gwingerde@gmail.com> | ||
4332 | L: linux-wireless@vger.kernel.org | 4337 | L: linux-wireless@vger.kernel.org |
4333 | L: users@rt2x00.serialmonkey.com (moderated for non-subscribers) | 4338 | L: users@rt2x00.serialmonkey.com (moderated for non-subscribers) |
4334 | W: http://rt2x00.serialmonkey.com/ | 4339 | W: http://rt2x00.serialmonkey.com/ |
@@ -4416,7 +4421,7 @@ RFKILL | |||
4416 | M: Johannes Berg <johannes@sipsolutions.net> | 4421 | M: Johannes Berg <johannes@sipsolutions.net> |
4417 | L: linux-wireless@vger.kernel.org | 4422 | L: linux-wireless@vger.kernel.org |
4418 | S: Maintained | 4423 | S: Maintained |
4419 | F Documentation/rfkill.txt | 4424 | F: Documentation/rfkill.txt |
4420 | F: net/rfkill/ | 4425 | F: net/rfkill/ |
4421 | 4426 | ||
4422 | RISCOM8 DRIVER | 4427 | RISCOM8 DRIVER |
@@ -4636,7 +4641,7 @@ F: drivers/mmc/host/sdhci-s3c.c | |||
4636 | SECURITY SUBSYSTEM | 4641 | SECURITY SUBSYSTEM |
4637 | M: James Morris <jmorris@namei.org> | 4642 | M: James Morris <jmorris@namei.org> |
4638 | L: linux-security-module@vger.kernel.org (suggested Cc:) | 4643 | L: linux-security-module@vger.kernel.org (suggested Cc:) |
4639 | T: git git://www.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6.git | 4644 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6.git |
4640 | W: http://security.wiki.kernel.org/ | 4645 | W: http://security.wiki.kernel.org/ |
4641 | S: Supported | 4646 | S: Supported |
4642 | F: security/ | 4647 | F: security/ |
@@ -4672,12 +4677,11 @@ F: include/linux/ata.h | |||
4672 | F: include/linux/libata.h | 4677 | F: include/linux/libata.h |
4673 | 4678 | ||
4674 | SERVER ENGINES 10Gbps iSCSI - BladeEngine 2 DRIVER | 4679 | SERVER ENGINES 10Gbps iSCSI - BladeEngine 2 DRIVER |
4675 | P: Jayamohan Kallickal | 4680 | M: Jayamohan Kallickal <jayamohank@serverengines.com> |
4676 | M: jayamohank@serverengines.com | 4681 | L: linux-scsi@vger.kernel.org |
4677 | L: linux-scsi@vger.kernel.org | 4682 | W: http://www.serverengines.com |
4678 | W: http://www.serverengines.com | 4683 | S: Supported |
4679 | S: Supported | 4684 | F: drivers/scsi/be2iscsi/ |
4680 | F: drivers/scsi/be2iscsi/ | ||
4681 | 4685 | ||
4682 | SERVER ENGINES 10Gbps NIC - BladeEngine 2 DRIVER | 4686 | SERVER ENGINES 10Gbps NIC - BladeEngine 2 DRIVER |
4683 | M: Sathya Perla <sathyap@serverengines.com> | 4687 | M: Sathya Perla <sathyap@serverengines.com> |
@@ -5683,11 +5687,11 @@ F: drivers/vlynq/vlynq.c | |||
5683 | F: include/linux/vlynq.h | 5687 | F: include/linux/vlynq.h |
5684 | 5688 | ||
5685 | VMWARE VMXNET3 ETHERNET DRIVER | 5689 | VMWARE VMXNET3 ETHERNET DRIVER |
5686 | M: Shreyas Bhatewara <sbhatewara@vmware.com> | 5690 | M: Shreyas Bhatewara <sbhatewara@vmware.com> |
5687 | M: VMware, Inc. <pv-drivers@vmware.com> | 5691 | M: "VMware, Inc." <pv-drivers@vmware.com> |
5688 | L: netdev@vger.kernel.org | 5692 | L: netdev@vger.kernel.org |
5689 | S: Maintained | 5693 | S: Maintained |
5690 | F: drivers/net/vmxnet3/ | 5694 | F: drivers/net/vmxnet3/ |
5691 | 5695 | ||
5692 | VOLTAGE AND CURRENT REGULATOR FRAMEWORK | 5696 | VOLTAGE AND CURRENT REGULATOR FRAMEWORK |
5693 | M: Liam Girdwood <lrg@slimlogic.co.uk> | 5697 | M: Liam Girdwood <lrg@slimlogic.co.uk> |
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 32 | 3 | SUBLEVEL = 32 |
4 | EXTRAVERSION = -rc6 | 4 | EXTRAVERSION = -rc8 |
5 | NAME = Man-Eating Seals of Antiquity | 5 | NAME = Man-Eating Seals of Antiquity |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -221,7 +221,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | |||
221 | 221 | ||
222 | HOSTCC = gcc | 222 | HOSTCC = gcc |
223 | HOSTCXX = g++ | 223 | HOSTCXX = g++ |
224 | HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer | 224 | HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer |
225 | HOSTCXXFLAGS = -O2 | 225 | HOSTCXXFLAGS = -O2 |
226 | 226 | ||
227 | # Decide whether to build built-in, modular, or both. | 227 | # Decide whether to build built-in, modular, or both. |
diff --git a/arch/alpha/boot/tools/objstrip.c b/arch/alpha/boot/tools/objstrip.c index 9d0727d18aee..367d53d031fc 100644 --- a/arch/alpha/boot/tools/objstrip.c +++ b/arch/alpha/boot/tools/objstrip.c | |||
@@ -35,7 +35,7 @@ | |||
35 | const char * prog_name; | 35 | const char * prog_name; |
36 | 36 | ||
37 | 37 | ||
38 | void | 38 | static void |
39 | usage (void) | 39 | usage (void) |
40 | { | 40 | { |
41 | fprintf(stderr, | 41 | fprintf(stderr, |
diff --git a/arch/alpha/include/asm/fcntl.h b/arch/alpha/include/asm/fcntl.h index e42823e954aa..25da0017ec87 100644 --- a/arch/alpha/include/asm/fcntl.h +++ b/arch/alpha/include/asm/fcntl.h | |||
@@ -26,8 +26,6 @@ | |||
26 | #define F_GETOWN 6 /* for sockets. */ | 26 | #define F_GETOWN 6 /* for sockets. */ |
27 | #define F_SETSIG 10 /* for sockets. */ | 27 | #define F_SETSIG 10 /* for sockets. */ |
28 | #define F_GETSIG 11 /* for sockets. */ | 28 | #define F_GETSIG 11 /* for sockets. */ |
29 | #define F_SETOWN_EX 12 | ||
30 | #define F_GETOWN_EX 13 | ||
31 | 29 | ||
32 | /* for posix fcntl() and lockf() */ | 30 | /* for posix fcntl() and lockf() */ |
33 | #define F_RDLCK 1 | 31 | #define F_RDLCK 1 |
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h index 5076a8860b18..815680b585ed 100644 --- a/arch/alpha/include/asm/thread_info.h +++ b/arch/alpha/include/asm/thread_info.h | |||
@@ -50,12 +50,12 @@ struct thread_info { | |||
50 | register struct thread_info *__current_thread_info __asm__("$8"); | 50 | register struct thread_info *__current_thread_info __asm__("$8"); |
51 | #define current_thread_info() __current_thread_info | 51 | #define current_thread_info() __current_thread_info |
52 | 52 | ||
53 | #endif /* __ASSEMBLY__ */ | ||
54 | |||
53 | /* Thread information allocation. */ | 55 | /* Thread information allocation. */ |
54 | #define THREAD_SIZE_ORDER 1 | 56 | #define THREAD_SIZE_ORDER 1 |
55 | #define THREAD_SIZE (2*PAGE_SIZE) | 57 | #define THREAD_SIZE (2*PAGE_SIZE) |
56 | 58 | ||
57 | #endif /* __ASSEMBLY__ */ | ||
58 | |||
59 | #define PREEMPT_ACTIVE 0x40000000 | 59 | #define PREEMPT_ACTIVE 0x40000000 |
60 | 60 | ||
61 | /* | 61 | /* |
diff --git a/arch/arm/configs/ams_delta_defconfig b/arch/arm/configs/ams_delta_defconfig index 764732529ea3..e8f7380b67d6 100644 --- a/arch/arm/configs/ams_delta_defconfig +++ b/arch/arm/configs/ams_delta_defconfig | |||
@@ -55,10 +55,10 @@ CONFIG_BLK_DEV_INITRD=y | |||
55 | CONFIG_INITRAMFS_SOURCE="" | 55 | CONFIG_INITRAMFS_SOURCE="" |
56 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 56 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
57 | CONFIG_SYSCTL=y | 57 | CONFIG_SYSCTL=y |
58 | # CONFIG_EMBEDDED is not set | 58 | CONFIG_EMBEDDED=y |
59 | CONFIG_UID16=y | 59 | CONFIG_UID16=y |
60 | CONFIG_SYSCTL_SYSCALL=y | 60 | CONFIG_SYSCTL_SYSCALL=y |
61 | CONFIG_KALLSYMS=y | 61 | # CONFIG_KALLSYMS is not set |
62 | # CONFIG_KALLSYMS_ALL is not set | 62 | # CONFIG_KALLSYMS_ALL is not set |
63 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 63 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
64 | CONFIG_HOTPLUG=y | 64 | CONFIG_HOTPLUG=y |
@@ -224,7 +224,7 @@ CONFIG_CPU_CP15_MMU=y | |||
224 | # | 224 | # |
225 | # Processor Features | 225 | # Processor Features |
226 | # | 226 | # |
227 | # CONFIG_ARM_THUMB is not set | 227 | CONFIG_ARM_THUMB=y |
228 | # CONFIG_CPU_ICACHE_DISABLE is not set | 228 | # CONFIG_CPU_ICACHE_DISABLE is not set |
229 | # CONFIG_CPU_DCACHE_DISABLE is not set | 229 | # CONFIG_CPU_DCACHE_DISABLE is not set |
230 | CONFIG_CPU_DCACHE_WRITETHROUGH=y | 230 | CONFIG_CPU_DCACHE_WRITETHROUGH=y |
@@ -248,7 +248,7 @@ CONFIG_CPU_DCACHE_WRITETHROUGH=y | |||
248 | # CONFIG_HIGH_RES_TIMERS is not set | 248 | # CONFIG_HIGH_RES_TIMERS is not set |
249 | CONFIG_PREEMPT=y | 249 | CONFIG_PREEMPT=y |
250 | CONFIG_HZ=100 | 250 | CONFIG_HZ=100 |
251 | # CONFIG_AEABI is not set | 251 | CONFIG_AEABI=y |
252 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | 252 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set |
253 | CONFIG_SELECT_MEMORY_MODEL=y | 253 | CONFIG_SELECT_MEMORY_MODEL=y |
254 | CONFIG_FLATMEM_MANUAL=y | 254 | CONFIG_FLATMEM_MANUAL=y |
@@ -299,7 +299,9 @@ CONFIG_BINFMT_ELF=y | |||
299 | # | 299 | # |
300 | # Power management options | 300 | # Power management options |
301 | # | 301 | # |
302 | # CONFIG_PM is not set | 302 | CONFIG_PM=y |
303 | # CONFIG_SUSPEND is not set | ||
304 | CONFIG_PM_RUNTIME=y | ||
303 | 305 | ||
304 | # | 306 | # |
305 | # Networking | 307 | # Networking |
@@ -670,7 +672,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | |||
670 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | 672 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 |
671 | # CONFIG_INPUT_JOYDEV is not set | 673 | # CONFIG_INPUT_JOYDEV is not set |
672 | # CONFIG_INPUT_TSDEV is not set | 674 | # CONFIG_INPUT_TSDEV is not set |
673 | # CONFIG_INPUT_EVDEV is not set | 675 | CONFIG_INPUT_EVDEV=y |
674 | # CONFIG_INPUT_EVBUG is not set | 676 | # CONFIG_INPUT_EVBUG is not set |
675 | 677 | ||
676 | # | 678 | # |
@@ -784,6 +786,7 @@ CONFIG_I2C_OMAP=y | |||
784 | # | 786 | # |
785 | # CONFIG_SPI is not set | 787 | # CONFIG_SPI is not set |
786 | # CONFIG_SPI_MASTER is not set | 788 | # CONFIG_SPI_MASTER is not set |
789 | CONFIG_GPIO_SYSFS=y | ||
787 | 790 | ||
788 | # | 791 | # |
789 | # Dallas's 1-wire bus | 792 | # Dallas's 1-wire bus |
@@ -820,6 +823,7 @@ CONFIG_LEDS_AMS_DELTA=y | |||
820 | CONFIG_LEDS_TRIGGERS=y | 823 | CONFIG_LEDS_TRIGGERS=y |
821 | CONFIG_LEDS_TRIGGER_TIMER=y | 824 | CONFIG_LEDS_TRIGGER_TIMER=y |
822 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | 825 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
826 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
823 | 827 | ||
824 | # | 828 | # |
825 | # Multimedia devices | 829 | # Multimedia devices |
@@ -896,7 +900,13 @@ CONFIG_LOGO_LINUX_CLUT224=y | |||
896 | # | 900 | # |
897 | # Sound | 901 | # Sound |
898 | # | 902 | # |
899 | # CONFIG_SOUND is not set | 903 | CONFIG_SOUND=y |
904 | CONFIG_SND=y | ||
905 | CONFIG_SND_MIXER_OSS=y | ||
906 | CONFIG_SND_PCM_OSS=y | ||
907 | CONFIG_SND_SOC=y | ||
908 | CONFIG_SND_OMAP_SOC=y | ||
909 | CONFIG_SND_OMAP_SOC_AMS_DELTA=y | ||
900 | 910 | ||
901 | # | 911 | # |
902 | # HID Devices | 912 | # HID Devices |
diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig index af74cc2de8b6..bcfade33bca9 100644 --- a/arch/arm/configs/kirkwood_defconfig +++ b/arch/arm/configs/kirkwood_defconfig | |||
@@ -1,15 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc4 | 3 | # Linux kernel version: 2.6.32-rc6 |
4 | # Mon May 4 11:58:57 2009 | 4 | # Sat Nov 7 20:31:18 2009 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y |
8 | CONFIG_GENERIC_GPIO=y | 8 | CONFIG_GENERIC_GPIO=y |
9 | CONFIG_GENERIC_TIME=y | 9 | CONFIG_GENERIC_TIME=y |
10 | CONFIG_GENERIC_CLOCKEVENTS=y | 10 | CONFIG_GENERIC_CLOCKEVENTS=y |
11 | CONFIG_MMU=y | ||
12 | # CONFIG_NO_IOPORT is not set | ||
13 | CONFIG_GENERIC_HARDIRQS=y | 11 | CONFIG_GENERIC_HARDIRQS=y |
14 | CONFIG_STACKTRACE_SUPPORT=y | 12 | CONFIG_STACKTRACE_SUPPORT=y |
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 13 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -18,13 +16,12 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y | |||
18 | CONFIG_HARDIRQS_SW_RESEND=y | 16 | CONFIG_HARDIRQS_SW_RESEND=y |
19 | CONFIG_GENERIC_IRQ_PROBE=y | 17 | CONFIG_GENERIC_IRQ_PROBE=y |
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 18 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
21 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
22 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
23 | CONFIG_GENERIC_HWEIGHT=y | 19 | CONFIG_GENERIC_HWEIGHT=y |
24 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 20 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
25 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 21 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
26 | CONFIG_VECTORS_BASE=0xffff0000 | 22 | CONFIG_VECTORS_BASE=0xffff0000 |
27 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
24 | CONFIG_CONSTRUCTORS=y | ||
28 | 25 | ||
29 | # | 26 | # |
30 | # General setup | 27 | # General setup |
@@ -46,11 +43,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
46 | # | 43 | # |
47 | # RCU Subsystem | 44 | # RCU Subsystem |
48 | # | 45 | # |
49 | CONFIG_CLASSIC_RCU=y | 46 | CONFIG_TREE_RCU=y |
50 | # CONFIG_TREE_RCU is not set | 47 | # CONFIG_TREE_PREEMPT_RCU is not set |
51 | # CONFIG_PREEMPT_RCU is not set | 48 | # CONFIG_RCU_TRACE is not set |
49 | CONFIG_RCU_FANOUT=32 | ||
50 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
52 | # CONFIG_TREE_RCU_TRACE is not set | 51 | # CONFIG_TREE_RCU_TRACE is not set |
53 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
54 | # CONFIG_IKCONFIG is not set | 52 | # CONFIG_IKCONFIG is not set |
55 | CONFIG_LOG_BUF_SHIFT=19 | 53 | CONFIG_LOG_BUF_SHIFT=19 |
56 | # CONFIG_GROUP_SCHED is not set | 54 | # CONFIG_GROUP_SCHED is not set |
@@ -73,7 +71,6 @@ CONFIG_SYSCTL_SYSCALL=y | |||
73 | CONFIG_KALLSYMS=y | 71 | CONFIG_KALLSYMS=y |
74 | # CONFIG_KALLSYMS_ALL is not set | 72 | # CONFIG_KALLSYMS_ALL is not set |
75 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
76 | # CONFIG_STRIP_ASM_SYMS is not set | ||
77 | CONFIG_HOTPLUG=y | 74 | CONFIG_HOTPLUG=y |
78 | CONFIG_PRINTK=y | 75 | CONFIG_PRINTK=y |
79 | CONFIG_BUG=y | 76 | CONFIG_BUG=y |
@@ -86,6 +83,10 @@ CONFIG_TIMERFD=y | |||
86 | CONFIG_EVENTFD=y | 83 | CONFIG_EVENTFD=y |
87 | CONFIG_SHMEM=y | 84 | CONFIG_SHMEM=y |
88 | CONFIG_AIO=y | 85 | CONFIG_AIO=y |
86 | |||
87 | # | ||
88 | # Kernel Performance Events And Counters | ||
89 | # | ||
89 | CONFIG_VM_EVENT_COUNTERS=y | 90 | CONFIG_VM_EVENT_COUNTERS=y |
90 | CONFIG_PCI_QUIRKS=y | 91 | CONFIG_PCI_QUIRKS=y |
91 | CONFIG_SLUB_DEBUG=y | 92 | CONFIG_SLUB_DEBUG=y |
@@ -95,13 +96,17 @@ CONFIG_SLUB=y | |||
95 | # CONFIG_SLOB is not set | 96 | # CONFIG_SLOB is not set |
96 | CONFIG_PROFILING=y | 97 | CONFIG_PROFILING=y |
97 | CONFIG_TRACEPOINTS=y | 98 | CONFIG_TRACEPOINTS=y |
98 | # CONFIG_MARKERS is not set | ||
99 | CONFIG_OPROFILE=y | 99 | CONFIG_OPROFILE=y |
100 | CONFIG_HAVE_OPROFILE=y | 100 | CONFIG_HAVE_OPROFILE=y |
101 | CONFIG_KPROBES=y | 101 | CONFIG_KPROBES=y |
102 | CONFIG_KRETPROBES=y | 102 | CONFIG_KRETPROBES=y |
103 | CONFIG_HAVE_KPROBES=y | 103 | CONFIG_HAVE_KPROBES=y |
104 | CONFIG_HAVE_KRETPROBES=y | 104 | CONFIG_HAVE_KRETPROBES=y |
105 | |||
106 | # | ||
107 | # GCOV-based kernel profiling | ||
108 | # | ||
109 | # CONFIG_GCOV_KERNEL is not set | ||
105 | # CONFIG_SLOW_WORK is not set | 110 | # CONFIG_SLOW_WORK is not set |
106 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | 111 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y |
107 | CONFIG_SLABINFO=y | 112 | CONFIG_SLABINFO=y |
@@ -114,7 +119,7 @@ CONFIG_MODULE_UNLOAD=y | |||
114 | # CONFIG_MODVERSIONS is not set | 119 | # CONFIG_MODVERSIONS is not set |
115 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 120 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
116 | CONFIG_BLOCK=y | 121 | CONFIG_BLOCK=y |
117 | # CONFIG_LBD is not set | 122 | CONFIG_LBDAF=y |
118 | # CONFIG_BLK_DEV_BSG is not set | 123 | # CONFIG_BLK_DEV_BSG is not set |
119 | # CONFIG_BLK_DEV_INTEGRITY is not set | 124 | # CONFIG_BLK_DEV_INTEGRITY is not set |
120 | 125 | ||
@@ -135,19 +140,22 @@ CONFIG_DEFAULT_IOSCHED="cfq" | |||
135 | # | 140 | # |
136 | # System Type | 141 | # System Type |
137 | # | 142 | # |
143 | CONFIG_MMU=y | ||
138 | # CONFIG_ARCH_AAEC2000 is not set | 144 | # CONFIG_ARCH_AAEC2000 is not set |
139 | # CONFIG_ARCH_INTEGRATOR is not set | 145 | # CONFIG_ARCH_INTEGRATOR is not set |
140 | # CONFIG_ARCH_REALVIEW is not set | 146 | # CONFIG_ARCH_REALVIEW is not set |
141 | # CONFIG_ARCH_VERSATILE is not set | 147 | # CONFIG_ARCH_VERSATILE is not set |
142 | # CONFIG_ARCH_AT91 is not set | 148 | # CONFIG_ARCH_AT91 is not set |
143 | # CONFIG_ARCH_CLPS711X is not set | 149 | # CONFIG_ARCH_CLPS711X is not set |
150 | # CONFIG_ARCH_GEMINI is not set | ||
144 | # CONFIG_ARCH_EBSA110 is not set | 151 | # CONFIG_ARCH_EBSA110 is not set |
145 | # CONFIG_ARCH_EP93XX is not set | 152 | # CONFIG_ARCH_EP93XX is not set |
146 | # CONFIG_ARCH_GEMINI is not set | ||
147 | # CONFIG_ARCH_FOOTBRIDGE is not set | 153 | # CONFIG_ARCH_FOOTBRIDGE is not set |
154 | # CONFIG_ARCH_MXC is not set | ||
155 | # CONFIG_ARCH_STMP3XXX is not set | ||
148 | # CONFIG_ARCH_NETX is not set | 156 | # CONFIG_ARCH_NETX is not set |
149 | # CONFIG_ARCH_H720X is not set | 157 | # CONFIG_ARCH_H720X is not set |
150 | # CONFIG_ARCH_IMX is not set | 158 | # CONFIG_ARCH_NOMADIK is not set |
151 | # CONFIG_ARCH_IOP13XX is not set | 159 | # CONFIG_ARCH_IOP13XX is not set |
152 | # CONFIG_ARCH_IOP32X is not set | 160 | # CONFIG_ARCH_IOP32X is not set |
153 | # CONFIG_ARCH_IOP33X is not set | 161 | # CONFIG_ARCH_IOP33X is not set |
@@ -156,25 +164,27 @@ CONFIG_DEFAULT_IOSCHED="cfq" | |||
156 | # CONFIG_ARCH_IXP4XX is not set | 164 | # CONFIG_ARCH_IXP4XX is not set |
157 | # CONFIG_ARCH_L7200 is not set | 165 | # CONFIG_ARCH_L7200 is not set |
158 | CONFIG_ARCH_KIRKWOOD=y | 166 | CONFIG_ARCH_KIRKWOOD=y |
159 | # CONFIG_ARCH_KS8695 is not set | ||
160 | # CONFIG_ARCH_NS9XXX is not set | ||
161 | # CONFIG_ARCH_LOKI is not set | 167 | # CONFIG_ARCH_LOKI is not set |
162 | # CONFIG_ARCH_MV78XX0 is not set | 168 | # CONFIG_ARCH_MV78XX0 is not set |
163 | # CONFIG_ARCH_MXC is not set | ||
164 | # CONFIG_ARCH_ORION5X is not set | 169 | # CONFIG_ARCH_ORION5X is not set |
170 | # CONFIG_ARCH_MMP is not set | ||
171 | # CONFIG_ARCH_KS8695 is not set | ||
172 | # CONFIG_ARCH_NS9XXX is not set | ||
173 | # CONFIG_ARCH_W90X900 is not set | ||
165 | # CONFIG_ARCH_PNX4008 is not set | 174 | # CONFIG_ARCH_PNX4008 is not set |
166 | # CONFIG_ARCH_PXA is not set | 175 | # CONFIG_ARCH_PXA is not set |
167 | # CONFIG_ARCH_MMP is not set | 176 | # CONFIG_ARCH_MSM is not set |
168 | # CONFIG_ARCH_RPC is not set | 177 | # CONFIG_ARCH_RPC is not set |
169 | # CONFIG_ARCH_SA1100 is not set | 178 | # CONFIG_ARCH_SA1100 is not set |
170 | # CONFIG_ARCH_S3C2410 is not set | 179 | # CONFIG_ARCH_S3C2410 is not set |
171 | # CONFIG_ARCH_S3C64XX is not set | 180 | # CONFIG_ARCH_S3C64XX is not set |
181 | # CONFIG_ARCH_S5PC1XX is not set | ||
172 | # CONFIG_ARCH_SHARK is not set | 182 | # CONFIG_ARCH_SHARK is not set |
173 | # CONFIG_ARCH_LH7A40X is not set | 183 | # CONFIG_ARCH_LH7A40X is not set |
184 | # CONFIG_ARCH_U300 is not set | ||
174 | # CONFIG_ARCH_DAVINCI is not set | 185 | # CONFIG_ARCH_DAVINCI is not set |
175 | # CONFIG_ARCH_OMAP is not set | 186 | # CONFIG_ARCH_OMAP is not set |
176 | # CONFIG_ARCH_MSM is not set | 187 | # CONFIG_ARCH_BCMRING is not set |
177 | # CONFIG_ARCH_W90X900 is not set | ||
178 | 188 | ||
179 | # | 189 | # |
180 | # Marvell Kirkwood Implementations | 190 | # Marvell Kirkwood Implementations |
@@ -185,6 +195,7 @@ CONFIG_MACH_RD88F6281=y | |||
185 | CONFIG_MACH_MV88F6281GTW_GE=y | 195 | CONFIG_MACH_MV88F6281GTW_GE=y |
186 | CONFIG_MACH_SHEEVAPLUG=y | 196 | CONFIG_MACH_SHEEVAPLUG=y |
187 | CONFIG_MACH_TS219=y | 197 | CONFIG_MACH_TS219=y |
198 | CONFIG_MACH_OPENRD_BASE=y | ||
188 | CONFIG_PLAT_ORION=y | 199 | CONFIG_PLAT_ORION=y |
189 | 200 | ||
190 | # | 201 | # |
@@ -195,7 +206,7 @@ CONFIG_CPU_FEROCEON=y | |||
195 | # CONFIG_CPU_FEROCEON_OLD_ID is not set | 206 | # CONFIG_CPU_FEROCEON_OLD_ID is not set |
196 | CONFIG_CPU_32v5=y | 207 | CONFIG_CPU_32v5=y |
197 | CONFIG_CPU_ABRT_EV5T=y | 208 | CONFIG_CPU_ABRT_EV5T=y |
198 | CONFIG_CPU_PABRT_NOIFAR=y | 209 | CONFIG_CPU_PABRT_LEGACY=y |
199 | CONFIG_CPU_CACHE_VIVT=y | 210 | CONFIG_CPU_CACHE_VIVT=y |
200 | CONFIG_CPU_COPY_FEROCEON=y | 211 | CONFIG_CPU_COPY_FEROCEON=y |
201 | CONFIG_CPU_TLB_FEROCEON=y | 212 | CONFIG_CPU_TLB_FEROCEON=y |
@@ -211,6 +222,7 @@ CONFIG_ARM_THUMB=y | |||
211 | CONFIG_OUTER_CACHE=y | 222 | CONFIG_OUTER_CACHE=y |
212 | CONFIG_CACHE_FEROCEON_L2=y | 223 | CONFIG_CACHE_FEROCEON_L2=y |
213 | # CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set | 224 | # CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set |
225 | CONFIG_ARM_L1_CACHE_SHIFT=5 | ||
214 | 226 | ||
215 | # | 227 | # |
216 | # Bus support | 228 | # Bus support |
@@ -235,11 +247,12 @@ CONFIG_VMSPLIT_3G=y | |||
235 | # CONFIG_VMSPLIT_2G is not set | 247 | # CONFIG_VMSPLIT_2G is not set |
236 | # CONFIG_VMSPLIT_1G is not set | 248 | # CONFIG_VMSPLIT_1G is not set |
237 | CONFIG_PAGE_OFFSET=0xC0000000 | 249 | CONFIG_PAGE_OFFSET=0xC0000000 |
250 | # CONFIG_PREEMPT_NONE is not set | ||
251 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
238 | CONFIG_PREEMPT=y | 252 | CONFIG_PREEMPT=y |
239 | CONFIG_HZ=100 | 253 | CONFIG_HZ=100 |
240 | CONFIG_AEABI=y | 254 | CONFIG_AEABI=y |
241 | # CONFIG_OABI_COMPAT is not set | 255 | # CONFIG_OABI_COMPAT is not set |
242 | CONFIG_ARCH_FLATMEM_HAS_HOLES=y | ||
243 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | 256 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set |
244 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | 257 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set |
245 | # CONFIG_HIGHMEM is not set | 258 | # CONFIG_HIGHMEM is not set |
@@ -254,10 +267,12 @@ CONFIG_SPLIT_PTLOCK_CPUS=4096 | |||
254 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 267 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
255 | CONFIG_ZONE_DMA_FLAG=0 | 268 | CONFIG_ZONE_DMA_FLAG=0 |
256 | CONFIG_VIRT_TO_BUS=y | 269 | CONFIG_VIRT_TO_BUS=y |
257 | CONFIG_UNEVICTABLE_LRU=y | ||
258 | CONFIG_HAVE_MLOCK=y | 270 | CONFIG_HAVE_MLOCK=y |
259 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
272 | # CONFIG_KSM is not set | ||
273 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
260 | CONFIG_ALIGNMENT_TRAP=y | 274 | CONFIG_ALIGNMENT_TRAP=y |
275 | CONFIG_UACCESS_WITH_MEMCPY=y | ||
261 | 276 | ||
262 | # | 277 | # |
263 | # Boot options | 278 | # Boot options |
@@ -345,6 +360,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
345 | # CONFIG_NETFILTER is not set | 360 | # CONFIG_NETFILTER is not set |
346 | # CONFIG_IP_DCCP is not set | 361 | # CONFIG_IP_DCCP is not set |
347 | # CONFIG_IP_SCTP is not set | 362 | # CONFIG_IP_SCTP is not set |
363 | # CONFIG_RDS is not set | ||
348 | # CONFIG_TIPC is not set | 364 | # CONFIG_TIPC is not set |
349 | # CONFIG_ATM is not set | 365 | # CONFIG_ATM is not set |
350 | # CONFIG_BRIDGE is not set | 366 | # CONFIG_BRIDGE is not set |
@@ -367,6 +383,7 @@ CONFIG_NET_DSA_MV88E6123_61_65=y | |||
367 | # CONFIG_ECONET is not set | 383 | # CONFIG_ECONET is not set |
368 | # CONFIG_WAN_ROUTER is not set | 384 | # CONFIG_WAN_ROUTER is not set |
369 | # CONFIG_PHONET is not set | 385 | # CONFIG_PHONET is not set |
386 | # CONFIG_IEEE802154 is not set | ||
370 | # CONFIG_NET_SCHED is not set | 387 | # CONFIG_NET_SCHED is not set |
371 | # CONFIG_DCB is not set | 388 | # CONFIG_DCB is not set |
372 | 389 | ||
@@ -383,17 +400,18 @@ CONFIG_NET_PKTGEN=m | |||
383 | # CONFIG_AF_RXRPC is not set | 400 | # CONFIG_AF_RXRPC is not set |
384 | CONFIG_WIRELESS=y | 401 | CONFIG_WIRELESS=y |
385 | CONFIG_CFG80211=y | 402 | CONFIG_CFG80211=y |
403 | # CONFIG_NL80211_TESTMODE is not set | ||
404 | # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set | ||
386 | # CONFIG_CFG80211_REG_DEBUG is not set | 405 | # CONFIG_CFG80211_REG_DEBUG is not set |
406 | CONFIG_CFG80211_DEFAULT_PS=y | ||
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=1 | ||
408 | # CONFIG_CFG80211_DEBUGFS is not set | ||
387 | CONFIG_WIRELESS_OLD_REGULATORY=y | 409 | CONFIG_WIRELESS_OLD_REGULATORY=y |
388 | CONFIG_WIRELESS_EXT=y | 410 | CONFIG_WIRELESS_EXT=y |
389 | CONFIG_WIRELESS_EXT_SYSFS=y | 411 | CONFIG_WIRELESS_EXT_SYSFS=y |
390 | CONFIG_LIB80211=y | 412 | CONFIG_LIB80211=y |
391 | # CONFIG_LIB80211_DEBUG is not set | 413 | # CONFIG_LIB80211_DEBUG is not set |
392 | CONFIG_MAC80211=y | 414 | CONFIG_MAC80211=y |
393 | |||
394 | # | ||
395 | # Rate control algorithm selection | ||
396 | # | ||
397 | CONFIG_MAC80211_RC_MINSTREL=y | 415 | CONFIG_MAC80211_RC_MINSTREL=y |
398 | # CONFIG_MAC80211_RC_DEFAULT_PID is not set | 416 | # CONFIG_MAC80211_RC_DEFAULT_PID is not set |
399 | CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y | 417 | CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y |
@@ -414,6 +432,7 @@ CONFIG_MAC80211_RC_DEFAULT="minstrel" | |||
414 | # Generic Driver Options | 432 | # Generic Driver Options |
415 | # | 433 | # |
416 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 434 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
435 | # CONFIG_DEVTMPFS is not set | ||
417 | CONFIG_STANDALONE=y | 436 | CONFIG_STANDALONE=y |
418 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 437 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
419 | CONFIG_FW_LOADER=y | 438 | CONFIG_FW_LOADER=y |
@@ -425,9 +444,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
425 | # CONFIG_CONNECTOR is not set | 444 | # CONFIG_CONNECTOR is not set |
426 | CONFIG_MTD=y | 445 | CONFIG_MTD=y |
427 | # CONFIG_MTD_DEBUG is not set | 446 | # CONFIG_MTD_DEBUG is not set |
447 | # CONFIG_MTD_TESTS is not set | ||
428 | # CONFIG_MTD_CONCAT is not set | 448 | # CONFIG_MTD_CONCAT is not set |
429 | CONFIG_MTD_PARTITIONS=y | 449 | CONFIG_MTD_PARTITIONS=y |
430 | # CONFIG_MTD_TESTS is not set | ||
431 | # CONFIG_MTD_REDBOOT_PARTS is not set | 450 | # CONFIG_MTD_REDBOOT_PARTS is not set |
432 | CONFIG_MTD_CMDLINE_PARTS=y | 451 | CONFIG_MTD_CMDLINE_PARTS=y |
433 | # CONFIG_MTD_AFS_PARTS is not set | 452 | # CONFIG_MTD_AFS_PARTS is not set |
@@ -494,6 +513,7 @@ CONFIG_MTD_PHYSMAP=y | |||
494 | # CONFIG_MTD_DATAFLASH is not set | 513 | # CONFIG_MTD_DATAFLASH is not set |
495 | CONFIG_MTD_M25P80=y | 514 | CONFIG_MTD_M25P80=y |
496 | CONFIG_M25PXX_USE_FAST_READ=y | 515 | CONFIG_M25PXX_USE_FAST_READ=y |
516 | # CONFIG_MTD_SST25L is not set | ||
497 | # CONFIG_MTD_SLRAM is not set | 517 | # CONFIG_MTD_SLRAM is not set |
498 | # CONFIG_MTD_PHRAM is not set | 518 | # CONFIG_MTD_PHRAM is not set |
499 | # CONFIG_MTD_MTDRAM is not set | 519 | # CONFIG_MTD_MTDRAM is not set |
@@ -543,6 +563,7 @@ CONFIG_BLK_DEV_LOOP=y | |||
543 | # CONFIG_BLK_DEV_RAM is not set | 563 | # CONFIG_BLK_DEV_RAM is not set |
544 | # CONFIG_CDROM_PKTCDVD is not set | 564 | # CONFIG_CDROM_PKTCDVD is not set |
545 | # CONFIG_ATA_OVER_ETH is not set | 565 | # CONFIG_ATA_OVER_ETH is not set |
566 | # CONFIG_MG_DISK is not set | ||
546 | # CONFIG_MISC_DEVICES is not set | 567 | # CONFIG_MISC_DEVICES is not set |
547 | CONFIG_HAVE_IDE=y | 568 | CONFIG_HAVE_IDE=y |
548 | # CONFIG_IDE is not set | 569 | # CONFIG_IDE is not set |
@@ -567,10 +588,6 @@ CONFIG_BLK_DEV_SR=m | |||
567 | # CONFIG_BLK_DEV_SR_VENDOR is not set | 588 | # CONFIG_BLK_DEV_SR_VENDOR is not set |
568 | CONFIG_CHR_DEV_SG=m | 589 | CONFIG_CHR_DEV_SG=m |
569 | # CONFIG_CHR_DEV_SCH is not set | 590 | # CONFIG_CHR_DEV_SCH is not set |
570 | |||
571 | # | ||
572 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
573 | # | ||
574 | # CONFIG_SCSI_MULTI_LUN is not set | 591 | # CONFIG_SCSI_MULTI_LUN is not set |
575 | # CONFIG_SCSI_CONSTANTS is not set | 592 | # CONFIG_SCSI_CONSTANTS is not set |
576 | # CONFIG_SCSI_LOGGING is not set | 593 | # CONFIG_SCSI_LOGGING is not set |
@@ -587,6 +604,8 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
587 | # CONFIG_SCSI_SRP_ATTRS is not set | 604 | # CONFIG_SCSI_SRP_ATTRS is not set |
588 | CONFIG_SCSI_LOWLEVEL=y | 605 | CONFIG_SCSI_LOWLEVEL=y |
589 | # CONFIG_ISCSI_TCP is not set | 606 | # CONFIG_ISCSI_TCP is not set |
607 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
608 | # CONFIG_BE2ISCSI is not set | ||
590 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 609 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
591 | # CONFIG_SCSI_3W_9XXX is not set | 610 | # CONFIG_SCSI_3W_9XXX is not set |
592 | # CONFIG_SCSI_ACARD is not set | 611 | # CONFIG_SCSI_ACARD is not set |
@@ -595,6 +614,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
595 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 614 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
596 | # CONFIG_SCSI_AIC79XX is not set | 615 | # CONFIG_SCSI_AIC79XX is not set |
597 | # CONFIG_SCSI_AIC94XX is not set | 616 | # CONFIG_SCSI_AIC94XX is not set |
617 | # CONFIG_SCSI_MVSAS is not set | ||
598 | # CONFIG_SCSI_DPT_I2O is not set | 618 | # CONFIG_SCSI_DPT_I2O is not set |
599 | # CONFIG_SCSI_ADVANSYS is not set | 619 | # CONFIG_SCSI_ADVANSYS is not set |
600 | # CONFIG_SCSI_ARCMSR is not set | 620 | # CONFIG_SCSI_ARCMSR is not set |
@@ -611,7 +631,6 @@ CONFIG_SCSI_LOWLEVEL=y | |||
611 | # CONFIG_SCSI_IPS is not set | 631 | # CONFIG_SCSI_IPS is not set |
612 | # CONFIG_SCSI_INITIO is not set | 632 | # CONFIG_SCSI_INITIO is not set |
613 | # CONFIG_SCSI_INIA100 is not set | 633 | # CONFIG_SCSI_INIA100 is not set |
614 | # CONFIG_SCSI_MVSAS is not set | ||
615 | # CONFIG_SCSI_STEX is not set | 634 | # CONFIG_SCSI_STEX is not set |
616 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 635 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
617 | # CONFIG_SCSI_IPR is not set | 636 | # CONFIG_SCSI_IPR is not set |
@@ -623,11 +642,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
623 | # CONFIG_SCSI_DC390T is not set | 642 | # CONFIG_SCSI_DC390T is not set |
624 | # CONFIG_SCSI_NSP32 is not set | 643 | # CONFIG_SCSI_NSP32 is not set |
625 | # CONFIG_SCSI_DEBUG is not set | 644 | # CONFIG_SCSI_DEBUG is not set |
645 | # CONFIG_SCSI_PMCRAID is not set | ||
626 | # CONFIG_SCSI_SRP is not set | 646 | # CONFIG_SCSI_SRP is not set |
647 | # CONFIG_SCSI_BFA_FC is not set | ||
627 | # CONFIG_SCSI_DH is not set | 648 | # CONFIG_SCSI_DH is not set |
628 | # CONFIG_SCSI_OSD_INITIATOR is not set | 649 | # CONFIG_SCSI_OSD_INITIATOR is not set |
629 | CONFIG_ATA=y | 650 | CONFIG_ATA=y |
630 | # CONFIG_ATA_NONSTANDARD is not set | 651 | # CONFIG_ATA_NONSTANDARD is not set |
652 | CONFIG_ATA_VERBOSE_ERROR=y | ||
631 | CONFIG_SATA_PMP=y | 653 | CONFIG_SATA_PMP=y |
632 | CONFIG_SATA_AHCI=y | 654 | CONFIG_SATA_AHCI=y |
633 | # CONFIG_SATA_SIL24 is not set | 655 | # CONFIG_SATA_SIL24 is not set |
@@ -649,6 +671,7 @@ CONFIG_SATA_MV=y | |||
649 | # CONFIG_PATA_ALI is not set | 671 | # CONFIG_PATA_ALI is not set |
650 | # CONFIG_PATA_AMD is not set | 672 | # CONFIG_PATA_AMD is not set |
651 | # CONFIG_PATA_ARTOP is not set | 673 | # CONFIG_PATA_ARTOP is not set |
674 | # CONFIG_PATA_ATP867X is not set | ||
652 | # CONFIG_PATA_ATIIXP is not set | 675 | # CONFIG_PATA_ATIIXP is not set |
653 | # CONFIG_PATA_CMD640_PCI is not set | 676 | # CONFIG_PATA_CMD640_PCI is not set |
654 | # CONFIG_PATA_CMD64X is not set | 677 | # CONFIG_PATA_CMD64X is not set |
@@ -676,6 +699,7 @@ CONFIG_SATA_MV=y | |||
676 | # CONFIG_PATA_OPTIDMA is not set | 699 | # CONFIG_PATA_OPTIDMA is not set |
677 | # CONFIG_PATA_PDC_OLD is not set | 700 | # CONFIG_PATA_PDC_OLD is not set |
678 | # CONFIG_PATA_RADISYS is not set | 701 | # CONFIG_PATA_RADISYS is not set |
702 | # CONFIG_PATA_RDC is not set | ||
679 | # CONFIG_PATA_RZ1000 is not set | 703 | # CONFIG_PATA_RZ1000 is not set |
680 | # CONFIG_PATA_SC1200 is not set | 704 | # CONFIG_PATA_SC1200 is not set |
681 | # CONFIG_PATA_SERVERWORKS is not set | 705 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -693,13 +717,16 @@ CONFIG_SATA_MV=y | |||
693 | # | 717 | # |
694 | 718 | ||
695 | # | 719 | # |
696 | # Enable only one of the two stacks, unless you know what you are doing | 720 | # You can enable one or both FireWire driver stacks. |
721 | # | ||
722 | |||
723 | # | ||
724 | # See the help texts for more information. | ||
697 | # | 725 | # |
698 | # CONFIG_FIREWIRE is not set | 726 | # CONFIG_FIREWIRE is not set |
699 | # CONFIG_IEEE1394 is not set | 727 | # CONFIG_IEEE1394 is not set |
700 | # CONFIG_I2O is not set | 728 | # CONFIG_I2O is not set |
701 | CONFIG_NETDEVICES=y | 729 | CONFIG_NETDEVICES=y |
702 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
703 | # CONFIG_DUMMY is not set | 730 | # CONFIG_DUMMY is not set |
704 | # CONFIG_BONDING is not set | 731 | # CONFIG_BONDING is not set |
705 | # CONFIG_MACVLAN is not set | 732 | # CONFIG_MACVLAN is not set |
@@ -768,6 +795,9 @@ CONFIG_NET_PCI=y | |||
768 | # CONFIG_SMSC9420 is not set | 795 | # CONFIG_SMSC9420 is not set |
769 | # CONFIG_SUNDANCE is not set | 796 | # CONFIG_SUNDANCE is not set |
770 | # CONFIG_TLAN is not set | 797 | # CONFIG_TLAN is not set |
798 | # CONFIG_KS8842 is not set | ||
799 | # CONFIG_KS8851 is not set | ||
800 | # CONFIG_KS8851_MLL is not set | ||
771 | # CONFIG_VIA_RHINE is not set | 801 | # CONFIG_VIA_RHINE is not set |
772 | # CONFIG_SC92031 is not set | 802 | # CONFIG_SC92031 is not set |
773 | # CONFIG_ATL2 is not set | 803 | # CONFIG_ATL2 is not set |
@@ -789,6 +819,7 @@ CONFIG_NETDEV_1000=y | |||
789 | # CONFIG_VIA_VELOCITY is not set | 819 | # CONFIG_VIA_VELOCITY is not set |
790 | # CONFIG_TIGON3 is not set | 820 | # CONFIG_TIGON3 is not set |
791 | # CONFIG_BNX2 is not set | 821 | # CONFIG_BNX2 is not set |
822 | # CONFIG_CNIC is not set | ||
792 | CONFIG_MV643XX_ETH=y | 823 | CONFIG_MV643XX_ETH=y |
793 | # CONFIG_QLA3XXX is not set | 824 | # CONFIG_QLA3XXX is not set |
794 | # CONFIG_ATL1 is not set | 825 | # CONFIG_ATL1 is not set |
@@ -797,10 +828,7 @@ CONFIG_MV643XX_ETH=y | |||
797 | # CONFIG_JME is not set | 828 | # CONFIG_JME is not set |
798 | # CONFIG_NETDEV_10000 is not set | 829 | # CONFIG_NETDEV_10000 is not set |
799 | # CONFIG_TR is not set | 830 | # CONFIG_TR is not set |
800 | 831 | CONFIG_WLAN=y | |
801 | # | ||
802 | # Wireless LAN | ||
803 | # | ||
804 | # CONFIG_WLAN_PRE80211 is not set | 832 | # CONFIG_WLAN_PRE80211 is not set |
805 | CONFIG_WLAN_80211=y | 833 | CONFIG_WLAN_80211=y |
806 | CONFIG_LIBERTAS=y | 834 | CONFIG_LIBERTAS=y |
@@ -820,9 +848,7 @@ CONFIG_LIBERTAS_SDIO=y | |||
820 | # CONFIG_MAC80211_HWSIM is not set | 848 | # CONFIG_MAC80211_HWSIM is not set |
821 | # CONFIG_MWL8K is not set | 849 | # CONFIG_MWL8K is not set |
822 | # CONFIG_P54_COMMON is not set | 850 | # CONFIG_P54_COMMON is not set |
823 | # CONFIG_ATH5K is not set | 851 | # CONFIG_ATH_COMMON is not set |
824 | # CONFIG_ATH9K is not set | ||
825 | # CONFIG_AR9170_USB is not set | ||
826 | # CONFIG_IPW2100 is not set | 852 | # CONFIG_IPW2100 is not set |
827 | # CONFIG_IPW2200 is not set | 853 | # CONFIG_IPW2200 is not set |
828 | # CONFIG_IWLWIFI is not set | 854 | # CONFIG_IWLWIFI is not set |
@@ -832,6 +858,8 @@ CONFIG_LIBERTAS_SDIO=y | |||
832 | # CONFIG_ZD1211RW is not set | 858 | # CONFIG_ZD1211RW is not set |
833 | # CONFIG_RT2X00 is not set | 859 | # CONFIG_RT2X00 is not set |
834 | # CONFIG_HERMES is not set | 860 | # CONFIG_HERMES is not set |
861 | # CONFIG_WL12XX is not set | ||
862 | # CONFIG_IWM is not set | ||
835 | 863 | ||
836 | # | 864 | # |
837 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 865 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
@@ -855,6 +883,7 @@ CONFIG_LIBERTAS_SDIO=y | |||
855 | # CONFIG_NETPOLL is not set | 883 | # CONFIG_NETPOLL is not set |
856 | # CONFIG_NET_POLL_CONTROLLER is not set | 884 | # CONFIG_NET_POLL_CONTROLLER is not set |
857 | # CONFIG_ISDN is not set | 885 | # CONFIG_ISDN is not set |
886 | # CONFIG_PHONE is not set | ||
858 | 887 | ||
859 | # | 888 | # |
860 | # Input device support | 889 | # Input device support |
@@ -878,13 +907,19 @@ CONFIG_INPUT_EVDEV=y | |||
878 | # Input Device Drivers | 907 | # Input Device Drivers |
879 | # | 908 | # |
880 | CONFIG_INPUT_KEYBOARD=y | 909 | CONFIG_INPUT_KEYBOARD=y |
910 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
881 | CONFIG_KEYBOARD_ATKBD=y | 911 | CONFIG_KEYBOARD_ATKBD=y |
882 | # CONFIG_KEYBOARD_SUNKBD is not set | 912 | # CONFIG_QT2160 is not set |
883 | # CONFIG_KEYBOARD_LKKBD is not set | 913 | # CONFIG_KEYBOARD_LKKBD is not set |
884 | # CONFIG_KEYBOARD_XTKBD is not set | 914 | CONFIG_KEYBOARD_GPIO=y |
915 | # CONFIG_KEYBOARD_MATRIX is not set | ||
916 | # CONFIG_KEYBOARD_LM8323 is not set | ||
917 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
885 | # CONFIG_KEYBOARD_NEWTON is not set | 918 | # CONFIG_KEYBOARD_NEWTON is not set |
919 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
886 | # CONFIG_KEYBOARD_STOWAWAY is not set | 920 | # CONFIG_KEYBOARD_STOWAWAY is not set |
887 | CONFIG_KEYBOARD_GPIO=y | 921 | # CONFIG_KEYBOARD_SUNKBD is not set |
922 | # CONFIG_KEYBOARD_XTKBD is not set | ||
888 | # CONFIG_INPUT_MOUSE is not set | 923 | # CONFIG_INPUT_MOUSE is not set |
889 | # CONFIG_INPUT_JOYSTICK is not set | 924 | # CONFIG_INPUT_JOYSTICK is not set |
890 | # CONFIG_INPUT_TABLET is not set | 925 | # CONFIG_INPUT_TABLET is not set |
@@ -943,6 +978,7 @@ CONFIG_LEGACY_PTY_COUNT=16 | |||
943 | CONFIG_DEVPORT=y | 978 | CONFIG_DEVPORT=y |
944 | CONFIG_I2C=y | 979 | CONFIG_I2C=y |
945 | CONFIG_I2C_BOARDINFO=y | 980 | CONFIG_I2C_BOARDINFO=y |
981 | # CONFIG_I2C_COMPAT is not set | ||
946 | CONFIG_I2C_CHARDEV=y | 982 | CONFIG_I2C_CHARDEV=y |
947 | CONFIG_I2C_HELPER_AUTO=y | 983 | CONFIG_I2C_HELPER_AUTO=y |
948 | 984 | ||
@@ -998,10 +1034,6 @@ CONFIG_I2C_MV64XXX=y | |||
998 | # Miscellaneous I2C Chip support | 1034 | # Miscellaneous I2C Chip support |
999 | # | 1035 | # |
1000 | # CONFIG_DS1682 is not set | 1036 | # CONFIG_DS1682 is not set |
1001 | # CONFIG_SENSORS_PCF8574 is not set | ||
1002 | # CONFIG_PCF8575 is not set | ||
1003 | # CONFIG_SENSORS_PCA9539 is not set | ||
1004 | # CONFIG_SENSORS_MAX6875 is not set | ||
1005 | # CONFIG_SENSORS_TSL2550 is not set | 1037 | # CONFIG_SENSORS_TSL2550 is not set |
1006 | # CONFIG_I2C_DEBUG_CORE is not set | 1038 | # CONFIG_I2C_DEBUG_CORE is not set |
1007 | # CONFIG_I2C_DEBUG_ALGO is not set | 1039 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1023,11 +1055,47 @@ CONFIG_SPI_ORION=y | |||
1023 | # | 1055 | # |
1024 | # CONFIG_SPI_SPIDEV is not set | 1056 | # CONFIG_SPI_SPIDEV is not set |
1025 | # CONFIG_SPI_TLE62X0 is not set | 1057 | # CONFIG_SPI_TLE62X0 is not set |
1058 | |||
1059 | # | ||
1060 | # PPS support | ||
1061 | # | ||
1062 | # CONFIG_PPS is not set | ||
1063 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1064 | CONFIG_GPIOLIB=y | ||
1065 | # CONFIG_DEBUG_GPIO is not set | ||
1066 | CONFIG_GPIO_SYSFS=y | ||
1067 | |||
1068 | # | ||
1069 | # Memory mapped GPIO expanders: | ||
1070 | # | ||
1071 | |||
1072 | # | ||
1073 | # I2C GPIO expanders: | ||
1074 | # | ||
1075 | # CONFIG_GPIO_MAX732X is not set | ||
1076 | # CONFIG_GPIO_PCA953X is not set | ||
1077 | # CONFIG_GPIO_PCF857X is not set | ||
1078 | |||
1079 | # | ||
1080 | # PCI GPIO expanders: | ||
1081 | # | ||
1082 | # CONFIG_GPIO_BT8XX is not set | ||
1083 | # CONFIG_GPIO_LANGWELL is not set | ||
1084 | |||
1085 | # | ||
1086 | # SPI GPIO expanders: | ||
1087 | # | ||
1088 | # CONFIG_GPIO_MAX7301 is not set | ||
1089 | # CONFIG_GPIO_MCP23S08 is not set | ||
1090 | # CONFIG_GPIO_MC33880 is not set | ||
1091 | |||
1092 | # | ||
1093 | # AC97 GPIO expanders: | ||
1094 | # | ||
1026 | # CONFIG_W1 is not set | 1095 | # CONFIG_W1 is not set |
1027 | # CONFIG_POWER_SUPPLY is not set | 1096 | # CONFIG_POWER_SUPPLY is not set |
1028 | # CONFIG_HWMON is not set | 1097 | # CONFIG_HWMON is not set |
1029 | # CONFIG_THERMAL is not set | 1098 | # CONFIG_THERMAL is not set |
1030 | # CONFIG_THERMAL_HWMON is not set | ||
1031 | # CONFIG_WATCHDOG is not set | 1099 | # CONFIG_WATCHDOG is not set |
1032 | CONFIG_SSB_POSSIBLE=y | 1100 | CONFIG_SSB_POSSIBLE=y |
1033 | 1101 | ||
@@ -1041,33 +1109,28 @@ CONFIG_SSB_POSSIBLE=y | |||
1041 | # | 1109 | # |
1042 | # CONFIG_MFD_CORE is not set | 1110 | # CONFIG_MFD_CORE is not set |
1043 | # CONFIG_MFD_SM501 is not set | 1111 | # CONFIG_MFD_SM501 is not set |
1112 | # CONFIG_MFD_ASIC3 is not set | ||
1113 | # CONFIG_HTC_EGPIO is not set | ||
1044 | # CONFIG_HTC_PASIC3 is not set | 1114 | # CONFIG_HTC_PASIC3 is not set |
1115 | # CONFIG_TPS65010 is not set | ||
1045 | # CONFIG_TWL4030_CORE is not set | 1116 | # CONFIG_TWL4030_CORE is not set |
1046 | # CONFIG_MFD_TMIO is not set | 1117 | # CONFIG_MFD_TMIO is not set |
1118 | # CONFIG_MFD_TC6393XB is not set | ||
1047 | # CONFIG_PMIC_DA903X is not set | 1119 | # CONFIG_PMIC_DA903X is not set |
1048 | # CONFIG_MFD_WM8400 is not set | 1120 | # CONFIG_MFD_WM8400 is not set |
1121 | # CONFIG_MFD_WM831X is not set | ||
1049 | # CONFIG_MFD_WM8350_I2C is not set | 1122 | # CONFIG_MFD_WM8350_I2C is not set |
1050 | # CONFIG_MFD_PCF50633 is not set | 1123 | # CONFIG_MFD_PCF50633 is not set |
1051 | 1124 | # CONFIG_MFD_MC13783 is not set | |
1052 | # | 1125 | # CONFIG_AB3100_CORE is not set |
1053 | # Multimedia devices | 1126 | # CONFIG_EZX_PCAP is not set |
1054 | # | 1127 | # CONFIG_REGULATOR is not set |
1055 | 1128 | # CONFIG_MEDIA_SUPPORT is not set | |
1056 | # | ||
1057 | # Multimedia core support | ||
1058 | # | ||
1059 | # CONFIG_VIDEO_DEV is not set | ||
1060 | # CONFIG_DVB_CORE is not set | ||
1061 | # CONFIG_VIDEO_MEDIA is not set | ||
1062 | |||
1063 | # | ||
1064 | # Multimedia drivers | ||
1065 | # | ||
1066 | # CONFIG_DAB is not set | ||
1067 | 1129 | ||
1068 | # | 1130 | # |
1069 | # Graphics support | 1131 | # Graphics support |
1070 | # | 1132 | # |
1133 | CONFIG_VGA_ARB=y | ||
1071 | # CONFIG_DRM is not set | 1134 | # CONFIG_DRM is not set |
1072 | # CONFIG_VGASTATE is not set | 1135 | # CONFIG_VGASTATE is not set |
1073 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1136 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1087,7 +1150,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1087 | # CONFIG_SOUND is not set | 1150 | # CONFIG_SOUND is not set |
1088 | CONFIG_HID_SUPPORT=y | 1151 | CONFIG_HID_SUPPORT=y |
1089 | CONFIG_HID=y | 1152 | CONFIG_HID=y |
1090 | # CONFIG_HID_DEBUG is not set | ||
1091 | # CONFIG_HIDRAW is not set | 1153 | # CONFIG_HIDRAW is not set |
1092 | 1154 | ||
1093 | # | 1155 | # |
@@ -1106,10 +1168,12 @@ CONFIG_HID_BELKIN=y | |||
1106 | CONFIG_HID_CHERRY=y | 1168 | CONFIG_HID_CHERRY=y |
1107 | CONFIG_HID_CHICONY=y | 1169 | CONFIG_HID_CHICONY=y |
1108 | CONFIG_HID_CYPRESS=y | 1170 | CONFIG_HID_CYPRESS=y |
1171 | CONFIG_HID_DRAGONRISE=y | ||
1109 | # CONFIG_DRAGONRISE_FF is not set | 1172 | # CONFIG_DRAGONRISE_FF is not set |
1110 | CONFIG_HID_EZKEY=y | 1173 | CONFIG_HID_EZKEY=y |
1111 | CONFIG_HID_KYE=y | 1174 | CONFIG_HID_KYE=y |
1112 | CONFIG_HID_GYRATION=y | 1175 | CONFIG_HID_GYRATION=y |
1176 | CONFIG_HID_TWINHAN=y | ||
1113 | CONFIG_HID_KENSINGTON=y | 1177 | CONFIG_HID_KENSINGTON=y |
1114 | CONFIG_HID_LOGITECH=y | 1178 | CONFIG_HID_LOGITECH=y |
1115 | # CONFIG_LOGITECH_FF is not set | 1179 | # CONFIG_LOGITECH_FF is not set |
@@ -1123,9 +1187,14 @@ CONFIG_HID_PETALYNX=y | |||
1123 | CONFIG_HID_SAMSUNG=y | 1187 | CONFIG_HID_SAMSUNG=y |
1124 | CONFIG_HID_SONY=y | 1188 | CONFIG_HID_SONY=y |
1125 | CONFIG_HID_SUNPLUS=y | 1189 | CONFIG_HID_SUNPLUS=y |
1190 | CONFIG_HID_GREENASIA=y | ||
1126 | # CONFIG_GREENASIA_FF is not set | 1191 | # CONFIG_GREENASIA_FF is not set |
1192 | CONFIG_HID_SMARTJOYPLUS=y | ||
1193 | # CONFIG_SMARTJOYPLUS_FF is not set | ||
1127 | CONFIG_HID_TOPSEED=y | 1194 | CONFIG_HID_TOPSEED=y |
1195 | CONFIG_HID_THRUSTMASTER=y | ||
1128 | # CONFIG_THRUSTMASTER_FF is not set | 1196 | # CONFIG_THRUSTMASTER_FF is not set |
1197 | CONFIG_HID_ZEROPLUS=y | ||
1129 | # CONFIG_ZEROPLUS_FF is not set | 1198 | # CONFIG_ZEROPLUS_FF is not set |
1130 | CONFIG_USB_SUPPORT=y | 1199 | CONFIG_USB_SUPPORT=y |
1131 | CONFIG_USB_ARCH_HAS_HCD=y | 1200 | CONFIG_USB_ARCH_HAS_HCD=y |
@@ -1150,18 +1219,21 @@ CONFIG_USB_DEVICE_CLASS=y | |||
1150 | # USB Host Controller Drivers | 1219 | # USB Host Controller Drivers |
1151 | # | 1220 | # |
1152 | # CONFIG_USB_C67X00_HCD is not set | 1221 | # CONFIG_USB_C67X00_HCD is not set |
1222 | # CONFIG_USB_XHCI_HCD is not set | ||
1153 | CONFIG_USB_EHCI_HCD=y | 1223 | CONFIG_USB_EHCI_HCD=y |
1154 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | 1224 | CONFIG_USB_EHCI_ROOT_HUB_TT=y |
1155 | CONFIG_USB_EHCI_TT_NEWSCHED=y | 1225 | CONFIG_USB_EHCI_TT_NEWSCHED=y |
1156 | # CONFIG_USB_OXU210HP_HCD is not set | 1226 | # CONFIG_USB_OXU210HP_HCD is not set |
1157 | # CONFIG_USB_ISP116X_HCD is not set | 1227 | # CONFIG_USB_ISP116X_HCD is not set |
1158 | # CONFIG_USB_ISP1760_HCD is not set | 1228 | # CONFIG_USB_ISP1760_HCD is not set |
1229 | # CONFIG_USB_ISP1362_HCD is not set | ||
1159 | # CONFIG_USB_OHCI_HCD is not set | 1230 | # CONFIG_USB_OHCI_HCD is not set |
1160 | # CONFIG_USB_UHCI_HCD is not set | 1231 | # CONFIG_USB_UHCI_HCD is not set |
1161 | # CONFIG_USB_SL811_HCD is not set | 1232 | # CONFIG_USB_SL811_HCD is not set |
1162 | # CONFIG_USB_R8A66597_HCD is not set | 1233 | # CONFIG_USB_R8A66597_HCD is not set |
1163 | # CONFIG_USB_WHCI_HCD is not set | 1234 | # CONFIG_USB_WHCI_HCD is not set |
1164 | # CONFIG_USB_HWA_HCD is not set | 1235 | # CONFIG_USB_HWA_HCD is not set |
1236 | # CONFIG_USB_MUSB_HDRC is not set | ||
1165 | 1237 | ||
1166 | # | 1238 | # |
1167 | # USB Device Class drivers | 1239 | # USB Device Class drivers |
@@ -1252,11 +1324,14 @@ CONFIG_SDIO_UART=y | |||
1252 | # MMC/SD/SDIO Host Controller Drivers | 1324 | # MMC/SD/SDIO Host Controller Drivers |
1253 | # | 1325 | # |
1254 | # CONFIG_MMC_SDHCI is not set | 1326 | # CONFIG_MMC_SDHCI is not set |
1327 | # CONFIG_MMC_AT91 is not set | ||
1328 | # CONFIG_MMC_ATMELMCI is not set | ||
1255 | # CONFIG_MMC_TIFM_SD is not set | 1329 | # CONFIG_MMC_TIFM_SD is not set |
1256 | CONFIG_MMC_MVSDIO=y | 1330 | CONFIG_MMC_MVSDIO=y |
1257 | # CONFIG_MMC_SPI is not set | 1331 | # CONFIG_MMC_SPI is not set |
1332 | # CONFIG_MMC_CB710 is not set | ||
1333 | # CONFIG_MMC_VIA_SDMMC is not set | ||
1258 | # CONFIG_MEMSTICK is not set | 1334 | # CONFIG_MEMSTICK is not set |
1259 | # CONFIG_ACCESSIBILITY is not set | ||
1260 | CONFIG_NEW_LEDS=y | 1335 | CONFIG_NEW_LEDS=y |
1261 | CONFIG_LEDS_CLASS=y | 1336 | CONFIG_LEDS_CLASS=y |
1262 | 1337 | ||
@@ -1266,7 +1341,7 @@ CONFIG_LEDS_CLASS=y | |||
1266 | # CONFIG_LEDS_PCA9532 is not set | 1341 | # CONFIG_LEDS_PCA9532 is not set |
1267 | CONFIG_LEDS_GPIO=y | 1342 | CONFIG_LEDS_GPIO=y |
1268 | CONFIG_LEDS_GPIO_PLATFORM=y | 1343 | CONFIG_LEDS_GPIO_PLATFORM=y |
1269 | # CONFIG_LEDS_LP5521 is not set | 1344 | # CONFIG_LEDS_LP3944 is not set |
1270 | # CONFIG_LEDS_PCA955X is not set | 1345 | # CONFIG_LEDS_PCA955X is not set |
1271 | # CONFIG_LEDS_DAC124S085 is not set | 1346 | # CONFIG_LEDS_DAC124S085 is not set |
1272 | # CONFIG_LEDS_BD2802 is not set | 1347 | # CONFIG_LEDS_BD2802 is not set |
@@ -1278,11 +1353,14 @@ CONFIG_LEDS_TRIGGERS=y | |||
1278 | CONFIG_LEDS_TRIGGER_TIMER=y | 1353 | CONFIG_LEDS_TRIGGER_TIMER=y |
1279 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | 1354 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
1280 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set | 1355 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set |
1356 | # CONFIG_LEDS_TRIGGER_GPIO is not set | ||
1281 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | 1357 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y |
1282 | 1358 | ||
1283 | # | 1359 | # |
1284 | # iptables trigger is under Netfilter config (LED target) | 1360 | # iptables trigger is under Netfilter config (LED target) |
1285 | # | 1361 | # |
1362 | # CONFIG_ACCESSIBILITY is not set | ||
1363 | # CONFIG_INFINIBAND is not set | ||
1286 | CONFIG_RTC_LIB=y | 1364 | CONFIG_RTC_LIB=y |
1287 | CONFIG_RTC_CLASS=y | 1365 | CONFIG_RTC_CLASS=y |
1288 | CONFIG_RTC_HCTOSYS=y | 1366 | CONFIG_RTC_HCTOSYS=y |
@@ -1314,6 +1392,7 @@ CONFIG_RTC_INTF_DEV=y | |||
1314 | CONFIG_RTC_DRV_S35390A=y | 1392 | CONFIG_RTC_DRV_S35390A=y |
1315 | # CONFIG_RTC_DRV_FM3130 is not set | 1393 | # CONFIG_RTC_DRV_FM3130 is not set |
1316 | # CONFIG_RTC_DRV_RX8581 is not set | 1394 | # CONFIG_RTC_DRV_RX8581 is not set |
1395 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1317 | 1396 | ||
1318 | # | 1397 | # |
1319 | # SPI RTC drivers | 1398 | # SPI RTC drivers |
@@ -1325,6 +1404,7 @@ CONFIG_RTC_DRV_S35390A=y | |||
1325 | # CONFIG_RTC_DRV_R9701 is not set | 1404 | # CONFIG_RTC_DRV_R9701 is not set |
1326 | # CONFIG_RTC_DRV_RS5C348 is not set | 1405 | # CONFIG_RTC_DRV_RS5C348 is not set |
1327 | # CONFIG_RTC_DRV_DS3234 is not set | 1406 | # CONFIG_RTC_DRV_DS3234 is not set |
1407 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1328 | 1408 | ||
1329 | # | 1409 | # |
1330 | # Platform RTC drivers | 1410 | # Platform RTC drivers |
@@ -1360,8 +1440,11 @@ CONFIG_DMA_ENGINE=y | |||
1360 | # CONFIG_ASYNC_TX_DMA is not set | 1440 | # CONFIG_ASYNC_TX_DMA is not set |
1361 | # CONFIG_DMATEST is not set | 1441 | # CONFIG_DMATEST is not set |
1362 | # CONFIG_AUXDISPLAY is not set | 1442 | # CONFIG_AUXDISPLAY is not set |
1363 | # CONFIG_REGULATOR is not set | ||
1364 | # CONFIG_UIO is not set | 1443 | # CONFIG_UIO is not set |
1444 | |||
1445 | # | ||
1446 | # TI VLYNQ | ||
1447 | # | ||
1365 | # CONFIG_STAGING is not set | 1448 | # CONFIG_STAGING is not set |
1366 | 1449 | ||
1367 | # | 1450 | # |
@@ -1379,10 +1462,13 @@ CONFIG_JBD=y | |||
1379 | # CONFIG_REISERFS_FS is not set | 1462 | # CONFIG_REISERFS_FS is not set |
1380 | # CONFIG_JFS_FS is not set | 1463 | # CONFIG_JFS_FS is not set |
1381 | # CONFIG_FS_POSIX_ACL is not set | 1464 | # CONFIG_FS_POSIX_ACL is not set |
1382 | CONFIG_FILE_LOCKING=y | ||
1383 | # CONFIG_XFS_FS is not set | 1465 | # CONFIG_XFS_FS is not set |
1466 | # CONFIG_GFS2_FS is not set | ||
1384 | # CONFIG_OCFS2_FS is not set | 1467 | # CONFIG_OCFS2_FS is not set |
1385 | # CONFIG_BTRFS_FS is not set | 1468 | # CONFIG_BTRFS_FS is not set |
1469 | # CONFIG_NILFS2_FS is not set | ||
1470 | CONFIG_FILE_LOCKING=y | ||
1471 | CONFIG_FSNOTIFY=y | ||
1386 | CONFIG_DNOTIFY=y | 1472 | CONFIG_DNOTIFY=y |
1387 | CONFIG_INOTIFY=y | 1473 | CONFIG_INOTIFY=y |
1388 | CONFIG_INOTIFY_USER=y | 1474 | CONFIG_INOTIFY_USER=y |
@@ -1455,7 +1541,6 @@ CONFIG_CRAMFS=y | |||
1455 | # CONFIG_ROMFS_FS is not set | 1541 | # CONFIG_ROMFS_FS is not set |
1456 | # CONFIG_SYSV_FS is not set | 1542 | # CONFIG_SYSV_FS is not set |
1457 | # CONFIG_UFS_FS is not set | 1543 | # CONFIG_UFS_FS is not set |
1458 | # CONFIG_NILFS2_FS is not set | ||
1459 | CONFIG_NETWORK_FILESYSTEMS=y | 1544 | CONFIG_NETWORK_FILESYSTEMS=y |
1460 | CONFIG_NFS_FS=y | 1545 | CONFIG_NFS_FS=y |
1461 | CONFIG_NFS_V3=y | 1546 | CONFIG_NFS_V3=y |
@@ -1530,6 +1615,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1530 | CONFIG_ENABLE_MUST_CHECK=y | 1615 | CONFIG_ENABLE_MUST_CHECK=y |
1531 | CONFIG_FRAME_WARN=1024 | 1616 | CONFIG_FRAME_WARN=1024 |
1532 | CONFIG_MAGIC_SYSRQ=y | 1617 | CONFIG_MAGIC_SYSRQ=y |
1618 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1533 | # CONFIG_UNUSED_SYMBOLS is not set | 1619 | # CONFIG_UNUSED_SYMBOLS is not set |
1534 | CONFIG_DEBUG_FS=y | 1620 | CONFIG_DEBUG_FS=y |
1535 | # CONFIG_HEADERS_CHECK is not set | 1621 | # CONFIG_HEADERS_CHECK is not set |
@@ -1547,6 +1633,7 @@ CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | |||
1547 | # CONFIG_DEBUG_OBJECTS is not set | 1633 | # CONFIG_DEBUG_OBJECTS is not set |
1548 | # CONFIG_SLUB_DEBUG_ON is not set | 1634 | # CONFIG_SLUB_DEBUG_ON is not set |
1549 | # CONFIG_SLUB_STATS is not set | 1635 | # CONFIG_SLUB_STATS is not set |
1636 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1550 | # CONFIG_DEBUG_PREEMPT is not set | 1637 | # CONFIG_DEBUG_PREEMPT is not set |
1551 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1638 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1552 | # CONFIG_RT_MUTEX_TESTER is not set | 1639 | # CONFIG_RT_MUTEX_TESTER is not set |
@@ -1567,12 +1654,14 @@ CONFIG_DEBUG_MEMORY_INIT=y | |||
1567 | # CONFIG_DEBUG_LIST is not set | 1654 | # CONFIG_DEBUG_LIST is not set |
1568 | # CONFIG_DEBUG_SG is not set | 1655 | # CONFIG_DEBUG_SG is not set |
1569 | # CONFIG_DEBUG_NOTIFIERS is not set | 1656 | # CONFIG_DEBUG_NOTIFIERS is not set |
1657 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1570 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1658 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1571 | # CONFIG_RCU_TORTURE_TEST is not set | 1659 | # CONFIG_RCU_TORTURE_TEST is not set |
1572 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1660 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1573 | # CONFIG_KPROBES_SANITY_TEST is not set | 1661 | # CONFIG_KPROBES_SANITY_TEST is not set |
1574 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1662 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1575 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1663 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1664 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1576 | # CONFIG_LKDTM is not set | 1665 | # CONFIG_LKDTM is not set |
1577 | # CONFIG_FAULT_INJECTION is not set | 1666 | # CONFIG_FAULT_INJECTION is not set |
1578 | # CONFIG_LATENCYTOP is not set | 1667 | # CONFIG_LATENCYTOP is not set |
@@ -1581,25 +1670,12 @@ CONFIG_SYSCTL_SYSCALL_CHECK=y | |||
1581 | CONFIG_NOP_TRACER=y | 1670 | CONFIG_NOP_TRACER=y |
1582 | CONFIG_HAVE_FUNCTION_TRACER=y | 1671 | CONFIG_HAVE_FUNCTION_TRACER=y |
1583 | CONFIG_RING_BUFFER=y | 1672 | CONFIG_RING_BUFFER=y |
1673 | CONFIG_EVENT_TRACING=y | ||
1674 | CONFIG_CONTEXT_SWITCH_TRACER=y | ||
1675 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
1584 | CONFIG_TRACING=y | 1676 | CONFIG_TRACING=y |
1585 | CONFIG_TRACING_SUPPORT=y | 1677 | CONFIG_TRACING_SUPPORT=y |
1586 | 1678 | # CONFIG_FTRACE is not set | |
1587 | # | ||
1588 | # Tracers | ||
1589 | # | ||
1590 | # CONFIG_FUNCTION_TRACER is not set | ||
1591 | # CONFIG_IRQSOFF_TRACER is not set | ||
1592 | # CONFIG_PREEMPT_TRACER is not set | ||
1593 | # CONFIG_SCHED_TRACER is not set | ||
1594 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1595 | # CONFIG_EVENT_TRACER is not set | ||
1596 | # CONFIG_BOOT_TRACER is not set | ||
1597 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1598 | # CONFIG_STACK_TRACER is not set | ||
1599 | # CONFIG_KMEMTRACE is not set | ||
1600 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1601 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1602 | # CONFIG_FTRACE_STARTUP_TEST is not set | ||
1603 | # CONFIG_DYNAMIC_DEBUG is not set | 1679 | # CONFIG_DYNAMIC_DEBUG is not set |
1604 | # CONFIG_SAMPLES is not set | 1680 | # CONFIG_SAMPLES is not set |
1605 | CONFIG_HAVE_ARCH_KGDB=y | 1681 | CONFIG_HAVE_ARCH_KGDB=y |
@@ -1623,7 +1699,6 @@ CONFIG_CRYPTO=y | |||
1623 | # | 1699 | # |
1624 | # Crypto core or helper | 1700 | # Crypto core or helper |
1625 | # | 1701 | # |
1626 | # CONFIG_CRYPTO_FIPS is not set | ||
1627 | CONFIG_CRYPTO_ALGAPI=y | 1702 | CONFIG_CRYPTO_ALGAPI=y |
1628 | CONFIG_CRYPTO_ALGAPI2=y | 1703 | CONFIG_CRYPTO_ALGAPI2=y |
1629 | CONFIG_CRYPTO_AEAD2=y | 1704 | CONFIG_CRYPTO_AEAD2=y |
@@ -1665,11 +1740,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1665 | # | 1740 | # |
1666 | # CONFIG_CRYPTO_HMAC is not set | 1741 | # CONFIG_CRYPTO_HMAC is not set |
1667 | # CONFIG_CRYPTO_XCBC is not set | 1742 | # CONFIG_CRYPTO_XCBC is not set |
1743 | # CONFIG_CRYPTO_VMAC is not set | ||
1668 | 1744 | ||
1669 | # | 1745 | # |
1670 | # Digest | 1746 | # Digest |
1671 | # | 1747 | # |
1672 | CONFIG_CRYPTO_CRC32C=y | 1748 | CONFIG_CRYPTO_CRC32C=y |
1749 | # CONFIG_CRYPTO_GHASH is not set | ||
1673 | # CONFIG_CRYPTO_MD4 is not set | 1750 | # CONFIG_CRYPTO_MD4 is not set |
1674 | # CONFIG_CRYPTO_MD5 is not set | 1751 | # CONFIG_CRYPTO_MD5 is not set |
1675 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1752 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
@@ -1714,6 +1791,7 @@ CONFIG_CRYPTO_ARC4=y | |||
1714 | # | 1791 | # |
1715 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1792 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
1716 | CONFIG_CRYPTO_HW=y | 1793 | CONFIG_CRYPTO_HW=y |
1794 | CONFIG_CRYPTO_DEV_MV_CESA=y | ||
1717 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 1795 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
1718 | CONFIG_BINARY_PRINTF=y | 1796 | CONFIG_BINARY_PRINTF=y |
1719 | 1797 | ||
diff --git a/arch/arm/configs/omap3_pandora_defconfig b/arch/arm/configs/omap3_pandora_defconfig index b54ad2e2da36..150deafb0a6a 100644 --- a/arch/arm/configs/omap3_pandora_defconfig +++ b/arch/arm/configs/omap3_pandora_defconfig | |||
@@ -611,7 +611,7 @@ CONFIG_INPUT_KEYBOARD=y | |||
611 | # CONFIG_KEYBOARD_XTKBD is not set | 611 | # CONFIG_KEYBOARD_XTKBD is not set |
612 | # CONFIG_KEYBOARD_NEWTON is not set | 612 | # CONFIG_KEYBOARD_NEWTON is not set |
613 | # CONFIG_KEYBOARD_STOWAWAY is not set | 613 | # CONFIG_KEYBOARD_STOWAWAY is not set |
614 | # CONFIG_KEYBOARD_GPIO is not set | 614 | CONFIG_KEYBOARD_GPIO=y |
615 | CONFIG_INPUT_MOUSE=y | 615 | CONFIG_INPUT_MOUSE=y |
616 | # CONFIG_MOUSE_PS2 is not set | 616 | # CONFIG_MOUSE_PS2 is not set |
617 | # CONFIG_MOUSE_SERIAL is not set | 617 | # CONFIG_MOUSE_SERIAL is not set |
@@ -634,7 +634,8 @@ CONFIG_TOUCHSCREEN_ADS7846=y | |||
634 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | 634 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set |
635 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | 635 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set |
636 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | 636 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set |
637 | # CONFIG_INPUT_MISC is not set | 637 | CONFIG_INPUT_MISC=y |
638 | CONFIG_INPUT_TWL4030_PWRBUTTON=y | ||
638 | 639 | ||
639 | # | 640 | # |
640 | # Hardware I/O ports | 641 | # Hardware I/O ports |
@@ -834,7 +835,29 @@ CONFIG_DAB=y | |||
834 | # | 835 | # |
835 | # CONFIG_VGA_CONSOLE is not set | 836 | # CONFIG_VGA_CONSOLE is not set |
836 | CONFIG_DUMMY_CONSOLE=y | 837 | CONFIG_DUMMY_CONSOLE=y |
837 | # CONFIG_SOUND is not set | 838 | CONFIG_SOUND=y |
839 | CONFIG_SOUND_OSS_CORE=y | ||
840 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
841 | CONFIG_SND=y | ||
842 | CONFIG_SND_TIMER=y | ||
843 | CONFIG_SND_PCM=y | ||
844 | CONFIG_SND_JACK=y | ||
845 | CONFIG_SND_OSSEMUL=y | ||
846 | CONFIG_SND_MIXER_OSS=y | ||
847 | CONFIG_SND_PCM_OSS=y | ||
848 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
849 | CONFIG_SND_SUPPORT_OLD_API=y | ||
850 | CONFIG_SND_VERBOSE_PROCFS=y | ||
851 | CONFIG_SND_VERBOSE_PRINTK=y | ||
852 | CONFIG_SND_DRIVERS=y | ||
853 | CONFIG_SND_USB=y | ||
854 | CONFIG_SND_SOC=y | ||
855 | CONFIG_SND_OMAP_SOC=y | ||
856 | CONFIG_SND_OMAP_SOC_MCBSP=y | ||
857 | CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=y | ||
858 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
859 | CONFIG_SND_SOC_TWL4030=y | ||
860 | |||
838 | CONFIG_HID_SUPPORT=y | 861 | CONFIG_HID_SUPPORT=y |
839 | CONFIG_HID=y | 862 | CONFIG_HID=y |
840 | # CONFIG_HID_DEBUG is not set | 863 | # CONFIG_HID_DEBUG is not set |
@@ -1020,7 +1043,13 @@ CONFIG_MMC_BLOCK_BOUNCE=y | |||
1020 | # CONFIG_MMC_SPI is not set | 1043 | # CONFIG_MMC_SPI is not set |
1021 | # CONFIG_MEMSTICK is not set | 1044 | # CONFIG_MEMSTICK is not set |
1022 | # CONFIG_ACCESSIBILITY is not set | 1045 | # CONFIG_ACCESSIBILITY is not set |
1023 | # CONFIG_NEW_LEDS is not set | 1046 | CONFIG_NEW_LEDS=y |
1047 | CONFIG_LEDS_CLASS=y | ||
1048 | CONFIG_LEDS_GPIO=y | ||
1049 | CONFIG_LEDS_GPIO_PLATFORM=y | ||
1050 | CONFIG_LEDS_TRIGGERS=y | ||
1051 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
1052 | |||
1024 | CONFIG_RTC_LIB=y | 1053 | CONFIG_RTC_LIB=y |
1025 | CONFIG_RTC_CLASS=y | 1054 | CONFIG_RTC_CLASS=y |
1026 | CONFIG_RTC_HCTOSYS=y | 1055 | CONFIG_RTC_HCTOSYS=y |
@@ -1084,9 +1113,12 @@ CONFIG_RTC_DRV_TWL4030=y | |||
1084 | # on-CPU RTC drivers | 1113 | # on-CPU RTC drivers |
1085 | # | 1114 | # |
1086 | # CONFIG_DMADEVICES is not set | 1115 | # CONFIG_DMADEVICES is not set |
1087 | # CONFIG_REGULATOR is not set | ||
1088 | # CONFIG_UIO is not set | 1116 | # CONFIG_UIO is not set |
1089 | 1117 | ||
1118 | CONFIG_REGULATOR=y | ||
1119 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
1120 | CONFIG_REGULATOR_TWL4030=y | ||
1121 | |||
1090 | # | 1122 | # |
1091 | # File systems | 1123 | # File systems |
1092 | # | 1124 | # |
@@ -1407,3 +1439,10 @@ CONFIG_PLIST=y | |||
1407 | CONFIG_HAS_IOMEM=y | 1439 | CONFIG_HAS_IOMEM=y |
1408 | CONFIG_HAS_IOPORT=y | 1440 | CONFIG_HAS_IOPORT=y |
1409 | CONFIG_HAS_DMA=y | 1441 | CONFIG_HAS_DMA=y |
1442 | |||
1443 | # added by hand for now | ||
1444 | CONFIG_KEYBOARD_TWL4030=y | ||
1445 | CONFIG_USB_OTG_UTILS=y | ||
1446 | CONFIG_TWL4030_USB=y | ||
1447 | CONFIG_MMC_OMAP_HS=y | ||
1448 | |||
diff --git a/arch/arm/configs/omap_3430sdp_defconfig b/arch/arm/configs/omap_3430sdp_defconfig index 8a4a7e2ba87b..5a305f015307 100644 --- a/arch/arm/configs/omap_3430sdp_defconfig +++ b/arch/arm/configs/omap_3430sdp_defconfig | |||
@@ -1703,7 +1703,14 @@ CONFIG_RTC_DRV_TWL4030=y | |||
1703 | # on-CPU RTC drivers | 1703 | # on-CPU RTC drivers |
1704 | # | 1704 | # |
1705 | # CONFIG_DMADEVICES is not set | 1705 | # CONFIG_DMADEVICES is not set |
1706 | # CONFIG_REGULATOR is not set | 1706 | CONFIG_REGULATOR=y |
1707 | # CONFIG_REGULATOR_DEBUG is not set | ||
1708 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
1709 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1710 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
1711 | # CONFIG_REGULATOR_BQ24022 is not set | ||
1712 | # CONFIG_REGULATOR_MAX1586 is not set | ||
1713 | CONFIG_REGULATOR_TWL4030=y | ||
1707 | # CONFIG_UIO is not set | 1714 | # CONFIG_UIO is not set |
1708 | # CONFIG_STAGING is not set | 1715 | # CONFIG_STAGING is not set |
1709 | 1716 | ||
diff --git a/arch/arm/configs/orion5x_defconfig b/arch/arm/configs/orion5x_defconfig index 9e2385293ecb..5383cd0dff54 100644 --- a/arch/arm/configs/orion5x_defconfig +++ b/arch/arm/configs/orion5x_defconfig | |||
@@ -1,15 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc4 | 3 | # Linux kernel version: 2.6.32-rc6 |
4 | # Mon May 4 14:07:25 2009 | 4 | # Sat Nov 7 20:52:21 2009 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y |
8 | CONFIG_GENERIC_GPIO=y | 8 | CONFIG_GENERIC_GPIO=y |
9 | CONFIG_GENERIC_TIME=y | 9 | CONFIG_GENERIC_TIME=y |
10 | CONFIG_GENERIC_CLOCKEVENTS=y | 10 | CONFIG_GENERIC_CLOCKEVENTS=y |
11 | CONFIG_MMU=y | ||
12 | # CONFIG_NO_IOPORT is not set | ||
13 | CONFIG_GENERIC_HARDIRQS=y | 11 | CONFIG_GENERIC_HARDIRQS=y |
14 | CONFIG_STACKTRACE_SUPPORT=y | 12 | CONFIG_STACKTRACE_SUPPORT=y |
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 13 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -18,13 +16,12 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y | |||
18 | CONFIG_HARDIRQS_SW_RESEND=y | 16 | CONFIG_HARDIRQS_SW_RESEND=y |
19 | CONFIG_GENERIC_IRQ_PROBE=y | 17 | CONFIG_GENERIC_IRQ_PROBE=y |
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 18 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
21 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
22 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
23 | CONFIG_GENERIC_HWEIGHT=y | 19 | CONFIG_GENERIC_HWEIGHT=y |
24 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 20 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
25 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 21 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
26 | CONFIG_VECTORS_BASE=0xffff0000 | 22 | CONFIG_VECTORS_BASE=0xffff0000 |
27 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
24 | CONFIG_CONSTRUCTORS=y | ||
28 | 25 | ||
29 | # | 26 | # |
30 | # General setup | 27 | # General setup |
@@ -46,11 +43,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
46 | # | 43 | # |
47 | # RCU Subsystem | 44 | # RCU Subsystem |
48 | # | 45 | # |
49 | CONFIG_CLASSIC_RCU=y | 46 | CONFIG_TREE_RCU=y |
50 | # CONFIG_TREE_RCU is not set | 47 | # CONFIG_TREE_PREEMPT_RCU is not set |
51 | # CONFIG_PREEMPT_RCU is not set | 48 | # CONFIG_RCU_TRACE is not set |
49 | CONFIG_RCU_FANOUT=32 | ||
50 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
52 | # CONFIG_TREE_RCU_TRACE is not set | 51 | # CONFIG_TREE_RCU_TRACE is not set |
53 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
54 | # CONFIG_IKCONFIG is not set | 52 | # CONFIG_IKCONFIG is not set |
55 | CONFIG_LOG_BUF_SHIFT=14 | 53 | CONFIG_LOG_BUF_SHIFT=14 |
56 | # CONFIG_GROUP_SCHED is not set | 54 | # CONFIG_GROUP_SCHED is not set |
@@ -69,7 +67,6 @@ CONFIG_SYSCTL_SYSCALL=y | |||
69 | CONFIG_KALLSYMS=y | 67 | CONFIG_KALLSYMS=y |
70 | CONFIG_KALLSYMS_ALL=y | 68 | CONFIG_KALLSYMS_ALL=y |
71 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 69 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
72 | # CONFIG_STRIP_ASM_SYMS is not set | ||
73 | CONFIG_HOTPLUG=y | 70 | CONFIG_HOTPLUG=y |
74 | CONFIG_PRINTK=y | 71 | CONFIG_PRINTK=y |
75 | CONFIG_BUG=y | 72 | CONFIG_BUG=y |
@@ -82,6 +79,10 @@ CONFIG_TIMERFD=y | |||
82 | CONFIG_EVENTFD=y | 79 | CONFIG_EVENTFD=y |
83 | CONFIG_SHMEM=y | 80 | CONFIG_SHMEM=y |
84 | CONFIG_AIO=y | 81 | CONFIG_AIO=y |
82 | |||
83 | # | ||
84 | # Kernel Performance Events And Counters | ||
85 | # | ||
85 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
86 | CONFIG_PCI_QUIRKS=y | 87 | CONFIG_PCI_QUIRKS=y |
87 | # CONFIG_SLUB_DEBUG is not set | 88 | # CONFIG_SLUB_DEBUG is not set |
@@ -91,13 +92,17 @@ CONFIG_SLUB=y | |||
91 | # CONFIG_SLOB is not set | 92 | # CONFIG_SLOB is not set |
92 | CONFIG_PROFILING=y | 93 | CONFIG_PROFILING=y |
93 | CONFIG_TRACEPOINTS=y | 94 | CONFIG_TRACEPOINTS=y |
94 | # CONFIG_MARKERS is not set | ||
95 | CONFIG_OPROFILE=y | 95 | CONFIG_OPROFILE=y |
96 | CONFIG_HAVE_OPROFILE=y | 96 | CONFIG_HAVE_OPROFILE=y |
97 | CONFIG_KPROBES=y | 97 | CONFIG_KPROBES=y |
98 | CONFIG_KRETPROBES=y | 98 | CONFIG_KRETPROBES=y |
99 | CONFIG_HAVE_KPROBES=y | 99 | CONFIG_HAVE_KPROBES=y |
100 | CONFIG_HAVE_KRETPROBES=y | 100 | CONFIG_HAVE_KRETPROBES=y |
101 | |||
102 | # | ||
103 | # GCOV-based kernel profiling | ||
104 | # | ||
105 | # CONFIG_GCOV_KERNEL is not set | ||
101 | # CONFIG_SLOW_WORK is not set | 106 | # CONFIG_SLOW_WORK is not set |
102 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | 107 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y |
103 | CONFIG_RT_MUTEXES=y | 108 | CONFIG_RT_MUTEXES=y |
@@ -109,7 +114,7 @@ CONFIG_MODULE_UNLOAD=y | |||
109 | # CONFIG_MODVERSIONS is not set | 114 | # CONFIG_MODVERSIONS is not set |
110 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 115 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
111 | CONFIG_BLOCK=y | 116 | CONFIG_BLOCK=y |
112 | # CONFIG_LBD is not set | 117 | CONFIG_LBDAF=y |
113 | # CONFIG_BLK_DEV_BSG is not set | 118 | # CONFIG_BLK_DEV_BSG is not set |
114 | # CONFIG_BLK_DEV_INTEGRITY is not set | 119 | # CONFIG_BLK_DEV_INTEGRITY is not set |
115 | 120 | ||
@@ -130,19 +135,22 @@ CONFIG_DEFAULT_IOSCHED="cfq" | |||
130 | # | 135 | # |
131 | # System Type | 136 | # System Type |
132 | # | 137 | # |
138 | CONFIG_MMU=y | ||
133 | # CONFIG_ARCH_AAEC2000 is not set | 139 | # CONFIG_ARCH_AAEC2000 is not set |
134 | # CONFIG_ARCH_INTEGRATOR is not set | 140 | # CONFIG_ARCH_INTEGRATOR is not set |
135 | # CONFIG_ARCH_REALVIEW is not set | 141 | # CONFIG_ARCH_REALVIEW is not set |
136 | # CONFIG_ARCH_VERSATILE is not set | 142 | # CONFIG_ARCH_VERSATILE is not set |
137 | # CONFIG_ARCH_AT91 is not set | 143 | # CONFIG_ARCH_AT91 is not set |
138 | # CONFIG_ARCH_CLPS711X is not set | 144 | # CONFIG_ARCH_CLPS711X is not set |
145 | # CONFIG_ARCH_GEMINI is not set | ||
139 | # CONFIG_ARCH_EBSA110 is not set | 146 | # CONFIG_ARCH_EBSA110 is not set |
140 | # CONFIG_ARCH_EP93XX is not set | 147 | # CONFIG_ARCH_EP93XX is not set |
141 | # CONFIG_ARCH_GEMINI is not set | ||
142 | # CONFIG_ARCH_FOOTBRIDGE is not set | 148 | # CONFIG_ARCH_FOOTBRIDGE is not set |
149 | # CONFIG_ARCH_MXC is not set | ||
150 | # CONFIG_ARCH_STMP3XXX is not set | ||
143 | # CONFIG_ARCH_NETX is not set | 151 | # CONFIG_ARCH_NETX is not set |
144 | # CONFIG_ARCH_H720X is not set | 152 | # CONFIG_ARCH_H720X is not set |
145 | # CONFIG_ARCH_IMX is not set | 153 | # CONFIG_ARCH_NOMADIK is not set |
146 | # CONFIG_ARCH_IOP13XX is not set | 154 | # CONFIG_ARCH_IOP13XX is not set |
147 | # CONFIG_ARCH_IOP32X is not set | 155 | # CONFIG_ARCH_IOP32X is not set |
148 | # CONFIG_ARCH_IOP33X is not set | 156 | # CONFIG_ARCH_IOP33X is not set |
@@ -151,25 +159,27 @@ CONFIG_DEFAULT_IOSCHED="cfq" | |||
151 | # CONFIG_ARCH_IXP4XX is not set | 159 | # CONFIG_ARCH_IXP4XX is not set |
152 | # CONFIG_ARCH_L7200 is not set | 160 | # CONFIG_ARCH_L7200 is not set |
153 | # CONFIG_ARCH_KIRKWOOD is not set | 161 | # CONFIG_ARCH_KIRKWOOD is not set |
154 | # CONFIG_ARCH_KS8695 is not set | ||
155 | # CONFIG_ARCH_NS9XXX is not set | ||
156 | # CONFIG_ARCH_LOKI is not set | 162 | # CONFIG_ARCH_LOKI is not set |
157 | # CONFIG_ARCH_MV78XX0 is not set | 163 | # CONFIG_ARCH_MV78XX0 is not set |
158 | # CONFIG_ARCH_MXC is not set | ||
159 | CONFIG_ARCH_ORION5X=y | 164 | CONFIG_ARCH_ORION5X=y |
165 | # CONFIG_ARCH_MMP is not set | ||
166 | # CONFIG_ARCH_KS8695 is not set | ||
167 | # CONFIG_ARCH_NS9XXX is not set | ||
168 | # CONFIG_ARCH_W90X900 is not set | ||
160 | # CONFIG_ARCH_PNX4008 is not set | 169 | # CONFIG_ARCH_PNX4008 is not set |
161 | # CONFIG_ARCH_PXA is not set | 170 | # CONFIG_ARCH_PXA is not set |
162 | # CONFIG_ARCH_MMP is not set | 171 | # CONFIG_ARCH_MSM is not set |
163 | # CONFIG_ARCH_RPC is not set | 172 | # CONFIG_ARCH_RPC is not set |
164 | # CONFIG_ARCH_SA1100 is not set | 173 | # CONFIG_ARCH_SA1100 is not set |
165 | # CONFIG_ARCH_S3C2410 is not set | 174 | # CONFIG_ARCH_S3C2410 is not set |
166 | # CONFIG_ARCH_S3C64XX is not set | 175 | # CONFIG_ARCH_S3C64XX is not set |
176 | # CONFIG_ARCH_S5PC1XX is not set | ||
167 | # CONFIG_ARCH_SHARK is not set | 177 | # CONFIG_ARCH_SHARK is not set |
168 | # CONFIG_ARCH_LH7A40X is not set | 178 | # CONFIG_ARCH_LH7A40X is not set |
179 | # CONFIG_ARCH_U300 is not set | ||
169 | # CONFIG_ARCH_DAVINCI is not set | 180 | # CONFIG_ARCH_DAVINCI is not set |
170 | # CONFIG_ARCH_OMAP is not set | 181 | # CONFIG_ARCH_OMAP is not set |
171 | # CONFIG_ARCH_MSM is not set | 182 | # CONFIG_ARCH_BCMRING is not set |
172 | # CONFIG_ARCH_W90X900 is not set | ||
173 | 183 | ||
174 | # | 184 | # |
175 | # Orion Implementations | 185 | # Orion Implementations |
@@ -187,6 +197,9 @@ CONFIG_MACH_WRT350N_V2=y | |||
187 | CONFIG_MACH_TS78XX=y | 197 | CONFIG_MACH_TS78XX=y |
188 | CONFIG_MACH_MV2120=y | 198 | CONFIG_MACH_MV2120=y |
189 | CONFIG_MACH_EDMINI_V2=y | 199 | CONFIG_MACH_EDMINI_V2=y |
200 | CONFIG_MACH_D2NET=y | ||
201 | CONFIG_MACH_BIGDISK=y | ||
202 | CONFIG_MACH_NET2BIG=y | ||
190 | CONFIG_MACH_MSS2=y | 203 | CONFIG_MACH_MSS2=y |
191 | CONFIG_MACH_WNR854T=y | 204 | CONFIG_MACH_WNR854T=y |
192 | CONFIG_MACH_RD88F5181L_GE=y | 205 | CONFIG_MACH_RD88F5181L_GE=y |
@@ -202,7 +215,7 @@ CONFIG_CPU_FEROCEON=y | |||
202 | CONFIG_CPU_FEROCEON_OLD_ID=y | 215 | CONFIG_CPU_FEROCEON_OLD_ID=y |
203 | CONFIG_CPU_32v5=y | 216 | CONFIG_CPU_32v5=y |
204 | CONFIG_CPU_ABRT_EV5T=y | 217 | CONFIG_CPU_ABRT_EV5T=y |
205 | CONFIG_CPU_PABRT_NOIFAR=y | 218 | CONFIG_CPU_PABRT_LEGACY=y |
206 | CONFIG_CPU_CACHE_VIVT=y | 219 | CONFIG_CPU_CACHE_VIVT=y |
207 | CONFIG_CPU_COPY_FEROCEON=y | 220 | CONFIG_CPU_COPY_FEROCEON=y |
208 | CONFIG_CPU_TLB_FEROCEON=y | 221 | CONFIG_CPU_TLB_FEROCEON=y |
@@ -215,7 +228,7 @@ CONFIG_CPU_CP15_MMU=y | |||
215 | CONFIG_ARM_THUMB=y | 228 | CONFIG_ARM_THUMB=y |
216 | # CONFIG_CPU_ICACHE_DISABLE is not set | 229 | # CONFIG_CPU_ICACHE_DISABLE is not set |
217 | # CONFIG_CPU_DCACHE_DISABLE is not set | 230 | # CONFIG_CPU_DCACHE_DISABLE is not set |
218 | # CONFIG_OUTER_CACHE is not set | 231 | CONFIG_ARM_L1_CACHE_SHIFT=5 |
219 | 232 | ||
220 | # | 233 | # |
221 | # Bus support | 234 | # Bus support |
@@ -240,11 +253,12 @@ CONFIG_VMSPLIT_3G=y | |||
240 | # CONFIG_VMSPLIT_2G is not set | 253 | # CONFIG_VMSPLIT_2G is not set |
241 | # CONFIG_VMSPLIT_1G is not set | 254 | # CONFIG_VMSPLIT_1G is not set |
242 | CONFIG_PAGE_OFFSET=0xC0000000 | 255 | CONFIG_PAGE_OFFSET=0xC0000000 |
256 | # CONFIG_PREEMPT_NONE is not set | ||
257 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
243 | CONFIG_PREEMPT=y | 258 | CONFIG_PREEMPT=y |
244 | CONFIG_HZ=100 | 259 | CONFIG_HZ=100 |
245 | CONFIG_AEABI=y | 260 | CONFIG_AEABI=y |
246 | CONFIG_OABI_COMPAT=y | 261 | CONFIG_OABI_COMPAT=y |
247 | CONFIG_ARCH_FLATMEM_HAS_HOLES=y | ||
248 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | 262 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set |
249 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | 263 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set |
250 | # CONFIG_HIGHMEM is not set | 264 | # CONFIG_HIGHMEM is not set |
@@ -259,12 +273,14 @@ CONFIG_SPLIT_PTLOCK_CPUS=4096 | |||
259 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 273 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
260 | CONFIG_ZONE_DMA_FLAG=0 | 274 | CONFIG_ZONE_DMA_FLAG=0 |
261 | CONFIG_VIRT_TO_BUS=y | 275 | CONFIG_VIRT_TO_BUS=y |
262 | CONFIG_UNEVICTABLE_LRU=y | ||
263 | CONFIG_HAVE_MLOCK=y | 276 | CONFIG_HAVE_MLOCK=y |
264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
278 | # CONFIG_KSM is not set | ||
279 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
265 | CONFIG_LEDS=y | 280 | CONFIG_LEDS=y |
266 | CONFIG_LEDS_CPU=y | 281 | CONFIG_LEDS_CPU=y |
267 | CONFIG_ALIGNMENT_TRAP=y | 282 | CONFIG_ALIGNMENT_TRAP=y |
283 | CONFIG_UACCESS_WITH_MEMCPY=y | ||
268 | 284 | ||
269 | # | 285 | # |
270 | # Boot options | 286 | # Boot options |
@@ -308,6 +324,7 @@ CONFIG_PM=y | |||
308 | # CONFIG_PM_DEBUG is not set | 324 | # CONFIG_PM_DEBUG is not set |
309 | # CONFIG_SUSPEND is not set | 325 | # CONFIG_SUSPEND is not set |
310 | # CONFIG_APM_EMULATION is not set | 326 | # CONFIG_APM_EMULATION is not set |
327 | # CONFIG_PM_RUNTIME is not set | ||
311 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 328 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
312 | CONFIG_NET=y | 329 | CONFIG_NET=y |
313 | 330 | ||
@@ -356,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
356 | # CONFIG_NETFILTER is not set | 373 | # CONFIG_NETFILTER is not set |
357 | # CONFIG_IP_DCCP is not set | 374 | # CONFIG_IP_DCCP is not set |
358 | # CONFIG_IP_SCTP is not set | 375 | # CONFIG_IP_SCTP is not set |
376 | # CONFIG_RDS is not set | ||
359 | # CONFIG_TIPC is not set | 377 | # CONFIG_TIPC is not set |
360 | # CONFIG_ATM is not set | 378 | # CONFIG_ATM is not set |
361 | # CONFIG_BRIDGE is not set | 379 | # CONFIG_BRIDGE is not set |
@@ -378,6 +396,7 @@ CONFIG_NET_DSA_MV88E6123_61_65=y | |||
378 | # CONFIG_ECONET is not set | 396 | # CONFIG_ECONET is not set |
379 | # CONFIG_WAN_ROUTER is not set | 397 | # CONFIG_WAN_ROUTER is not set |
380 | # CONFIG_PHONET is not set | 398 | # CONFIG_PHONET is not set |
399 | # CONFIG_IEEE802154 is not set | ||
381 | # CONFIG_NET_SCHED is not set | 400 | # CONFIG_NET_SCHED is not set |
382 | # CONFIG_DCB is not set | 401 | # CONFIG_DCB is not set |
383 | 402 | ||
@@ -394,11 +413,15 @@ CONFIG_NET_PKTGEN=m | |||
394 | # CONFIG_AF_RXRPC is not set | 413 | # CONFIG_AF_RXRPC is not set |
395 | CONFIG_WIRELESS=y | 414 | CONFIG_WIRELESS=y |
396 | # CONFIG_CFG80211 is not set | 415 | # CONFIG_CFG80211 is not set |
416 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
397 | # CONFIG_WIRELESS_OLD_REGULATORY is not set | 417 | # CONFIG_WIRELESS_OLD_REGULATORY is not set |
398 | CONFIG_WIRELESS_EXT=y | 418 | CONFIG_WIRELESS_EXT=y |
399 | CONFIG_WIRELESS_EXT_SYSFS=y | 419 | CONFIG_WIRELESS_EXT_SYSFS=y |
400 | # CONFIG_LIB80211 is not set | 420 | # CONFIG_LIB80211 is not set |
401 | # CONFIG_MAC80211 is not set | 421 | |
422 | # | ||
423 | # CFG80211 needs to be enabled for MAC80211 | ||
424 | # | ||
402 | # CONFIG_WIMAX is not set | 425 | # CONFIG_WIMAX is not set |
403 | # CONFIG_RFKILL is not set | 426 | # CONFIG_RFKILL is not set |
404 | # CONFIG_NET_9P is not set | 427 | # CONFIG_NET_9P is not set |
@@ -411,6 +434,7 @@ CONFIG_WIRELESS_EXT_SYSFS=y | |||
411 | # Generic Driver Options | 434 | # Generic Driver Options |
412 | # | 435 | # |
413 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 436 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
437 | # CONFIG_DEVTMPFS is not set | ||
414 | CONFIG_STANDALONE=y | 438 | CONFIG_STANDALONE=y |
415 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 439 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
416 | CONFIG_FW_LOADER=y | 440 | CONFIG_FW_LOADER=y |
@@ -422,9 +446,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
422 | # CONFIG_CONNECTOR is not set | 446 | # CONFIG_CONNECTOR is not set |
423 | CONFIG_MTD=y | 447 | CONFIG_MTD=y |
424 | # CONFIG_MTD_DEBUG is not set | 448 | # CONFIG_MTD_DEBUG is not set |
449 | # CONFIG_MTD_TESTS is not set | ||
425 | # CONFIG_MTD_CONCAT is not set | 450 | # CONFIG_MTD_CONCAT is not set |
426 | CONFIG_MTD_PARTITIONS=y | 451 | CONFIG_MTD_PARTITIONS=y |
427 | # CONFIG_MTD_TESTS is not set | ||
428 | # CONFIG_MTD_REDBOOT_PARTS is not set | 452 | # CONFIG_MTD_REDBOOT_PARTS is not set |
429 | CONFIG_MTD_CMDLINE_PARTS=y | 453 | CONFIG_MTD_CMDLINE_PARTS=y |
430 | # CONFIG_MTD_AFS_PARTS is not set | 454 | # CONFIG_MTD_AFS_PARTS is not set |
@@ -537,6 +561,7 @@ CONFIG_BLK_DEV_LOOP=y | |||
537 | # CONFIG_BLK_DEV_RAM is not set | 561 | # CONFIG_BLK_DEV_RAM is not set |
538 | # CONFIG_CDROM_PKTCDVD is not set | 562 | # CONFIG_CDROM_PKTCDVD is not set |
539 | # CONFIG_ATA_OVER_ETH is not set | 563 | # CONFIG_ATA_OVER_ETH is not set |
564 | # CONFIG_MG_DISK is not set | ||
540 | CONFIG_MISC_DEVICES=y | 565 | CONFIG_MISC_DEVICES=y |
541 | # CONFIG_PHANTOM is not set | 566 | # CONFIG_PHANTOM is not set |
542 | # CONFIG_SGI_IOC4 is not set | 567 | # CONFIG_SGI_IOC4 is not set |
@@ -552,7 +577,9 @@ CONFIG_MISC_DEVICES=y | |||
552 | # | 577 | # |
553 | # CONFIG_EEPROM_AT24 is not set | 578 | # CONFIG_EEPROM_AT24 is not set |
554 | # CONFIG_EEPROM_LEGACY is not set | 579 | # CONFIG_EEPROM_LEGACY is not set |
580 | # CONFIG_EEPROM_MAX6875 is not set | ||
555 | # CONFIG_EEPROM_93CX6 is not set | 581 | # CONFIG_EEPROM_93CX6 is not set |
582 | # CONFIG_CB710_CORE is not set | ||
556 | CONFIG_HAVE_IDE=y | 583 | CONFIG_HAVE_IDE=y |
557 | # CONFIG_IDE is not set | 584 | # CONFIG_IDE is not set |
558 | 585 | ||
@@ -576,10 +603,6 @@ CONFIG_BLK_DEV_SR=m | |||
576 | # CONFIG_BLK_DEV_SR_VENDOR is not set | 603 | # CONFIG_BLK_DEV_SR_VENDOR is not set |
577 | CONFIG_CHR_DEV_SG=m | 604 | CONFIG_CHR_DEV_SG=m |
578 | # CONFIG_CHR_DEV_SCH is not set | 605 | # CONFIG_CHR_DEV_SCH is not set |
579 | |||
580 | # | ||
581 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
582 | # | ||
583 | # CONFIG_SCSI_MULTI_LUN is not set | 606 | # CONFIG_SCSI_MULTI_LUN is not set |
584 | # CONFIG_SCSI_CONSTANTS is not set | 607 | # CONFIG_SCSI_CONSTANTS is not set |
585 | # CONFIG_SCSI_LOGGING is not set | 608 | # CONFIG_SCSI_LOGGING is not set |
@@ -596,6 +619,8 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
596 | # CONFIG_SCSI_SRP_ATTRS is not set | 619 | # CONFIG_SCSI_SRP_ATTRS is not set |
597 | CONFIG_SCSI_LOWLEVEL=y | 620 | CONFIG_SCSI_LOWLEVEL=y |
598 | # CONFIG_ISCSI_TCP is not set | 621 | # CONFIG_ISCSI_TCP is not set |
622 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
623 | # CONFIG_BE2ISCSI is not set | ||
599 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 624 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
600 | # CONFIG_SCSI_3W_9XXX is not set | 625 | # CONFIG_SCSI_3W_9XXX is not set |
601 | # CONFIG_SCSI_ACARD is not set | 626 | # CONFIG_SCSI_ACARD is not set |
@@ -604,6 +629,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
604 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 629 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
605 | # CONFIG_SCSI_AIC79XX is not set | 630 | # CONFIG_SCSI_AIC79XX is not set |
606 | # CONFIG_SCSI_AIC94XX is not set | 631 | # CONFIG_SCSI_AIC94XX is not set |
632 | # CONFIG_SCSI_MVSAS is not set | ||
607 | # CONFIG_SCSI_DPT_I2O is not set | 633 | # CONFIG_SCSI_DPT_I2O is not set |
608 | # CONFIG_SCSI_ADVANSYS is not set | 634 | # CONFIG_SCSI_ADVANSYS is not set |
609 | # CONFIG_SCSI_ARCMSR is not set | 635 | # CONFIG_SCSI_ARCMSR is not set |
@@ -620,7 +646,6 @@ CONFIG_SCSI_LOWLEVEL=y | |||
620 | # CONFIG_SCSI_IPS is not set | 646 | # CONFIG_SCSI_IPS is not set |
621 | # CONFIG_SCSI_INITIO is not set | 647 | # CONFIG_SCSI_INITIO is not set |
622 | # CONFIG_SCSI_INIA100 is not set | 648 | # CONFIG_SCSI_INIA100 is not set |
623 | # CONFIG_SCSI_MVSAS is not set | ||
624 | # CONFIG_SCSI_STEX is not set | 649 | # CONFIG_SCSI_STEX is not set |
625 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 650 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
626 | # CONFIG_SCSI_IPR is not set | 651 | # CONFIG_SCSI_IPR is not set |
@@ -632,11 +657,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
632 | # CONFIG_SCSI_DC390T is not set | 657 | # CONFIG_SCSI_DC390T is not set |
633 | # CONFIG_SCSI_NSP32 is not set | 658 | # CONFIG_SCSI_NSP32 is not set |
634 | # CONFIG_SCSI_DEBUG is not set | 659 | # CONFIG_SCSI_DEBUG is not set |
660 | # CONFIG_SCSI_PMCRAID is not set | ||
635 | # CONFIG_SCSI_SRP is not set | 661 | # CONFIG_SCSI_SRP is not set |
662 | # CONFIG_SCSI_BFA_FC is not set | ||
636 | # CONFIG_SCSI_DH is not set | 663 | # CONFIG_SCSI_DH is not set |
637 | # CONFIG_SCSI_OSD_INITIATOR is not set | 664 | # CONFIG_SCSI_OSD_INITIATOR is not set |
638 | CONFIG_ATA=y | 665 | CONFIG_ATA=y |
639 | # CONFIG_ATA_NONSTANDARD is not set | 666 | # CONFIG_ATA_NONSTANDARD is not set |
667 | CONFIG_ATA_VERBOSE_ERROR=y | ||
640 | CONFIG_SATA_PMP=y | 668 | CONFIG_SATA_PMP=y |
641 | # CONFIG_SATA_AHCI is not set | 669 | # CONFIG_SATA_AHCI is not set |
642 | # CONFIG_SATA_SIL24 is not set | 670 | # CONFIG_SATA_SIL24 is not set |
@@ -658,6 +686,7 @@ CONFIG_SATA_MV=y | |||
658 | # CONFIG_PATA_ALI is not set | 686 | # CONFIG_PATA_ALI is not set |
659 | # CONFIG_PATA_AMD is not set | 687 | # CONFIG_PATA_AMD is not set |
660 | # CONFIG_PATA_ARTOP is not set | 688 | # CONFIG_PATA_ARTOP is not set |
689 | # CONFIG_PATA_ATP867X is not set | ||
661 | # CONFIG_PATA_ATIIXP is not set | 690 | # CONFIG_PATA_ATIIXP is not set |
662 | # CONFIG_PATA_CMD640_PCI is not set | 691 | # CONFIG_PATA_CMD640_PCI is not set |
663 | # CONFIG_PATA_CMD64X is not set | 692 | # CONFIG_PATA_CMD64X is not set |
@@ -685,6 +714,7 @@ CONFIG_SATA_MV=y | |||
685 | # CONFIG_PATA_OPTIDMA is not set | 714 | # CONFIG_PATA_OPTIDMA is not set |
686 | # CONFIG_PATA_PDC_OLD is not set | 715 | # CONFIG_PATA_PDC_OLD is not set |
687 | # CONFIG_PATA_RADISYS is not set | 716 | # CONFIG_PATA_RADISYS is not set |
717 | # CONFIG_PATA_RDC is not set | ||
688 | # CONFIG_PATA_RZ1000 is not set | 718 | # CONFIG_PATA_RZ1000 is not set |
689 | # CONFIG_PATA_SC1200 is not set | 719 | # CONFIG_PATA_SC1200 is not set |
690 | # CONFIG_PATA_SERVERWORKS is not set | 720 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -703,13 +733,16 @@ CONFIG_SATA_MV=y | |||
703 | # | 733 | # |
704 | 734 | ||
705 | # | 735 | # |
706 | # Enable only one of the two stacks, unless you know what you are doing | 736 | # You can enable one or both FireWire driver stacks. |
737 | # | ||
738 | |||
739 | # | ||
740 | # See the help texts for more information. | ||
707 | # | 741 | # |
708 | # CONFIG_FIREWIRE is not set | 742 | # CONFIG_FIREWIRE is not set |
709 | # CONFIG_IEEE1394 is not set | 743 | # CONFIG_IEEE1394 is not set |
710 | # CONFIG_I2O is not set | 744 | # CONFIG_I2O is not set |
711 | CONFIG_NETDEVICES=y | 745 | CONFIG_NETDEVICES=y |
712 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
713 | # CONFIG_DUMMY is not set | 746 | # CONFIG_DUMMY is not set |
714 | # CONFIG_BONDING is not set | 747 | # CONFIG_BONDING is not set |
715 | # CONFIG_MACVLAN is not set | 748 | # CONFIG_MACVLAN is not set |
@@ -777,6 +810,8 @@ CONFIG_NET_PCI=y | |||
777 | # CONFIG_SMSC9420 is not set | 810 | # CONFIG_SMSC9420 is not set |
778 | # CONFIG_SUNDANCE is not set | 811 | # CONFIG_SUNDANCE is not set |
779 | # CONFIG_TLAN is not set | 812 | # CONFIG_TLAN is not set |
813 | # CONFIG_KS8842 is not set | ||
814 | # CONFIG_KS8851_MLL is not set | ||
780 | # CONFIG_VIA_RHINE is not set | 815 | # CONFIG_VIA_RHINE is not set |
781 | # CONFIG_SC92031 is not set | 816 | # CONFIG_SC92031 is not set |
782 | # CONFIG_ATL2 is not set | 817 | # CONFIG_ATL2 is not set |
@@ -798,6 +833,7 @@ CONFIG_NETDEV_1000=y | |||
798 | # CONFIG_VIA_VELOCITY is not set | 833 | # CONFIG_VIA_VELOCITY is not set |
799 | # CONFIG_TIGON3 is not set | 834 | # CONFIG_TIGON3 is not set |
800 | # CONFIG_BNX2 is not set | 835 | # CONFIG_BNX2 is not set |
836 | # CONFIG_CNIC is not set | ||
801 | CONFIG_MV643XX_ETH=y | 837 | CONFIG_MV643XX_ETH=y |
802 | # CONFIG_QLA3XXX is not set | 838 | # CONFIG_QLA3XXX is not set |
803 | # CONFIG_ATL1 is not set | 839 | # CONFIG_ATL1 is not set |
@@ -806,10 +842,7 @@ CONFIG_MV643XX_ETH=y | |||
806 | # CONFIG_JME is not set | 842 | # CONFIG_JME is not set |
807 | # CONFIG_NETDEV_10000 is not set | 843 | # CONFIG_NETDEV_10000 is not set |
808 | # CONFIG_TR is not set | 844 | # CONFIG_TR is not set |
809 | 845 | CONFIG_WLAN=y | |
810 | # | ||
811 | # Wireless LAN | ||
812 | # | ||
813 | # CONFIG_WLAN_PRE80211 is not set | 846 | # CONFIG_WLAN_PRE80211 is not set |
814 | # CONFIG_WLAN_80211 is not set | 847 | # CONFIG_WLAN_80211 is not set |
815 | 848 | ||
@@ -835,6 +868,7 @@ CONFIG_MV643XX_ETH=y | |||
835 | # CONFIG_NETPOLL is not set | 868 | # CONFIG_NETPOLL is not set |
836 | # CONFIG_NET_POLL_CONTROLLER is not set | 869 | # CONFIG_NET_POLL_CONTROLLER is not set |
837 | # CONFIG_ISDN is not set | 870 | # CONFIG_ISDN is not set |
871 | # CONFIG_PHONE is not set | ||
838 | 872 | ||
839 | # | 873 | # |
840 | # Input device support | 874 | # Input device support |
@@ -855,13 +889,19 @@ CONFIG_INPUT_EVDEV=y | |||
855 | # Input Device Drivers | 889 | # Input Device Drivers |
856 | # | 890 | # |
857 | CONFIG_INPUT_KEYBOARD=y | 891 | CONFIG_INPUT_KEYBOARD=y |
892 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
858 | # CONFIG_KEYBOARD_ATKBD is not set | 893 | # CONFIG_KEYBOARD_ATKBD is not set |
859 | # CONFIG_KEYBOARD_SUNKBD is not set | 894 | # CONFIG_QT2160 is not set |
860 | # CONFIG_KEYBOARD_LKKBD is not set | 895 | # CONFIG_KEYBOARD_LKKBD is not set |
861 | # CONFIG_KEYBOARD_XTKBD is not set | 896 | CONFIG_KEYBOARD_GPIO=y |
897 | # CONFIG_KEYBOARD_MATRIX is not set | ||
898 | # CONFIG_KEYBOARD_LM8323 is not set | ||
899 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
862 | # CONFIG_KEYBOARD_NEWTON is not set | 900 | # CONFIG_KEYBOARD_NEWTON is not set |
901 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
863 | # CONFIG_KEYBOARD_STOWAWAY is not set | 902 | # CONFIG_KEYBOARD_STOWAWAY is not set |
864 | CONFIG_KEYBOARD_GPIO=y | 903 | # CONFIG_KEYBOARD_SUNKBD is not set |
904 | # CONFIG_KEYBOARD_XTKBD is not set | ||
865 | # CONFIG_INPUT_MOUSE is not set | 905 | # CONFIG_INPUT_MOUSE is not set |
866 | # CONFIG_INPUT_JOYSTICK is not set | 906 | # CONFIG_INPUT_JOYSTICK is not set |
867 | # CONFIG_INPUT_TABLET is not set | 907 | # CONFIG_INPUT_TABLET is not set |
@@ -912,6 +952,7 @@ CONFIG_HW_RANDOM_TIMERIOMEM=m | |||
912 | CONFIG_DEVPORT=y | 952 | CONFIG_DEVPORT=y |
913 | CONFIG_I2C=y | 953 | CONFIG_I2C=y |
914 | CONFIG_I2C_BOARDINFO=y | 954 | CONFIG_I2C_BOARDINFO=y |
955 | # CONFIG_I2C_COMPAT is not set | ||
915 | CONFIG_I2C_CHARDEV=y | 956 | CONFIG_I2C_CHARDEV=y |
916 | CONFIG_I2C_HELPER_AUTO=y | 957 | CONFIG_I2C_HELPER_AUTO=y |
917 | 958 | ||
@@ -967,20 +1008,55 @@ CONFIG_I2C_MV64XXX=y | |||
967 | # Miscellaneous I2C Chip support | 1008 | # Miscellaneous I2C Chip support |
968 | # | 1009 | # |
969 | # CONFIG_DS1682 is not set | 1010 | # CONFIG_DS1682 is not set |
970 | # CONFIG_SENSORS_PCF8574 is not set | ||
971 | # CONFIG_PCF8575 is not set | ||
972 | # CONFIG_SENSORS_PCA9539 is not set | ||
973 | # CONFIG_SENSORS_MAX6875 is not set | ||
974 | # CONFIG_SENSORS_TSL2550 is not set | 1011 | # CONFIG_SENSORS_TSL2550 is not set |
975 | # CONFIG_I2C_DEBUG_CORE is not set | 1012 | # CONFIG_I2C_DEBUG_CORE is not set |
976 | # CONFIG_I2C_DEBUG_ALGO is not set | 1013 | # CONFIG_I2C_DEBUG_ALGO is not set |
977 | # CONFIG_I2C_DEBUG_BUS is not set | 1014 | # CONFIG_I2C_DEBUG_BUS is not set |
978 | # CONFIG_I2C_DEBUG_CHIP is not set | 1015 | # CONFIG_I2C_DEBUG_CHIP is not set |
979 | # CONFIG_SPI is not set | 1016 | # CONFIG_SPI is not set |
1017 | |||
1018 | # | ||
1019 | # PPS support | ||
1020 | # | ||
1021 | # CONFIG_PPS is not set | ||
1022 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1023 | CONFIG_GPIOLIB=y | ||
1024 | # CONFIG_DEBUG_GPIO is not set | ||
1025 | CONFIG_GPIO_SYSFS=y | ||
1026 | |||
1027 | # | ||
1028 | # Memory mapped GPIO expanders: | ||
1029 | # | ||
1030 | |||
1031 | # | ||
1032 | # I2C GPIO expanders: | ||
1033 | # | ||
1034 | # CONFIG_GPIO_MAX732X is not set | ||
1035 | # CONFIG_GPIO_PCA953X is not set | ||
1036 | # CONFIG_GPIO_PCF857X is not set | ||
1037 | |||
1038 | # | ||
1039 | # PCI GPIO expanders: | ||
1040 | # | ||
1041 | # CONFIG_GPIO_BT8XX is not set | ||
1042 | # CONFIG_GPIO_LANGWELL is not set | ||
1043 | |||
1044 | # | ||
1045 | # SPI GPIO expanders: | ||
1046 | # | ||
1047 | |||
1048 | # | ||
1049 | # AC97 GPIO expanders: | ||
1050 | # | ||
980 | # CONFIG_W1 is not set | 1051 | # CONFIG_W1 is not set |
981 | # CONFIG_POWER_SUPPLY is not set | 1052 | # CONFIG_POWER_SUPPLY is not set |
982 | CONFIG_HWMON=y | 1053 | CONFIG_HWMON=y |
983 | # CONFIG_HWMON_VID is not set | 1054 | # CONFIG_HWMON_VID is not set |
1055 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1056 | |||
1057 | # | ||
1058 | # Native drivers | ||
1059 | # | ||
984 | # CONFIG_SENSORS_AD7414 is not set | 1060 | # CONFIG_SENSORS_AD7414 is not set |
985 | # CONFIG_SENSORS_AD7418 is not set | 1061 | # CONFIG_SENSORS_AD7418 is not set |
986 | # CONFIG_SENSORS_ADM1021 is not set | 1062 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1030,6 +1106,8 @@ CONFIG_SENSORS_LM75=y | |||
1030 | # CONFIG_SENSORS_SMSC47B397 is not set | 1106 | # CONFIG_SENSORS_SMSC47B397 is not set |
1031 | # CONFIG_SENSORS_ADS7828 is not set | 1107 | # CONFIG_SENSORS_ADS7828 is not set |
1032 | # CONFIG_SENSORS_THMC50 is not set | 1108 | # CONFIG_SENSORS_THMC50 is not set |
1109 | # CONFIG_SENSORS_TMP401 is not set | ||
1110 | # CONFIG_SENSORS_TMP421 is not set | ||
1033 | # CONFIG_SENSORS_VIA686A is not set | 1111 | # CONFIG_SENSORS_VIA686A is not set |
1034 | # CONFIG_SENSORS_VT1211 is not set | 1112 | # CONFIG_SENSORS_VT1211 is not set |
1035 | # CONFIG_SENSORS_VT8231 is not set | 1113 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1041,9 +1119,7 @@ CONFIG_SENSORS_LM75=y | |||
1041 | # CONFIG_SENSORS_W83L786NG is not set | 1119 | # CONFIG_SENSORS_W83L786NG is not set |
1042 | # CONFIG_SENSORS_W83627HF is not set | 1120 | # CONFIG_SENSORS_W83627HF is not set |
1043 | # CONFIG_SENSORS_W83627EHF is not set | 1121 | # CONFIG_SENSORS_W83627EHF is not set |
1044 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1045 | # CONFIG_THERMAL is not set | 1122 | # CONFIG_THERMAL is not set |
1046 | # CONFIG_THERMAL_HWMON is not set | ||
1047 | # CONFIG_WATCHDOG is not set | 1123 | # CONFIG_WATCHDOG is not set |
1048 | CONFIG_SSB_POSSIBLE=y | 1124 | CONFIG_SSB_POSSIBLE=y |
1049 | 1125 | ||
@@ -1057,33 +1133,26 @@ CONFIG_SSB_POSSIBLE=y | |||
1057 | # | 1133 | # |
1058 | # CONFIG_MFD_CORE is not set | 1134 | # CONFIG_MFD_CORE is not set |
1059 | # CONFIG_MFD_SM501 is not set | 1135 | # CONFIG_MFD_SM501 is not set |
1136 | # CONFIG_MFD_ASIC3 is not set | ||
1137 | # CONFIG_HTC_EGPIO is not set | ||
1060 | # CONFIG_HTC_PASIC3 is not set | 1138 | # CONFIG_HTC_PASIC3 is not set |
1139 | # CONFIG_TPS65010 is not set | ||
1061 | # CONFIG_TWL4030_CORE is not set | 1140 | # CONFIG_TWL4030_CORE is not set |
1062 | # CONFIG_MFD_TMIO is not set | 1141 | # CONFIG_MFD_TMIO is not set |
1142 | # CONFIG_MFD_TC6393XB is not set | ||
1063 | # CONFIG_PMIC_DA903X is not set | 1143 | # CONFIG_PMIC_DA903X is not set |
1064 | # CONFIG_MFD_WM8400 is not set | 1144 | # CONFIG_MFD_WM8400 is not set |
1145 | # CONFIG_MFD_WM831X is not set | ||
1065 | # CONFIG_MFD_WM8350_I2C is not set | 1146 | # CONFIG_MFD_WM8350_I2C is not set |
1066 | # CONFIG_MFD_PCF50633 is not set | 1147 | # CONFIG_MFD_PCF50633 is not set |
1067 | 1148 | # CONFIG_AB3100_CORE is not set | |
1068 | # | 1149 | # CONFIG_REGULATOR is not set |
1069 | # Multimedia devices | 1150 | # CONFIG_MEDIA_SUPPORT is not set |
1070 | # | ||
1071 | |||
1072 | # | ||
1073 | # Multimedia core support | ||
1074 | # | ||
1075 | # CONFIG_VIDEO_DEV is not set | ||
1076 | # CONFIG_DVB_CORE is not set | ||
1077 | # CONFIG_VIDEO_MEDIA is not set | ||
1078 | |||
1079 | # | ||
1080 | # Multimedia drivers | ||
1081 | # | ||
1082 | # CONFIG_DAB is not set | ||
1083 | 1151 | ||
1084 | # | 1152 | # |
1085 | # Graphics support | 1153 | # Graphics support |
1086 | # | 1154 | # |
1155 | # CONFIG_VGA_ARB is not set | ||
1087 | # CONFIG_DRM is not set | 1156 | # CONFIG_DRM is not set |
1088 | # CONFIG_VGASTATE is not set | 1157 | # CONFIG_VGASTATE is not set |
1089 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1158 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1097,7 +1166,6 @@ CONFIG_SSB_POSSIBLE=y | |||
1097 | # CONFIG_SOUND is not set | 1166 | # CONFIG_SOUND is not set |
1098 | CONFIG_HID_SUPPORT=y | 1167 | CONFIG_HID_SUPPORT=y |
1099 | CONFIG_HID=y | 1168 | CONFIG_HID=y |
1100 | # CONFIG_HID_DEBUG is not set | ||
1101 | # CONFIG_HIDRAW is not set | 1169 | # CONFIG_HIDRAW is not set |
1102 | 1170 | ||
1103 | # | 1171 | # |
@@ -1116,10 +1184,11 @@ CONFIG_USB_HID=y | |||
1116 | # CONFIG_HID_CHERRY is not set | 1184 | # CONFIG_HID_CHERRY is not set |
1117 | # CONFIG_HID_CHICONY is not set | 1185 | # CONFIG_HID_CHICONY is not set |
1118 | # CONFIG_HID_CYPRESS is not set | 1186 | # CONFIG_HID_CYPRESS is not set |
1119 | # CONFIG_DRAGONRISE_FF is not set | 1187 | # CONFIG_HID_DRAGONRISE is not set |
1120 | # CONFIG_HID_EZKEY is not set | 1188 | # CONFIG_HID_EZKEY is not set |
1121 | # CONFIG_HID_KYE is not set | 1189 | # CONFIG_HID_KYE is not set |
1122 | # CONFIG_HID_GYRATION is not set | 1190 | # CONFIG_HID_GYRATION is not set |
1191 | # CONFIG_HID_TWINHAN is not set | ||
1123 | # CONFIG_HID_KENSINGTON is not set | 1192 | # CONFIG_HID_KENSINGTON is not set |
1124 | # CONFIG_HID_LOGITECH is not set | 1193 | # CONFIG_HID_LOGITECH is not set |
1125 | # CONFIG_HID_MICROSOFT is not set | 1194 | # CONFIG_HID_MICROSOFT is not set |
@@ -1130,10 +1199,11 @@ CONFIG_USB_HID=y | |||
1130 | # CONFIG_HID_SAMSUNG is not set | 1199 | # CONFIG_HID_SAMSUNG is not set |
1131 | # CONFIG_HID_SONY is not set | 1200 | # CONFIG_HID_SONY is not set |
1132 | # CONFIG_HID_SUNPLUS is not set | 1201 | # CONFIG_HID_SUNPLUS is not set |
1133 | # CONFIG_GREENASIA_FF is not set | 1202 | # CONFIG_HID_GREENASIA is not set |
1203 | # CONFIG_HID_SMARTJOYPLUS is not set | ||
1134 | # CONFIG_HID_TOPSEED is not set | 1204 | # CONFIG_HID_TOPSEED is not set |
1135 | # CONFIG_THRUSTMASTER_FF is not set | 1205 | # CONFIG_HID_THRUSTMASTER is not set |
1136 | # CONFIG_ZEROPLUS_FF is not set | 1206 | # CONFIG_HID_ZEROPLUS is not set |
1137 | CONFIG_USB_SUPPORT=y | 1207 | CONFIG_USB_SUPPORT=y |
1138 | CONFIG_USB_ARCH_HAS_HCD=y | 1208 | CONFIG_USB_ARCH_HAS_HCD=y |
1139 | CONFIG_USB_ARCH_HAS_OHCI=y | 1209 | CONFIG_USB_ARCH_HAS_OHCI=y |
@@ -1160,18 +1230,21 @@ CONFIG_USB_DEVICE_CLASS=y | |||
1160 | # USB Host Controller Drivers | 1230 | # USB Host Controller Drivers |
1161 | # | 1231 | # |
1162 | # CONFIG_USB_C67X00_HCD is not set | 1232 | # CONFIG_USB_C67X00_HCD is not set |
1233 | # CONFIG_USB_XHCI_HCD is not set | ||
1163 | CONFIG_USB_EHCI_HCD=y | 1234 | CONFIG_USB_EHCI_HCD=y |
1164 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | 1235 | CONFIG_USB_EHCI_ROOT_HUB_TT=y |
1165 | CONFIG_USB_EHCI_TT_NEWSCHED=y | 1236 | CONFIG_USB_EHCI_TT_NEWSCHED=y |
1166 | # CONFIG_USB_OXU210HP_HCD is not set | 1237 | # CONFIG_USB_OXU210HP_HCD is not set |
1167 | # CONFIG_USB_ISP116X_HCD is not set | 1238 | # CONFIG_USB_ISP116X_HCD is not set |
1168 | # CONFIG_USB_ISP1760_HCD is not set | 1239 | # CONFIG_USB_ISP1760_HCD is not set |
1240 | # CONFIG_USB_ISP1362_HCD is not set | ||
1169 | # CONFIG_USB_OHCI_HCD is not set | 1241 | # CONFIG_USB_OHCI_HCD is not set |
1170 | # CONFIG_USB_UHCI_HCD is not set | 1242 | # CONFIG_USB_UHCI_HCD is not set |
1171 | # CONFIG_USB_SL811_HCD is not set | 1243 | # CONFIG_USB_SL811_HCD is not set |
1172 | # CONFIG_USB_R8A66597_HCD is not set | 1244 | # CONFIG_USB_R8A66597_HCD is not set |
1173 | # CONFIG_USB_WHCI_HCD is not set | 1245 | # CONFIG_USB_WHCI_HCD is not set |
1174 | # CONFIG_USB_HWA_HCD is not set | 1246 | # CONFIG_USB_HWA_HCD is not set |
1247 | # CONFIG_USB_MUSB_HDRC is not set | ||
1175 | 1248 | ||
1176 | # | 1249 | # |
1177 | # USB Device Class drivers | 1250 | # USB Device Class drivers |
@@ -1248,7 +1321,6 @@ CONFIG_USB_STORAGE_JUMPSHOT=y | |||
1248 | # CONFIG_UWB is not set | 1321 | # CONFIG_UWB is not set |
1249 | # CONFIG_MMC is not set | 1322 | # CONFIG_MMC is not set |
1250 | # CONFIG_MEMSTICK is not set | 1323 | # CONFIG_MEMSTICK is not set |
1251 | # CONFIG_ACCESSIBILITY is not set | ||
1252 | CONFIG_NEW_LEDS=y | 1324 | CONFIG_NEW_LEDS=y |
1253 | CONFIG_LEDS_CLASS=y | 1325 | CONFIG_LEDS_CLASS=y |
1254 | 1326 | ||
@@ -1258,7 +1330,7 @@ CONFIG_LEDS_CLASS=y | |||
1258 | # CONFIG_LEDS_PCA9532 is not set | 1330 | # CONFIG_LEDS_PCA9532 is not set |
1259 | CONFIG_LEDS_GPIO=y | 1331 | CONFIG_LEDS_GPIO=y |
1260 | CONFIG_LEDS_GPIO_PLATFORM=y | 1332 | CONFIG_LEDS_GPIO_PLATFORM=y |
1261 | # CONFIG_LEDS_LP5521 is not set | 1333 | # CONFIG_LEDS_LP3944 is not set |
1262 | # CONFIG_LEDS_PCA955X is not set | 1334 | # CONFIG_LEDS_PCA955X is not set |
1263 | # CONFIG_LEDS_BD2802 is not set | 1335 | # CONFIG_LEDS_BD2802 is not set |
1264 | 1336 | ||
@@ -1269,11 +1341,14 @@ CONFIG_LEDS_TRIGGERS=y | |||
1269 | CONFIG_LEDS_TRIGGER_TIMER=y | 1341 | CONFIG_LEDS_TRIGGER_TIMER=y |
1270 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | 1342 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
1271 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set | 1343 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set |
1344 | # CONFIG_LEDS_TRIGGER_GPIO is not set | ||
1272 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | 1345 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y |
1273 | 1346 | ||
1274 | # | 1347 | # |
1275 | # iptables trigger is under Netfilter config (LED target) | 1348 | # iptables trigger is under Netfilter config (LED target) |
1276 | # | 1349 | # |
1350 | # CONFIG_ACCESSIBILITY is not set | ||
1351 | # CONFIG_INFINIBAND is not set | ||
1277 | CONFIG_RTC_LIB=y | 1352 | CONFIG_RTC_LIB=y |
1278 | CONFIG_RTC_CLASS=y | 1353 | CONFIG_RTC_CLASS=y |
1279 | CONFIG_RTC_HCTOSYS=y | 1354 | CONFIG_RTC_HCTOSYS=y |
@@ -1306,6 +1381,7 @@ CONFIG_RTC_DRV_M41T80=y | |||
1306 | CONFIG_RTC_DRV_S35390A=y | 1381 | CONFIG_RTC_DRV_S35390A=y |
1307 | # CONFIG_RTC_DRV_FM3130 is not set | 1382 | # CONFIG_RTC_DRV_FM3130 is not set |
1308 | # CONFIG_RTC_DRV_RX8581 is not set | 1383 | # CONFIG_RTC_DRV_RX8581 is not set |
1384 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1309 | 1385 | ||
1310 | # | 1386 | # |
1311 | # SPI RTC drivers | 1387 | # SPI RTC drivers |
@@ -1344,8 +1420,11 @@ CONFIG_DMA_ENGINE=y | |||
1344 | # CONFIG_ASYNC_TX_DMA is not set | 1420 | # CONFIG_ASYNC_TX_DMA is not set |
1345 | # CONFIG_DMATEST is not set | 1421 | # CONFIG_DMATEST is not set |
1346 | # CONFIG_AUXDISPLAY is not set | 1422 | # CONFIG_AUXDISPLAY is not set |
1347 | # CONFIG_REGULATOR is not set | ||
1348 | # CONFIG_UIO is not set | 1423 | # CONFIG_UIO is not set |
1424 | |||
1425 | # | ||
1426 | # TI VLYNQ | ||
1427 | # | ||
1349 | # CONFIG_STAGING is not set | 1428 | # CONFIG_STAGING is not set |
1350 | 1429 | ||
1351 | # | 1430 | # |
@@ -1358,10 +1437,10 @@ CONFIG_EXT3_FS=y | |||
1358 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | 1437 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set |
1359 | # CONFIG_EXT3_FS_XATTR is not set | 1438 | # CONFIG_EXT3_FS_XATTR is not set |
1360 | CONFIG_EXT4_FS=m | 1439 | CONFIG_EXT4_FS=m |
1361 | # CONFIG_EXT4DEV_COMPAT is not set | ||
1362 | CONFIG_EXT4_FS_XATTR=y | 1440 | CONFIG_EXT4_FS_XATTR=y |
1363 | # CONFIG_EXT4_FS_POSIX_ACL is not set | 1441 | # CONFIG_EXT4_FS_POSIX_ACL is not set |
1364 | # CONFIG_EXT4_FS_SECURITY is not set | 1442 | # CONFIG_EXT4_FS_SECURITY is not set |
1443 | # CONFIG_EXT4_DEBUG is not set | ||
1365 | CONFIG_JBD=y | 1444 | CONFIG_JBD=y |
1366 | # CONFIG_JBD_DEBUG is not set | 1445 | # CONFIG_JBD_DEBUG is not set |
1367 | CONFIG_JBD2=m | 1446 | CONFIG_JBD2=m |
@@ -1370,10 +1449,13 @@ CONFIG_FS_MBCACHE=m | |||
1370 | # CONFIG_REISERFS_FS is not set | 1449 | # CONFIG_REISERFS_FS is not set |
1371 | # CONFIG_JFS_FS is not set | 1450 | # CONFIG_JFS_FS is not set |
1372 | # CONFIG_FS_POSIX_ACL is not set | 1451 | # CONFIG_FS_POSIX_ACL is not set |
1373 | CONFIG_FILE_LOCKING=y | ||
1374 | # CONFIG_XFS_FS is not set | 1452 | # CONFIG_XFS_FS is not set |
1453 | # CONFIG_GFS2_FS is not set | ||
1375 | # CONFIG_OCFS2_FS is not set | 1454 | # CONFIG_OCFS2_FS is not set |
1376 | # CONFIG_BTRFS_FS is not set | 1455 | # CONFIG_BTRFS_FS is not set |
1456 | # CONFIG_NILFS2_FS is not set | ||
1457 | CONFIG_FILE_LOCKING=y | ||
1458 | CONFIG_FSNOTIFY=y | ||
1377 | CONFIG_DNOTIFY=y | 1459 | CONFIG_DNOTIFY=y |
1378 | CONFIG_INOTIFY=y | 1460 | CONFIG_INOTIFY=y |
1379 | CONFIG_INOTIFY_USER=y | 1461 | CONFIG_INOTIFY_USER=y |
@@ -1446,7 +1528,6 @@ CONFIG_CRAMFS=y | |||
1446 | # CONFIG_ROMFS_FS is not set | 1528 | # CONFIG_ROMFS_FS is not set |
1447 | # CONFIG_SYSV_FS is not set | 1529 | # CONFIG_SYSV_FS is not set |
1448 | # CONFIG_UFS_FS is not set | 1530 | # CONFIG_UFS_FS is not set |
1449 | # CONFIG_NILFS2_FS is not set | ||
1450 | CONFIG_NETWORK_FILESYSTEMS=y | 1531 | CONFIG_NETWORK_FILESYSTEMS=y |
1451 | CONFIG_NFS_FS=y | 1532 | CONFIG_NFS_FS=y |
1452 | CONFIG_NFS_V3=y | 1533 | CONFIG_NFS_V3=y |
@@ -1537,6 +1618,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1537 | CONFIG_ENABLE_MUST_CHECK=y | 1618 | CONFIG_ENABLE_MUST_CHECK=y |
1538 | CONFIG_FRAME_WARN=1024 | 1619 | CONFIG_FRAME_WARN=1024 |
1539 | CONFIG_MAGIC_SYSRQ=y | 1620 | CONFIG_MAGIC_SYSRQ=y |
1621 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1540 | # CONFIG_UNUSED_SYMBOLS is not set | 1622 | # CONFIG_UNUSED_SYMBOLS is not set |
1541 | CONFIG_DEBUG_FS=y | 1623 | CONFIG_DEBUG_FS=y |
1542 | # CONFIG_HEADERS_CHECK is not set | 1624 | # CONFIG_HEADERS_CHECK is not set |
@@ -1552,6 +1634,7 @@ CONFIG_SCHED_DEBUG=y | |||
1552 | CONFIG_SCHEDSTATS=y | 1634 | CONFIG_SCHEDSTATS=y |
1553 | # CONFIG_TIMER_STATS is not set | 1635 | # CONFIG_TIMER_STATS is not set |
1554 | # CONFIG_DEBUG_OBJECTS is not set | 1636 | # CONFIG_DEBUG_OBJECTS is not set |
1637 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1555 | CONFIG_DEBUG_PREEMPT=y | 1638 | CONFIG_DEBUG_PREEMPT=y |
1556 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1639 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1557 | # CONFIG_RT_MUTEX_TESTER is not set | 1640 | # CONFIG_RT_MUTEX_TESTER is not set |
@@ -1572,6 +1655,7 @@ CONFIG_DEBUG_INFO=y | |||
1572 | # CONFIG_DEBUG_LIST is not set | 1655 | # CONFIG_DEBUG_LIST is not set |
1573 | # CONFIG_DEBUG_SG is not set | 1656 | # CONFIG_DEBUG_SG is not set |
1574 | # CONFIG_DEBUG_NOTIFIERS is not set | 1657 | # CONFIG_DEBUG_NOTIFIERS is not set |
1658 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1575 | CONFIG_FRAME_POINTER=y | 1659 | CONFIG_FRAME_POINTER=y |
1576 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1660 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1577 | # CONFIG_RCU_TORTURE_TEST is not set | 1661 | # CONFIG_RCU_TORTURE_TEST is not set |
@@ -1579,6 +1663,7 @@ CONFIG_FRAME_POINTER=y | |||
1579 | # CONFIG_KPROBES_SANITY_TEST is not set | 1663 | # CONFIG_KPROBES_SANITY_TEST is not set |
1580 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1664 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1581 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1665 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1666 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1582 | # CONFIG_LKDTM is not set | 1667 | # CONFIG_LKDTM is not set |
1583 | # CONFIG_FAULT_INJECTION is not set | 1668 | # CONFIG_FAULT_INJECTION is not set |
1584 | CONFIG_LATENCYTOP=y | 1669 | CONFIG_LATENCYTOP=y |
@@ -1587,25 +1672,12 @@ CONFIG_SYSCTL_SYSCALL_CHECK=y | |||
1587 | CONFIG_NOP_TRACER=y | 1672 | CONFIG_NOP_TRACER=y |
1588 | CONFIG_HAVE_FUNCTION_TRACER=y | 1673 | CONFIG_HAVE_FUNCTION_TRACER=y |
1589 | CONFIG_RING_BUFFER=y | 1674 | CONFIG_RING_BUFFER=y |
1675 | CONFIG_EVENT_TRACING=y | ||
1676 | CONFIG_CONTEXT_SWITCH_TRACER=y | ||
1677 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
1590 | CONFIG_TRACING=y | 1678 | CONFIG_TRACING=y |
1591 | CONFIG_TRACING_SUPPORT=y | 1679 | CONFIG_TRACING_SUPPORT=y |
1592 | 1680 | # CONFIG_FTRACE is not set | |
1593 | # | ||
1594 | # Tracers | ||
1595 | # | ||
1596 | # CONFIG_FUNCTION_TRACER is not set | ||
1597 | # CONFIG_IRQSOFF_TRACER is not set | ||
1598 | # CONFIG_PREEMPT_TRACER is not set | ||
1599 | # CONFIG_SCHED_TRACER is not set | ||
1600 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1601 | # CONFIG_EVENT_TRACER is not set | ||
1602 | # CONFIG_BOOT_TRACER is not set | ||
1603 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1604 | # CONFIG_STACK_TRACER is not set | ||
1605 | # CONFIG_KMEMTRACE is not set | ||
1606 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1607 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1608 | # CONFIG_FTRACE_STARTUP_TEST is not set | ||
1609 | # CONFIG_DYNAMIC_DEBUG is not set | 1681 | # CONFIG_DYNAMIC_DEBUG is not set |
1610 | # CONFIG_SAMPLES is not set | 1682 | # CONFIG_SAMPLES is not set |
1611 | CONFIG_HAVE_ARCH_KGDB=y | 1683 | CONFIG_HAVE_ARCH_KGDB=y |
@@ -1629,20 +1701,19 @@ CONFIG_CRYPTO=y | |||
1629 | # | 1701 | # |
1630 | # Crypto core or helper | 1702 | # Crypto core or helper |
1631 | # | 1703 | # |
1632 | # CONFIG_CRYPTO_FIPS is not set | 1704 | CONFIG_CRYPTO_ALGAPI=y |
1633 | CONFIG_CRYPTO_ALGAPI=m | 1705 | CONFIG_CRYPTO_ALGAPI2=y |
1634 | CONFIG_CRYPTO_ALGAPI2=m | 1706 | CONFIG_CRYPTO_AEAD2=y |
1635 | CONFIG_CRYPTO_AEAD2=m | ||
1636 | CONFIG_CRYPTO_BLKCIPHER=m | 1707 | CONFIG_CRYPTO_BLKCIPHER=m |
1637 | CONFIG_CRYPTO_BLKCIPHER2=m | 1708 | CONFIG_CRYPTO_BLKCIPHER2=y |
1638 | CONFIG_CRYPTO_HASH2=m | 1709 | CONFIG_CRYPTO_HASH2=y |
1639 | CONFIG_CRYPTO_RNG2=m | 1710 | CONFIG_CRYPTO_RNG2=y |
1640 | CONFIG_CRYPTO_PCOMP=m | 1711 | CONFIG_CRYPTO_PCOMP=y |
1641 | CONFIG_CRYPTO_MANAGER=m | 1712 | CONFIG_CRYPTO_MANAGER=m |
1642 | CONFIG_CRYPTO_MANAGER2=m | 1713 | CONFIG_CRYPTO_MANAGER2=y |
1643 | # CONFIG_CRYPTO_GF128MUL is not set | 1714 | # CONFIG_CRYPTO_GF128MUL is not set |
1644 | # CONFIG_CRYPTO_NULL is not set | 1715 | # CONFIG_CRYPTO_NULL is not set |
1645 | CONFIG_CRYPTO_WORKQUEUE=m | 1716 | CONFIG_CRYPTO_WORKQUEUE=y |
1646 | # CONFIG_CRYPTO_CRYPTD is not set | 1717 | # CONFIG_CRYPTO_CRYPTD is not set |
1647 | # CONFIG_CRYPTO_AUTHENC is not set | 1718 | # CONFIG_CRYPTO_AUTHENC is not set |
1648 | # CONFIG_CRYPTO_TEST is not set | 1719 | # CONFIG_CRYPTO_TEST is not set |
@@ -1670,11 +1741,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1670 | # | 1741 | # |
1671 | # CONFIG_CRYPTO_HMAC is not set | 1742 | # CONFIG_CRYPTO_HMAC is not set |
1672 | # CONFIG_CRYPTO_XCBC is not set | 1743 | # CONFIG_CRYPTO_XCBC is not set |
1744 | # CONFIG_CRYPTO_VMAC is not set | ||
1673 | 1745 | ||
1674 | # | 1746 | # |
1675 | # Digest | 1747 | # Digest |
1676 | # | 1748 | # |
1677 | # CONFIG_CRYPTO_CRC32C is not set | 1749 | # CONFIG_CRYPTO_CRC32C is not set |
1750 | # CONFIG_CRYPTO_GHASH is not set | ||
1678 | # CONFIG_CRYPTO_MD4 is not set | 1751 | # CONFIG_CRYPTO_MD4 is not set |
1679 | # CONFIG_CRYPTO_MD5 is not set | 1752 | # CONFIG_CRYPTO_MD5 is not set |
1680 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1753 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
@@ -1691,7 +1764,7 @@ CONFIG_CRYPTO_PCBC=m | |||
1691 | # | 1764 | # |
1692 | # Ciphers | 1765 | # Ciphers |
1693 | # | 1766 | # |
1694 | # CONFIG_CRYPTO_AES is not set | 1767 | CONFIG_CRYPTO_AES=y |
1695 | # CONFIG_CRYPTO_ANUBIS is not set | 1768 | # CONFIG_CRYPTO_ANUBIS is not set |
1696 | # CONFIG_CRYPTO_ARC4 is not set | 1769 | # CONFIG_CRYPTO_ARC4 is not set |
1697 | # CONFIG_CRYPTO_BLOWFISH is not set | 1770 | # CONFIG_CRYPTO_BLOWFISH is not set |
@@ -1719,6 +1792,7 @@ CONFIG_CRYPTO_PCBC=m | |||
1719 | # | 1792 | # |
1720 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1793 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
1721 | CONFIG_CRYPTO_HW=y | 1794 | CONFIG_CRYPTO_HW=y |
1795 | CONFIG_CRYPTO_DEV_MV_CESA=y | ||
1722 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 1796 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
1723 | CONFIG_BINARY_PRINTF=y | 1797 | CONFIG_BINARY_PRINTF=y |
1724 | 1798 | ||
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 7020217fc49f..4e506d09e5f9 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -403,6 +403,15 @@ | |||
403 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | 403 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) |
404 | 404 | ||
405 | /* | 405 | /* |
406 | * *NOTE*: This is a ghost syscall private to the kernel. Only the | ||
407 | * __kuser_cmpxchg code in entry-armv.S should be aware of its | ||
408 | * existence. Don't ever use this from user code. | ||
409 | */ | ||
410 | #ifdef __KERNEL__ | ||
411 | #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) | ||
412 | #endif | ||
413 | |||
414 | /* | ||
406 | * The following syscalls are obsolete and no longer available for EABI. | 415 | * The following syscalls are obsolete and no longer available for EABI. |
407 | */ | 416 | */ |
408 | #if defined(__ARM_EABI__) && !defined(__KERNEL__) | 417 | #if defined(__ARM_EABI__) && !defined(__KERNEL__) |
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 0022b4d57f8b..d2903e3bc861 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <mach/entry-macro.S> | 21 | #include <mach/entry-macro.S> |
22 | #include <asm/thread_notify.h> | 22 | #include <asm/thread_notify.h> |
23 | #include <asm/unwind.h> | 23 | #include <asm/unwind.h> |
24 | #include <asm/unistd.h> | ||
24 | 25 | ||
25 | #include "entry-header.S" | 26 | #include "entry-header.S" |
26 | 27 | ||
@@ -908,10 +909,10 @@ __kuser_cmpxchg: @ 0xffff0fc0 | |||
908 | * A special ghost syscall is used for that (see traps.c). | 909 | * A special ghost syscall is used for that (see traps.c). |
909 | */ | 910 | */ |
910 | stmfd sp!, {r7, lr} | 911 | stmfd sp!, {r7, lr} |
911 | mov r7, #0xff00 @ 0xfff0 into r7 for EABI | 912 | ldr r7, =1f @ it's 20 bits |
912 | orr r7, r7, #0xf0 | 913 | swi __ARM_NR_cmpxchg |
913 | swi #0x9ffff0 | ||
914 | ldmfd sp!, {r7, pc} | 914 | ldmfd sp!, {r7, pc} |
915 | 1: .word __ARM_NR_cmpxchg | ||
915 | 916 | ||
916 | #elif __LINUX_ARM_ARCH__ < 6 | 917 | #elif __LINUX_ARM_ARCH__ < 6 |
917 | 918 | ||
diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S index 885a7214418d..b9505aa267c0 100644 --- a/arch/arm/kernel/head-common.S +++ b/arch/arm/kernel/head-common.S | |||
@@ -97,7 +97,7 @@ __error_a: | |||
97 | bl printhex8 | 97 | bl printhex8 |
98 | adr r0, str_a2 | 98 | adr r0, str_a2 |
99 | bl printascii | 99 | bl printascii |
100 | adr r3, 3f | 100 | adr r3, 4f |
101 | ldmia r3, {r4, r5, r6} @ get machine desc list | 101 | ldmia r3, {r4, r5, r6} @ get machine desc list |
102 | sub r4, r3, r4 @ get offset between virt&phys | 102 | sub r4, r3, r4 @ get offset between virt&phys |
103 | add r5, r5, r4 @ convert virt addresses to | 103 | add r5, r5, r4 @ convert virt addresses to |
diff --git a/arch/arm/kernel/smp_scu.c b/arch/arm/kernel/smp_scu.c index d3831f616ee9..9ab4149bd983 100644 --- a/arch/arm/kernel/smp_scu.c +++ b/arch/arm/kernel/smp_scu.c | |||
@@ -37,6 +37,10 @@ void __init scu_enable(void __iomem *scu_base) | |||
37 | u32 scu_ctrl; | 37 | u32 scu_ctrl; |
38 | 38 | ||
39 | scu_ctrl = __raw_readl(scu_base + SCU_CTRL); | 39 | scu_ctrl = __raw_readl(scu_base + SCU_CTRL); |
40 | /* already enabled? */ | ||
41 | if (scu_ctrl & 1) | ||
42 | return; | ||
43 | |||
40 | scu_ctrl |= 1; | 44 | scu_ctrl |= 1; |
41 | __raw_writel(scu_ctrl, scu_base + SCU_CTRL); | 45 | __raw_writel(scu_ctrl, scu_base + SCU_CTRL); |
42 | 46 | ||
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 95718a6b50a6..3f361a783f43 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -528,7 +528,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs) | |||
528 | * __kuser_cmpxchg code in entry-armv.S should be aware of its | 528 | * __kuser_cmpxchg code in entry-armv.S should be aware of its |
529 | * existence. Don't ever use this from user code. | 529 | * existence. Don't ever use this from user code. |
530 | */ | 530 | */ |
531 | case 0xfff0: | 531 | case NR(cmpxchg): |
532 | for (;;) { | 532 | for (;;) { |
533 | extern void do_DataAbort(unsigned long addr, unsigned int fsr, | 533 | extern void do_DataAbort(unsigned long addr, unsigned int fsr, |
534 | struct pt_regs *regs); | 534 | struct pt_regs *regs); |
@@ -573,7 +573,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs) | |||
573 | if not implemented, rather than raising SIGILL. This | 573 | if not implemented, rather than raising SIGILL. This |
574 | way the calling program can gracefully determine whether | 574 | way the calling program can gracefully determine whether |
575 | a feature is supported. */ | 575 | a feature is supported. */ |
576 | if (no <= 0x7ff) | 576 | if ((no & 0xffff) <= 0x7ff) |
577 | return -ENOSYS; | 577 | return -ENOSYS; |
578 | break; | 578 | break; |
579 | } | 579 | } |
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index e35d54d43e70..2fd88437348b 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
@@ -289,13 +289,6 @@ config MACH_NEOCORE926 | |||
289 | help | 289 | help |
290 | Select this if you are using the Adeneo Neocore 926 board. | 290 | Select this if you are using the Adeneo Neocore 926 board. |
291 | 291 | ||
292 | config MACH_AT91SAM9G20EK_2MMC | ||
293 | bool "Atmel AT91SAM9G20-EK Evaluation Kit modified for 2 MMC Slots" | ||
294 | depends on ARCH_AT91SAM9G20 | ||
295 | help | ||
296 | Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit | ||
297 | Rev A or B modified for 2 MMC Slots. | ||
298 | |||
299 | endif | 292 | endif |
300 | 293 | ||
301 | # ---------------------------------------------------------- | 294 | # ---------------------------------------------------------- |
@@ -322,7 +315,16 @@ config MACH_AT91SAM9G20EK | |||
322 | bool "Atmel AT91SAM9G20-EK Evaluation Kit" | 315 | bool "Atmel AT91SAM9G20-EK Evaluation Kit" |
323 | depends on ARCH_AT91SAM9G20 | 316 | depends on ARCH_AT91SAM9G20 |
324 | help | 317 | help |
325 | Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit. | 318 | Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit |
319 | that embeds only one SD/MMC slot. | ||
320 | |||
321 | config MACH_AT91SAM9G20EK_2MMC | ||
322 | bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots" | ||
323 | depends on ARCH_AT91SAM9G20 | ||
324 | help | ||
325 | Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit | ||
326 | with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and | ||
327 | onwards. | ||
326 | 328 | ||
327 | config MACH_CPU9G20 | 329 | config MACH_CPU9G20 |
328 | bool "Eukrea CPU9G20 board" | 330 | bool "Eukrea CPU9G20 board" |
@@ -392,7 +394,7 @@ config MTD_AT91_DATAFLASH_CARD | |||
392 | 394 | ||
393 | config MTD_NAND_ATMEL_BUSWIDTH_16 | 395 | config MTD_NAND_ATMEL_BUSWIDTH_16 |
394 | bool "Enable 16-bit data bus interface to NAND flash" | 396 | bool "Enable 16-bit data bus interface to NAND flash" |
395 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK) | 397 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G20EK_2MMC || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK) |
396 | help | 398 | help |
397 | On AT91SAM926x boards both types of NAND flash can be present | 399 | On AT91SAM926x boards both types of NAND flash can be present |
398 | (8 and 16 bit data bus width). | 400 | (8 and 16 bit data bus width). |
diff --git a/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c b/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c index a28e53faf71d..a4102d72cc9b 100644 --- a/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c +++ b/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c | |||
@@ -90,7 +90,7 @@ static struct at91_udc_data __initdata ek_udc_data = { | |||
90 | * SPI devices. | 90 | * SPI devices. |
91 | */ | 91 | */ |
92 | static struct spi_board_info ek_spi_devices[] = { | 92 | static struct spi_board_info ek_spi_devices[] = { |
93 | #if !defined(CONFIG_MMC_ATMELMCI) | 93 | #if !(defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_AT91)) |
94 | { /* DataFlash chip */ | 94 | { /* DataFlash chip */ |
95 | .modalias = "mtd_dataflash", | 95 | .modalias = "mtd_dataflash", |
96 | .chip_select = 1, | 96 | .chip_select = 1, |
@@ -113,7 +113,7 @@ static struct spi_board_info ek_spi_devices[] = { | |||
113 | * MACB Ethernet device | 113 | * MACB Ethernet device |
114 | */ | 114 | */ |
115 | static struct at91_eth_data __initdata ek_macb_data = { | 115 | static struct at91_eth_data __initdata ek_macb_data = { |
116 | .phy_irq_pin = AT91_PIN_PC12, | 116 | .phy_irq_pin = AT91_PIN_PB0, |
117 | .is_rmii = 1, | 117 | .is_rmii = 1, |
118 | }; | 118 | }; |
119 | 119 | ||
@@ -194,24 +194,27 @@ static void __init ek_add_device_nand(void) | |||
194 | 194 | ||
195 | /* | 195 | /* |
196 | * MCI (SD/MMC) | 196 | * MCI (SD/MMC) |
197 | * det_pin and wp_pin are not connected | 197 | * wp_pin is not connected |
198 | */ | 198 | */ |
199 | #if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE) | 199 | #if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE) |
200 | static struct mci_platform_data __initdata ek_mmc_data = { | 200 | static struct mci_platform_data __initdata ek_mmc_data = { |
201 | .slot[0] = { | 201 | .slot[0] = { |
202 | .bus_width = 4, | 202 | .bus_width = 4, |
203 | .detect_pin = -ENODEV, | 203 | .detect_pin = AT91_PIN_PC2, |
204 | .wp_pin = -ENODEV, | 204 | .wp_pin = -ENODEV, |
205 | }, | 205 | }, |
206 | .slot[1] = { | 206 | .slot[1] = { |
207 | .bus_width = 4, | 207 | .bus_width = 4, |
208 | .detect_pin = -ENODEV, | 208 | .detect_pin = AT91_PIN_PC9, |
209 | .wp_pin = -ENODEV, | 209 | .wp_pin = -ENODEV, |
210 | }, | 210 | }, |
211 | 211 | ||
212 | }; | 212 | }; |
213 | #else | 213 | #else |
214 | static struct amci_platform_data __initdata ek_mmc_data = { | 214 | static struct at91_mmc_data __initdata ek_mmc_data = { |
215 | .slot_b = 1, /* Only one slot so use slot B */ | ||
216 | .wire4 = 1, | ||
217 | .det_pin = AT91_PIN_PC9, | ||
215 | }; | 218 | }; |
216 | #endif | 219 | #endif |
217 | 220 | ||
@@ -221,13 +224,13 @@ static struct amci_platform_data __initdata ek_mmc_data = { | |||
221 | static struct gpio_led ek_leds[] = { | 224 | static struct gpio_led ek_leds[] = { |
222 | { /* "bottom" led, green, userled1 to be defined */ | 225 | { /* "bottom" led, green, userled1 to be defined */ |
223 | .name = "ds5", | 226 | .name = "ds5", |
224 | .gpio = AT91_PIN_PB12, | 227 | .gpio = AT91_PIN_PB8, |
225 | .active_low = 1, | 228 | .active_low = 1, |
226 | .default_trigger = "none", | 229 | .default_trigger = "none", |
227 | }, | 230 | }, |
228 | { /* "power" led, yellow */ | 231 | { /* "power" led, yellow */ |
229 | .name = "ds1", | 232 | .name = "ds1", |
230 | .gpio = AT91_PIN_PB13, | 233 | .gpio = AT91_PIN_PB9, |
231 | .default_trigger = "heartbeat", | 234 | .default_trigger = "heartbeat", |
232 | } | 235 | } |
233 | }; | 236 | }; |
@@ -254,7 +257,11 @@ static void __init ek_board_init(void) | |||
254 | /* Ethernet */ | 257 | /* Ethernet */ |
255 | at91_add_device_eth(&ek_macb_data); | 258 | at91_add_device_eth(&ek_macb_data); |
256 | /* MMC */ | 259 | /* MMC */ |
260 | #if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE) | ||
257 | at91_add_device_mci(0, &ek_mmc_data); | 261 | at91_add_device_mci(0, &ek_mmc_data); |
262 | #else | ||
263 | at91_add_device_mmc(0, &ek_mmc_data); | ||
264 | #endif | ||
258 | /* I2C */ | 265 | /* I2C */ |
259 | at91_add_device_i2c(ek_i2c_devices, ARRAY_SIZE(ek_i2c_devices)); | 266 | at91_add_device_i2c(ek_i2c_devices, ARRAY_SIZE(ek_i2c_devices)); |
260 | /* LEDs */ | 267 | /* LEDs */ |
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c index d83b80478b09..f3757a1c5a10 100644 --- a/arch/arm/mach-ep93xx/micro9.c +++ b/arch/arm/mach-ep93xx/micro9.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/mtd/physmap.h> | 17 | #include <linux/mtd/physmap.h> |
18 | #include <linux/io.h> | ||
18 | 19 | ||
19 | #include <mach/hardware.h> | 20 | #include <mach/hardware.h> |
20 | 21 | ||
diff --git a/arch/arm/mach-kirkwood/addr-map.c b/arch/arm/mach-kirkwood/addr-map.c index 1da5d1c18ecb..2e69168fc699 100644 --- a/arch/arm/mach-kirkwood/addr-map.c +++ b/arch/arm/mach-kirkwood/addr-map.c | |||
@@ -105,7 +105,7 @@ void __init kirkwood_setup_cpu_mbus(void) | |||
105 | setup_cpu_win(0, KIRKWOOD_PCIE_IO_PHYS_BASE, KIRKWOOD_PCIE_IO_SIZE, | 105 | setup_cpu_win(0, KIRKWOOD_PCIE_IO_PHYS_BASE, KIRKWOOD_PCIE_IO_SIZE, |
106 | TARGET_PCIE, ATTR_PCIE_IO, KIRKWOOD_PCIE_IO_BUS_BASE); | 106 | TARGET_PCIE, ATTR_PCIE_IO, KIRKWOOD_PCIE_IO_BUS_BASE); |
107 | setup_cpu_win(1, KIRKWOOD_PCIE_MEM_PHYS_BASE, KIRKWOOD_PCIE_MEM_SIZE, | 107 | setup_cpu_win(1, KIRKWOOD_PCIE_MEM_PHYS_BASE, KIRKWOOD_PCIE_MEM_SIZE, |
108 | TARGET_PCIE, ATTR_PCIE_MEM, -1); | 108 | TARGET_PCIE, ATTR_PCIE_MEM, KIRKWOOD_PCIE_MEM_BUS_BASE); |
109 | 109 | ||
110 | /* | 110 | /* |
111 | * Setup window for NAND controller. | 111 | * Setup window for NAND controller. |
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index 0acb61f3c10b..242dd0775343 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -845,7 +845,7 @@ int __init kirkwood_find_tclk(void) | |||
845 | return 166666667; | 845 | return 166666667; |
846 | } | 846 | } |
847 | 847 | ||
848 | static void kirkwood_timer_init(void) | 848 | static void __init kirkwood_timer_init(void) |
849 | { | 849 | { |
850 | kirkwood_tclk = kirkwood_find_tclk(); | 850 | kirkwood_tclk = kirkwood_find_tclk(); |
851 | orion_time_init(IRQ_KIRKWOOD_BRIDGE, kirkwood_tclk); | 851 | orion_time_init(IRQ_KIRKWOOD_BRIDGE, kirkwood_tclk); |
@@ -915,6 +915,14 @@ void __init kirkwood_init(void) | |||
915 | kirkwood_uart0_data[0].uartclk = kirkwood_tclk; | 915 | kirkwood_uart0_data[0].uartclk = kirkwood_tclk; |
916 | kirkwood_uart1_data[0].uartclk = kirkwood_tclk; | 916 | kirkwood_uart1_data[0].uartclk = kirkwood_tclk; |
917 | 917 | ||
918 | /* | ||
919 | * Disable propagation of mbus errors to the CPU local bus, | ||
920 | * as this causes mbus errors (which can occur for example | ||
921 | * for PCI aborts) to throw CPU aborts, which we're not set | ||
922 | * up to deal with. | ||
923 | */ | ||
924 | writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG); | ||
925 | |||
918 | kirkwood_setup_cpu_mbus(); | 926 | kirkwood_setup_cpu_mbus(); |
919 | 927 | ||
920 | #ifdef CONFIG_CACHE_FEROCEON_L2 | 928 | #ifdef CONFIG_CACHE_FEROCEON_L2 |
diff --git a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h index 9e80d9232c83..418f5017c50e 100644 --- a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h +++ b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h | |||
@@ -13,6 +13,9 @@ | |||
13 | 13 | ||
14 | #include <mach/kirkwood.h> | 14 | #include <mach/kirkwood.h> |
15 | 15 | ||
16 | #define CPU_CONFIG (BRIDGE_VIRT_BASE | 0x0100) | ||
17 | #define CPU_CONFIG_ERROR_PROP 0x00000004 | ||
18 | |||
16 | #define CPU_CONTROL (BRIDGE_VIRT_BASE | 0x0104) | 19 | #define CPU_CONTROL (BRIDGE_VIRT_BASE | 0x0104) |
17 | #define CPU_RESET 0x00000002 | 20 | #define CPU_RESET 0x00000002 |
18 | 21 | ||
diff --git a/arch/arm/mach-kirkwood/include/mach/io.h b/arch/arm/mach-kirkwood/include/mach/io.h index a643a846d5fb..44e8be04f259 100644 --- a/arch/arm/mach-kirkwood/include/mach/io.h +++ b/arch/arm/mach-kirkwood/include/mach/io.h | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | static inline void __iomem *__io(unsigned long addr) | 16 | static inline void __iomem *__io(unsigned long addr) |
17 | { | 17 | { |
18 | return (void __iomem *)((addr - KIRKWOOD_PCIE_IO_PHYS_BASE) | 18 | return (void __iomem *)((addr - KIRKWOOD_PCIE_IO_BUS_BASE) |
19 | + KIRKWOOD_PCIE_IO_VIRT_BASE); | 19 | + KIRKWOOD_PCIE_IO_VIRT_BASE); |
20 | } | 20 | } |
21 | 21 | ||
diff --git a/arch/arm/mach-kirkwood/include/mach/kirkwood.h b/arch/arm/mach-kirkwood/include/mach/kirkwood.h index 54c132731d2d..a15cf0ee22bd 100644 --- a/arch/arm/mach-kirkwood/include/mach/kirkwood.h +++ b/arch/arm/mach-kirkwood/include/mach/kirkwood.h | |||
@@ -43,6 +43,7 @@ | |||
43 | #define KIRKWOOD_REGS_SIZE SZ_1M | 43 | #define KIRKWOOD_REGS_SIZE SZ_1M |
44 | 44 | ||
45 | #define KIRKWOOD_PCIE_MEM_PHYS_BASE 0xe0000000 | 45 | #define KIRKWOOD_PCIE_MEM_PHYS_BASE 0xe0000000 |
46 | #define KIRKWOOD_PCIE_MEM_BUS_BASE 0xe0000000 | ||
46 | #define KIRKWOOD_PCIE_MEM_SIZE SZ_128M | 47 | #define KIRKWOOD_PCIE_MEM_SIZE SZ_128M |
47 | 48 | ||
48 | /* | 49 | /* |
diff --git a/arch/arm/mach-kirkwood/openrd_base-setup.c b/arch/arm/mach-kirkwood/openrd_base-setup.c index 947dfb8cd5b2..77617c722299 100644 --- a/arch/arm/mach-kirkwood/openrd_base-setup.c +++ b/arch/arm/mach-kirkwood/openrd_base-setup.c | |||
@@ -70,8 +70,20 @@ static void __init openrd_base_init(void) | |||
70 | kirkwood_ge00_init(&openrd_base_ge00_data); | 70 | kirkwood_ge00_init(&openrd_base_ge00_data); |
71 | kirkwood_sata_init(&openrd_base_sata_data); | 71 | kirkwood_sata_init(&openrd_base_sata_data); |
72 | kirkwood_sdio_init(&openrd_base_mvsdio_data); | 72 | kirkwood_sdio_init(&openrd_base_mvsdio_data); |
73 | |||
74 | kirkwood_i2c_init(); | ||
73 | } | 75 | } |
74 | 76 | ||
77 | static int __init openrd_base_pci_init(void) | ||
78 | { | ||
79 | if (machine_is_openrd_base()) | ||
80 | kirkwood_pcie_init(); | ||
81 | |||
82 | return 0; | ||
83 | } | ||
84 | subsys_initcall(openrd_base_pci_init); | ||
85 | |||
86 | |||
75 | MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board") | 87 | MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board") |
76 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ | 88 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ |
77 | .phys_io = KIRKWOOD_REGS_PHYS_BASE, | 89 | .phys_io = KIRKWOOD_REGS_PHYS_BASE, |
diff --git a/arch/arm/mach-kirkwood/pcie.c b/arch/arm/mach-kirkwood/pcie.c index d90b9aae308d..a604b2a701aa 100644 --- a/arch/arm/mach-kirkwood/pcie.c +++ b/arch/arm/mach-kirkwood/pcie.c | |||
@@ -93,7 +93,7 @@ static struct pci_ops pcie_ops = { | |||
93 | }; | 93 | }; |
94 | 94 | ||
95 | 95 | ||
96 | static int kirkwood_pcie_setup(int nr, struct pci_sys_data *sys) | 96 | static int __init kirkwood_pcie_setup(int nr, struct pci_sys_data *sys) |
97 | { | 97 | { |
98 | struct resource *res; | 98 | struct resource *res; |
99 | extern unsigned int kirkwood_clk_ctrl; | 99 | extern unsigned int kirkwood_clk_ctrl; |
@@ -115,7 +115,7 @@ static int kirkwood_pcie_setup(int nr, struct pci_sys_data *sys) | |||
115 | */ | 115 | */ |
116 | res[0].name = "PCIe I/O Space"; | 116 | res[0].name = "PCIe I/O Space"; |
117 | res[0].flags = IORESOURCE_IO; | 117 | res[0].flags = IORESOURCE_IO; |
118 | res[0].start = KIRKWOOD_PCIE_IO_PHYS_BASE; | 118 | res[0].start = KIRKWOOD_PCIE_IO_BUS_BASE; |
119 | res[0].end = res[0].start + KIRKWOOD_PCIE_IO_SIZE - 1; | 119 | res[0].end = res[0].start + KIRKWOOD_PCIE_IO_SIZE - 1; |
120 | if (request_resource(&ioport_resource, &res[0])) | 120 | if (request_resource(&ioport_resource, &res[0])) |
121 | panic("Request PCIe IO resource failed\n"); | 121 | panic("Request PCIe IO resource failed\n"); |
@@ -126,7 +126,7 @@ static int kirkwood_pcie_setup(int nr, struct pci_sys_data *sys) | |||
126 | */ | 126 | */ |
127 | res[1].name = "PCIe Memory Space"; | 127 | res[1].name = "PCIe Memory Space"; |
128 | res[1].flags = IORESOURCE_MEM; | 128 | res[1].flags = IORESOURCE_MEM; |
129 | res[1].start = KIRKWOOD_PCIE_MEM_PHYS_BASE; | 129 | res[1].start = KIRKWOOD_PCIE_MEM_BUS_BASE; |
130 | res[1].end = res[1].start + KIRKWOOD_PCIE_MEM_SIZE - 1; | 130 | res[1].end = res[1].start + KIRKWOOD_PCIE_MEM_SIZE - 1; |
131 | if (request_resource(&iomem_resource, &res[1])) | 131 | if (request_resource(&iomem_resource, &res[1])) |
132 | panic("Request PCIe Memory resource failed\n"); | 132 | panic("Request PCIe Memory resource failed\n"); |
diff --git a/arch/arm/mach-ks8695/include/mach/regs-switch.h b/arch/arm/mach-ks8695/include/mach/regs-switch.h index 56d12e8de895..97e8acb1cf6c 100644 --- a/arch/arm/mach-ks8695/include/mach/regs-switch.h +++ b/arch/arm/mach-ks8695/include/mach/regs-switch.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #define KS8695_SEC1 (0x04) /* Switch Engine Control 1 */ | 25 | #define KS8695_SEC1 (0x04) /* Switch Engine Control 1 */ |
26 | #define KS8695_SEC2 (0x08) /* Switch Engine Control 2 */ | 26 | #define KS8695_SEC2 (0x08) /* Switch Engine Control 2 */ |
27 | 27 | ||
28 | #define KS8695_P(x)_C(z) (0xc0 + (((x)-1)*3 + ((z)-1))*4) /* Port Configuration Registers */ | 28 | #define KS8695_SEPXCZ(x,z) (0x0c + (((x)-1)*3 + ((z)-1))*4) /* Port Configuration Registers */ |
29 | 29 | ||
30 | #define KS8695_SEP12AN (0x48) /* Port 1 & 2 Auto-Negotiation */ | 30 | #define KS8695_SEP12AN (0x48) /* Port 1 & 2 Auto-Negotiation */ |
31 | #define KS8695_SEP34AN (0x4c) /* Port 3 & 4 Auto-Negotiation */ | 31 | #define KS8695_SEP34AN (0x4c) /* Port 3 & 4 Auto-Negotiation */ |
diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa910.h b/arch/arm/mach-mmp/include/mach/mfp-pxa910.h index bf1189ff9a34..7e8a80f25ddc 100644 --- a/arch/arm/mach-mmp/include/mach/mfp-pxa910.h +++ b/arch/arm/mach-mmp/include/mach/mfp-pxa910.h | |||
@@ -160,7 +160,7 @@ | |||
160 | #define MMC1_WP_MMC1_WP MFP_CFG_DRV(MMC1_WP, AF0, MEDIUM) | 160 | #define MMC1_WP_MMC1_WP MFP_CFG_DRV(MMC1_WP, AF0, MEDIUM) |
161 | 161 | ||
162 | /* PWM */ | 162 | /* PWM */ |
163 | #define GPIO27 PWM3 AF2 MFP_CFG(GPIO27, AF2) | 163 | #define GPIO27_PWM3_AF2 MFP_CFG(GPIO27, AF2) |
164 | #define GPIO51_PWM2_OUT MFP_CFG(GPIO51, AF2) | 164 | #define GPIO51_PWM2_OUT MFP_CFG(GPIO51, AF2) |
165 | #define GPIO117_PWM1_OUT MFP_CFG(GPIO117, AF2) | 165 | #define GPIO117_PWM1_OUT MFP_CFG(GPIO117, AF2) |
166 | #define GPIO118_PWM2_OUT MFP_CFG(GPIO118, AF2) | 166 | #define GPIO118_PWM2_OUT MFP_CFG(GPIO118, AF2) |
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 1b22e4af8791..08465eb6a2c2 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/arch/arm/mach-mv78xx0/common.c | |||
@@ -845,6 +845,8 @@ static char * __init mv78xx0_id(void) | |||
845 | } else if (dev == MV78100_DEV_ID) { | 845 | } else if (dev == MV78100_DEV_ID) { |
846 | if (rev == MV78100_REV_A0) | 846 | if (rev == MV78100_REV_A0) |
847 | return "MV78100-A0"; | 847 | return "MV78100-A0"; |
848 | else if (rev == MV78100_REV_A1) | ||
849 | return "MV78100-A1"; | ||
848 | else | 850 | else |
849 | return "MV78100-Rev-Unsupported"; | 851 | return "MV78100-Rev-Unsupported"; |
850 | } else if (dev == MV78200_DEV_ID) { | 852 | } else if (dev == MV78200_DEV_ID) { |
diff --git a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h index d715b92b0908..788bdace1304 100644 --- a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h +++ b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | |||
@@ -112,6 +112,7 @@ | |||
112 | 112 | ||
113 | #define MV78100_DEV_ID 0x7810 | 113 | #define MV78100_DEV_ID 0x7810 |
114 | #define MV78100_REV_A0 1 | 114 | #define MV78100_REV_A0 1 |
115 | #define MV78100_REV_A1 2 | ||
115 | 116 | ||
116 | #define MV78200_DEV_ID 0x7820 | 117 | #define MV78200_DEV_ID 0x7820 |
117 | #define MV78200_REV_A0 1 | 118 | #define MV78200_REV_A0 1 |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 70df6b4dbcd4..08b0816afa61 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -162,7 +162,7 @@ static int beagle_twl_gpio_setup(struct device *dev, | |||
162 | 162 | ||
163 | /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */ | 163 | /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */ |
164 | gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR"); | 164 | gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR"); |
165 | gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1); | 165 | gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0); |
166 | 166 | ||
167 | /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */ | 167 | /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */ |
168 | gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1; | 168 | gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1; |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 5326e0d61597..7519edb69155 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -134,50 +134,50 @@ static void __init pandora_keys_gpio_init(void) | |||
134 | } | 134 | } |
135 | 135 | ||
136 | static int board_keymap[] = { | 136 | static int board_keymap[] = { |
137 | /* col, row, code */ | 137 | /* row, col, code */ |
138 | KEY(0, 0, KEY_9), | 138 | KEY(0, 0, KEY_9), |
139 | KEY(0, 1, KEY_0), | 139 | KEY(0, 1, KEY_8), |
140 | KEY(0, 2, KEY_BACKSPACE), | 140 | KEY(0, 2, KEY_I), |
141 | KEY(0, 3, KEY_O), | 141 | KEY(0, 3, KEY_J), |
142 | KEY(0, 4, KEY_P), | 142 | KEY(0, 4, KEY_N), |
143 | KEY(0, 5, KEY_K), | 143 | KEY(0, 5, KEY_M), |
144 | KEY(0, 6, KEY_L), | 144 | KEY(1, 0, KEY_0), |
145 | KEY(0, 7, KEY_ENTER), | ||
146 | KEY(1, 0, KEY_8), | ||
147 | KEY(1, 1, KEY_7), | 145 | KEY(1, 1, KEY_7), |
148 | KEY(1, 2, KEY_6), | 146 | KEY(1, 2, KEY_U), |
149 | KEY(1, 3, KEY_5), | 147 | KEY(1, 3, KEY_H), |
150 | KEY(1, 4, KEY_4), | 148 | KEY(1, 4, KEY_B), |
151 | KEY(1, 5, KEY_3), | 149 | KEY(1, 5, KEY_SPACE), |
152 | KEY(1, 6, KEY_2), | 150 | KEY(2, 0, KEY_BACKSPACE), |
153 | KEY(1, 7, KEY_1), | 151 | KEY(2, 1, KEY_6), |
154 | KEY(2, 0, KEY_I), | ||
155 | KEY(2, 1, KEY_U), | ||
156 | KEY(2, 2, KEY_Y), | 152 | KEY(2, 2, KEY_Y), |
157 | KEY(2, 3, KEY_T), | 153 | KEY(2, 3, KEY_G), |
158 | KEY(2, 4, KEY_R), | 154 | KEY(2, 4, KEY_V), |
159 | KEY(2, 5, KEY_E), | 155 | KEY(2, 5, KEY_FN), |
160 | KEY(2, 6, KEY_W), | 156 | KEY(3, 0, KEY_O), |
161 | KEY(2, 7, KEY_Q), | 157 | KEY(3, 1, KEY_5), |
162 | KEY(3, 0, KEY_J), | 158 | KEY(3, 2, KEY_T), |
163 | KEY(3, 1, KEY_H), | ||
164 | KEY(3, 2, KEY_G), | ||
165 | KEY(3, 3, KEY_F), | 159 | KEY(3, 3, KEY_F), |
166 | KEY(3, 4, KEY_D), | 160 | KEY(3, 4, KEY_C), |
167 | KEY(3, 5, KEY_S), | 161 | KEY(4, 0, KEY_P), |
168 | KEY(3, 6, KEY_A), | 162 | KEY(4, 1, KEY_4), |
169 | KEY(3, 7, KEY_LEFTSHIFT), | 163 | KEY(4, 2, KEY_R), |
170 | KEY(4, 0, KEY_N), | 164 | KEY(4, 3, KEY_D), |
171 | KEY(4, 1, KEY_B), | ||
172 | KEY(4, 2, KEY_V), | ||
173 | KEY(4, 3, KEY_C), | ||
174 | KEY(4, 4, KEY_X), | 165 | KEY(4, 4, KEY_X), |
175 | KEY(4, 5, KEY_Z), | 166 | KEY(5, 0, KEY_K), |
176 | KEY(4, 6, KEY_DOT), | 167 | KEY(5, 1, KEY_3), |
177 | KEY(4, 7, KEY_COMMA), | 168 | KEY(5, 2, KEY_E), |
178 | KEY(5, 0, KEY_M), | 169 | KEY(5, 3, KEY_S), |
179 | KEY(5, 1, KEY_SPACE), | 170 | KEY(5, 4, KEY_Z), |
180 | KEY(5, 2, KEY_FN), | 171 | KEY(6, 0, KEY_L), |
172 | KEY(6, 1, KEY_2), | ||
173 | KEY(6, 2, KEY_W), | ||
174 | KEY(6, 3, KEY_A), | ||
175 | KEY(6, 4, KEY_DOT), | ||
176 | KEY(7, 0, KEY_ENTER), | ||
177 | KEY(7, 1, KEY_1), | ||
178 | KEY(7, 2, KEY_Q), | ||
179 | KEY(7, 3, KEY_LEFTSHIFT), | ||
180 | KEY(7, 4, KEY_COMMA), | ||
181 | }; | 181 | }; |
182 | 182 | ||
183 | static struct matrix_keymap_data board_map_data = { | 183 | static struct matrix_keymap_data board_map_data = { |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index ea00486a5e53..51e0b3ba5f3a 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -30,57 +30,56 @@ | |||
30 | /* Zoom2 has Qwerty keyboard*/ | 30 | /* Zoom2 has Qwerty keyboard*/ |
31 | static int board_keymap[] = { | 31 | static int board_keymap[] = { |
32 | KEY(0, 0, KEY_E), | 32 | KEY(0, 0, KEY_E), |
33 | KEY(1, 0, KEY_R), | 33 | KEY(0, 1, KEY_R), |
34 | KEY(2, 0, KEY_T), | 34 | KEY(0, 2, KEY_T), |
35 | KEY(3, 0, KEY_HOME), | 35 | KEY(0, 3, KEY_HOME), |
36 | KEY(6, 0, KEY_I), | 36 | KEY(0, 6, KEY_I), |
37 | KEY(7, 0, KEY_LEFTSHIFT), | 37 | KEY(0, 7, KEY_LEFTSHIFT), |
38 | KEY(0, 1, KEY_D), | 38 | KEY(1, 0, KEY_D), |
39 | KEY(1, 1, KEY_F), | 39 | KEY(1, 1, KEY_F), |
40 | KEY(2, 1, KEY_G), | 40 | KEY(1, 2, KEY_G), |
41 | KEY(3, 1, KEY_SEND), | 41 | KEY(1, 3, KEY_SEND), |
42 | KEY(6, 1, KEY_K), | 42 | KEY(1, 6, KEY_K), |
43 | KEY(7, 1, KEY_ENTER), | 43 | KEY(1, 7, KEY_ENTER), |
44 | KEY(0, 2, KEY_X), | 44 | KEY(2, 0, KEY_X), |
45 | KEY(1, 2, KEY_C), | 45 | KEY(2, 1, KEY_C), |
46 | KEY(2, 2, KEY_V), | 46 | KEY(2, 2, KEY_V), |
47 | KEY(3, 2, KEY_END), | 47 | KEY(2, 3, KEY_END), |
48 | KEY(6, 2, KEY_DOT), | 48 | KEY(2, 6, KEY_DOT), |
49 | KEY(7, 2, KEY_CAPSLOCK), | 49 | KEY(2, 7, KEY_CAPSLOCK), |
50 | KEY(0, 3, KEY_Z), | 50 | KEY(3, 0, KEY_Z), |
51 | KEY(1, 3, KEY_KPPLUS), | 51 | KEY(3, 1, KEY_KPPLUS), |
52 | KEY(2, 3, KEY_B), | 52 | KEY(3, 2, KEY_B), |
53 | KEY(3, 3, KEY_F1), | 53 | KEY(3, 3, KEY_F1), |
54 | KEY(6, 3, KEY_O), | 54 | KEY(3, 6, KEY_O), |
55 | KEY(7, 3, KEY_SPACE), | 55 | KEY(3, 7, KEY_SPACE), |
56 | KEY(0, 4, KEY_W), | 56 | KEY(4, 0, KEY_W), |
57 | KEY(1, 4, KEY_Y), | 57 | KEY(4, 1, KEY_Y), |
58 | KEY(2, 4, KEY_U), | 58 | KEY(4, 2, KEY_U), |
59 | KEY(3, 4, KEY_F2), | 59 | KEY(4, 3, KEY_F2), |
60 | KEY(4, 4, KEY_VOLUMEUP), | 60 | KEY(4, 4, KEY_VOLUMEUP), |
61 | KEY(6, 4, KEY_L), | 61 | KEY(4, 6, KEY_L), |
62 | KEY(7, 4, KEY_LEFT), | 62 | KEY(4, 7, KEY_LEFT), |
63 | KEY(0, 5, KEY_S), | 63 | KEY(5, 0, KEY_S), |
64 | KEY(1, 5, KEY_H), | 64 | KEY(5, 1, KEY_H), |
65 | KEY(2, 5, KEY_J), | 65 | KEY(5, 2, KEY_J), |
66 | KEY(3, 5, KEY_F3), | 66 | KEY(5, 3, KEY_F3), |
67 | KEY(5, 5, KEY_VOLUMEDOWN), | 67 | KEY(5, 5, KEY_VOLUMEDOWN), |
68 | KEY(6, 5, KEY_M), | 68 | KEY(5, 6, KEY_M), |
69 | KEY(4, 5, KEY_ENTER), | 69 | KEY(5, 7, KEY_ENTER), |
70 | KEY(7, 5, KEY_RIGHT), | 70 | KEY(6, 0, KEY_Q), |
71 | KEY(0, 6, KEY_Q), | 71 | KEY(6, 1, KEY_A), |
72 | KEY(1, 6, KEY_A), | 72 | KEY(6, 2, KEY_N), |
73 | KEY(2, 6, KEY_N), | 73 | KEY(6, 3, KEY_BACKSPACE), |
74 | KEY(3, 6, KEY_BACKSPACE), | ||
75 | KEY(6, 6, KEY_P), | 74 | KEY(6, 6, KEY_P), |
76 | KEY(7, 6, KEY_UP), | ||
77 | KEY(6, 7, KEY_SELECT), | 75 | KEY(6, 7, KEY_SELECT), |
78 | KEY(7, 7, KEY_DOWN), | 76 | KEY(7, 0, KEY_PROG1), /*MACRO 1 <User defined> */ |
79 | KEY(0, 7, KEY_PROG1), /*MACRO 1 <User defined> */ | 77 | KEY(7, 1, KEY_PROG2), /*MACRO 2 <User defined> */ |
80 | KEY(1, 7, KEY_PROG2), /*MACRO 2 <User defined> */ | 78 | KEY(7, 2, KEY_PROG3), /*MACRO 3 <User defined> */ |
81 | KEY(2, 7, KEY_PROG3), /*MACRO 3 <User defined> */ | 79 | KEY(7, 3, KEY_PROG4), /*MACRO 4 <User defined> */ |
82 | KEY(3, 7, KEY_PROG4), /*MACRO 4 <User defined> */ | 80 | KEY(7, 5, KEY_RIGHT), |
83 | 0 | 81 | KEY(7, 6, KEY_UP), |
82 | KEY(7, 7, KEY_DOWN) | ||
84 | }; | 83 | }; |
85 | 84 | ||
86 | static struct matrix_keymap_data board_map_data = { | 85 | static struct matrix_keymap_data board_map_data = { |
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 489556eecbd1..7c5c00df3c70 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -473,7 +473,7 @@ static u16 _omap3_dpll_compute_freqsel(struct clk *clk, u8 n) | |||
473 | unsigned long fint; | 473 | unsigned long fint; |
474 | u16 f = 0; | 474 | u16 f = 0; |
475 | 475 | ||
476 | fint = clk->dpll_data->clk_ref->rate / (n + 1); | 476 | fint = clk->dpll_data->clk_ref->rate / n; |
477 | 477 | ||
478 | pr_debug("clock: fint is %lu\n", fint); | 478 | pr_debug("clock: fint is %lu\n", fint); |
479 | 479 | ||
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index c8119781e00a..9565c05bebd2 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -489,9 +489,9 @@ static struct clk core_ck = { | |||
489 | static struct clk dpll3_m2x2_ck = { | 489 | static struct clk dpll3_m2x2_ck = { |
490 | .name = "dpll3_m2x2_ck", | 490 | .name = "dpll3_m2x2_ck", |
491 | .ops = &clkops_null, | 491 | .ops = &clkops_null, |
492 | .parent = &dpll3_x2_ck, | 492 | .parent = &dpll3_m2_ck, |
493 | .clkdm_name = "dpll3_clkdm", | 493 | .clkdm_name = "dpll3_clkdm", |
494 | .recalc = &followparent_recalc, | 494 | .recalc = &omap3_clkoutx2_recalc, |
495 | }; | 495 | }; |
496 | 496 | ||
497 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 497 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 15876828db23..f3c992e29651 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -366,7 +366,7 @@ int gpmc_cs_request(int cs, unsigned long size, unsigned long *base) | |||
366 | if (r < 0) | 366 | if (r < 0) |
367 | goto out; | 367 | goto out; |
368 | 368 | ||
369 | gpmc_cs_enable_mem(cs, res->start, res->end - res->start + 1); | 369 | gpmc_cs_enable_mem(cs, res->start, resource_size(res)); |
370 | *base = res->start; | 370 | *base = res->start; |
371 | gpmc_cs_set_reserved(cs, 1); | 371 | gpmc_cs_set_reserved(cs, 1); |
372 | out: | 372 | out: |
@@ -378,7 +378,7 @@ EXPORT_SYMBOL(gpmc_cs_request); | |||
378 | void gpmc_cs_free(int cs) | 378 | void gpmc_cs_free(int cs) |
379 | { | 379 | { |
380 | spin_lock(&gpmc_mem_lock); | 380 | spin_lock(&gpmc_mem_lock); |
381 | if (cs >= GPMC_CS_NUM || !gpmc_cs_reserved(cs)) { | 381 | if (cs >= GPMC_CS_NUM || cs < 0 || !gpmc_cs_reserved(cs)) { |
382 | printk(KERN_ERR "Trying to free non-reserved GPMC CS%d\n", cs); | 382 | printk(KERN_ERR "Trying to free non-reserved GPMC CS%d\n", cs); |
383 | BUG(); | 383 | BUG(); |
384 | spin_unlock(&gpmc_mem_lock); | 384 | spin_unlock(&gpmc_mem_lock); |
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index c035ad3426d0..ef57b38a56a4 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c | |||
@@ -300,7 +300,7 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev) | |||
300 | dev_err(&pdev->dev, "invalid mem resource\n"); | 300 | dev_err(&pdev->dev, "invalid mem resource\n"); |
301 | return -ENODEV; | 301 | return -ENODEV; |
302 | } | 302 | } |
303 | mbox_base = ioremap(res->start, res->end - res->start); | 303 | mbox_base = ioremap(res->start, resource_size(res)); |
304 | if (!mbox_base) | 304 | if (!mbox_base) |
305 | return -ENOMEM; | 305 | return -ENOMEM; |
306 | 306 | ||
diff --git a/arch/arm/mach-pxa/colibri-pxa320.c b/arch/arm/mach-pxa/colibri-pxa320.c index 494572825c7d..ec0e14b96682 100644 --- a/arch/arm/mach-pxa/colibri-pxa320.c +++ b/arch/arm/mach-pxa/colibri-pxa320.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <mach/colibri.h> | 27 | #include <mach/colibri.h> |
28 | #include <mach/pxafb.h> | 28 | #include <mach/pxafb.h> |
29 | #include <mach/ohci.h> | 29 | #include <mach/ohci.h> |
30 | #include <mach/audio.h> | ||
30 | 31 | ||
31 | #include "generic.h" | 32 | #include "generic.h" |
32 | #include "devices.h" | 33 | #include "devices.h" |
@@ -145,7 +146,8 @@ static void __init colibri_pxa320_init_lcd(void) | |||
145 | static inline void colibri_pxa320_init_lcd(void) {} | 146 | static inline void colibri_pxa320_init_lcd(void) {} |
146 | #endif | 147 | #endif |
147 | 148 | ||
148 | #if defined(SND_AC97_CODEC) || defined(SND_AC97_CODEC_MODULE) | 149 | #if defined(CONFIG_SND_AC97_CODEC) || \ |
150 | defined(CONFIG_SND_AC97_CODEC_MODULE) | ||
149 | static mfp_cfg_t colibri_pxa320_ac97_pin_config[] __initdata = { | 151 | static mfp_cfg_t colibri_pxa320_ac97_pin_config[] __initdata = { |
150 | GPIO34_AC97_SYSCLK, | 152 | GPIO34_AC97_SYSCLK, |
151 | GPIO35_AC97_SDATA_IN_0, | 153 | GPIO35_AC97_SDATA_IN_0, |
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index abff9e132749..83bd3c6e3884 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c | |||
@@ -604,7 +604,7 @@ static struct platform_device gpio_vbus = { | |||
604 | static const struct ads7846_platform_data tsc2046_info = { | 604 | static const struct ads7846_platform_data tsc2046_info = { |
605 | .model = 7846, | 605 | .model = 7846, |
606 | .vref_delay_usecs = 100, | 606 | .vref_delay_usecs = 100, |
607 | .pressure_max = 512, | 607 | .pressure_max = 1024, |
608 | .debounce_max = 10, | 608 | .debounce_max = 10, |
609 | .debounce_tol = 3, | 609 | .debounce_tol = 3, |
610 | .debounce_rep = 1, | 610 | .debounce_rep = 1, |
diff --git a/arch/arm/mach-pxa/include/mach/entry-macro.S b/arch/arm/mach-pxa/include/mach/entry-macro.S index 241880608ac6..a73bc86a3c26 100644 --- a/arch/arm/mach-pxa/include/mach/entry-macro.S +++ b/arch/arm/mach-pxa/include/mach/entry-macro.S | |||
@@ -46,5 +46,6 @@ | |||
46 | beq 1001f | 46 | beq 1001f |
47 | bic \irqstat, \irqstat, #0x80000000 | 47 | bic \irqstat, \irqstat, #0x80000000 |
48 | mov \irqnr, \irqstat, lsr #16 | 48 | mov \irqnr, \irqstat, lsr #16 |
49 | add \irqnr, \irqnr, #(PXA_IRQ(0)) | ||
49 | 1001: | 50 | 1001: |
50 | .endm | 51 | .endm |
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index d694ce289668..6112af431fa4 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include "generic.h" | 26 | #include "generic.h" |
27 | 27 | ||
28 | #define MAX_INTERNAL_IRQS 128 | ||
29 | |||
28 | #define IRQ_BIT(n) (((n) - PXA_IRQ(0)) & 0x1f) | 30 | #define IRQ_BIT(n) (((n) - PXA_IRQ(0)) & 0x1f) |
29 | #define _ICMR(n) (*((((n) - PXA_IRQ(0)) & ~0x1f) ? &ICMR2 : &ICMR)) | 31 | #define _ICMR(n) (*((((n) - PXA_IRQ(0)) & ~0x1f) ? &ICMR2 : &ICMR)) |
30 | #define _ICLR(n) (*((((n) - PXA_IRQ(0)) & ~0x1f) ? &ICLR2 : &ICLR)) | 32 | #define _ICLR(n) (*((((n) - PXA_IRQ(0)) & ~0x1f) ? &ICLR2 : &ICLR)) |
@@ -122,6 +124,8 @@ void __init pxa_init_irq(int irq_nr, set_wake_t fn) | |||
122 | { | 124 | { |
123 | int irq, i; | 125 | int irq, i; |
124 | 126 | ||
127 | BUG_ON(irq_nr > MAX_INTERNAL_IRQS); | ||
128 | |||
125 | pxa_internal_irq_nr = irq_nr; | 129 | pxa_internal_irq_nr = irq_nr; |
126 | 130 | ||
127 | for (irq = PXA_IRQ(0); irq < PXA_IRQ(irq_nr); irq += 32) { | 131 | for (irq = PXA_IRQ(0); irq < PXA_IRQ(irq_nr); irq += 32) { |
@@ -149,7 +153,8 @@ void __init pxa_init_irq(int irq_nr, set_wake_t fn) | |||
149 | } | 153 | } |
150 | 154 | ||
151 | #ifdef CONFIG_PM | 155 | #ifdef CONFIG_PM |
152 | static unsigned long saved_icmr[2]; | 156 | static unsigned long saved_icmr[MAX_INTERNAL_IRQS/32]; |
157 | static unsigned long saved_ipr[MAX_INTERNAL_IRQS]; | ||
153 | 158 | ||
154 | static int pxa_irq_suspend(struct sys_device *dev, pm_message_t state) | 159 | static int pxa_irq_suspend(struct sys_device *dev, pm_message_t state) |
155 | { | 160 | { |
@@ -159,6 +164,8 @@ static int pxa_irq_suspend(struct sys_device *dev, pm_message_t state) | |||
159 | saved_icmr[i] = _ICMR(irq); | 164 | saved_icmr[i] = _ICMR(irq); |
160 | _ICMR(irq) = 0; | 165 | _ICMR(irq) = 0; |
161 | } | 166 | } |
167 | for (i = 0; i < pxa_internal_irq_nr; i++) | ||
168 | saved_ipr[i] = IPR(i); | ||
162 | 169 | ||
163 | return 0; | 170 | return 0; |
164 | } | 171 | } |
@@ -171,6 +178,8 @@ static int pxa_irq_resume(struct sys_device *dev) | |||
171 | _ICMR(irq) = saved_icmr[i]; | 178 | _ICMR(irq) = saved_icmr[i]; |
172 | _ICLR(irq) = 0; | 179 | _ICLR(irq) = 0; |
173 | } | 180 | } |
181 | for (i = 0; i < pxa_internal_irq_nr; i++) | ||
182 | IPR(i) = saved_ipr[i]; | ||
174 | 183 | ||
175 | ICCR = 1; | 184 | ICCR = 1; |
176 | return 0; | 185 | return 0; |
diff --git a/arch/arm/mach-pxa/palmtc.c b/arch/arm/mach-pxa/palmtc.c index bb2cc0dd44ec..0b92291a58f6 100644 --- a/arch/arm/mach-pxa/palmtc.c +++ b/arch/arm/mach-pxa/palmtc.c | |||
@@ -292,10 +292,10 @@ const static unsigned int palmtc_keypad_col_gpios[] = { | |||
292 | 292 | ||
293 | static struct matrix_keypad_platform_data palmtc_keypad_platform_data = { | 293 | static struct matrix_keypad_platform_data palmtc_keypad_platform_data = { |
294 | .keymap_data = &palmtc_keymap_data, | 294 | .keymap_data = &palmtc_keymap_data, |
295 | .col_gpios = palmtc_keypad_row_gpios, | 295 | .row_gpios = palmtc_keypad_row_gpios, |
296 | .num_col_gpios = 12, | 296 | .num_row_gpios = ARRAY_SIZE(palmtc_keypad_row_gpios), |
297 | .row_gpios = palmtc_keypad_col_gpios, | 297 | .col_gpios = palmtc_keypad_col_gpios, |
298 | .num_row_gpios = 4, | 298 | .num_col_gpios = ARRAY_SIZE(palmtc_keypad_col_gpios), |
299 | .active_low = 1, | 299 | .active_low = 1, |
300 | 300 | ||
301 | .debounce_ms = 20, | 301 | .debounce_ms = 20, |
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 82ff5733e4dc..3da45d051743 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -779,11 +779,34 @@ static void __init common_init(void) | |||
779 | pxa_set_i2c_info(NULL); | 779 | pxa_set_i2c_info(NULL); |
780 | } | 780 | } |
781 | 781 | ||
782 | #if defined(CONFIG_MACH_AKITA) || defined(CONFIG_MACH_BORZOI) | ||
783 | static struct nand_bbt_descr sharpsl_akita_bbt = { | ||
784 | .options = 0, | ||
785 | .offs = 4, | ||
786 | .len = 1, | ||
787 | .pattern = scan_ff_pattern | ||
788 | }; | ||
789 | |||
790 | static struct nand_ecclayout akita_oobinfo = { | ||
791 | .eccbytes = 24, | ||
792 | .eccpos = { | ||
793 | 0x5, 0x1, 0x2, 0x3, 0x6, 0x7, 0x15, 0x11, | ||
794 | 0x12, 0x13, 0x16, 0x17, 0x25, 0x21, 0x22, 0x23, | ||
795 | 0x26, 0x27, 0x35, 0x31, 0x32, 0x33, 0x36, 0x37}, | ||
796 | .oobfree = {{0x08, 0x09}} | ||
797 | }; | ||
798 | #endif | ||
799 | |||
782 | #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) | 800 | #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) |
783 | static void __init spitz_init(void) | 801 | static void __init spitz_init(void) |
784 | { | 802 | { |
785 | spitz_ficp_platform_data.gpio_pwdown = SPITZ_GPIO_IR_ON; | 803 | spitz_ficp_platform_data.gpio_pwdown = SPITZ_GPIO_IR_ON; |
786 | 804 | ||
805 | if (machine_is_borzoi()) { | ||
806 | sharpsl_nand_platform_data.badblock_pattern = &sharpsl_akita_bbt; | ||
807 | sharpsl_nand_platform_data.ecc_layout = &akita_oobinfo; | ||
808 | } | ||
809 | |||
787 | platform_scoop_config = &spitz_pcmcia_config; | 810 | platform_scoop_config = &spitz_pcmcia_config; |
788 | 811 | ||
789 | common_init(); | 812 | common_init(); |
@@ -808,22 +831,6 @@ static struct i2c_board_info akita_i2c_board_info[] = { | |||
808 | }, | 831 | }, |
809 | }; | 832 | }; |
810 | 833 | ||
811 | static struct nand_bbt_descr sharpsl_akita_bbt = { | ||
812 | .options = 0, | ||
813 | .offs = 4, | ||
814 | .len = 1, | ||
815 | .pattern = scan_ff_pattern | ||
816 | }; | ||
817 | |||
818 | static struct nand_ecclayout akita_oobinfo = { | ||
819 | .eccbytes = 24, | ||
820 | .eccpos = { | ||
821 | 0x5, 0x1, 0x2, 0x3, 0x6, 0x7, 0x15, 0x11, | ||
822 | 0x12, 0x13, 0x16, 0x17, 0x25, 0x21, 0x22, 0x23, | ||
823 | 0x26, 0x27, 0x35, 0x31, 0x32, 0x33, 0x36, 0x37}, | ||
824 | .oobfree = {{0x08, 0x09}} | ||
825 | }; | ||
826 | |||
827 | static void __init akita_init(void) | 834 | static void __init akita_init(void) |
828 | { | 835 | { |
829 | spitz_ficp_platform_data.gpio_pwdown = AKITA_GPIO_IR_ON; | 836 | spitz_ficp_platform_data.gpio_pwdown = AKITA_GPIO_IR_ON; |
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index dfc9b0bc6eb2..c48e1f2c3349 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
@@ -70,6 +70,8 @@ config MACH_REALVIEW_PBX | |||
70 | bool "Support RealView/PBX platform" | 70 | bool "Support RealView/PBX platform" |
71 | select ARM_GIC | 71 | select ARM_GIC |
72 | select HAVE_PATA_PLATFORM | 72 | select HAVE_PATA_PLATFORM |
73 | select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !HIGH_PHYS_OFFSET | ||
74 | select ZONE_DMA if SPARSEMEM | ||
73 | help | 75 | help |
74 | Include support for the ARM(R) RealView PBX platform. | 76 | Include support for the ARM(R) RealView PBX platform. |
75 | 77 | ||
@@ -82,6 +84,7 @@ config REALVIEW_HIGH_PHYS_OFFSET | |||
82 | 0x70000000, 256MB of which being mirrored at 0x00000000. If | 84 | 0x70000000, 256MB of which being mirrored at 0x00000000. If |
83 | the board supports 512MB of RAM, this option allows the | 85 | the board supports 512MB of RAM, this option allows the |
84 | memory to be accessed contiguously at the high physical | 86 | memory to be accessed contiguously at the high physical |
85 | offset. | 87 | offset. On the PBX board, disabling this option allows 1GB of |
88 | RAM to be used with SPARSEMEM. | ||
86 | 89 | ||
87 | endmenu | 90 | endmenu |
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index a2083b60e3fb..9f293438e020 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -59,6 +59,25 @@ | |||
59 | /* used by entry-macro.S and platsmp.c */ | 59 | /* used by entry-macro.S and platsmp.c */ |
60 | void __iomem *gic_cpu_base_addr; | 60 | void __iomem *gic_cpu_base_addr; |
61 | 61 | ||
62 | #ifdef CONFIG_ZONE_DMA | ||
63 | /* | ||
64 | * Adjust the zones if there are restrictions for DMA access. | ||
65 | */ | ||
66 | void __init realview_adjust_zones(int node, unsigned long *size, | ||
67 | unsigned long *hole) | ||
68 | { | ||
69 | unsigned long dma_size = SZ_256M >> PAGE_SHIFT; | ||
70 | |||
71 | if (!machine_is_realview_pbx() || node || (size[0] <= dma_size)) | ||
72 | return; | ||
73 | |||
74 | size[ZONE_NORMAL] = size[0] - dma_size; | ||
75 | size[ZONE_DMA] = dma_size; | ||
76 | hole[ZONE_NORMAL] = hole[0]; | ||
77 | hole[ZONE_DMA] = 0; | ||
78 | } | ||
79 | #endif | ||
80 | |||
62 | /* | 81 | /* |
63 | * This is the RealView sched_clock implementation. This has | 82 | * This is the RealView sched_clock implementation. This has |
64 | * a resolution of 41.7ns, and a maximum value of about 179s. | 83 | * a resolution of 41.7ns, and a maximum value of about 179s. |
@@ -543,7 +562,7 @@ static int realview_clcd_setup(struct clcd_fb *fb) | |||
543 | fb->panel = realview_clcd_panel(); | 562 | fb->panel = realview_clcd_panel(); |
544 | 563 | ||
545 | fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, framesize, | 564 | fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, framesize, |
546 | &dma, GFP_KERNEL); | 565 | &dma, GFP_KERNEL | GFP_DMA); |
547 | if (!fb->fb.screen_base) { | 566 | if (!fb->fb.screen_base) { |
548 | printk(KERN_ERR "CLCD: unable to map framebuffer\n"); | 567 | printk(KERN_ERR "CLCD: unable to map framebuffer\n"); |
549 | return -ENOMEM; | 568 | return -ENOMEM; |
@@ -788,3 +807,24 @@ void __init realview_timer_init(unsigned int timer_irq) | |||
788 | realview_clocksource_init(); | 807 | realview_clocksource_init(); |
789 | realview_clockevents_init(timer_irq); | 808 | realview_clockevents_init(timer_irq); |
790 | } | 809 | } |
810 | |||
811 | /* | ||
812 | * Setup the memory banks. | ||
813 | */ | ||
814 | void realview_fixup(struct machine_desc *mdesc, struct tag *tags, char **from, | ||
815 | struct meminfo *meminfo) | ||
816 | { | ||
817 | /* | ||
818 | * Most RealView platforms have 512MB contiguous RAM at 0x70000000. | ||
819 | * Half of this is mirrored at 0. | ||
820 | */ | ||
821 | #ifdef CONFIG_REALVIEW_HIGH_PHYS_OFFSET | ||
822 | meminfo->bank[0].start = 0x70000000; | ||
823 | meminfo->bank[0].size = SZ_512M; | ||
824 | meminfo->nr_banks = 1; | ||
825 | #else | ||
826 | meminfo->bank[0].start = 0; | ||
827 | meminfo->bank[0].size = SZ_256M; | ||
828 | meminfo->nr_banks = 1; | ||
829 | #endif | ||
830 | } | ||
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h index 699671fa6e0b..781bca68a9fa 100644 --- a/arch/arm/mach-realview/core.h +++ b/arch/arm/mach-realview/core.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/amba/bus.h> | 25 | #include <linux/amba/bus.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | 27 | ||
28 | #include <asm/setup.h> | ||
28 | #include <asm/leds.h> | 29 | #include <asm/leds.h> |
29 | 30 | ||
30 | #define AMBA_DEVICE(name,busid,base,plat) \ | 31 | #define AMBA_DEVICE(name,busid,base,plat) \ |
@@ -44,6 +45,8 @@ static struct amba_device name##_device = { \ | |||
44 | /* .dma = base##_DMA,*/ \ | 45 | /* .dma = base##_DMA,*/ \ |
45 | } | 46 | } |
46 | 47 | ||
48 | struct machine_desc; | ||
49 | |||
47 | extern struct platform_device realview_flash_device; | 50 | extern struct platform_device realview_flash_device; |
48 | extern struct platform_device realview_cf_device; | 51 | extern struct platform_device realview_cf_device; |
49 | extern struct platform_device realview_i2c_device; | 52 | extern struct platform_device realview_i2c_device; |
@@ -61,5 +64,8 @@ extern void realview_timer_init(unsigned int timer_irq); | |||
61 | extern int realview_flash_register(struct resource *res, u32 num); | 64 | extern int realview_flash_register(struct resource *res, u32 num); |
62 | extern int realview_eth_register(const char *name, struct resource *res); | 65 | extern int realview_eth_register(const char *name, struct resource *res); |
63 | extern int realview_usb_register(struct resource *res); | 66 | extern int realview_usb_register(struct resource *res); |
67 | extern void realview_fixup(struct machine_desc *mdesc, struct tag *tags, | ||
68 | char **from, struct meminfo *meminfo); | ||
64 | extern void (*realview_reset)(char); | 69 | extern void (*realview_reset)(char); |
70 | |||
65 | #endif | 71 | #endif |
diff --git a/arch/arm/mach-realview/include/mach/memory.h b/arch/arm/mach-realview/include/mach/memory.h index 293c30025e7e..2417bbcf97fd 100644 --- a/arch/arm/mach-realview/include/mach/memory.h +++ b/arch/arm/mach-realview/include/mach/memory.h | |||
@@ -29,4 +29,53 @@ | |||
29 | #define PHYS_OFFSET UL(0x00000000) | 29 | #define PHYS_OFFSET UL(0x00000000) |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #if !defined(__ASSEMBLY__) && defined(CONFIG_ZONE_DMA) | ||
33 | extern void realview_adjust_zones(int node, unsigned long *size, | ||
34 | unsigned long *hole); | ||
35 | #define arch_adjust_zones(node, size, hole) \ | ||
36 | realview_adjust_zones(node, size, hole) | ||
37 | |||
38 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1) | ||
39 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) | ||
40 | #endif | ||
41 | |||
42 | #ifdef CONFIG_SPARSEMEM | ||
43 | |||
44 | /* | ||
45 | * Sparsemem definitions for RealView PBX. | ||
46 | * | ||
47 | * The RealView PBX board has another block of 512MB of RAM at 0x20000000, | ||
48 | * however only the block at 0x70000000 (or the 256MB mirror at 0x00000000) | ||
49 | * may be used for DMA. | ||
50 | * | ||
51 | * The macros below define a section size of 256MB and a non-linear virtual to | ||
52 | * physical mapping: | ||
53 | * | ||
54 | * 256MB @ 0x00000000 -> PAGE_OFFSET | ||
55 | * 512MB @ 0x20000000 -> PAGE_OFFSET + 0x10000000 | ||
56 | * 256MB @ 0x80000000 -> PAGE_OFFSET + 0x30000000 | ||
57 | */ | ||
58 | #ifdef CONFIG_REALVIEW_HIGH_PHYS_OFFSET | ||
59 | #error "SPARSEMEM not available with REALVIEW_HIGH_PHYS_OFFSET" | ||
60 | #endif | ||
61 | |||
62 | #define MAX_PHYSMEM_BITS 32 | ||
63 | #define SECTION_SIZE_BITS 28 | ||
64 | |||
65 | /* bank page offsets */ | ||
66 | #define PAGE_OFFSET1 (PAGE_OFFSET + 0x10000000) | ||
67 | #define PAGE_OFFSET2 (PAGE_OFFSET + 0x30000000) | ||
68 | |||
69 | #define __phys_to_virt(phys) \ | ||
70 | ((phys) >= 0x80000000 ? (phys) - 0x80000000 + PAGE_OFFSET2 : \ | ||
71 | (phys) >= 0x20000000 ? (phys) - 0x20000000 + PAGE_OFFSET1 : \ | ||
72 | (phys) + PAGE_OFFSET) | ||
73 | |||
74 | #define __virt_to_phys(virt) \ | ||
75 | ((virt) >= PAGE_OFFSET2 ? (virt) - PAGE_OFFSET2 + 0x80000000 : \ | ||
76 | (virt) >= PAGE_OFFSET1 ? (virt) - PAGE_OFFSET1 + 0x20000000 : \ | ||
77 | (virt) - PAGE_OFFSET) | ||
78 | |||
79 | #endif /* CONFIG_SPARSEMEM */ | ||
80 | |||
32 | #endif | 81 | #endif |
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index a88458b4799d..009265818d55 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
@@ -146,11 +146,8 @@ static void __init poke_milo(void) | |||
146 | * register. The BootMonitor waits for this register to become | 146 | * register. The BootMonitor waits for this register to become |
147 | * non-zero. | 147 | * non-zero. |
148 | */ | 148 | */ |
149 | #define REALVIEW_SYS_FLAGSS_OFFSET 0x30 | ||
150 | #define REALVIEW_SYS_FLAGSC_OFFSET 0x34 | ||
151 | __raw_writel(BSYM(virt_to_phys(realview_secondary_startup)), | 149 | __raw_writel(BSYM(virt_to_phys(realview_secondary_startup)), |
152 | __io_address(REALVIEW_SYS_BASE) + | 150 | __io_address(REALVIEW_SYS_FLAGSSET)); |
153 | REALVIEW_SYS_FLAGSS_OFFSET); | ||
154 | 151 | ||
155 | mb(); | 152 | mb(); |
156 | } | 153 | } |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 1d65e64ae571..917f8ca3abff 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -415,6 +415,7 @@ MACHINE_START(REALVIEW_EB, "ARM-RealView EB") | |||
415 | .phys_io = REALVIEW_EB_UART0_BASE, | 415 | .phys_io = REALVIEW_EB_UART0_BASE, |
416 | .io_pg_offst = (IO_ADDRESS(REALVIEW_EB_UART0_BASE) >> 18) & 0xfffc, | 416 | .io_pg_offst = (IO_ADDRESS(REALVIEW_EB_UART0_BASE) >> 18) & 0xfffc, |
417 | .boot_params = PHYS_OFFSET + 0x00000100, | 417 | .boot_params = PHYS_OFFSET + 0x00000100, |
418 | .fixup = realview_fixup, | ||
418 | .map_io = realview_eb_map_io, | 419 | .map_io = realview_eb_map_io, |
419 | .init_irq = gic_init_irq, | 420 | .init_irq = gic_init_irq, |
420 | .timer = &realview_eb_timer, | 421 | .timer = &realview_eb_timer, |
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c index a6ba147692c1..7fb726d5f8b9 100644 --- a/arch/arm/mach-realview/realview_pb1176.c +++ b/arch/arm/mach-realview/realview_pb1176.c | |||
@@ -300,6 +300,18 @@ static void realview_pb1176_reset(char mode) | |||
300 | __raw_writel(REALVIEW_PB1176_SYS_LOCKVAL_RSTCTL, hdr_ctrl); | 300 | __raw_writel(REALVIEW_PB1176_SYS_LOCKVAL_RSTCTL, hdr_ctrl); |
301 | } | 301 | } |
302 | 302 | ||
303 | static void realview_pb1176_fixup(struct machine_desc *mdesc, | ||
304 | struct tag *tags, char **from, | ||
305 | struct meminfo *meminfo) | ||
306 | { | ||
307 | /* | ||
308 | * RealView PB1176 only has 128MB of RAM mapped at 0. | ||
309 | */ | ||
310 | meminfo->bank[0].start = 0; | ||
311 | meminfo->bank[0].size = SZ_128M; | ||
312 | meminfo->nr_banks = 1; | ||
313 | } | ||
314 | |||
303 | static void __init realview_pb1176_init(void) | 315 | static void __init realview_pb1176_init(void) |
304 | { | 316 | { |
305 | int i; | 317 | int i; |
@@ -331,6 +343,7 @@ MACHINE_START(REALVIEW_PB1176, "ARM-RealView PB1176") | |||
331 | .phys_io = REALVIEW_PB1176_UART0_BASE, | 343 | .phys_io = REALVIEW_PB1176_UART0_BASE, |
332 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB1176_UART0_BASE) >> 18) & 0xfffc, | 344 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB1176_UART0_BASE) >> 18) & 0xfffc, |
333 | .boot_params = PHYS_OFFSET + 0x00000100, | 345 | .boot_params = PHYS_OFFSET + 0x00000100, |
346 | .fixup = realview_pb1176_fixup, | ||
334 | .map_io = realview_pb1176_map_io, | 347 | .map_io = realview_pb1176_map_io, |
335 | .init_irq = gic_init_irq, | 348 | .init_irq = gic_init_irq, |
336 | .timer = &realview_pb1176_timer, | 349 | .timer = &realview_pb1176_timer, |
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index 070d284ce96e..9bbbfc05f225 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -347,6 +347,7 @@ MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore") | |||
347 | .phys_io = REALVIEW_PB11MP_UART0_BASE, | 347 | .phys_io = REALVIEW_PB11MP_UART0_BASE, |
348 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB11MP_UART0_BASE) >> 18) & 0xfffc, | 348 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB11MP_UART0_BASE) >> 18) & 0xfffc, |
349 | .boot_params = PHYS_OFFSET + 0x00000100, | 349 | .boot_params = PHYS_OFFSET + 0x00000100, |
350 | .fixup = realview_fixup, | ||
350 | .map_io = realview_pb11mp_map_io, | 351 | .map_io = realview_pb11mp_map_io, |
351 | .init_irq = gic_init_irq, | 352 | .init_irq = gic_init_irq, |
352 | .timer = &realview_pb11mp_timer, | 353 | .timer = &realview_pb11mp_timer, |
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c index 941beb2b9709..fe861e96c566 100644 --- a/arch/arm/mach-realview/realview_pba8.c +++ b/arch/arm/mach-realview/realview_pba8.c | |||
@@ -298,6 +298,7 @@ MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8") | |||
298 | .phys_io = REALVIEW_PBA8_UART0_BASE, | 298 | .phys_io = REALVIEW_PBA8_UART0_BASE, |
299 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PBA8_UART0_BASE) >> 18) & 0xfffc, | 299 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PBA8_UART0_BASE) >> 18) & 0xfffc, |
300 | .boot_params = PHYS_OFFSET + 0x00000100, | 300 | .boot_params = PHYS_OFFSET + 0x00000100, |
301 | .fixup = realview_fixup, | ||
301 | .map_io = realview_pba8_map_io, | 302 | .map_io = realview_pba8_map_io, |
302 | .init_irq = gic_init_irq, | 303 | .init_irq = gic_init_irq, |
303 | .timer = &realview_pba8_timer, | 304 | .timer = &realview_pba8_timer, |
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index 7e4bc6cdca52..ec39488e2b42 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c | |||
@@ -304,6 +304,26 @@ static struct sys_timer realview_pbx_timer = { | |||
304 | .init = realview_pbx_timer_init, | 304 | .init = realview_pbx_timer_init, |
305 | }; | 305 | }; |
306 | 306 | ||
307 | static void realview_pbx_fixup(struct machine_desc *mdesc, struct tag *tags, | ||
308 | char **from, struct meminfo *meminfo) | ||
309 | { | ||
310 | #ifdef CONFIG_SPARSEMEM | ||
311 | /* | ||
312 | * Memory configuration with SPARSEMEM enabled on RealView PBX (see | ||
313 | * asm/mach/memory.h for more information). | ||
314 | */ | ||
315 | meminfo->bank[0].start = 0; | ||
316 | meminfo->bank[0].size = SZ_256M; | ||
317 | meminfo->bank[1].start = 0x20000000; | ||
318 | meminfo->bank[1].size = SZ_512M; | ||
319 | meminfo->bank[2].start = 0x80000000; | ||
320 | meminfo->bank[2].size = SZ_256M; | ||
321 | meminfo->nr_banks = 3; | ||
322 | #else | ||
323 | realview_fixup(mdesc, tags, from, meminfo); | ||
324 | #endif | ||
325 | } | ||
326 | |||
307 | static void __init realview_pbx_init(void) | 327 | static void __init realview_pbx_init(void) |
308 | { | 328 | { |
309 | int i; | 329 | int i; |
@@ -345,6 +365,7 @@ MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX") | |||
345 | .phys_io = REALVIEW_PBX_UART0_BASE, | 365 | .phys_io = REALVIEW_PBX_UART0_BASE, |
346 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PBX_UART0_BASE) >> 18) & 0xfffc, | 366 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PBX_UART0_BASE) >> 18) & 0xfffc, |
347 | .boot_params = PHYS_OFFSET + 0x00000100, | 367 | .boot_params = PHYS_OFFSET + 0x00000100, |
368 | .fixup = realview_pbx_fixup, | ||
348 | .map_io = realview_pbx_map_io, | 369 | .map_io = realview_pbx_map_io, |
349 | .init_irq = gic_init_irq, | 370 | .init_irq = gic_init_irq, |
350 | .timer = &realview_pbx_timer, | 371 | .timer = &realview_pbx_timer, |
diff --git a/arch/arm/mach-s3c6400/include/mach/dma.h b/arch/arm/mach-s3c6400/include/mach/dma.h index 004edab23954..6723860748be 100644 --- a/arch/arm/mach-s3c6400/include/mach/dma.h +++ b/arch/arm/mach-s3c6400/include/mach/dma.h | |||
@@ -58,21 +58,13 @@ enum dma_ch { | |||
58 | DMACH_MAX /* the end */ | 58 | DMACH_MAX /* the end */ |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static __inline__ int s3c_dma_has_circular(void) | 61 | static __inline__ bool s3c_dma_has_circular(void) |
62 | { | 62 | { |
63 | /* we will be supporting ciruclar buffers as soon as we have DMA | 63 | return true; |
64 | * engine support. | ||
65 | */ | ||
66 | return 1; | ||
67 | } | 64 | } |
68 | 65 | ||
69 | #define S3C2410_DMAF_CIRCULAR (1 << 0) | 66 | #define S3C2410_DMAF_CIRCULAR (1 << 0) |
70 | 67 | ||
71 | static inline bool s3c_dma_has_circular(void) | ||
72 | { | ||
73 | return false; | ||
74 | } | ||
75 | |||
76 | #include <plat/dma.h> | 68 | #include <plat/dma.h> |
77 | 69 | ||
78 | #endif /* __ASM_ARCH_IRQ_H */ | 70 | #endif /* __ASM_ARCH_IRQ_H */ |
diff --git a/arch/arm/mach-s3c6410/Kconfig b/arch/arm/mach-s3c6410/Kconfig index 53fc3ff657f7..72d4b11b2077 100644 --- a/arch/arm/mach-s3c6410/Kconfig +++ b/arch/arm/mach-s3c6410/Kconfig | |||
@@ -77,6 +77,7 @@ config SMDK6410_WM1190_EV1 | |||
77 | depends on MACH_SMDK6410 | 77 | depends on MACH_SMDK6410 |
78 | select REGULATOR | 78 | select REGULATOR |
79 | select REGULATOR_WM8350 | 79 | select REGULATOR_WM8350 |
80 | select S3C24XX_GPIO_EXTRA64 | ||
80 | select MFD_WM8350_I2C | 81 | select MFD_WM8350_I2C |
81 | select MFD_WM8350_CONFIG_MODE_0 | 82 | select MFD_WM8350_CONFIG_MODE_0 |
82 | select MFD_WM8350_CONFIG_MODE_3 | 83 | select MFD_WM8350_CONFIG_MODE_3 |
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index ea51dbe76e3e..9f1a21462620 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c | |||
@@ -320,6 +320,9 @@ static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) | |||
320 | { | 320 | { |
321 | int i; | 321 | int i; |
322 | 322 | ||
323 | /* Configure the IRQ line */ | ||
324 | s3c_gpio_setpull(S3C64XX_GPN(12), S3C_GPIO_PULL_UP); | ||
325 | |||
323 | /* Instantiate the regulators */ | 326 | /* Instantiate the regulators */ |
324 | for (i = 0; i < ARRAY_SIZE(wm1190_regulators); i++) | 327 | for (i = 0; i < ARRAY_SIZE(wm1190_regulators); i++) |
325 | wm8350_register_regulator(wm8350, | 328 | wm8350_register_regulator(wm8350, |
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index be60d6deee8b..653e25be3dd8 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -408,7 +408,7 @@ static struct platform_device keypad_device = { | |||
408 | }; | 408 | }; |
409 | 409 | ||
410 | static struct platform_device rtc_device = { | 410 | static struct platform_device rtc_device = { |
411 | .name = "rtc0", | 411 | .name = "rtc-coh901331", |
412 | .id = -1, | 412 | .id = -1, |
413 | .num_resources = ARRAY_SIZE(rtc_resources), | 413 | .num_resources = ARRAY_SIZE(rtc_resources), |
414 | .resource = rtc_resources, | 414 | .resource = rtc_resources, |
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index eeeed01ee44a..3a285218fd15 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -186,9 +186,10 @@ cpu_v7_name: | |||
186 | */ | 186 | */ |
187 | __v7_setup: | 187 | __v7_setup: |
188 | #ifdef CONFIG_SMP | 188 | #ifdef CONFIG_SMP |
189 | mrc p15, 0, r0, c1, c0, 1 @ Enable SMP/nAMP mode and | 189 | mrc p15, 0, r0, c1, c0, 1 |
190 | orr r0, r0, #(1 << 6) | (1 << 0) @ TLB ops broadcasting | 190 | tst r0, #(1 << 6) @ SMP/nAMP mode enabled? |
191 | mcr p15, 0, r0, c1, c0, 1 | 191 | orreq r0, r0, #(1 << 6) | (1 << 0) @ Enable SMP/nAMP mode and |
192 | mcreq p15, 0, r0, c1, c0, 1 @ TLB ops broadcasting | ||
192 | #endif | 193 | #endif |
193 | adr r12, __v7_setup_stack @ the local stack | 194 | adr r12, __v7_setup_stack @ the local stack |
194 | stmia r12, {r0-r5, r7, r9, r11, lr} | 195 | stmia r12, {r0-r5, r7, r9, r11, lr} |
diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c index 1868c0d8f9b5..341235c278ac 100644 --- a/arch/arm/plat-omap/cpu-omap.c +++ b/arch/arm/plat-omap/cpu-omap.c | |||
@@ -127,7 +127,7 @@ static int __init omap_cpu_init(struct cpufreq_policy *policy) | |||
127 | } | 127 | } |
128 | 128 | ||
129 | /* FIXME: what's the actual transition time? */ | 129 | /* FIXME: what's the actual transition time? */ |
130 | policy->cpuinfo.transition_latency = 10 * 1000 * 1000; | 130 | policy->cpuinfo.transition_latency = 300 * 1000; |
131 | 131 | ||
132 | return 0; | 132 | return 0; |
133 | } | 133 | } |
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index b53125f41293..68eaae324b6a 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -691,13 +691,16 @@ static inline void disable_lnk(int lch) | |||
691 | static inline void omap2_enable_irq_lch(int lch) | 691 | static inline void omap2_enable_irq_lch(int lch) |
692 | { | 692 | { |
693 | u32 val; | 693 | u32 val; |
694 | unsigned long flags; | ||
694 | 695 | ||
695 | if (!cpu_class_is_omap2()) | 696 | if (!cpu_class_is_omap2()) |
696 | return; | 697 | return; |
697 | 698 | ||
699 | spin_lock_irqsave(&dma_chan_lock, flags); | ||
698 | val = dma_read(IRQENABLE_L0); | 700 | val = dma_read(IRQENABLE_L0); |
699 | val |= 1 << lch; | 701 | val |= 1 << lch; |
700 | dma_write(val, IRQENABLE_L0); | 702 | dma_write(val, IRQENABLE_L0); |
703 | spin_unlock_irqrestore(&dma_chan_lock, flags); | ||
701 | } | 704 | } |
702 | 705 | ||
703 | int omap_request_dma(int dev_id, const char *dev_name, | 706 | int omap_request_dma(int dev_id, const char *dev_name, |
@@ -799,10 +802,13 @@ void omap_free_dma(int lch) | |||
799 | 802 | ||
800 | if (cpu_class_is_omap2()) { | 803 | if (cpu_class_is_omap2()) { |
801 | u32 val; | 804 | u32 val; |
805 | |||
806 | spin_lock_irqsave(&dma_chan_lock, flags); | ||
802 | /* Disable interrupts */ | 807 | /* Disable interrupts */ |
803 | val = dma_read(IRQENABLE_L0); | 808 | val = dma_read(IRQENABLE_L0); |
804 | val &= ~(1 << lch); | 809 | val &= ~(1 << lch); |
805 | dma_write(val, IRQENABLE_L0); | 810 | dma_write(val, IRQENABLE_L0); |
811 | spin_unlock_irqrestore(&dma_chan_lock, flags); | ||
806 | 812 | ||
807 | /* Clear the CSR register and IRQ status register */ | 813 | /* Clear the CSR register and IRQ status register */ |
808 | dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR(lch)); | 814 | dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR(lch)); |
@@ -1108,6 +1114,14 @@ int omap_dma_running(void) | |||
1108 | { | 1114 | { |
1109 | int lch; | 1115 | int lch; |
1110 | 1116 | ||
1117 | /* | ||
1118 | * On OMAP1510, internal LCD controller will start the transfer | ||
1119 | * when it gets enabled, so assume DMA running if LCD enabled. | ||
1120 | */ | ||
1121 | if (cpu_is_omap1510()) | ||
1122 | if (omap_readw(0xfffec000 + 0x00) & (1 << 0)) | ||
1123 | return 1; | ||
1124 | |||
1111 | /* Check if LCD DMA is running */ | 1125 | /* Check if LCD DMA is running */ |
1112 | if (cpu_is_omap16xx()) | 1126 | if (cpu_is_omap16xx()) |
1113 | if (omap_readw(OMAP1610_DMA_LCD_CCR) & OMAP_DMA_CCR_EN) | 1127 | if (omap_readw(OMAP1610_DMA_LCD_CCR) & OMAP_DMA_CCR_EN) |
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 71ebd7fcfea1..7c345b757df1 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -373,7 +373,7 @@ static inline int gpio_valid(int gpio) | |||
373 | 373 | ||
374 | static int check_gpio(int gpio) | 374 | static int check_gpio(int gpio) |
375 | { | 375 | { |
376 | if (unlikely(gpio_valid(gpio)) < 0) { | 376 | if (unlikely(gpio_valid(gpio) < 0)) { |
377 | printk(KERN_ERR "omap-gpio: invalid GPIO %d\n", gpio); | 377 | printk(KERN_ERR "omap-gpio: invalid GPIO %d\n", gpio); |
378 | dump_stack(); | 378 | dump_stack(); |
379 | return -1; | 379 | return -1; |
diff --git a/arch/arm/plat-pxa/include/plat/mfp.h b/arch/arm/plat-pxa/include/plat/mfp.h index 22086e696e8e..857a6839071c 100644 --- a/arch/arm/plat-pxa/include/plat/mfp.h +++ b/arch/arm/plat-pxa/include/plat/mfp.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifndef __ASM_PLAT_MFP_H | 16 | #ifndef __ASM_PLAT_MFP_H |
17 | #define __ASM_PLAT_MFP_H | 17 | #define __ASM_PLAT_MFP_H |
18 | 18 | ||
19 | #define mfp_to_gpio(m) ((m) % 128) | 19 | #define mfp_to_gpio(m) ((m) % 256) |
20 | 20 | ||
21 | /* list of all the configurable MFP pins */ | 21 | /* list of all the configurable MFP pins */ |
22 | enum { | 22 | enum { |
diff --git a/arch/arm/plat-pxa/mfp.c b/arch/arm/plat-pxa/mfp.c index 9405d0379c85..be58f9fe65b0 100644 --- a/arch/arm/plat-pxa/mfp.c +++ b/arch/arm/plat-pxa/mfp.c | |||
@@ -207,7 +207,7 @@ unsigned long mfp_read(int mfp) | |||
207 | { | 207 | { |
208 | unsigned long val, flags; | 208 | unsigned long val, flags; |
209 | 209 | ||
210 | BUG_ON(mfp >= MFP_PIN_MAX); | 210 | BUG_ON(mfp < 0 || mfp >= MFP_PIN_MAX); |
211 | 211 | ||
212 | spin_lock_irqsave(&mfp_spin_lock, flags); | 212 | spin_lock_irqsave(&mfp_spin_lock, flags); |
213 | val = mfpr_readl(mfp_table[mfp].mfpr_off); | 213 | val = mfpr_readl(mfp_table[mfp].mfpr_off); |
@@ -220,7 +220,7 @@ void mfp_write(int mfp, unsigned long val) | |||
220 | { | 220 | { |
221 | unsigned long flags; | 221 | unsigned long flags; |
222 | 222 | ||
223 | BUG_ON(mfp >= MFP_PIN_MAX); | 223 | BUG_ON(mfp < 0 || mfp >= MFP_PIN_MAX); |
224 | 224 | ||
225 | spin_lock_irqsave(&mfp_spin_lock, flags); | 225 | spin_lock_irqsave(&mfp_spin_lock, flags); |
226 | mfpr_writel(mfp_table[mfp].mfpr_off, val); | 226 | mfpr_writel(mfp_table[mfp].mfpr_off, val); |
diff --git a/arch/arm/plat-s3c64xx/dma.c b/arch/arm/plat-s3c64xx/dma.c index 266a10745a85..d554b936fcfb 100644 --- a/arch/arm/plat-s3c64xx/dma.c +++ b/arch/arm/plat-s3c64xx/dma.c | |||
@@ -151,8 +151,6 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
151 | src = chan->dev_addr; | 151 | src = chan->dev_addr; |
152 | dst = data; | 152 | dst = data; |
153 | control0 = PL080_CONTROL_SRC_AHB2; | 153 | control0 = PL080_CONTROL_SRC_AHB2; |
154 | control0 |= (u32)chan->hw_width << PL080_CONTROL_SWIDTH_SHIFT; | ||
155 | control0 |= 2 << PL080_CONTROL_DWIDTH_SHIFT; | ||
156 | control0 |= PL080_CONTROL_DST_INCR; | 154 | control0 |= PL080_CONTROL_DST_INCR; |
157 | break; | 155 | break; |
158 | 156 | ||
@@ -160,8 +158,6 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
160 | src = data; | 158 | src = data; |
161 | dst = chan->dev_addr; | 159 | dst = chan->dev_addr; |
162 | control0 = PL080_CONTROL_DST_AHB2; | 160 | control0 = PL080_CONTROL_DST_AHB2; |
163 | control0 |= (u32)chan->hw_width << PL080_CONTROL_DWIDTH_SHIFT; | ||
164 | control0 |= 2 << PL080_CONTROL_SWIDTH_SHIFT; | ||
165 | control0 |= PL080_CONTROL_SRC_INCR; | 161 | control0 |= PL080_CONTROL_SRC_INCR; |
166 | break; | 162 | break; |
167 | default: | 163 | default: |
@@ -173,6 +169,8 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
173 | control1 = size >> chan->hw_width; /* size in no of xfers */ | 169 | control1 = size >> chan->hw_width; /* size in no of xfers */ |
174 | control0 |= PL080_CONTROL_PROT_SYS; /* always in priv. mode */ | 170 | control0 |= PL080_CONTROL_PROT_SYS; /* always in priv. mode */ |
175 | control0 |= PL080_CONTROL_TC_IRQ_EN; /* always fire IRQ */ | 171 | control0 |= PL080_CONTROL_TC_IRQ_EN; /* always fire IRQ */ |
172 | control0 |= (u32)chan->hw_width << PL080_CONTROL_DWIDTH_SHIFT; | ||
173 | control0 |= (u32)chan->hw_width << PL080_CONTROL_SWIDTH_SHIFT; | ||
176 | 174 | ||
177 | lli->src_addr = src; | 175 | lli->src_addr = src; |
178 | lli->dst_addr = dst; | 176 | lli->dst_addr = dst; |
@@ -339,6 +337,7 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id, | |||
339 | struct s3c64xx_dma_buff *next; | 337 | struct s3c64xx_dma_buff *next; |
340 | struct s3c64xx_dma_buff *buff; | 338 | struct s3c64xx_dma_buff *buff; |
341 | struct pl080s_lli *lli; | 339 | struct pl080s_lli *lli; |
340 | unsigned long flags; | ||
342 | int ret; | 341 | int ret; |
343 | 342 | ||
344 | WARN_ON(!chan); | 343 | WARN_ON(!chan); |
@@ -366,6 +365,8 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id, | |||
366 | 365 | ||
367 | s3c64xx_dma_fill_lli(chan, lli, data, size); | 366 | s3c64xx_dma_fill_lli(chan, lli, data, size); |
368 | 367 | ||
368 | local_irq_save(flags); | ||
369 | |||
369 | if ((next = chan->next) != NULL) { | 370 | if ((next = chan->next) != NULL) { |
370 | struct s3c64xx_dma_buff *end = chan->end; | 371 | struct s3c64xx_dma_buff *end = chan->end; |
371 | struct pl080s_lli *endlli = end->lli; | 372 | struct pl080s_lli *endlli = end->lli; |
@@ -397,6 +398,8 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id, | |||
397 | s3c64xx_lli_to_regs(chan, lli); | 398 | s3c64xx_lli_to_regs(chan, lli); |
398 | } | 399 | } |
399 | 400 | ||
401 | local_irq_restore(flags); | ||
402 | |||
400 | show_lli(lli); | 403 | show_lli(lli); |
401 | 404 | ||
402 | dbg_showchan(chan); | 405 | dbg_showchan(chan); |
@@ -560,26 +563,11 @@ int s3c2410_dma_free(unsigned int channel, struct s3c2410_dma_client *client) | |||
560 | 563 | ||
561 | EXPORT_SYMBOL(s3c2410_dma_free); | 564 | EXPORT_SYMBOL(s3c2410_dma_free); |
562 | 565 | ||
563 | |||
564 | static void s3c64xx_dma_tcirq(struct s3c64xx_dmac *dmac, int offs) | ||
565 | { | ||
566 | struct s3c2410_dma_chan *chan = dmac->channels + offs; | ||
567 | |||
568 | /* note, we currently do not bother to work out which buffer | ||
569 | * or buffers have been completed since the last tc-irq. */ | ||
570 | |||
571 | if (chan->callback_fn) | ||
572 | (chan->callback_fn)(chan, chan->curr->pw, 0, S3C2410_RES_OK); | ||
573 | } | ||
574 | |||
575 | static void s3c64xx_dma_errirq(struct s3c64xx_dmac *dmac, int offs) | ||
576 | { | ||
577 | printk(KERN_DEBUG "%s: offs %d\n", __func__, offs); | ||
578 | } | ||
579 | |||
580 | static irqreturn_t s3c64xx_dma_irq(int irq, void *pw) | 566 | static irqreturn_t s3c64xx_dma_irq(int irq, void *pw) |
581 | { | 567 | { |
582 | struct s3c64xx_dmac *dmac = pw; | 568 | struct s3c64xx_dmac *dmac = pw; |
569 | struct s3c2410_dma_chan *chan; | ||
570 | enum s3c2410_dma_buffresult res; | ||
583 | u32 tcstat, errstat; | 571 | u32 tcstat, errstat; |
584 | u32 bit; | 572 | u32 bit; |
585 | int offs; | 573 | int offs; |
@@ -588,14 +576,54 @@ static irqreturn_t s3c64xx_dma_irq(int irq, void *pw) | |||
588 | errstat = readl(dmac->regs + PL080_ERR_STATUS); | 576 | errstat = readl(dmac->regs + PL080_ERR_STATUS); |
589 | 577 | ||
590 | for (offs = 0, bit = 1; offs < 8; offs++, bit <<= 1) { | 578 | for (offs = 0, bit = 1; offs < 8; offs++, bit <<= 1) { |
579 | struct s3c64xx_dma_buff *buff; | ||
580 | |||
581 | if (!(errstat & bit) && !(tcstat & bit)) | ||
582 | continue; | ||
583 | |||
584 | chan = dmac->channels + offs; | ||
585 | res = S3C2410_RES_ERR; | ||
586 | |||
591 | if (tcstat & bit) { | 587 | if (tcstat & bit) { |
592 | writel(bit, dmac->regs + PL080_TC_CLEAR); | 588 | writel(bit, dmac->regs + PL080_TC_CLEAR); |
593 | s3c64xx_dma_tcirq(dmac, offs); | 589 | res = S3C2410_RES_OK; |
594 | } | 590 | } |
595 | 591 | ||
596 | if (errstat & bit) { | 592 | if (errstat & bit) |
597 | s3c64xx_dma_errirq(dmac, offs); | ||
598 | writel(bit, dmac->regs + PL080_ERR_CLEAR); | 593 | writel(bit, dmac->regs + PL080_ERR_CLEAR); |
594 | |||
595 | /* 'next' points to the buffer that is next to the | ||
596 | * currently active buffer. | ||
597 | * For CIRCULAR queues, 'next' will be same as 'curr' | ||
598 | * when 'end' is the active buffer. | ||
599 | */ | ||
600 | buff = chan->curr; | ||
601 | while (buff && buff != chan->next | ||
602 | && buff->next != chan->next) | ||
603 | buff = buff->next; | ||
604 | |||
605 | if (!buff) | ||
606 | BUG(); | ||
607 | |||
608 | if (buff == chan->next) | ||
609 | buff = chan->end; | ||
610 | |||
611 | s3c64xx_dma_bufffdone(chan, buff, res); | ||
612 | |||
613 | /* Free the node and update curr, if non-circular queue */ | ||
614 | if (!(chan->flags & S3C2410_DMAF_CIRCULAR)) { | ||
615 | chan->curr = buff->next; | ||
616 | s3c64xx_dma_freebuff(buff); | ||
617 | } | ||
618 | |||
619 | /* Update 'next' */ | ||
620 | buff = chan->next; | ||
621 | if (chan->next == chan->end) { | ||
622 | chan->next = chan->curr; | ||
623 | if (!(chan->flags & S3C2410_DMAF_CIRCULAR)) | ||
624 | chan->end = NULL; | ||
625 | } else { | ||
626 | chan->next = buff->next; | ||
599 | } | 627 | } |
600 | } | 628 | } |
601 | 629 | ||
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index c41234f1b825..3a9319f93e89 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
@@ -11,6 +11,9 @@ config M32R | |||
11 | select HAVE_IDE | 11 | select HAVE_IDE |
12 | select HAVE_OPROFILE | 12 | select HAVE_OPROFILE |
13 | select INIT_ALL_POSSIBLE | 13 | select INIT_ALL_POSSIBLE |
14 | select HAVE_KERNEL_GZIP | ||
15 | select HAVE_KERNEL_BZIP2 | ||
16 | select HAVE_KERNEL_LZMA | ||
14 | 17 | ||
15 | config SBUS | 18 | config SBUS |
16 | bool | 19 | bool |
diff --git a/arch/m32r/boot/compressed/Makefile b/arch/m32r/boot/compressed/Makefile index 560484ae35ec..177716b1d613 100644 --- a/arch/m32r/boot/compressed/Makefile +++ b/arch/m32r/boot/compressed/Makefile | |||
@@ -1,11 +1,11 @@ | |||
1 | # | 1 | # |
2 | # linux/arch/sh/boot/compressed/Makefile | 2 | # linux/arch/m32r/boot/compressed/Makefile |
3 | # | 3 | # |
4 | # create a compressed vmlinux image from the original vmlinux | 4 | # create a compressed vmlinux image from the original vmlinux |
5 | # | 5 | # |
6 | 6 | ||
7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o \ | 7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \ |
8 | piggy.o vmlinux.lds | 8 | vmlinux.bin.lzma head.o misc.o piggy.o vmlinux.lds |
9 | 9 | ||
10 | OBJECTS = $(obj)/head.o $(obj)/misc.o | 10 | OBJECTS = $(obj)/head.o $(obj)/misc.o |
11 | 11 | ||
@@ -27,6 +27,12 @@ $(obj)/vmlinux.bin: vmlinux FORCE | |||
27 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | 27 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE |
28 | $(call if_changed,gzip) | 28 | $(call if_changed,gzip) |
29 | 29 | ||
30 | $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE | ||
31 | $(call if_changed,bzip2) | ||
32 | |||
33 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE | ||
34 | $(call if_changed,lzma) | ||
35 | |||
30 | CFLAGS_misc.o += -fpic | 36 | CFLAGS_misc.o += -fpic |
31 | 37 | ||
32 | ifdef CONFIG_MMU | 38 | ifdef CONFIG_MMU |
@@ -37,5 +43,9 @@ endif | |||
37 | 43 | ||
38 | OBJCOPYFLAGS += -R .empty_zero_page | 44 | OBJCOPYFLAGS += -R .empty_zero_page |
39 | 45 | ||
40 | $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE | 46 | suffix_$(CONFIG_KERNEL_GZIP) = gz |
47 | suffix_$(CONFIG_KERNEL_BZIP2) = bz2 | ||
48 | suffix_$(CONFIG_KERNEL_LZMA) = lzma | ||
49 | |||
50 | $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE | ||
41 | $(call if_changed,ld) | 51 | $(call if_changed,ld) |
diff --git a/arch/m32r/boot/compressed/misc.c b/arch/m32r/boot/compressed/misc.c index d394292498c0..370d60881977 100644 --- a/arch/m32r/boot/compressed/misc.c +++ b/arch/m32r/boot/compressed/misc.c | |||
@@ -9,140 +9,49 @@ | |||
9 | * Adapted for SH by Stuart Menefy, Aug 1999 | 9 | * Adapted for SH by Stuart Menefy, Aug 1999 |
10 | * | 10 | * |
11 | * 2003-02-12: Support M32R by Takeo Takahashi | 11 | * 2003-02-12: Support M32R by Takeo Takahashi |
12 | * This is based on arch/sh/boot/compressed/misc.c. | ||
13 | */ | 12 | */ |
14 | 13 | ||
15 | #include <linux/string.h> | ||
16 | |||
17 | /* | 14 | /* |
18 | * gzip declarations | 15 | * gzip declarations |
19 | */ | 16 | */ |
20 | |||
21 | #define OF(args) args | ||
22 | #define STATIC static | 17 | #define STATIC static |
23 | 18 | ||
24 | #undef memset | 19 | #undef memset |
25 | #undef memcpy | 20 | #undef memcpy |
26 | #define memzero(s, n) memset ((s), 0, (n)) | 21 | #define memzero(s, n) memset ((s), 0, (n)) |
27 | 22 | ||
28 | typedef unsigned char uch; | ||
29 | typedef unsigned short ush; | ||
30 | typedef unsigned long ulg; | ||
31 | |||
32 | #define WSIZE 0x8000 /* Window size must be at least 32k, */ | ||
33 | /* and a power of two */ | ||
34 | |||
35 | static uch *inbuf; /* input buffer */ | ||
36 | static uch window[WSIZE]; /* Sliding window buffer */ | ||
37 | |||
38 | static unsigned insize = 0; /* valid bytes in inbuf */ | ||
39 | static unsigned inptr = 0; /* index of next byte to be processed in inbuf */ | ||
40 | static unsigned outcnt = 0; /* bytes in output buffer */ | ||
41 | |||
42 | /* gzip flag byte */ | ||
43 | #define ASCII_FLAG 0x01 /* bit 0 set: file probably ASCII text */ | ||
44 | #define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */ | ||
45 | #define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ | ||
46 | #define ORIG_NAME 0x08 /* bit 3 set: original file name present */ | ||
47 | #define COMMENT 0x10 /* bit 4 set: file comment present */ | ||
48 | #define ENCRYPTED 0x20 /* bit 5 set: file is encrypted */ | ||
49 | #define RESERVED 0xC0 /* bit 6,7: reserved */ | ||
50 | |||
51 | #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) | ||
52 | |||
53 | /* Diagnostic functions */ | ||
54 | #ifdef DEBUG | ||
55 | # define Assert(cond,msg) {if(!(cond)) error(msg);} | ||
56 | # define Trace(x) fprintf x | ||
57 | # define Tracev(x) {if (verbose) fprintf x ;} | ||
58 | # define Tracevv(x) {if (verbose>1) fprintf x ;} | ||
59 | # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} | ||
60 | # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} | ||
61 | #else | ||
62 | # define Assert(cond,msg) | ||
63 | # define Trace(x) | ||
64 | # define Tracev(x) | ||
65 | # define Tracevv(x) | ||
66 | # define Tracec(c,x) | ||
67 | # define Tracecv(c,x) | ||
68 | #endif | ||
69 | |||
70 | static int fill_inbuf(void); | ||
71 | static void flush_window(void); | ||
72 | static void error(char *m); | 23 | static void error(char *m); |
73 | 24 | ||
74 | static unsigned char *input_data; | ||
75 | static int input_len; | ||
76 | |||
77 | static long bytes_out = 0; | ||
78 | static uch *output_data; | ||
79 | static unsigned long output_ptr = 0; | ||
80 | |||
81 | #include "m32r_sio.c" | 25 | #include "m32r_sio.c" |
82 | 26 | ||
83 | static unsigned long free_mem_ptr; | 27 | static unsigned long free_mem_ptr; |
84 | static unsigned long free_mem_end_ptr; | 28 | static unsigned long free_mem_end_ptr; |
85 | 29 | ||
86 | #define HEAP_SIZE 0x10000 | 30 | #ifdef CONFIG_KERNEL_BZIP2 |
87 | 31 | static void *memset(void *s, int c, size_t n) | |
88 | #include "../../../../lib/inflate.c" | ||
89 | |||
90 | void* memset(void* s, int c, size_t n) | ||
91 | { | 32 | { |
92 | int i; | 33 | char *ss = s; |
93 | char *ss = (char*)s; | ||
94 | 34 | ||
95 | for (i=0;i<n;i++) ss[i] = c; | 35 | while (n--) |
36 | *ss++ = c; | ||
96 | return s; | 37 | return s; |
97 | } | 38 | } |
39 | #endif | ||
98 | 40 | ||
99 | void* memcpy(void* __dest, __const void* __src, | 41 | #ifdef CONFIG_KERNEL_GZIP |
100 | size_t __n) | 42 | #define BOOT_HEAP_SIZE 0x10000 |
101 | { | 43 | #include "../../../../lib/decompress_inflate.c" |
102 | int i; | 44 | #endif |
103 | char *d = (char *)__dest, *s = (char *)__src; | ||
104 | |||
105 | for (i=0;i<__n;i++) d[i] = s[i]; | ||
106 | return __dest; | ||
107 | } | ||
108 | |||
109 | /* =========================================================================== | ||
110 | * Fill the input buffer. This is called only when the buffer is empty | ||
111 | * and at least one byte is really needed. | ||
112 | */ | ||
113 | static int fill_inbuf(void) | ||
114 | { | ||
115 | if (insize != 0) { | ||
116 | error("ran out of input data"); | ||
117 | } | ||
118 | |||
119 | inbuf = input_data; | ||
120 | insize = input_len; | ||
121 | inptr = 1; | ||
122 | return inbuf[0]; | ||
123 | } | ||
124 | 45 | ||
125 | /* =========================================================================== | 46 | #ifdef CONFIG_KERNEL_BZIP2 |
126 | * Write the output window window[0..outcnt-1] and update crc and bytes_out. | 47 | #define BOOT_HEAP_SIZE 0x400000 |
127 | * (Used for the decompressed data only.) | 48 | #include "../../../../lib/decompress_bunzip2.c" |
128 | */ | 49 | #endif |
129 | static void flush_window(void) | ||
130 | { | ||
131 | ulg c = crc; /* temporary variable */ | ||
132 | unsigned n; | ||
133 | uch *in, *out, ch; | ||
134 | 50 | ||
135 | in = window; | 51 | #ifdef CONFIG_KERNEL_LZMA |
136 | out = &output_data[output_ptr]; | 52 | #define BOOT_HEAP_SIZE 0x10000 |
137 | for (n = 0; n < outcnt; n++) { | 53 | #include "../../../../lib/decompress_unlzma.c" |
138 | ch = *out++ = *in++; | 54 | #endif |
139 | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); | ||
140 | } | ||
141 | crc = c; | ||
142 | bytes_out += (ulg)outcnt; | ||
143 | output_ptr += (ulg)outcnt; | ||
144 | outcnt = 0; | ||
145 | } | ||
146 | 55 | ||
147 | static void error(char *x) | 56 | static void error(char *x) |
148 | { | 57 | { |
@@ -153,20 +62,20 @@ static void error(char *x) | |||
153 | while(1); /* Halt */ | 62 | while(1); /* Halt */ |
154 | } | 63 | } |
155 | 64 | ||
156 | /* return decompressed size */ | ||
157 | void | 65 | void |
158 | decompress_kernel(int mmu_on, unsigned char *zimage_data, | 66 | decompress_kernel(int mmu_on, unsigned char *zimage_data, |
159 | unsigned int zimage_len, unsigned long heap) | 67 | unsigned int zimage_len, unsigned long heap) |
160 | { | 68 | { |
69 | unsigned char *input_data = zimage_data; | ||
70 | int input_len = zimage_len; | ||
71 | unsigned char *output_data; | ||
72 | |||
161 | output_data = (unsigned char *)CONFIG_MEMORY_START + 0x2000 | 73 | output_data = (unsigned char *)CONFIG_MEMORY_START + 0x2000 |
162 | + (mmu_on ? 0x80000000 : 0); | 74 | + (mmu_on ? 0x80000000 : 0); |
163 | free_mem_ptr = heap; | 75 | free_mem_ptr = heap; |
164 | free_mem_end_ptr = free_mem_ptr + HEAP_SIZE; | 76 | free_mem_end_ptr = free_mem_ptr + BOOT_HEAP_SIZE; |
165 | input_data = zimage_data; | ||
166 | input_len = zimage_len; | ||
167 | 77 | ||
168 | makecrc(); | 78 | puts("\nDecompressing Linux... "); |
169 | puts("Uncompressing Linux... "); | 79 | decompress(input_data, input_len, NULL, NULL, output_data, NULL, error); |
170 | gunzip(); | 80 | puts("done.\nBooting the kernel.\n"); |
171 | puts("Ok, booting the kernel.\n"); | ||
172 | } | 81 | } |
diff --git a/arch/m32r/kernel/smp.c b/arch/m32r/kernel/smp.c index 8a88f1f0a3e2..31cef20b2996 100644 --- a/arch/m32r/kernel/smp.c +++ b/arch/m32r/kernel/smp.c | |||
@@ -806,7 +806,7 @@ unsigned long send_IPI_mask_phys(cpumask_t physid_mask, int ipi_num, | |||
806 | 806 | ||
807 | if (mask & ~physids_coerce(phys_cpu_present_map)) | 807 | if (mask & ~physids_coerce(phys_cpu_present_map)) |
808 | BUG(); | 808 | BUG(); |
809 | if (ipi_num >= NR_IPIS) | 809 | if (ipi_num >= NR_IPIS || ipi_num < 0) |
810 | BUG(); | 810 | BUG(); |
811 | 811 | ||
812 | mask <<= IPI_SHIFT; | 812 | mask <<= IPI_SHIFT; |
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c index e7fee0f198d5..9cedcef11575 100644 --- a/arch/m32r/kernel/time.c +++ b/arch/m32r/kernel/time.c | |||
@@ -75,7 +75,7 @@ u32 arch_gettimeoffset(void) | |||
75 | count = 0; | 75 | count = 0; |
76 | 76 | ||
77 | count = (latch - count) * TICK_SIZE; | 77 | count = (latch - count) * TICK_SIZE; |
78 | elapsed_time = (count + latch / 2) / latch; | 78 | elapsed_time = DIV_ROUND_CLOSEST(count, latch); |
79 | /* NOTE: LATCH is equal to the "interval" value (= reload count). */ | 79 | /* NOTE: LATCH is equal to the "interval" value (= reload count). */ |
80 | 80 | ||
81 | #else /* CONFIG_SMP */ | 81 | #else /* CONFIG_SMP */ |
@@ -93,7 +93,7 @@ u32 arch_gettimeoffset(void) | |||
93 | p_count = count; | 93 | p_count = count; |
94 | 94 | ||
95 | count = (latch - count) * TICK_SIZE; | 95 | count = (latch - count) * TICK_SIZE; |
96 | elapsed_time = (count + latch / 2) / latch; | 96 | elapsed_time = DIV_ROUND_CLOSEST(count, latch); |
97 | /* NOTE: LATCH is equal to the "interval" value (= reload count). */ | 97 | /* NOTE: LATCH is equal to the "interval" value (= reload count). */ |
98 | #endif /* CONFIG_SMP */ | 98 | #endif /* CONFIG_SMP */ |
99 | #elif defined(CONFIG_CHIP_M32310) | 99 | #elif defined(CONFIG_CHIP_M32310) |
@@ -211,7 +211,7 @@ void __init time_init(void) | |||
211 | 211 | ||
212 | bus_clock = boot_cpu_data.bus_clock; | 212 | bus_clock = boot_cpu_data.bus_clock; |
213 | divide = boot_cpu_data.timer_divide; | 213 | divide = boot_cpu_data.timer_divide; |
214 | latch = (bus_clock/divide + HZ / 2) / HZ; | 214 | latch = DIV_ROUND_CLOSEST(bus_clock/divide, HZ); |
215 | 215 | ||
216 | printk("Timer start : latch = %ld\n", latch); | 216 | printk("Timer start : latch = %ld\n", latch); |
217 | 217 | ||
diff --git a/arch/m32r/kernel/vmlinux.lds.S b/arch/m32r/kernel/vmlinux.lds.S index 8ceb6181d805..7da94eaa082b 100644 --- a/arch/m32r/kernel/vmlinux.lds.S +++ b/arch/m32r/kernel/vmlinux.lds.S | |||
@@ -42,6 +42,8 @@ SECTIONS | |||
42 | _etext = .; /* End of text section */ | 42 | _etext = .; /* End of text section */ |
43 | 43 | ||
44 | EXCEPTION_TABLE(16) | 44 | EXCEPTION_TABLE(16) |
45 | NOTES | ||
46 | |||
45 | RODATA | 47 | RODATA |
46 | RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) | 48 | RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) |
47 | _edata = .; /* End of data section */ | 49 | _edata = .; /* End of data section */ |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 03bd56a2fb6e..1aad0d9f5074 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config MIPS | 1 | config MIPS |
2 | bool | 2 | bool |
3 | default y | 3 | default y |
4 | select HAVE_GENERIC_DMA_COHERENT | ||
4 | select HAVE_IDE | 5 | select HAVE_IDE |
5 | select HAVE_OPROFILE | 6 | select HAVE_OPROFILE |
6 | select HAVE_ARCH_KGDB | 7 | select HAVE_ARCH_KGDB |
diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c index 079e33d52783..fb284c3b2cff 100644 --- a/arch/mips/bcm47xx/prom.c +++ b/arch/mips/bcm47xx/prom.c | |||
@@ -100,7 +100,7 @@ static __init void prom_init_console(void) | |||
100 | 100 | ||
101 | static __init void prom_init_cmdline(void) | 101 | static __init void prom_init_cmdline(void) |
102 | { | 102 | { |
103 | char buf[CL_SIZE]; | 103 | static char buf[CL_SIZE] __initdata; |
104 | 104 | ||
105 | /* Get the kernel command line from CFE */ | 105 | /* Get the kernel command line from CFE */ |
106 | if (cfe_getenv("LINUX_CMDLINE", buf, CL_SIZE) >= 0) { | 106 | if (cfe_getenv("LINUX_CMDLINE", buf, CL_SIZE) >= 0) { |
diff --git a/arch/mips/configs/rbtx49xx_defconfig b/arch/mips/configs/rbtx49xx_defconfig index c69813b8488c..6c6a19aebe1f 100644 --- a/arch/mips/configs/rbtx49xx_defconfig +++ b/arch/mips/configs/rbtx49xx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.29-rc7 | 3 | # Linux kernel version: 2.6.32-rc6 |
4 | # Wed Mar 4 23:08:06 2009 | 4 | # Sun Nov 8 22:59:47 2009 |
5 | # | 5 | # |
6 | CONFIG_MIPS=y | 6 | CONFIG_MIPS=y |
7 | 7 | ||
@@ -9,16 +9,18 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_AR7 is not set | ||
12 | # CONFIG_BASLER_EXCITE is not set | 13 | # CONFIG_BASLER_EXCITE is not set |
13 | # CONFIG_BCM47XX is not set | 14 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_BCM63XX is not set | ||
14 | # CONFIG_MIPS_COBALT is not set | 16 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 17 | # CONFIG_MACH_DECSTATION is not set |
16 | # CONFIG_MACH_JAZZ is not set | 18 | # CONFIG_MACH_JAZZ is not set |
17 | # CONFIG_LASAT is not set | 19 | # CONFIG_LASAT is not set |
18 | # CONFIG_LEMOTE_FULONG is not set | 20 | # CONFIG_MACH_LOONGSON is not set |
19 | # CONFIG_MIPS_MALTA is not set | 21 | # CONFIG_MIPS_MALTA is not set |
20 | # CONFIG_MIPS_SIM is not set | 22 | # CONFIG_MIPS_SIM is not set |
21 | # CONFIG_MACH_EMMA is not set | 23 | # CONFIG_NEC_MARKEINS is not set |
22 | # CONFIG_MACH_VR41XX is not set | 24 | # CONFIG_MACH_VR41XX is not set |
23 | # CONFIG_NXP_STB220 is not set | 25 | # CONFIG_NXP_STB220 is not set |
24 | # CONFIG_NXP_STB225 is not set | 26 | # CONFIG_NXP_STB225 is not set |
@@ -45,6 +47,7 @@ CONFIG_MACH_TX49XX=y | |||
45 | # CONFIG_WR_PPMC is not set | 47 | # CONFIG_WR_PPMC is not set |
46 | # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set | 48 | # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set |
47 | # CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set | 49 | # CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set |
50 | # CONFIG_ALCHEMY_GPIO_INDIRECT is not set | ||
48 | CONFIG_MACH_TXX9=y | 51 | CONFIG_MACH_TXX9=y |
49 | CONFIG_TOSHIBA_RBTX4927=y | 52 | CONFIG_TOSHIBA_RBTX4927=y |
50 | CONFIG_TOSHIBA_RBTX4938=y | 53 | CONFIG_TOSHIBA_RBTX4938=y |
@@ -86,7 +89,6 @@ CONFIG_DMA_NONCOHERENT=y | |||
86 | CONFIG_DMA_NEED_PCI_MAP_STATE=y | 89 | CONFIG_DMA_NEED_PCI_MAP_STATE=y |
87 | CONFIG_EARLY_PRINTK=y | 90 | CONFIG_EARLY_PRINTK=y |
88 | CONFIG_SYS_HAS_EARLY_PRINTK=y | 91 | CONFIG_SYS_HAS_EARLY_PRINTK=y |
89 | # CONFIG_HOTPLUG_CPU is not set | ||
90 | # CONFIG_NO_IOPORT is not set | 92 | # CONFIG_NO_IOPORT is not set |
91 | CONFIG_GENERIC_GPIO=y | 93 | CONFIG_GENERIC_GPIO=y |
92 | CONFIG_CPU_BIG_ENDIAN=y | 94 | CONFIG_CPU_BIG_ENDIAN=y |
@@ -101,7 +103,7 @@ CONFIG_MIPS_L1_CACHE_SHIFT=5 | |||
101 | # | 103 | # |
102 | # CPU selection | 104 | # CPU selection |
103 | # | 105 | # |
104 | # CONFIG_CPU_LOONGSON2 is not set | 106 | # CONFIG_CPU_LOONGSON2E is not set |
105 | # CONFIG_CPU_MIPS32_R1 is not set | 107 | # CONFIG_CPU_MIPS32_R1 is not set |
106 | # CONFIG_CPU_MIPS32_R2 is not set | 108 | # CONFIG_CPU_MIPS32_R2 is not set |
107 | # CONFIG_CPU_MIPS64_R1 is not set | 109 | # CONFIG_CPU_MIPS64_R1 is not set |
@@ -137,6 +139,7 @@ CONFIG_32BIT=y | |||
137 | CONFIG_PAGE_SIZE_4KB=y | 139 | CONFIG_PAGE_SIZE_4KB=y |
138 | # CONFIG_PAGE_SIZE_8KB is not set | 140 | # CONFIG_PAGE_SIZE_8KB is not set |
139 | # CONFIG_PAGE_SIZE_16KB is not set | 141 | # CONFIG_PAGE_SIZE_16KB is not set |
142 | # CONFIG_PAGE_SIZE_32KB is not set | ||
140 | # CONFIG_PAGE_SIZE_64KB is not set | 143 | # CONFIG_PAGE_SIZE_64KB is not set |
141 | CONFIG_CPU_HAS_PREFETCH=y | 144 | CONFIG_CPU_HAS_PREFETCH=y |
142 | CONFIG_MIPS_MT_DISABLED=y | 145 | CONFIG_MIPS_MT_DISABLED=y |
@@ -154,7 +157,10 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
154 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 157 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
155 | CONFIG_ZONE_DMA_FLAG=0 | 158 | CONFIG_ZONE_DMA_FLAG=0 |
156 | CONFIG_VIRT_TO_BUS=y | 159 | CONFIG_VIRT_TO_BUS=y |
157 | CONFIG_UNEVICTABLE_LRU=y | 160 | CONFIG_HAVE_MLOCK=y |
161 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
162 | # CONFIG_KSM is not set | ||
163 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
158 | CONFIG_TICK_ONESHOT=y | 164 | CONFIG_TICK_ONESHOT=y |
159 | CONFIG_NO_HZ=y | 165 | CONFIG_NO_HZ=y |
160 | CONFIG_HIGH_RES_TIMERS=y | 166 | CONFIG_HIGH_RES_TIMERS=y |
@@ -175,6 +181,7 @@ CONFIG_PREEMPT_NONE=y | |||
175 | CONFIG_LOCKDEP_SUPPORT=y | 181 | CONFIG_LOCKDEP_SUPPORT=y |
176 | CONFIG_STACKTRACE_SUPPORT=y | 182 | CONFIG_STACKTRACE_SUPPORT=y |
177 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 183 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
184 | CONFIG_CONSTRUCTORS=y | ||
178 | 185 | ||
179 | # | 186 | # |
180 | # General setup | 187 | # General setup |
@@ -194,11 +201,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
194 | # | 201 | # |
195 | # RCU Subsystem | 202 | # RCU Subsystem |
196 | # | 203 | # |
197 | CONFIG_CLASSIC_RCU=y | 204 | CONFIG_TREE_RCU=y |
198 | # CONFIG_TREE_RCU is not set | 205 | # CONFIG_TREE_PREEMPT_RCU is not set |
199 | # CONFIG_PREEMPT_RCU is not set | 206 | # CONFIG_RCU_TRACE is not set |
207 | CONFIG_RCU_FANOUT=32 | ||
208 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
200 | # CONFIG_TREE_RCU_TRACE is not set | 209 | # CONFIG_TREE_RCU_TRACE is not set |
201 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
202 | CONFIG_IKCONFIG=y | 210 | CONFIG_IKCONFIG=y |
203 | CONFIG_IKCONFIG_PROC=y | 211 | CONFIG_IKCONFIG_PROC=y |
204 | CONFIG_LOG_BUF_SHIFT=14 | 212 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -209,8 +217,12 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
209 | # CONFIG_NAMESPACES is not set | 217 | # CONFIG_NAMESPACES is not set |
210 | CONFIG_BLK_DEV_INITRD=y | 218 | CONFIG_BLK_DEV_INITRD=y |
211 | CONFIG_INITRAMFS_SOURCE="" | 219 | CONFIG_INITRAMFS_SOURCE="" |
220 | CONFIG_RD_GZIP=y | ||
221 | # CONFIG_RD_BZIP2 is not set | ||
222 | # CONFIG_RD_LZMA is not set | ||
212 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 223 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
213 | CONFIG_SYSCTL=y | 224 | CONFIG_SYSCTL=y |
225 | CONFIG_ANON_INODES=y | ||
214 | CONFIG_EMBEDDED=y | 226 | CONFIG_EMBEDDED=y |
215 | CONFIG_SYSCTL_SYSCALL=y | 227 | CONFIG_SYSCTL_SYSCALL=y |
216 | CONFIG_KALLSYMS=y | 228 | CONFIG_KALLSYMS=y |
@@ -220,25 +232,35 @@ CONFIG_PRINTK=y | |||
220 | CONFIG_BUG=y | 232 | CONFIG_BUG=y |
221 | CONFIG_ELF_CORE=y | 233 | CONFIG_ELF_CORE=y |
222 | # CONFIG_PCSPKR_PLATFORM is not set | 234 | # CONFIG_PCSPKR_PLATFORM is not set |
223 | CONFIG_COMPAT_BRK=y | ||
224 | CONFIG_BASE_FULL=y | 235 | CONFIG_BASE_FULL=y |
225 | # CONFIG_FUTEX is not set | 236 | CONFIG_FUTEX=y |
226 | CONFIG_ANON_INODES=y | ||
227 | # CONFIG_EPOLL is not set | 237 | # CONFIG_EPOLL is not set |
228 | CONFIG_SIGNALFD=y | 238 | CONFIG_SIGNALFD=y |
229 | CONFIG_TIMERFD=y | 239 | CONFIG_TIMERFD=y |
230 | CONFIG_EVENTFD=y | 240 | CONFIG_EVENTFD=y |
231 | CONFIG_SHMEM=y | 241 | CONFIG_SHMEM=y |
232 | CONFIG_AIO=y | 242 | CONFIG_AIO=y |
243 | |||
244 | # | ||
245 | # Kernel Performance Events And Counters | ||
246 | # | ||
233 | CONFIG_VM_EVENT_COUNTERS=y | 247 | CONFIG_VM_EVENT_COUNTERS=y |
234 | CONFIG_PCI_QUIRKS=y | 248 | CONFIG_PCI_QUIRKS=y |
249 | CONFIG_COMPAT_BRK=y | ||
235 | CONFIG_SLAB=y | 250 | CONFIG_SLAB=y |
236 | # CONFIG_SLUB is not set | 251 | # CONFIG_SLUB is not set |
237 | # CONFIG_SLOB is not set | 252 | # CONFIG_SLOB is not set |
238 | # CONFIG_PROFILING is not set | 253 | # CONFIG_PROFILING is not set |
239 | CONFIG_HAVE_OPROFILE=y | 254 | CONFIG_HAVE_OPROFILE=y |
240 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 255 | |
256 | # | ||
257 | # GCOV-based kernel profiling | ||
258 | # | ||
259 | # CONFIG_GCOV_KERNEL is not set | ||
260 | # CONFIG_SLOW_WORK is not set | ||
261 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
241 | CONFIG_SLABINFO=y | 262 | CONFIG_SLABINFO=y |
263 | CONFIG_RT_MUTEXES=y | ||
242 | CONFIG_BASE_SMALL=0 | 264 | CONFIG_BASE_SMALL=0 |
243 | CONFIG_MODULES=y | 265 | CONFIG_MODULES=y |
244 | # CONFIG_MODULE_FORCE_LOAD is not set | 266 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -246,8 +268,8 @@ CONFIG_MODULE_UNLOAD=y | |||
246 | # CONFIG_MODVERSIONS is not set | 268 | # CONFIG_MODVERSIONS is not set |
247 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 269 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
248 | CONFIG_BLOCK=y | 270 | CONFIG_BLOCK=y |
249 | # CONFIG_LBD is not set | 271 | # CONFIG_LBDAF is not set |
250 | # CONFIG_BLK_DEV_IO_TRACE is not set | 272 | # CONFIG_BLK_DEV_BSG is not set |
251 | # CONFIG_BLK_DEV_INTEGRITY is not set | 273 | # CONFIG_BLK_DEV_INTEGRITY is not set |
252 | 274 | ||
253 | # | 275 | # |
@@ -274,6 +296,7 @@ CONFIG_PCI_DOMAINS=y | |||
274 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 296 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
275 | # CONFIG_PCI_LEGACY is not set | 297 | # CONFIG_PCI_LEGACY is not set |
276 | # CONFIG_PCI_STUB is not set | 298 | # CONFIG_PCI_STUB is not set |
299 | # CONFIG_PCI_IOV is not set | ||
277 | CONFIG_MMU=y | 300 | CONFIG_MMU=y |
278 | 301 | ||
279 | # | 302 | # |
@@ -288,6 +311,7 @@ CONFIG_TRAD_SIGNALS=y | |||
288 | # | 311 | # |
289 | # Power management options | 312 | # Power management options |
290 | # | 313 | # |
314 | CONFIG_ARCH_HIBERNATION_POSSIBLE=y | ||
291 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 315 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
292 | # CONFIG_PM is not set | 316 | # CONFIG_PM is not set |
293 | CONFIG_NET=y | 317 | CONFIG_NET=y |
@@ -295,7 +319,6 @@ CONFIG_NET=y | |||
295 | # | 319 | # |
296 | # Networking options | 320 | # Networking options |
297 | # | 321 | # |
298 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
299 | CONFIG_PACKET=y | 322 | CONFIG_PACKET=y |
300 | # CONFIG_PACKET_MMAP is not set | 323 | # CONFIG_PACKET_MMAP is not set |
301 | CONFIG_UNIX=y | 324 | CONFIG_UNIX=y |
@@ -311,6 +334,7 @@ CONFIG_IP_PNP=y | |||
311 | # CONFIG_NET_IPIP is not set | 334 | # CONFIG_NET_IPIP is not set |
312 | # CONFIG_NET_IPGRE is not set | 335 | # CONFIG_NET_IPGRE is not set |
313 | # CONFIG_IP_MROUTE is not set | 336 | # CONFIG_IP_MROUTE is not set |
337 | # CONFIG_ARPD is not set | ||
314 | # CONFIG_SYN_COOKIES is not set | 338 | # CONFIG_SYN_COOKIES is not set |
315 | # CONFIG_INET_AH is not set | 339 | # CONFIG_INET_AH is not set |
316 | # CONFIG_INET_ESP is not set | 340 | # CONFIG_INET_ESP is not set |
@@ -336,6 +360,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
336 | # CONFIG_LLC2 is not set | 360 | # CONFIG_LLC2 is not set |
337 | # CONFIG_IPX is not set | 361 | # CONFIG_IPX is not set |
338 | # CONFIG_ATALK is not set | 362 | # CONFIG_ATALK is not set |
363 | # CONFIG_PHONET is not set | ||
339 | # CONFIG_NET_SCHED is not set | 364 | # CONFIG_NET_SCHED is not set |
340 | # CONFIG_DCB is not set | 365 | # CONFIG_DCB is not set |
341 | 366 | ||
@@ -347,7 +372,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
347 | # CONFIG_CAN is not set | 372 | # CONFIG_CAN is not set |
348 | # CONFIG_IRDA is not set | 373 | # CONFIG_IRDA is not set |
349 | # CONFIG_BT is not set | 374 | # CONFIG_BT is not set |
350 | # CONFIG_PHONET is not set | ||
351 | # CONFIG_WIRELESS is not set | 375 | # CONFIG_WIRELESS is not set |
352 | # CONFIG_WIMAX is not set | 376 | # CONFIG_WIMAX is not set |
353 | # CONFIG_RFKILL is not set | 377 | # CONFIG_RFKILL is not set |
@@ -365,9 +389,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
365 | # CONFIG_CONNECTOR is not set | 389 | # CONFIG_CONNECTOR is not set |
366 | CONFIG_MTD=y | 390 | CONFIG_MTD=y |
367 | # CONFIG_MTD_DEBUG is not set | 391 | # CONFIG_MTD_DEBUG is not set |
392 | # CONFIG_MTD_TESTS is not set | ||
368 | # CONFIG_MTD_CONCAT is not set | 393 | # CONFIG_MTD_CONCAT is not set |
369 | CONFIG_MTD_PARTITIONS=y | 394 | CONFIG_MTD_PARTITIONS=y |
370 | # CONFIG_MTD_TESTS is not set | ||
371 | # CONFIG_MTD_REDBOOT_PARTS is not set | 395 | # CONFIG_MTD_REDBOOT_PARTS is not set |
372 | CONFIG_MTD_CMDLINE_PARTS=y | 396 | CONFIG_MTD_CMDLINE_PARTS=y |
373 | # CONFIG_MTD_AR7_PARTS is not set | 397 | # CONFIG_MTD_AR7_PARTS is not set |
@@ -376,9 +400,9 @@ CONFIG_MTD_CMDLINE_PARTS=y | |||
376 | # User Modules And Translation Layers | 400 | # User Modules And Translation Layers |
377 | # | 401 | # |
378 | CONFIG_MTD_CHAR=y | 402 | CONFIG_MTD_CHAR=y |
379 | # CONFIG_MTD_BLKDEVS is not set | 403 | CONFIG_MTD_BLKDEVS=m |
380 | # CONFIG_MTD_BLOCK is not set | 404 | CONFIG_MTD_BLOCK=m |
381 | # CONFIG_MTD_BLOCK_RO is not set | 405 | CONFIG_MTD_BLOCK_RO=m |
382 | # CONFIG_FTL is not set | 406 | # CONFIG_FTL is not set |
383 | # CONFIG_NFTL is not set | 407 | # CONFIG_NFTL is not set |
384 | # CONFIG_INFTL is not set | 408 | # CONFIG_INFTL is not set |
@@ -414,16 +438,20 @@ CONFIG_MTD_CFI_UTIL=y | |||
414 | # | 438 | # |
415 | # Mapping drivers for chip access | 439 | # Mapping drivers for chip access |
416 | # | 440 | # |
417 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 441 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
418 | CONFIG_MTD_PHYSMAP=y | 442 | CONFIG_MTD_PHYSMAP=y |
419 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | 443 | # CONFIG_MTD_PHYSMAP_COMPAT is not set |
444 | # CONFIG_MTD_PCI is not set | ||
445 | # CONFIG_MTD_GPIO_ADDR is not set | ||
420 | # CONFIG_MTD_INTEL_VR_NOR is not set | 446 | # CONFIG_MTD_INTEL_VR_NOR is not set |
447 | CONFIG_MTD_RBTX4939=y | ||
421 | # CONFIG_MTD_PLATRAM is not set | 448 | # CONFIG_MTD_PLATRAM is not set |
422 | 449 | ||
423 | # | 450 | # |
424 | # Self-contained MTD device drivers | 451 | # Self-contained MTD device drivers |
425 | # | 452 | # |
426 | # CONFIG_MTD_PMC551 is not set | 453 | # CONFIG_MTD_PMC551 is not set |
454 | # CONFIG_MTD_SST25L is not set | ||
427 | # CONFIG_MTD_SLRAM is not set | 455 | # CONFIG_MTD_SLRAM is not set |
428 | # CONFIG_MTD_PHRAM is not set | 456 | # CONFIG_MTD_PHRAM is not set |
429 | # CONFIG_MTD_MTDRAM is not set | 457 | # CONFIG_MTD_MTDRAM is not set |
@@ -435,7 +463,15 @@ CONFIG_MTD_PHYSMAP=y | |||
435 | # CONFIG_MTD_DOC2000 is not set | 463 | # CONFIG_MTD_DOC2000 is not set |
436 | # CONFIG_MTD_DOC2001 is not set | 464 | # CONFIG_MTD_DOC2001 is not set |
437 | # CONFIG_MTD_DOC2001PLUS is not set | 465 | # CONFIG_MTD_DOC2001PLUS is not set |
438 | # CONFIG_MTD_NAND is not set | 466 | CONFIG_MTD_NAND=m |
467 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
468 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
469 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
470 | CONFIG_MTD_NAND_IDS=m | ||
471 | # CONFIG_MTD_NAND_CAFE is not set | ||
472 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
473 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
474 | CONFIG_MTD_NAND_TXX9NDFMC=m | ||
439 | # CONFIG_MTD_ONENAND is not set | 475 | # CONFIG_MTD_ONENAND is not set |
440 | 476 | ||
441 | # | 477 | # |
@@ -471,6 +507,7 @@ CONFIG_IDE=y | |||
471 | # | 507 | # |
472 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | 508 | # Please see Documentation/ide/ide.txt for help/info on IDE drives |
473 | # | 509 | # |
510 | CONFIG_IDE_XFER_MODE=y | ||
474 | CONFIG_IDE_TIMINGS=y | 511 | CONFIG_IDE_TIMINGS=y |
475 | # CONFIG_BLK_DEV_IDE_SATA is not set | 512 | # CONFIG_BLK_DEV_IDE_SATA is not set |
476 | CONFIG_IDE_GD=y | 513 | CONFIG_IDE_GD=y |
@@ -534,8 +571,13 @@ CONFIG_BLK_DEV_IDEDMA=y | |||
534 | # | 571 | # |
535 | 572 | ||
536 | # | 573 | # |
537 | # A new alternative FireWire stack is available with EXPERIMENTAL=y | 574 | # You can enable one or both FireWire driver stacks. |
538 | # | 575 | # |
576 | |||
577 | # | ||
578 | # See the help texts for more information. | ||
579 | # | ||
580 | # CONFIG_FIREWIRE is not set | ||
539 | # CONFIG_IEEE1394 is not set | 581 | # CONFIG_IEEE1394 is not set |
540 | # CONFIG_I2O is not set | 582 | # CONFIG_I2O is not set |
541 | CONFIG_NETDEVICES=y | 583 | CONFIG_NETDEVICES=y |
@@ -574,6 +616,8 @@ CONFIG_MII=y | |||
574 | # CONFIG_NET_VENDOR_3COM is not set | 616 | # CONFIG_NET_VENDOR_3COM is not set |
575 | CONFIG_SMC91X=y | 617 | CONFIG_SMC91X=y |
576 | # CONFIG_DM9000 is not set | 618 | # CONFIG_DM9000 is not set |
619 | # CONFIG_ETHOC is not set | ||
620 | # CONFIG_DNET is not set | ||
577 | # CONFIG_NET_TULIP is not set | 621 | # CONFIG_NET_TULIP is not set |
578 | # CONFIG_HP100 is not set | 622 | # CONFIG_HP100 is not set |
579 | CONFIG_NE2000=y | 623 | CONFIG_NE2000=y |
@@ -602,18 +646,15 @@ CONFIG_TC35815=y | |||
602 | # CONFIG_SMSC9420 is not set | 646 | # CONFIG_SMSC9420 is not set |
603 | # CONFIG_SUNDANCE is not set | 647 | # CONFIG_SUNDANCE is not set |
604 | # CONFIG_TLAN is not set | 648 | # CONFIG_TLAN is not set |
649 | # CONFIG_KS8842 is not set | ||
650 | # CONFIG_KS8851 is not set | ||
651 | # CONFIG_KS8851_MLL is not set | ||
605 | # CONFIG_VIA_RHINE is not set | 652 | # CONFIG_VIA_RHINE is not set |
606 | # CONFIG_ATL2 is not set | 653 | # CONFIG_ATL2 is not set |
607 | # CONFIG_NETDEV_1000 is not set | 654 | # CONFIG_NETDEV_1000 is not set |
608 | # CONFIG_NETDEV_10000 is not set | 655 | # CONFIG_NETDEV_10000 is not set |
609 | # CONFIG_TR is not set | 656 | # CONFIG_TR is not set |
610 | 657 | # CONFIG_WLAN is not set | |
611 | # | ||
612 | # Wireless LAN | ||
613 | # | ||
614 | # CONFIG_WLAN_PRE80211 is not set | ||
615 | # CONFIG_WLAN_80211 is not set | ||
616 | # CONFIG_IWLWIFI_LEDS is not set | ||
617 | 658 | ||
618 | # | 659 | # |
619 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 660 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
@@ -653,6 +694,7 @@ CONFIG_DEVKMEM=y | |||
653 | # | 694 | # |
654 | # Non-8250 serial port support | 695 | # Non-8250 serial port support |
655 | # | 696 | # |
697 | # CONFIG_SERIAL_MAX3100 is not set | ||
656 | CONFIG_SERIAL_CORE=y | 698 | CONFIG_SERIAL_CORE=y |
657 | CONFIG_SERIAL_CORE_CONSOLE=y | 699 | CONFIG_SERIAL_CORE_CONSOLE=y |
658 | CONFIG_SERIAL_TXX9=y | 700 | CONFIG_SERIAL_TXX9=y |
@@ -666,7 +708,9 @@ CONFIG_UNIX98_PTYS=y | |||
666 | CONFIG_LEGACY_PTYS=y | 708 | CONFIG_LEGACY_PTYS=y |
667 | CONFIG_LEGACY_PTY_COUNT=256 | 709 | CONFIG_LEGACY_PTY_COUNT=256 |
668 | # CONFIG_IPMI_HANDLER is not set | 710 | # CONFIG_IPMI_HANDLER is not set |
669 | # CONFIG_HW_RANDOM is not set | 711 | CONFIG_HW_RANDOM=m |
712 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
713 | CONFIG_HW_RANDOM_TX4939=m | ||
670 | # CONFIG_R3964 is not set | 714 | # CONFIG_R3964 is not set |
671 | # CONFIG_APPLICOM is not set | 715 | # CONFIG_APPLICOM is not set |
672 | # CONFIG_RAW_DRIVER is not set | 716 | # CONFIG_RAW_DRIVER is not set |
@@ -686,6 +730,10 @@ CONFIG_SPI_TXX9=y | |||
686 | # SPI Protocol Masters | 730 | # SPI Protocol Masters |
687 | # | 731 | # |
688 | # CONFIG_SPI_TLE62X0 is not set | 732 | # CONFIG_SPI_TLE62X0 is not set |
733 | |||
734 | # | ||
735 | # PPS support | ||
736 | # | ||
689 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | 737 | CONFIG_ARCH_REQUIRE_GPIOLIB=y |
690 | CONFIG_GPIOLIB=y | 738 | CONFIG_GPIOLIB=y |
691 | 739 | ||
@@ -701,17 +749,22 @@ CONFIG_GPIOLIB=y | |||
701 | # PCI GPIO expanders: | 749 | # PCI GPIO expanders: |
702 | # | 750 | # |
703 | # CONFIG_GPIO_BT8XX is not set | 751 | # CONFIG_GPIO_BT8XX is not set |
752 | # CONFIG_GPIO_LANGWELL is not set | ||
704 | 753 | ||
705 | # | 754 | # |
706 | # SPI GPIO expanders: | 755 | # SPI GPIO expanders: |
707 | # | 756 | # |
708 | # CONFIG_GPIO_MAX7301 is not set | 757 | # CONFIG_GPIO_MAX7301 is not set |
709 | # CONFIG_GPIO_MCP23S08 is not set | 758 | # CONFIG_GPIO_MCP23S08 is not set |
759 | # CONFIG_GPIO_MC33880 is not set | ||
760 | |||
761 | # | ||
762 | # AC97 GPIO expanders: | ||
763 | # | ||
710 | # CONFIG_W1 is not set | 764 | # CONFIG_W1 is not set |
711 | # CONFIG_POWER_SUPPLY is not set | 765 | # CONFIG_POWER_SUPPLY is not set |
712 | # CONFIG_HWMON is not set | 766 | # CONFIG_HWMON is not set |
713 | # CONFIG_THERMAL is not set | 767 | # CONFIG_THERMAL is not set |
714 | # CONFIG_THERMAL_HWMON is not set | ||
715 | CONFIG_WATCHDOG=y | 768 | CONFIG_WATCHDOG=y |
716 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 769 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
717 | 770 | ||
@@ -740,28 +793,17 @@ CONFIG_SSB_POSSIBLE=y | |||
740 | # CONFIG_MFD_CORE is not set | 793 | # CONFIG_MFD_CORE is not set |
741 | # CONFIG_MFD_SM501 is not set | 794 | # CONFIG_MFD_SM501 is not set |
742 | # CONFIG_HTC_PASIC3 is not set | 795 | # CONFIG_HTC_PASIC3 is not set |
796 | # CONFIG_UCB1400_CORE is not set | ||
743 | # CONFIG_MFD_TMIO is not set | 797 | # CONFIG_MFD_TMIO is not set |
798 | # CONFIG_MFD_MC13783 is not set | ||
799 | # CONFIG_EZX_PCAP is not set | ||
744 | # CONFIG_REGULATOR is not set | 800 | # CONFIG_REGULATOR is not set |
745 | 801 | # CONFIG_MEDIA_SUPPORT is not set | |
746 | # | ||
747 | # Multimedia devices | ||
748 | # | ||
749 | |||
750 | # | ||
751 | # Multimedia core support | ||
752 | # | ||
753 | # CONFIG_VIDEO_DEV is not set | ||
754 | # CONFIG_DVB_CORE is not set | ||
755 | # CONFIG_VIDEO_MEDIA is not set | ||
756 | |||
757 | # | ||
758 | # Multimedia drivers | ||
759 | # | ||
760 | # CONFIG_DAB is not set | ||
761 | 802 | ||
762 | # | 803 | # |
763 | # Graphics support | 804 | # Graphics support |
764 | # | 805 | # |
806 | # CONFIG_VGA_ARB is not set | ||
765 | # CONFIG_DRM is not set | 807 | # CONFIG_DRM is not set |
766 | # CONFIG_VGASTATE is not set | 808 | # CONFIG_VGASTATE is not set |
767 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 809 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -772,7 +814,42 @@ CONFIG_SSB_POSSIBLE=y | |||
772 | # Display device support | 814 | # Display device support |
773 | # | 815 | # |
774 | # CONFIG_DISPLAY_SUPPORT is not set | 816 | # CONFIG_DISPLAY_SUPPORT is not set |
775 | # CONFIG_SOUND is not set | 817 | CONFIG_SOUND=m |
818 | # CONFIG_SOUND_OSS_CORE is not set | ||
819 | CONFIG_SND=m | ||
820 | CONFIG_SND_TIMER=m | ||
821 | CONFIG_SND_PCM=m | ||
822 | # CONFIG_SND_SEQUENCER is not set | ||
823 | # CONFIG_SND_MIXER_OSS is not set | ||
824 | # CONFIG_SND_PCM_OSS is not set | ||
825 | # CONFIG_SND_HRTIMER is not set | ||
826 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
827 | # CONFIG_SND_SUPPORT_OLD_API is not set | ||
828 | # CONFIG_SND_VERBOSE_PROCFS is not set | ||
829 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
830 | # CONFIG_SND_DEBUG is not set | ||
831 | CONFIG_SND_VMASTER=y | ||
832 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
833 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
834 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
835 | # CONFIG_SND_SBAWE_SEQ is not set | ||
836 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
837 | CONFIG_SND_AC97_CODEC=m | ||
838 | # CONFIG_SND_DRIVERS is not set | ||
839 | # CONFIG_SND_PCI is not set | ||
840 | # CONFIG_SND_SPI is not set | ||
841 | # CONFIG_SND_MIPS is not set | ||
842 | CONFIG_SND_SOC=m | ||
843 | CONFIG_SND_SOC_AC97_BUS=y | ||
844 | CONFIG_SND_SOC_TXX9ACLC=m | ||
845 | CONFIG_HAS_TXX9_ACLC=y | ||
846 | CONFIG_SND_SOC_TXX9ACLC_AC97=m | ||
847 | CONFIG_SND_SOC_TXX9ACLC_GENERIC=m | ||
848 | CONFIG_SND_SOC_I2C_AND_SPI=m | ||
849 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
850 | CONFIG_SND_SOC_AC97_CODEC=m | ||
851 | # CONFIG_SOUND_PRIME is not set | ||
852 | CONFIG_AC97_BUS=m | ||
776 | # CONFIG_USB_SUPPORT is not set | 853 | # CONFIG_USB_SUPPORT is not set |
777 | # CONFIG_MMC is not set | 854 | # CONFIG_MMC is not set |
778 | # CONFIG_MEMSTICK is not set | 855 | # CONFIG_MEMSTICK is not set |
@@ -783,6 +860,8 @@ CONFIG_LEDS_CLASS=y | |||
783 | # LED drivers | 860 | # LED drivers |
784 | # | 861 | # |
785 | CONFIG_LEDS_GPIO=y | 862 | CONFIG_LEDS_GPIO=y |
863 | CONFIG_LEDS_GPIO_PLATFORM=y | ||
864 | # CONFIG_LEDS_DAC124S085 is not set | ||
786 | 865 | ||
787 | # | 866 | # |
788 | # LED Triggers | 867 | # LED Triggers |
@@ -792,7 +871,12 @@ CONFIG_LEDS_TRIGGERS=y | |||
792 | CONFIG_LEDS_TRIGGER_IDE_DISK=y | 871 | CONFIG_LEDS_TRIGGER_IDE_DISK=y |
793 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | 872 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
794 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set | 873 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set |
874 | # CONFIG_LEDS_TRIGGER_GPIO is not set | ||
795 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set | 875 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set |
876 | |||
877 | # | ||
878 | # iptables trigger is under Netfilter config (LED target) | ||
879 | # | ||
796 | # CONFIG_ACCESSIBILITY is not set | 880 | # CONFIG_ACCESSIBILITY is not set |
797 | # CONFIG_INFINIBAND is not set | 881 | # CONFIG_INFINIBAND is not set |
798 | CONFIG_RTC_LIB=y | 882 | CONFIG_RTC_LIB=y |
@@ -820,6 +904,7 @@ CONFIG_RTC_INTF_DEV_UIE_EMUL=y | |||
820 | # CONFIG_RTC_DRV_R9701 is not set | 904 | # CONFIG_RTC_DRV_R9701 is not set |
821 | CONFIG_RTC_DRV_RS5C348=y | 905 | CONFIG_RTC_DRV_RS5C348=y |
822 | # CONFIG_RTC_DRV_DS3234 is not set | 906 | # CONFIG_RTC_DRV_DS3234 is not set |
907 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
823 | 908 | ||
824 | # | 909 | # |
825 | # Platform RTC drivers | 910 | # Platform RTC drivers |
@@ -840,8 +925,26 @@ CONFIG_RTC_DRV_DS1742=y | |||
840 | # on-CPU RTC drivers | 925 | # on-CPU RTC drivers |
841 | # | 926 | # |
842 | CONFIG_RTC_DRV_TX4939=y | 927 | CONFIG_RTC_DRV_TX4939=y |
843 | # CONFIG_DMADEVICES is not set | 928 | CONFIG_DMADEVICES=y |
929 | |||
930 | # | ||
931 | # DMA Devices | ||
932 | # | ||
933 | CONFIG_TXX9_DMAC=m | ||
934 | CONFIG_DMA_ENGINE=y | ||
935 | |||
936 | # | ||
937 | # DMA Clients | ||
938 | # | ||
939 | # CONFIG_NET_DMA is not set | ||
940 | # CONFIG_ASYNC_TX_DMA is not set | ||
941 | # CONFIG_DMATEST is not set | ||
942 | # CONFIG_AUXDISPLAY is not set | ||
844 | # CONFIG_UIO is not set | 943 | # CONFIG_UIO is not set |
944 | |||
945 | # | ||
946 | # TI VLYNQ | ||
947 | # | ||
845 | # CONFIG_STAGING is not set | 948 | # CONFIG_STAGING is not set |
846 | 949 | ||
847 | # | 950 | # |
@@ -853,9 +956,10 @@ CONFIG_RTC_DRV_TX4939=y | |||
853 | # CONFIG_REISERFS_FS is not set | 956 | # CONFIG_REISERFS_FS is not set |
854 | # CONFIG_JFS_FS is not set | 957 | # CONFIG_JFS_FS is not set |
855 | CONFIG_FS_POSIX_ACL=y | 958 | CONFIG_FS_POSIX_ACL=y |
856 | CONFIG_FILE_LOCKING=y | ||
857 | # CONFIG_XFS_FS is not set | 959 | # CONFIG_XFS_FS is not set |
858 | # CONFIG_OCFS2_FS is not set | 960 | # CONFIG_OCFS2_FS is not set |
961 | CONFIG_FILE_LOCKING=y | ||
962 | CONFIG_FSNOTIFY=y | ||
859 | # CONFIG_DNOTIFY is not set | 963 | # CONFIG_DNOTIFY is not set |
860 | CONFIG_INOTIFY=y | 964 | CONFIG_INOTIFY=y |
861 | CONFIG_INOTIFY_USER=y | 965 | CONFIG_INOTIFY_USER=y |
@@ -866,6 +970,10 @@ CONFIG_INOTIFY_USER=y | |||
866 | CONFIG_GENERIC_ACL=y | 970 | CONFIG_GENERIC_ACL=y |
867 | 971 | ||
868 | # | 972 | # |
973 | # Caches | ||
974 | # | ||
975 | |||
976 | # | ||
869 | # CD-ROM/DVD Filesystems | 977 | # CD-ROM/DVD Filesystems |
870 | # | 978 | # |
871 | # CONFIG_ISO9660_FS is not set | 979 | # CONFIG_ISO9660_FS is not set |
@@ -890,7 +998,27 @@ CONFIG_TMPFS=y | |||
890 | CONFIG_TMPFS_POSIX_ACL=y | 998 | CONFIG_TMPFS_POSIX_ACL=y |
891 | # CONFIG_HUGETLB_PAGE is not set | 999 | # CONFIG_HUGETLB_PAGE is not set |
892 | # CONFIG_CONFIGFS_FS is not set | 1000 | # CONFIG_CONFIGFS_FS is not set |
893 | # CONFIG_MISC_FILESYSTEMS is not set | 1001 | CONFIG_MISC_FILESYSTEMS=y |
1002 | # CONFIG_HFSPLUS_FS is not set | ||
1003 | CONFIG_JFFS2_FS=m | ||
1004 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1005 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1006 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1007 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1008 | CONFIG_JFFS2_ZLIB=y | ||
1009 | # CONFIG_JFFS2_LZO is not set | ||
1010 | CONFIG_JFFS2_RTIME=y | ||
1011 | # CONFIG_JFFS2_RUBIN is not set | ||
1012 | # CONFIG_CRAMFS is not set | ||
1013 | # CONFIG_SQUASHFS is not set | ||
1014 | # CONFIG_VXFS_FS is not set | ||
1015 | # CONFIG_MINIX_FS is not set | ||
1016 | # CONFIG_OMFS_FS is not set | ||
1017 | # CONFIG_HPFS_FS is not set | ||
1018 | # CONFIG_QNX4FS_FS is not set | ||
1019 | # CONFIG_ROMFS_FS is not set | ||
1020 | # CONFIG_SYSV_FS is not set | ||
1021 | # CONFIG_UFS_FS is not set | ||
894 | CONFIG_NETWORK_FILESYSTEMS=y | 1022 | CONFIG_NETWORK_FILESYSTEMS=y |
895 | CONFIG_NFS_FS=y | 1023 | CONFIG_NFS_FS=y |
896 | CONFIG_NFS_V3=y | 1024 | CONFIG_NFS_V3=y |
@@ -922,6 +1050,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
922 | CONFIG_ENABLE_MUST_CHECK=y | 1050 | CONFIG_ENABLE_MUST_CHECK=y |
923 | CONFIG_FRAME_WARN=1024 | 1051 | CONFIG_FRAME_WARN=1024 |
924 | # CONFIG_MAGIC_SYSRQ is not set | 1052 | # CONFIG_MAGIC_SYSRQ is not set |
1053 | CONFIG_STRIP_ASM_SYMS=y | ||
925 | # CONFIG_UNUSED_SYMBOLS is not set | 1054 | # CONFIG_UNUSED_SYMBOLS is not set |
926 | CONFIG_DEBUG_FS=y | 1055 | CONFIG_DEBUG_FS=y |
927 | # CONFIG_HEADERS_CHECK is not set | 1056 | # CONFIG_HEADERS_CHECK is not set |
@@ -929,11 +1058,9 @@ CONFIG_DEBUG_FS=y | |||
929 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1058 | # CONFIG_DEBUG_MEMORY_INIT is not set |
930 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1059 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
931 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1060 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
932 | 1061 | CONFIG_TRACING_SUPPORT=y | |
933 | # | 1062 | # CONFIG_FTRACE is not set |
934 | # Tracers | 1063 | # CONFIG_DYNAMIC_DEBUG is not set |
935 | # | ||
936 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
937 | # CONFIG_SAMPLES is not set | 1064 | # CONFIG_SAMPLES is not set |
938 | CONFIG_HAVE_ARCH_KGDB=y | 1065 | CONFIG_HAVE_ARCH_KGDB=y |
939 | CONFIG_CMDLINE="" | 1066 | CONFIG_CMDLINE="" |
@@ -946,6 +1073,7 @@ CONFIG_CMDLINE="" | |||
946 | # CONFIG_SECURITYFS is not set | 1073 | # CONFIG_SECURITYFS is not set |
947 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1074 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
948 | # CONFIG_CRYPTO is not set | 1075 | # CONFIG_CRYPTO is not set |
1076 | # CONFIG_BINARY_PRINTF is not set | ||
949 | 1077 | ||
950 | # | 1078 | # |
951 | # Library routines | 1079 | # Library routines |
@@ -959,6 +1087,10 @@ CONFIG_GENERIC_FIND_LAST_BIT=y | |||
959 | CONFIG_CRC32=y | 1087 | CONFIG_CRC32=y |
960 | # CONFIG_CRC7 is not set | 1088 | # CONFIG_CRC7 is not set |
961 | # CONFIG_LIBCRC32C is not set | 1089 | # CONFIG_LIBCRC32C is not set |
1090 | CONFIG_ZLIB_INFLATE=y | ||
1091 | CONFIG_ZLIB_DEFLATE=m | ||
1092 | CONFIG_DECOMPRESS_GZIP=y | ||
962 | CONFIG_HAS_IOMEM=y | 1093 | CONFIG_HAS_IOMEM=y |
963 | CONFIG_HAS_IOPORT=y | 1094 | CONFIG_HAS_IOPORT=y |
964 | CONFIG_HAS_DMA=y | 1095 | CONFIG_HAS_DMA=y |
1096 | CONFIG_NLATTR=y | ||
diff --git a/arch/mips/include/asm/dma-mapping.h b/arch/mips/include/asm/dma-mapping.h index d16afddb09a9..664ba53dc32a 100644 --- a/arch/mips/include/asm/dma-mapping.h +++ b/arch/mips/include/asm/dma-mapping.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <asm/scatterlist.h> | 4 | #include <asm/scatterlist.h> |
5 | #include <asm/cache.h> | 5 | #include <asm/cache.h> |
6 | #include <asm-generic/dma-coherent.h> | ||
6 | 7 | ||
7 | void *dma_alloc_noncoherent(struct device *dev, size_t size, | 8 | void *dma_alloc_noncoherent(struct device *dev, size_t size, |
8 | dma_addr_t *dma_handle, gfp_t flag); | 9 | dma_addr_t *dma_handle, gfp_t flag); |
@@ -73,14 +74,4 @@ extern int dma_is_consistent(struct device *dev, dma_addr_t dma_addr); | |||
73 | extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 74 | extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
74 | enum dma_data_direction direction); | 75 | enum dma_data_direction direction); |
75 | 76 | ||
76 | #if 0 | ||
77 | #define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY | ||
78 | |||
79 | extern int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr, | ||
80 | dma_addr_t device_addr, size_t size, int flags); | ||
81 | extern void dma_release_declared_memory(struct device *dev); | ||
82 | extern void * dma_mark_declared_memory_occupied(struct device *dev, | ||
83 | dma_addr_t device_addr, size_t size); | ||
84 | #endif | ||
85 | |||
86 | #endif /* _ASM_DMA_MAPPING_H */ | 77 | #endif /* _ASM_DMA_MAPPING_H */ |
diff --git a/arch/mips/kernel/cevt-smtc.c b/arch/mips/kernel/cevt-smtc.c index 98bd7de75778..b102e4f1630e 100644 --- a/arch/mips/kernel/cevt-smtc.c +++ b/arch/mips/kernel/cevt-smtc.c | |||
@@ -173,11 +173,12 @@ void smtc_distribute_timer(int vpe) | |||
173 | unsigned int mtflags; | 173 | unsigned int mtflags; |
174 | int cpu; | 174 | int cpu; |
175 | struct clock_event_device *cd; | 175 | struct clock_event_device *cd; |
176 | unsigned long nextstamp = 0L; | 176 | unsigned long nextstamp; |
177 | unsigned long reference; | 177 | unsigned long reference; |
178 | 178 | ||
179 | 179 | ||
180 | repeat: | 180 | repeat: |
181 | nextstamp = 0L; | ||
181 | for_each_online_cpu(cpu) { | 182 | for_each_online_cpu(cpu) { |
182 | /* | 183 | /* |
183 | * Find virtual CPUs within the current VPE who have | 184 | * Find virtual CPUs within the current VPE who have |
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 890f77927d62..454b53924490 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -163,33 +163,34 @@ static int isBranchInstr(mips_instruction * i) | |||
163 | 163 | ||
164 | /* | 164 | /* |
165 | * In the Linux kernel, we support selection of FPR format on the | 165 | * In the Linux kernel, we support selection of FPR format on the |
166 | * basis of the Status.FR bit. This does imply that, if a full 32 | 166 | * basis of the Status.FR bit. If an FPU is not present, the FR bit |
167 | * FPRs are desired, there needs to be a flip-flop that can be written | 167 | * is hardwired to zero, which would imply a 32-bit FPU even for |
168 | * to one at that bit position. In any case, O32 MIPS ABI uses | 168 | * 64-bit CPUs. For 64-bit kernels with no FPU we use TIF_32BIT_REGS |
169 | * only the even FPRs (Status.FR = 0). | 169 | * as a proxy for the FR bit so that a 64-bit FPU is emulated. In any |
170 | * case, for a 32-bit kernel which uses the O32 MIPS ABI, only the | ||
171 | * even FPRs are used (Status.FR = 0). | ||
170 | */ | 172 | */ |
171 | 173 | static inline int cop1_64bit(struct pt_regs *xcp) | |
172 | #define CP0_STATUS_FR_SUPPORT | 174 | { |
173 | 175 | if (cpu_has_fpu) | |
174 | #ifdef CP0_STATUS_FR_SUPPORT | 176 | return xcp->cp0_status & ST0_FR; |
175 | #define FR_BIT ST0_FR | 177 | #ifdef CONFIG_64BIT |
178 | return !test_thread_flag(TIF_32BIT_REGS); | ||
176 | #else | 179 | #else |
177 | #define FR_BIT 0 | 180 | return 0; |
178 | #endif | 181 | #endif |
182 | } | ||
183 | |||
184 | #define SIFROMREG(si, x) ((si) = cop1_64bit(xcp) || !(x & 1) ? \ | ||
185 | (int)ctx->fpr[x] : (int)(ctx->fpr[x & ~1] >> 32)) | ||
179 | 186 | ||
180 | #define SIFROMREG(si, x) ((si) = \ | 187 | #define SITOREG(si, x) (ctx->fpr[x & ~(cop1_64bit(xcp) == 0)] = \ |
181 | (xcp->cp0_status & FR_BIT) || !(x & 1) ? \ | 188 | cop1_64bit(xcp) || !(x & 1) ? \ |
182 | (int)ctx->fpr[x] : \ | ||
183 | (int)(ctx->fpr[x & ~1] >> 32 )) | ||
184 | #define SITOREG(si, x) (ctx->fpr[x & ~((xcp->cp0_status & FR_BIT) == 0)] = \ | ||
185 | (xcp->cp0_status & FR_BIT) || !(x & 1) ? \ | ||
186 | ctx->fpr[x & ~1] >> 32 << 32 | (u32)(si) : \ | 189 | ctx->fpr[x & ~1] >> 32 << 32 | (u32)(si) : \ |
187 | ctx->fpr[x & ~1] << 32 >> 32 | (u64)(si) << 32) | 190 | ctx->fpr[x & ~1] << 32 >> 32 | (u64)(si) << 32) |
188 | 191 | ||
189 | #define DIFROMREG(di, x) ((di) = \ | 192 | #define DIFROMREG(di, x) ((di) = ctx->fpr[x & ~(cop1_64bit(xcp) == 0)]) |
190 | ctx->fpr[x & ~((xcp->cp0_status & FR_BIT) == 0)]) | 193 | #define DITOREG(di, x) (ctx->fpr[x & ~(cop1_64bit(xcp) == 0)] = (di)) |
191 | #define DITOREG(di, x) (ctx->fpr[x & ~((xcp->cp0_status & FR_BIT) == 0)] \ | ||
192 | = (di)) | ||
193 | 194 | ||
194 | #define SPFROMREG(sp, x) SIFROMREG((sp).bits, x) | 195 | #define SPFROMREG(sp, x) SIFROMREG((sp).bits, x) |
195 | #define SPTOREG(sp, x) SITOREG((sp).bits, x) | 196 | #define SPTOREG(sp, x) SITOREG((sp).bits, x) |
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 7e48e76148aa..9367e33fbd18 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c | |||
@@ -90,6 +90,9 @@ void *dma_alloc_coherent(struct device *dev, size_t size, | |||
90 | { | 90 | { |
91 | void *ret; | 91 | void *ret; |
92 | 92 | ||
93 | if (dma_alloc_from_coherent(dev, size, dma_handle, &ret)) | ||
94 | return ret; | ||
95 | |||
93 | gfp = massage_gfp_flags(dev, gfp); | 96 | gfp = massage_gfp_flags(dev, gfp); |
94 | 97 | ||
95 | ret = (void *) __get_free_pages(gfp, get_order(size)); | 98 | ret = (void *) __get_free_pages(gfp, get_order(size)); |
@@ -122,6 +125,10 @@ void dma_free_coherent(struct device *dev, size_t size, void *vaddr, | |||
122 | dma_addr_t dma_handle) | 125 | dma_addr_t dma_handle) |
123 | { | 126 | { |
124 | unsigned long addr = (unsigned long) vaddr; | 127 | unsigned long addr = (unsigned long) vaddr; |
128 | int order = get_order(size); | ||
129 | |||
130 | if (dma_release_from_coherent(dev, order, vaddr)) | ||
131 | return; | ||
125 | 132 | ||
126 | plat_unmap_dma_mem(dev, dma_handle, size, DMA_BIDIRECTIONAL); | 133 | plat_unmap_dma_mem(dev, dma_handle, size, DMA_BIDIRECTIONAL); |
127 | 134 | ||
diff --git a/arch/mips/mti-malta/malta-memory.c b/arch/mips/mti-malta/malta-memory.c index 61888ff72c87..9035c64bc5ed 100644 --- a/arch/mips/mti-malta/malta-memory.c +++ b/arch/mips/mti-malta/malta-memory.c | |||
@@ -54,7 +54,8 @@ static struct prom_pmemblock * __init prom_getmdesc(void) | |||
54 | { | 54 | { |
55 | char *memsize_str; | 55 | char *memsize_str; |
56 | unsigned int memsize; | 56 | unsigned int memsize; |
57 | char cmdline[CL_SIZE], *ptr; | 57 | char *ptr; |
58 | static char cmdline[CL_SIZE] __initdata; | ||
58 | 59 | ||
59 | /* otherwise look in the environment */ | 60 | /* otherwise look in the environment */ |
60 | memsize_str = prom_getenv("memsize"); | 61 | memsize_str = prom_getenv("memsize"); |
diff --git a/arch/mips/rb532/prom.c b/arch/mips/rb532/prom.c index 46ca24dbcc2d..ad5bd1097974 100644 --- a/arch/mips/rb532/prom.c +++ b/arch/mips/rb532/prom.c | |||
@@ -69,7 +69,7 @@ static inline unsigned long tag2ul(char *arg, const char *tag) | |||
69 | 69 | ||
70 | void __init prom_setup_cmdline(void) | 70 | void __init prom_setup_cmdline(void) |
71 | { | 71 | { |
72 | char cmd_line[CL_SIZE]; | 72 | static char cmd_line[CL_SIZE] __initdata; |
73 | char *cp, *board; | 73 | char *cp, *board; |
74 | int prom_argc; | 74 | int prom_argc; |
75 | char **prom_argv, **prom_envp; | 75 | char **prom_argv, **prom_envp; |
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index e10184c1b3e1..d66802edebb2 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c | |||
@@ -160,7 +160,7 @@ static void __init prom_init_cmdline(void) | |||
160 | int argc; | 160 | int argc; |
161 | int *argv32; | 161 | int *argv32; |
162 | int i; /* Always ignore the "-c" at argv[0] */ | 162 | int i; /* Always ignore the "-c" at argv[0] */ |
163 | char builtin[CL_SIZE]; | 163 | static char builtin[CL_SIZE] __initdata; |
164 | 164 | ||
165 | if (fw_arg0 >= CKSEG0 || fw_arg1 < CKSEG0) { | 165 | if (fw_arg0 >= CKSEG0 || fw_arg1 < CKSEG0) { |
166 | /* | 166 | /* |
@@ -315,7 +315,7 @@ static inline void txx9_cache_fixup(void) | |||
315 | 315 | ||
316 | static void __init preprocess_cmdline(void) | 316 | static void __init preprocess_cmdline(void) |
317 | { | 317 | { |
318 | char cmdline[CL_SIZE]; | 318 | static char cmdline[CL_SIZE] __initdata; |
319 | char *s; | 319 | char *s; |
320 | 320 | ||
321 | strcpy(cmdline, arcs_cmdline); | 321 | strcpy(cmdline, arcs_cmdline); |
diff --git a/arch/parisc/include/asm/fcntl.h b/arch/parisc/include/asm/fcntl.h index 5f39d5597ced..1e1c824764ee 100644 --- a/arch/parisc/include/asm/fcntl.h +++ b/arch/parisc/include/asm/fcntl.h | |||
@@ -28,8 +28,6 @@ | |||
28 | #define F_SETOWN 12 /* for sockets. */ | 28 | #define F_SETOWN 12 /* for sockets. */ |
29 | #define F_SETSIG 13 /* for sockets. */ | 29 | #define F_SETSIG 13 /* for sockets. */ |
30 | #define F_GETSIG 14 /* for sockets. */ | 30 | #define F_GETSIG 14 /* for sockets. */ |
31 | #define F_GETOWN_EX 15 | ||
32 | #define F_SETOWN_EX 16 | ||
33 | 31 | ||
34 | /* for posix fcntl() and lockf() */ | 32 | /* for posix fcntl() and lockf() */ |
35 | #define F_RDLCK 01 | 33 | #define F_RDLCK 01 |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 10a0a5488a44..2ba14e77296c 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -414,6 +414,10 @@ config ARCH_SPARSEMEM_DEFAULT | |||
414 | config ARCH_POPULATES_NODE_MAP | 414 | config ARCH_POPULATES_NODE_MAP |
415 | def_bool y | 415 | def_bool y |
416 | 416 | ||
417 | config SYS_SUPPORTS_HUGETLBFS | ||
418 | def_bool y | ||
419 | depends on PPC_BOOK3S_64 | ||
420 | |||
417 | source "mm/Kconfig" | 421 | source "mm/Kconfig" |
418 | 422 | ||
419 | config ARCH_MEMORY_PROBE | 423 | config ARCH_MEMORY_PROBE |
diff --git a/arch/powerpc/boot/addRamDisk.c b/arch/powerpc/boot/addRamDisk.c index c02a99952be7..893f446cbd22 100644 --- a/arch/powerpc/boot/addRamDisk.c +++ b/arch/powerpc/boot/addRamDisk.c | |||
@@ -58,7 +58,7 @@ static int check_elf64(void *p, int size, struct addr_range *r) | |||
58 | 58 | ||
59 | return 64; | 59 | return 64; |
60 | } | 60 | } |
61 | void get4k(FILE *file, char *buf ) | 61 | static void get4k(FILE *file, char *buf ) |
62 | { | 62 | { |
63 | unsigned j; | 63 | unsigned j; |
64 | unsigned num = fread(buf, 1, 4096, file); | 64 | unsigned num = fread(buf, 1, 4096, file); |
@@ -66,12 +66,12 @@ void get4k(FILE *file, char *buf ) | |||
66 | buf[j] = 0; | 66 | buf[j] = 0; |
67 | } | 67 | } |
68 | 68 | ||
69 | void put4k(FILE *file, char *buf ) | 69 | static void put4k(FILE *file, char *buf ) |
70 | { | 70 | { |
71 | fwrite(buf, 1, 4096, file); | 71 | fwrite(buf, 1, 4096, file); |
72 | } | 72 | } |
73 | 73 | ||
74 | void death(const char *msg, FILE *fdesc, const char *fname) | 74 | static void death(const char *msg, FILE *fdesc, const char *fname) |
75 | { | 75 | { |
76 | fprintf(stderr, msg); | 76 | fprintf(stderr, msg); |
77 | fclose(fdesc); | 77 | fclose(fdesc); |
diff --git a/arch/powerpc/boot/dts/mpc8377_wlan.dts b/arch/powerpc/boot/dts/mpc8377_wlan.dts index 9a603695723b..9ea783056969 100644 --- a/arch/powerpc/boot/dts/mpc8377_wlan.dts +++ b/arch/powerpc/boot/dts/mpc8377_wlan.dts | |||
@@ -67,7 +67,7 @@ | |||
67 | device-width = <1>; | 67 | device-width = <1>; |
68 | 68 | ||
69 | partition@0 { | 69 | partition@0 { |
70 | reg = <0 0x8000>; | 70 | reg = <0 0x80000>; |
71 | label = "u-boot"; | 71 | label = "u-boot"; |
72 | read-only; | 72 | read-only; |
73 | }; | 73 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts index 06332d61830a..1e3ec8f059bf 100644 --- a/arch/powerpc/boot/dts/mpc8569mds.dts +++ b/arch/powerpc/boot/dts/mpc8569mds.dts | |||
@@ -487,8 +487,8 @@ | |||
487 | &qe_pio_f 5 0 /* USBTN */ | 487 | &qe_pio_f 5 0 /* USBTN */ |
488 | &qe_pio_f 6 0 /* USBRP */ | 488 | &qe_pio_f 6 0 /* USBRP */ |
489 | &qe_pio_f 8 0 /* USBRN */ | 489 | &qe_pio_f 8 0 /* USBRN */ |
490 | &bcsr17 6 0 /* SPEED */ | 490 | &bcsr17 1 0 /* SPEED */ |
491 | &bcsr17 5 1>; /* POWER */ | 491 | &bcsr17 2 0>; /* POWER */ |
492 | }; | 492 | }; |
493 | 493 | ||
494 | enet0: ucc@2000 { | 494 | enet0: ucc@2000 { |
diff --git a/arch/powerpc/boot/dts/sbc8548.dts b/arch/powerpc/boot/dts/sbc8548.dts index 9eefe00ed253..94a332251710 100644 --- a/arch/powerpc/boot/dts/sbc8548.dts +++ b/arch/powerpc/boot/dts/sbc8548.dts | |||
@@ -26,8 +26,7 @@ | |||
26 | serial0 = &serial0; | 26 | serial0 = &serial0; |
27 | serial1 = &serial1; | 27 | serial1 = &serial1; |
28 | pci0 = &pci0; | 28 | pci0 = &pci0; |
29 | /* pci1 doesn't have a corresponding physical connector */ | 29 | pci1 = &pci1; |
30 | pci2 = &pci2; | ||
31 | }; | 30 | }; |
32 | 31 | ||
33 | cpus { | 32 | cpus { |
@@ -381,7 +380,7 @@ | |||
381 | bus-range = <0 0>; | 380 | bus-range = <0 0>; |
382 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 | 381 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
383 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; | 382 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; |
384 | clock-frequency = <66666666>; | 383 | clock-frequency = <66000000>; |
385 | #interrupt-cells = <1>; | 384 | #interrupt-cells = <1>; |
386 | #size-cells = <2>; | 385 | #size-cells = <2>; |
387 | #address-cells = <3>; | 386 | #address-cells = <3>; |
@@ -390,7 +389,7 @@ | |||
390 | device_type = "pci"; | 389 | device_type = "pci"; |
391 | }; | 390 | }; |
392 | 391 | ||
393 | pci2: pcie@e000a000 { | 392 | pci1: pcie@e000a000 { |
394 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 393 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
395 | interrupt-map = < | 394 | interrupt-map = < |
396 | 395 | ||
@@ -403,9 +402,9 @@ | |||
403 | interrupt-parent = <&mpic>; | 402 | interrupt-parent = <&mpic>; |
404 | interrupts = <0x1a 0x2>; | 403 | interrupts = <0x1a 0x2>; |
405 | bus-range = <0x0 0xff>; | 404 | bus-range = <0x0 0xff>; |
406 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | 405 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
407 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>; | 406 | 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>; |
408 | clock-frequency = <33333333>; | 407 | clock-frequency = <33000000>; |
409 | #interrupt-cells = <1>; | 408 | #interrupt-cells = <1>; |
410 | #size-cells = <2>; | 409 | #size-cells = <2>; |
411 | #address-cells = <3>; | 410 | #address-cells = <3>; |
@@ -419,11 +418,11 @@ | |||
419 | device_type = "pci"; | 418 | device_type = "pci"; |
420 | ranges = <0x02000000 0x0 0xa0000000 | 419 | ranges = <0x02000000 0x0 0xa0000000 |
421 | 0x02000000 0x0 0xa0000000 | 420 | 0x02000000 0x0 0xa0000000 |
422 | 0x0 0x20000000 | 421 | 0x0 0x10000000 |
423 | 422 | ||
424 | 0x01000000 0x0 0x00000000 | 423 | 0x01000000 0x0 0x00000000 |
425 | 0x01000000 0x0 0x00000000 | 424 | 0x01000000 0x0 0x00000000 |
426 | 0x0 0x08000000>; | 425 | 0x0 0x00800000>; |
427 | }; | 426 | }; |
428 | }; | 427 | }; |
429 | }; | 428 | }; |
diff --git a/arch/powerpc/configs/83xx/asp8347_defconfig b/arch/powerpc/configs/83xx/asp8347_defconfig index a2df0635b6de..466f09ac3153 100644 --- a/arch/powerpc/configs/83xx/asp8347_defconfig +++ b/arch/powerpc/configs/83xx/asp8347_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:02 2009 | 4 | # Thu Nov 5 08:20:20 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 86 | # |
86 | # RCU Subsystem | 87 | # RCU Subsystem |
87 | # | 88 | # |
88 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -125,28 +127,29 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 131 | ||
130 | # | 132 | # |
131 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
132 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
136 | CONFIG_SLUB_DEBUG=y | 139 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 141 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 142 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | 153 | ||
151 | # | 154 | # |
152 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -257,6 +260,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 260 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
258 | # CONFIG_KEXEC is not set | 261 | # CONFIG_KEXEC is not set |
259 | # CONFIG_CRASH_DUMP is not set | 262 | # CONFIG_CRASH_DUMP is not set |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
260 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
261 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
262 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -274,6 +278,7 @@ CONFIG_BOUNCE=y | |||
274 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
275 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
276 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
277 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
278 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
279 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | # CONFIG_FW_LOADER is not set | 430 | # CONFIG_FW_LOADER is not set |
@@ -425,9 +432,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
425 | # CONFIG_CONNECTOR is not set | 432 | # CONFIG_CONNECTOR is not set |
426 | CONFIG_MTD=y | 433 | CONFIG_MTD=y |
427 | # CONFIG_MTD_DEBUG is not set | 434 | # CONFIG_MTD_DEBUG is not set |
435 | # CONFIG_MTD_TESTS is not set | ||
428 | # CONFIG_MTD_CONCAT is not set | 436 | # CONFIG_MTD_CONCAT is not set |
429 | CONFIG_MTD_PARTITIONS=y | 437 | CONFIG_MTD_PARTITIONS=y |
430 | # CONFIG_MTD_TESTS is not set | ||
431 | CONFIG_MTD_REDBOOT_PARTS=y | 438 | CONFIG_MTD_REDBOOT_PARTS=y |
432 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | 439 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 |
433 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | 440 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y |
@@ -628,7 +635,9 @@ CONFIG_MII=y | |||
628 | # CONFIG_NET_PCI is not set | 635 | # CONFIG_NET_PCI is not set |
629 | # CONFIG_B44 is not set | 636 | # CONFIG_B44 is not set |
630 | # CONFIG_KS8842 is not set | 637 | # CONFIG_KS8842 is not set |
638 | # CONFIG_KS8851_MLL is not set | ||
631 | # CONFIG_ATL2 is not set | 639 | # CONFIG_ATL2 is not set |
640 | # CONFIG_XILINX_EMACLITE is not set | ||
632 | CONFIG_NETDEV_1000=y | 641 | CONFIG_NETDEV_1000=y |
633 | # CONFIG_ACENIC is not set | 642 | # CONFIG_ACENIC is not set |
634 | # CONFIG_DL2K is not set | 643 | # CONFIG_DL2K is not set |
@@ -658,10 +667,7 @@ CONFIG_GIANFAR=y | |||
658 | # CONFIG_JME is not set | 667 | # CONFIG_JME is not set |
659 | # CONFIG_NETDEV_10000 is not set | 668 | # CONFIG_NETDEV_10000 is not set |
660 | # CONFIG_TR is not set | 669 | # CONFIG_TR is not set |
661 | 670 | CONFIG_WLAN=y | |
662 | # | ||
663 | # Wireless LAN | ||
664 | # | ||
665 | # CONFIG_WLAN_PRE80211 is not set | 671 | # CONFIG_WLAN_PRE80211 is not set |
666 | # CONFIG_WLAN_80211 is not set | 672 | # CONFIG_WLAN_80211 is not set |
667 | 673 | ||
@@ -760,6 +766,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
760 | CONFIG_DEVPORT=y | 766 | CONFIG_DEVPORT=y |
761 | CONFIG_I2C=y | 767 | CONFIG_I2C=y |
762 | CONFIG_I2C_BOARDINFO=y | 768 | CONFIG_I2C_BOARDINFO=y |
769 | CONFIG_I2C_COMPAT=y | ||
763 | CONFIG_I2C_CHARDEV=y | 770 | CONFIG_I2C_CHARDEV=y |
764 | CONFIG_I2C_HELPER_AUTO=y | 771 | CONFIG_I2C_HELPER_AUTO=y |
765 | 772 | ||
@@ -814,9 +821,6 @@ CONFIG_I2C_MPC=y | |||
814 | # Miscellaneous I2C Chip support | 821 | # Miscellaneous I2C Chip support |
815 | # | 822 | # |
816 | # CONFIG_DS1682 is not set | 823 | # CONFIG_DS1682 is not set |
817 | # CONFIG_SENSORS_PCF8574 is not set | ||
818 | # CONFIG_PCF8575 is not set | ||
819 | # CONFIG_SENSORS_PCA9539 is not set | ||
820 | # CONFIG_SENSORS_TSL2550 is not set | 824 | # CONFIG_SENSORS_TSL2550 is not set |
821 | # CONFIG_I2C_DEBUG_CORE is not set | 825 | # CONFIG_I2C_DEBUG_CORE is not set |
822 | # CONFIG_I2C_DEBUG_ALGO is not set | 826 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -834,6 +838,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
834 | # CONFIG_POWER_SUPPLY is not set | 838 | # CONFIG_POWER_SUPPLY is not set |
835 | CONFIG_HWMON=y | 839 | CONFIG_HWMON=y |
836 | # CONFIG_HWMON_VID is not set | 840 | # CONFIG_HWMON_VID is not set |
841 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
842 | |||
843 | # | ||
844 | # Native drivers | ||
845 | # | ||
837 | # CONFIG_SENSORS_AD7414 is not set | 846 | # CONFIG_SENSORS_AD7414 is not set |
838 | # CONFIG_SENSORS_AD7418 is not set | 847 | # CONFIG_SENSORS_AD7418 is not set |
839 | # CONFIG_SENSORS_ADM1021 is not set | 848 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -883,6 +892,7 @@ CONFIG_HWMON=y | |||
883 | # CONFIG_SENSORS_ADS7828 is not set | 892 | # CONFIG_SENSORS_ADS7828 is not set |
884 | # CONFIG_SENSORS_THMC50 is not set | 893 | # CONFIG_SENSORS_THMC50 is not set |
885 | # CONFIG_SENSORS_TMP401 is not set | 894 | # CONFIG_SENSORS_TMP401 is not set |
895 | # CONFIG_SENSORS_TMP421 is not set | ||
886 | # CONFIG_SENSORS_VIA686A is not set | 896 | # CONFIG_SENSORS_VIA686A is not set |
887 | # CONFIG_SENSORS_VT1211 is not set | 897 | # CONFIG_SENSORS_VT1211 is not set |
888 | # CONFIG_SENSORS_VT8231 is not set | 898 | # CONFIG_SENSORS_VT8231 is not set |
@@ -894,7 +904,6 @@ CONFIG_HWMON=y | |||
894 | # CONFIG_SENSORS_W83L786NG is not set | 904 | # CONFIG_SENSORS_W83L786NG is not set |
895 | # CONFIG_SENSORS_W83627HF is not set | 905 | # CONFIG_SENSORS_W83627HF is not set |
896 | # CONFIG_SENSORS_W83627EHF is not set | 906 | # CONFIG_SENSORS_W83627EHF is not set |
897 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
898 | CONFIG_THERMAL=y | 907 | CONFIG_THERMAL=y |
899 | # CONFIG_THERMAL_HWMON is not set | 908 | # CONFIG_THERMAL_HWMON is not set |
900 | CONFIG_WATCHDOG=y | 909 | CONFIG_WATCHDOG=y |
@@ -934,6 +943,7 @@ CONFIG_SSB_POSSIBLE=y | |||
934 | # CONFIG_MFD_TMIO is not set | 943 | # CONFIG_MFD_TMIO is not set |
935 | # CONFIG_PMIC_DA903X is not set | 944 | # CONFIG_PMIC_DA903X is not set |
936 | # CONFIG_MFD_WM8400 is not set | 945 | # CONFIG_MFD_WM8400 is not set |
946 | # CONFIG_MFD_WM831X is not set | ||
937 | # CONFIG_MFD_WM8350_I2C is not set | 947 | # CONFIG_MFD_WM8350_I2C is not set |
938 | # CONFIG_MFD_PCF50633 is not set | 948 | # CONFIG_MFD_PCF50633 is not set |
939 | # CONFIG_AB3100_CORE is not set | 949 | # CONFIG_AB3100_CORE is not set |
@@ -944,6 +954,7 @@ CONFIG_SSB_POSSIBLE=y | |||
944 | # Graphics support | 954 | # Graphics support |
945 | # | 955 | # |
946 | # CONFIG_AGP is not set | 956 | # CONFIG_AGP is not set |
957 | CONFIG_VGA_ARB=y | ||
947 | # CONFIG_DRM is not set | 958 | # CONFIG_DRM is not set |
948 | # CONFIG_VGASTATE is not set | 959 | # CONFIG_VGASTATE is not set |
949 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 960 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -990,6 +1001,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
990 | # CONFIG_USB_OXU210HP_HCD is not set | 1001 | # CONFIG_USB_OXU210HP_HCD is not set |
991 | # CONFIG_USB_ISP116X_HCD is not set | 1002 | # CONFIG_USB_ISP116X_HCD is not set |
992 | # CONFIG_USB_ISP1760_HCD is not set | 1003 | # CONFIG_USB_ISP1760_HCD is not set |
1004 | # CONFIG_USB_ISP1362_HCD is not set | ||
993 | # CONFIG_USB_OHCI_HCD is not set | 1005 | # CONFIG_USB_OHCI_HCD is not set |
994 | # CONFIG_USB_UHCI_HCD is not set | 1006 | # CONFIG_USB_UHCI_HCD is not set |
995 | # CONFIG_USB_SL811_HCD is not set | 1007 | # CONFIG_USB_SL811_HCD is not set |
@@ -1045,6 +1057,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1045 | # CONFIG_USB_LD is not set | 1057 | # CONFIG_USB_LD is not set |
1046 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1058 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1047 | # CONFIG_USB_IOWARRIOR is not set | 1059 | # CONFIG_USB_IOWARRIOR is not set |
1060 | # CONFIG_USB_TEST is not set | ||
1048 | # CONFIG_USB_ISIGHTFW is not set | 1061 | # CONFIG_USB_ISIGHTFW is not set |
1049 | # CONFIG_USB_VST is not set | 1062 | # CONFIG_USB_VST is not set |
1050 | # CONFIG_USB_GADGET is not set | 1063 | # CONFIG_USB_GADGET is not set |
@@ -1146,6 +1159,7 @@ CONFIG_FS_MBCACHE=y | |||
1146 | # CONFIG_GFS2_FS is not set | 1159 | # CONFIG_GFS2_FS is not set |
1147 | # CONFIG_OCFS2_FS is not set | 1160 | # CONFIG_OCFS2_FS is not set |
1148 | # CONFIG_BTRFS_FS is not set | 1161 | # CONFIG_BTRFS_FS is not set |
1162 | # CONFIG_NILFS2_FS is not set | ||
1149 | CONFIG_FILE_LOCKING=y | 1163 | CONFIG_FILE_LOCKING=y |
1150 | CONFIG_FSNOTIFY=y | 1164 | CONFIG_FSNOTIFY=y |
1151 | CONFIG_DNOTIFY=y | 1165 | CONFIG_DNOTIFY=y |
@@ -1215,7 +1229,6 @@ CONFIG_JFFS2_RTIME=y | |||
1215 | # CONFIG_ROMFS_FS is not set | 1229 | # CONFIG_ROMFS_FS is not set |
1216 | # CONFIG_SYSV_FS is not set | 1230 | # CONFIG_SYSV_FS is not set |
1217 | # CONFIG_UFS_FS is not set | 1231 | # CONFIG_UFS_FS is not set |
1218 | # CONFIG_NILFS2_FS is not set | ||
1219 | CONFIG_NETWORK_FILESYSTEMS=y | 1232 | CONFIG_NETWORK_FILESYSTEMS=y |
1220 | CONFIG_NFS_FS=y | 1233 | CONFIG_NFS_FS=y |
1221 | CONFIG_NFS_V3=y | 1234 | CONFIG_NFS_V3=y |
@@ -1327,6 +1340,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1327 | CONFIG_ENABLE_MUST_CHECK=y | 1340 | CONFIG_ENABLE_MUST_CHECK=y |
1328 | CONFIG_FRAME_WARN=1024 | 1341 | CONFIG_FRAME_WARN=1024 |
1329 | # CONFIG_MAGIC_SYSRQ is not set | 1342 | # CONFIG_MAGIC_SYSRQ is not set |
1343 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1330 | # CONFIG_UNUSED_SYMBOLS is not set | 1344 | # CONFIG_UNUSED_SYMBOLS is not set |
1331 | # CONFIG_DEBUG_FS is not set | 1345 | # CONFIG_DEBUG_FS is not set |
1332 | # CONFIG_HEADERS_CHECK is not set | 1346 | # CONFIG_HEADERS_CHECK is not set |
@@ -1344,6 +1358,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1344 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1358 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1345 | CONFIG_TRACING_SUPPORT=y | 1359 | CONFIG_TRACING_SUPPORT=y |
1346 | # CONFIG_FTRACE is not set | 1360 | # CONFIG_FTRACE is not set |
1361 | # CONFIG_DMA_API_DEBUG is not set | ||
1347 | # CONFIG_SAMPLES is not set | 1362 | # CONFIG_SAMPLES is not set |
1348 | CONFIG_HAVE_ARCH_KGDB=y | 1363 | CONFIG_HAVE_ARCH_KGDB=y |
1349 | # CONFIG_PPC_DISABLE_WERROR is not set | 1364 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1365,7 +1380,6 @@ CONFIG_CRYPTO=y | |||
1365 | # | 1380 | # |
1366 | # Crypto core or helper | 1381 | # Crypto core or helper |
1367 | # | 1382 | # |
1368 | # CONFIG_CRYPTO_FIPS is not set | ||
1369 | CONFIG_CRYPTO_ALGAPI=y | 1383 | CONFIG_CRYPTO_ALGAPI=y |
1370 | CONFIG_CRYPTO_ALGAPI2=y | 1384 | CONFIG_CRYPTO_ALGAPI2=y |
1371 | CONFIG_CRYPTO_AEAD2=y | 1385 | CONFIG_CRYPTO_AEAD2=y |
@@ -1407,11 +1421,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1407 | # | 1421 | # |
1408 | # CONFIG_CRYPTO_HMAC is not set | 1422 | # CONFIG_CRYPTO_HMAC is not set |
1409 | # CONFIG_CRYPTO_XCBC is not set | 1423 | # CONFIG_CRYPTO_XCBC is not set |
1424 | # CONFIG_CRYPTO_VMAC is not set | ||
1410 | 1425 | ||
1411 | # | 1426 | # |
1412 | # Digest | 1427 | # Digest |
1413 | # | 1428 | # |
1414 | # CONFIG_CRYPTO_CRC32C is not set | 1429 | # CONFIG_CRYPTO_CRC32C is not set |
1430 | # CONFIG_CRYPTO_GHASH is not set | ||
1415 | # CONFIG_CRYPTO_MD4 is not set | 1431 | # CONFIG_CRYPTO_MD4 is not set |
1416 | CONFIG_CRYPTO_MD5=y | 1432 | CONFIG_CRYPTO_MD5=y |
1417 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1433 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/kmeter1_defconfig b/arch/powerpc/configs/83xx/kmeter1_defconfig index 93ebd443a18f..6694fb73cd99 100644 --- a/arch/powerpc/configs/83xx/kmeter1_defconfig +++ b/arch/powerpc/configs/83xx/kmeter1_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:03 2009 | 4 | # Thu Nov 5 08:20:21 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -86,11 +87,12 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y | |||
86 | # | 87 | # |
87 | # RCU Subsystem | 88 | # RCU Subsystem |
88 | # | 89 | # |
89 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
90 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
91 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
92 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
93 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
94 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
95 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
96 | # CONFIG_GROUP_SCHED is not set | 98 | # CONFIG_GROUP_SCHED is not set |
@@ -119,20 +121,19 @@ CONFIG_TIMERFD=y | |||
119 | CONFIG_EVENTFD=y | 121 | CONFIG_EVENTFD=y |
120 | CONFIG_SHMEM=y | 122 | CONFIG_SHMEM=y |
121 | CONFIG_AIO=y | 123 | CONFIG_AIO=y |
122 | CONFIG_HAVE_PERF_COUNTERS=y | 124 | CONFIG_HAVE_PERF_EVENTS=y |
123 | 125 | ||
124 | # | 126 | # |
125 | # Performance Counters | 127 | # Kernel Performance Events And Counters |
126 | # | 128 | # |
129 | # CONFIG_PERF_EVENTS is not set | ||
127 | # CONFIG_PERF_COUNTERS is not set | 130 | # CONFIG_PERF_COUNTERS is not set |
128 | CONFIG_VM_EVENT_COUNTERS=y | 131 | CONFIG_VM_EVENT_COUNTERS=y |
129 | # CONFIG_STRIP_ASM_SYMS is not set | ||
130 | CONFIG_COMPAT_BRK=y | 132 | CONFIG_COMPAT_BRK=y |
131 | CONFIG_SLAB=y | 133 | CONFIG_SLAB=y |
132 | # CONFIG_SLUB is not set | 134 | # CONFIG_SLUB is not set |
133 | # CONFIG_SLOB is not set | 135 | # CONFIG_SLOB is not set |
134 | # CONFIG_PROFILING is not set | 136 | # CONFIG_PROFILING is not set |
135 | # CONFIG_MARKERS is not set | ||
136 | CONFIG_HAVE_OPROFILE=y | 137 | CONFIG_HAVE_OPROFILE=y |
137 | # CONFIG_KPROBES is not set | 138 | # CONFIG_KPROBES is not set |
138 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 139 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -140,6 +141,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
140 | CONFIG_HAVE_KPROBES=y | 141 | CONFIG_HAVE_KPROBES=y |
141 | CONFIG_HAVE_KRETPROBES=y | 142 | CONFIG_HAVE_KRETPROBES=y |
142 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 143 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
144 | CONFIG_HAVE_DMA_ATTRS=y | ||
145 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
143 | 146 | ||
144 | # | 147 | # |
145 | # GCOV-based kernel profiling | 148 | # GCOV-based kernel profiling |
@@ -250,6 +253,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
250 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 253 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
251 | # CONFIG_KEXEC is not set | 254 | # CONFIG_KEXEC is not set |
252 | # CONFIG_CRASH_DUMP is not set | 255 | # CONFIG_CRASH_DUMP is not set |
256 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
253 | CONFIG_ARCH_FLATMEM_ENABLE=y | 257 | CONFIG_ARCH_FLATMEM_ENABLE=y |
254 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 258 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
255 | CONFIG_SELECT_MEMORY_MODEL=y | 259 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -267,6 +271,7 @@ CONFIG_BOUNCE=y | |||
267 | CONFIG_VIRT_TO_BUS=y | 271 | CONFIG_VIRT_TO_BUS=y |
268 | CONFIG_HAVE_MLOCK=y | 272 | CONFIG_HAVE_MLOCK=y |
269 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 273 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
274 | # CONFIG_KSM is not set | ||
270 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 275 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
271 | CONFIG_PPC_4K_PAGES=y | 276 | CONFIG_PPC_4K_PAGES=y |
272 | # CONFIG_PPC_16K_PAGES is not set | 277 | # CONFIG_PPC_16K_PAGES is not set |
@@ -348,6 +353,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
348 | # CONFIG_NETFILTER is not set | 353 | # CONFIG_NETFILTER is not set |
349 | # CONFIG_IP_DCCP is not set | 354 | # CONFIG_IP_DCCP is not set |
350 | # CONFIG_IP_SCTP is not set | 355 | # CONFIG_IP_SCTP is not set |
356 | # CONFIG_RDS is not set | ||
351 | # CONFIG_TIPC is not set | 357 | # CONFIG_TIPC is not set |
352 | # CONFIG_ATM is not set | 358 | # CONFIG_ATM is not set |
353 | CONFIG_STP=m | 359 | CONFIG_STP=m |
@@ -396,9 +402,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
396 | # CONFIG_CONNECTOR is not set | 402 | # CONFIG_CONNECTOR is not set |
397 | CONFIG_MTD=y | 403 | CONFIG_MTD=y |
398 | # CONFIG_MTD_DEBUG is not set | 404 | # CONFIG_MTD_DEBUG is not set |
405 | # CONFIG_MTD_TESTS is not set | ||
399 | CONFIG_MTD_CONCAT=y | 406 | CONFIG_MTD_CONCAT=y |
400 | CONFIG_MTD_PARTITIONS=y | 407 | CONFIG_MTD_PARTITIONS=y |
401 | # CONFIG_MTD_TESTS is not set | ||
402 | # CONFIG_MTD_REDBOOT_PARTS is not set | 408 | # CONFIG_MTD_REDBOOT_PARTS is not set |
403 | CONFIG_MTD_CMDLINE_PARTS=y | 409 | CONFIG_MTD_CMDLINE_PARTS=y |
404 | CONFIG_MTD_OF_PARTS=y | 410 | CONFIG_MTD_OF_PARTS=y |
@@ -565,18 +571,16 @@ CONFIG_MII=y | |||
565 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 571 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
566 | # CONFIG_B44 is not set | 572 | # CONFIG_B44 is not set |
567 | # CONFIG_KS8842 is not set | 573 | # CONFIG_KS8842 is not set |
574 | # CONFIG_KS8851_MLL is not set | ||
575 | # CONFIG_XILINX_EMACLITE is not set | ||
568 | CONFIG_NETDEV_1000=y | 576 | CONFIG_NETDEV_1000=y |
569 | CONFIG_FSL_PQ_MDIO=y | 577 | CONFIG_FSL_PQ_MDIO=y |
570 | # CONFIG_GIANFAR is not set | 578 | # CONFIG_GIANFAR is not set |
571 | CONFIG_UCC_GETH=y | 579 | CONFIG_UCC_GETH=y |
572 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
573 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 580 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
574 | # CONFIG_MV643XX_ETH is not set | 581 | # CONFIG_MV643XX_ETH is not set |
575 | # CONFIG_NETDEV_10000 is not set | 582 | # CONFIG_NETDEV_10000 is not set |
576 | 583 | CONFIG_WLAN=y | |
577 | # | ||
578 | # Wireless LAN | ||
579 | # | ||
580 | # CONFIG_WLAN_PRE80211 is not set | 584 | # CONFIG_WLAN_PRE80211 is not set |
581 | # CONFIG_WLAN_80211 is not set | 585 | # CONFIG_WLAN_80211 is not set |
582 | 586 | ||
@@ -663,6 +667,7 @@ CONFIG_HW_RANDOM=y | |||
663 | # CONFIG_TCG_TPM is not set | 667 | # CONFIG_TCG_TPM is not set |
664 | CONFIG_I2C=y | 668 | CONFIG_I2C=y |
665 | CONFIG_I2C_BOARDINFO=y | 669 | CONFIG_I2C_BOARDINFO=y |
670 | CONFIG_I2C_COMPAT=y | ||
666 | CONFIG_I2C_CHARDEV=y | 671 | CONFIG_I2C_CHARDEV=y |
667 | CONFIG_I2C_HELPER_AUTO=y | 672 | CONFIG_I2C_HELPER_AUTO=y |
668 | 673 | ||
@@ -693,9 +698,6 @@ CONFIG_I2C_MPC=y | |||
693 | # Miscellaneous I2C Chip support | 698 | # Miscellaneous I2C Chip support |
694 | # | 699 | # |
695 | # CONFIG_DS1682 is not set | 700 | # CONFIG_DS1682 is not set |
696 | # CONFIG_SENSORS_PCF8574 is not set | ||
697 | # CONFIG_PCF8575 is not set | ||
698 | # CONFIG_SENSORS_PCA9539 is not set | ||
699 | # CONFIG_SENSORS_TSL2550 is not set | 701 | # CONFIG_SENSORS_TSL2550 is not set |
700 | # CONFIG_I2C_DEBUG_CORE is not set | 702 | # CONFIG_I2C_DEBUG_CORE is not set |
701 | # CONFIG_I2C_DEBUG_ALGO is not set | 703 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -713,7 +715,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
713 | # CONFIG_POWER_SUPPLY is not set | 715 | # CONFIG_POWER_SUPPLY is not set |
714 | # CONFIG_HWMON is not set | 716 | # CONFIG_HWMON is not set |
715 | # CONFIG_THERMAL is not set | 717 | # CONFIG_THERMAL is not set |
716 | # CONFIG_THERMAL_HWMON is not set | ||
717 | # CONFIG_WATCHDOG is not set | 718 | # CONFIG_WATCHDOG is not set |
718 | CONFIG_SSB_POSSIBLE=y | 719 | CONFIG_SSB_POSSIBLE=y |
719 | 720 | ||
@@ -732,6 +733,7 @@ CONFIG_SSB_POSSIBLE=y | |||
732 | # CONFIG_MFD_TMIO is not set | 733 | # CONFIG_MFD_TMIO is not set |
733 | # CONFIG_PMIC_DA903X is not set | 734 | # CONFIG_PMIC_DA903X is not set |
734 | # CONFIG_MFD_WM8400 is not set | 735 | # CONFIG_MFD_WM8400 is not set |
736 | # CONFIG_MFD_WM831X is not set | ||
735 | # CONFIG_MFD_WM8350_I2C is not set | 737 | # CONFIG_MFD_WM8350_I2C is not set |
736 | # CONFIG_MFD_PCF50633 is not set | 738 | # CONFIG_MFD_PCF50633 is not set |
737 | # CONFIG_AB3100_CORE is not set | 739 | # CONFIG_AB3100_CORE is not set |
@@ -784,6 +786,7 @@ CONFIG_UIO=y | |||
784 | # CONFIG_GFS2_FS is not set | 786 | # CONFIG_GFS2_FS is not set |
785 | # CONFIG_OCFS2_FS is not set | 787 | # CONFIG_OCFS2_FS is not set |
786 | # CONFIG_BTRFS_FS is not set | 788 | # CONFIG_BTRFS_FS is not set |
789 | # CONFIG_NILFS2_FS is not set | ||
787 | CONFIG_FILE_LOCKING=y | 790 | CONFIG_FILE_LOCKING=y |
788 | CONFIG_FSNOTIFY=y | 791 | CONFIG_FSNOTIFY=y |
789 | # CONFIG_DNOTIFY is not set | 792 | # CONFIG_DNOTIFY is not set |
@@ -854,7 +857,6 @@ CONFIG_JFFS2_RTIME=y | |||
854 | # CONFIG_ROMFS_FS is not set | 857 | # CONFIG_ROMFS_FS is not set |
855 | # CONFIG_SYSV_FS is not set | 858 | # CONFIG_SYSV_FS is not set |
856 | # CONFIG_UFS_FS is not set | 859 | # CONFIG_UFS_FS is not set |
857 | # CONFIG_NILFS2_FS is not set | ||
858 | CONFIG_NETWORK_FILESYSTEMS=y | 860 | CONFIG_NETWORK_FILESYSTEMS=y |
859 | CONFIG_NFS_FS=y | 861 | CONFIG_NFS_FS=y |
860 | CONFIG_NFS_V3=y | 862 | CONFIG_NFS_V3=y |
@@ -926,6 +928,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
926 | CONFIG_ENABLE_MUST_CHECK=y | 928 | CONFIG_ENABLE_MUST_CHECK=y |
927 | CONFIG_FRAME_WARN=1024 | 929 | CONFIG_FRAME_WARN=1024 |
928 | # CONFIG_MAGIC_SYSRQ is not set | 930 | # CONFIG_MAGIC_SYSRQ is not set |
931 | # CONFIG_STRIP_ASM_SYMS is not set | ||
929 | # CONFIG_UNUSED_SYMBOLS is not set | 932 | # CONFIG_UNUSED_SYMBOLS is not set |
930 | CONFIG_DEBUG_FS=y | 933 | CONFIG_DEBUG_FS=y |
931 | # CONFIG_HEADERS_CHECK is not set | 934 | # CONFIG_HEADERS_CHECK is not set |
@@ -942,6 +945,7 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
942 | CONFIG_TRACING_SUPPORT=y | 945 | CONFIG_TRACING_SUPPORT=y |
943 | # CONFIG_FTRACE is not set | 946 | # CONFIG_FTRACE is not set |
944 | # CONFIG_DYNAMIC_DEBUG is not set | 947 | # CONFIG_DYNAMIC_DEBUG is not set |
948 | # CONFIG_DMA_API_DEBUG is not set | ||
945 | # CONFIG_SAMPLES is not set | 949 | # CONFIG_SAMPLES is not set |
946 | CONFIG_HAVE_ARCH_KGDB=y | 950 | CONFIG_HAVE_ARCH_KGDB=y |
947 | # CONFIG_PPC_DISABLE_WERROR is not set | 951 | # CONFIG_PPC_DISABLE_WERROR is not set |
diff --git a/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig b/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig index ff33a7db2eab..86df19f041a4 100644 --- a/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig +++ b/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:04 2009 | 4 | # Thu Nov 5 08:20:22 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | # CONFIG_FW_LOADER is not set | 430 | # CONFIG_FW_LOADER is not set |
@@ -427,9 +434,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
427 | # CONFIG_CONNECTOR is not set | 434 | # CONFIG_CONNECTOR is not set |
428 | CONFIG_MTD=y | 435 | CONFIG_MTD=y |
429 | # CONFIG_MTD_DEBUG is not set | 436 | # CONFIG_MTD_DEBUG is not set |
437 | # CONFIG_MTD_TESTS is not set | ||
430 | # CONFIG_MTD_CONCAT is not set | 438 | # CONFIG_MTD_CONCAT is not set |
431 | CONFIG_MTD_PARTITIONS=y | 439 | CONFIG_MTD_PARTITIONS=y |
432 | # CONFIG_MTD_TESTS is not set | ||
433 | # CONFIG_MTD_REDBOOT_PARTS is not set | 440 | # CONFIG_MTD_REDBOOT_PARTS is not set |
434 | # CONFIG_MTD_CMDLINE_PARTS is not set | 441 | # CONFIG_MTD_CMDLINE_PARTS is not set |
435 | CONFIG_MTD_OF_PARTS=y | 442 | CONFIG_MTD_OF_PARTS=y |
@@ -488,6 +495,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
488 | # CONFIG_MTD_PMC551 is not set | 495 | # CONFIG_MTD_PMC551 is not set |
489 | # CONFIG_MTD_DATAFLASH is not set | 496 | # CONFIG_MTD_DATAFLASH is not set |
490 | # CONFIG_MTD_M25P80 is not set | 497 | # CONFIG_MTD_M25P80 is not set |
498 | # CONFIG_MTD_SST25L is not set | ||
491 | # CONFIG_MTD_SLRAM is not set | 499 | # CONFIG_MTD_SLRAM is not set |
492 | # CONFIG_MTD_PHRAM is not set | 500 | # CONFIG_MTD_PHRAM is not set |
493 | # CONFIG_MTD_MTDRAM is not set | 501 | # CONFIG_MTD_MTDRAM is not set |
@@ -605,6 +613,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
605 | # CONFIG_ISCSI_TCP is not set | 613 | # CONFIG_ISCSI_TCP is not set |
606 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 614 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
607 | # CONFIG_SCSI_BNX2_ISCSI is not set | 615 | # CONFIG_SCSI_BNX2_ISCSI is not set |
616 | # CONFIG_BE2ISCSI is not set | ||
608 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 617 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
609 | # CONFIG_SCSI_3W_9XXX is not set | 618 | # CONFIG_SCSI_3W_9XXX is not set |
610 | # CONFIG_SCSI_ACARD is not set | 619 | # CONFIG_SCSI_ACARD is not set |
@@ -643,7 +652,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
643 | # CONFIG_SCSI_DC390T is not set | 652 | # CONFIG_SCSI_DC390T is not set |
644 | # CONFIG_SCSI_NSP32 is not set | 653 | # CONFIG_SCSI_NSP32 is not set |
645 | # CONFIG_SCSI_DEBUG is not set | 654 | # CONFIG_SCSI_DEBUG is not set |
655 | # CONFIG_SCSI_PMCRAID is not set | ||
646 | # CONFIG_SCSI_SRP is not set | 656 | # CONFIG_SCSI_SRP is not set |
657 | # CONFIG_SCSI_BFA_FC is not set | ||
647 | # CONFIG_SCSI_DH is not set | 658 | # CONFIG_SCSI_DH is not set |
648 | # CONFIG_SCSI_OSD_INITIATOR is not set | 659 | # CONFIG_SCSI_OSD_INITIATOR is not set |
649 | # CONFIG_ATA is not set | 660 | # CONFIG_ATA is not set |
@@ -741,9 +752,11 @@ CONFIG_E100=y | |||
741 | # CONFIG_TLAN is not set | 752 | # CONFIG_TLAN is not set |
742 | # CONFIG_KS8842 is not set | 753 | # CONFIG_KS8842 is not set |
743 | # CONFIG_KS8851 is not set | 754 | # CONFIG_KS8851 is not set |
755 | # CONFIG_KS8851_MLL is not set | ||
744 | # CONFIG_VIA_RHINE is not set | 756 | # CONFIG_VIA_RHINE is not set |
745 | # CONFIG_SC92031 is not set | 757 | # CONFIG_SC92031 is not set |
746 | # CONFIG_ATL2 is not set | 758 | # CONFIG_ATL2 is not set |
759 | # CONFIG_XILINX_EMACLITE is not set | ||
747 | CONFIG_NETDEV_1000=y | 760 | CONFIG_NETDEV_1000=y |
748 | # CONFIG_ACENIC is not set | 761 | # CONFIG_ACENIC is not set |
749 | # CONFIG_DL2K is not set | 762 | # CONFIG_DL2K is not set |
@@ -791,10 +804,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
791 | # CONFIG_SFC is not set | 804 | # CONFIG_SFC is not set |
792 | # CONFIG_BE2NET is not set | 805 | # CONFIG_BE2NET is not set |
793 | # CONFIG_TR is not set | 806 | # CONFIG_TR is not set |
794 | 807 | CONFIG_WLAN=y | |
795 | # | ||
796 | # Wireless LAN | ||
797 | # | ||
798 | # CONFIG_WLAN_PRE80211 is not set | 808 | # CONFIG_WLAN_PRE80211 is not set |
799 | # CONFIG_WLAN_80211 is not set | 809 | # CONFIG_WLAN_80211 is not set |
800 | 810 | ||
@@ -896,6 +906,7 @@ CONFIG_HW_RANDOM=y | |||
896 | CONFIG_DEVPORT=y | 906 | CONFIG_DEVPORT=y |
897 | CONFIG_I2C=y | 907 | CONFIG_I2C=y |
898 | CONFIG_I2C_BOARDINFO=y | 908 | CONFIG_I2C_BOARDINFO=y |
909 | CONFIG_I2C_COMPAT=y | ||
899 | CONFIG_I2C_CHARDEV=y | 910 | CONFIG_I2C_CHARDEV=y |
900 | CONFIG_I2C_HELPER_AUTO=y | 911 | CONFIG_I2C_HELPER_AUTO=y |
901 | 912 | ||
@@ -950,9 +961,6 @@ CONFIG_I2C_MPC=y | |||
950 | # Miscellaneous I2C Chip support | 961 | # Miscellaneous I2C Chip support |
951 | # | 962 | # |
952 | # CONFIG_DS1682 is not set | 963 | # CONFIG_DS1682 is not set |
953 | # CONFIG_SENSORS_PCF8574 is not set | ||
954 | # CONFIG_PCF8575 is not set | ||
955 | # CONFIG_SENSORS_PCA9539 is not set | ||
956 | # CONFIG_SENSORS_TSL2550 is not set | 964 | # CONFIG_SENSORS_TSL2550 is not set |
957 | # CONFIG_I2C_DEBUG_CORE is not set | 965 | # CONFIG_I2C_DEBUG_CORE is not set |
958 | # CONFIG_I2C_DEBUG_ALGO is not set | 966 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -984,6 +992,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
984 | # CONFIG_POWER_SUPPLY is not set | 992 | # CONFIG_POWER_SUPPLY is not set |
985 | CONFIG_HWMON=y | 993 | CONFIG_HWMON=y |
986 | # CONFIG_HWMON_VID is not set | 994 | # CONFIG_HWMON_VID is not set |
995 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
996 | |||
997 | # | ||
998 | # Native drivers | ||
999 | # | ||
987 | # CONFIG_SENSORS_AD7414 is not set | 1000 | # CONFIG_SENSORS_AD7414 is not set |
988 | # CONFIG_SENSORS_AD7418 is not set | 1001 | # CONFIG_SENSORS_AD7418 is not set |
989 | # CONFIG_SENSORS_ADCXX is not set | 1002 | # CONFIG_SENSORS_ADCXX is not set |
@@ -1036,6 +1049,7 @@ CONFIG_HWMON=y | |||
1036 | # CONFIG_SENSORS_ADS7828 is not set | 1049 | # CONFIG_SENSORS_ADS7828 is not set |
1037 | # CONFIG_SENSORS_THMC50 is not set | 1050 | # CONFIG_SENSORS_THMC50 is not set |
1038 | # CONFIG_SENSORS_TMP401 is not set | 1051 | # CONFIG_SENSORS_TMP401 is not set |
1052 | # CONFIG_SENSORS_TMP421 is not set | ||
1039 | # CONFIG_SENSORS_VIA686A is not set | 1053 | # CONFIG_SENSORS_VIA686A is not set |
1040 | # CONFIG_SENSORS_VT1211 is not set | 1054 | # CONFIG_SENSORS_VT1211 is not set |
1041 | # CONFIG_SENSORS_VT8231 is not set | 1055 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1048,9 +1062,7 @@ CONFIG_HWMON=y | |||
1048 | # CONFIG_SENSORS_W83627HF is not set | 1062 | # CONFIG_SENSORS_W83627HF is not set |
1049 | # CONFIG_SENSORS_W83627EHF is not set | 1063 | # CONFIG_SENSORS_W83627EHF is not set |
1050 | # CONFIG_SENSORS_LIS3_SPI is not set | 1064 | # CONFIG_SENSORS_LIS3_SPI is not set |
1051 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1052 | # CONFIG_THERMAL is not set | 1065 | # CONFIG_THERMAL is not set |
1053 | # CONFIG_THERMAL_HWMON is not set | ||
1054 | CONFIG_WATCHDOG=y | 1066 | CONFIG_WATCHDOG=y |
1055 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1067 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1056 | 1068 | ||
@@ -1088,8 +1100,10 @@ CONFIG_SSB_POSSIBLE=y | |||
1088 | # CONFIG_MFD_TMIO is not set | 1100 | # CONFIG_MFD_TMIO is not set |
1089 | # CONFIG_PMIC_DA903X is not set | 1101 | # CONFIG_PMIC_DA903X is not set |
1090 | # CONFIG_MFD_WM8400 is not set | 1102 | # CONFIG_MFD_WM8400 is not set |
1103 | # CONFIG_MFD_WM831X is not set | ||
1091 | # CONFIG_MFD_WM8350_I2C is not set | 1104 | # CONFIG_MFD_WM8350_I2C is not set |
1092 | # CONFIG_MFD_PCF50633 is not set | 1105 | # CONFIG_MFD_PCF50633 is not set |
1106 | # CONFIG_MFD_MC13783 is not set | ||
1093 | # CONFIG_AB3100_CORE is not set | 1107 | # CONFIG_AB3100_CORE is not set |
1094 | # CONFIG_EZX_PCAP is not set | 1108 | # CONFIG_EZX_PCAP is not set |
1095 | # CONFIG_REGULATOR is not set | 1109 | # CONFIG_REGULATOR is not set |
@@ -1099,6 +1113,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1099 | # Graphics support | 1113 | # Graphics support |
1100 | # | 1114 | # |
1101 | # CONFIG_AGP is not set | 1115 | # CONFIG_AGP is not set |
1116 | CONFIG_VGA_ARB=y | ||
1102 | # CONFIG_DRM is not set | 1117 | # CONFIG_DRM is not set |
1103 | # CONFIG_VGASTATE is not set | 1118 | # CONFIG_VGASTATE is not set |
1104 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1119 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1112,7 +1127,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1112 | # CONFIG_SOUND is not set | 1127 | # CONFIG_SOUND is not set |
1113 | CONFIG_HID_SUPPORT=y | 1128 | CONFIG_HID_SUPPORT=y |
1114 | CONFIG_HID=y | 1129 | CONFIG_HID=y |
1115 | # CONFIG_HID_DEBUG is not set | ||
1116 | # CONFIG_HIDRAW is not set | 1130 | # CONFIG_HIDRAW is not set |
1117 | 1131 | ||
1118 | # | 1132 | # |
@@ -1164,6 +1178,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1164 | # CONFIG_USB_OXU210HP_HCD is not set | 1178 | # CONFIG_USB_OXU210HP_HCD is not set |
1165 | # CONFIG_USB_ISP116X_HCD is not set | 1179 | # CONFIG_USB_ISP116X_HCD is not set |
1166 | # CONFIG_USB_ISP1760_HCD is not set | 1180 | # CONFIG_USB_ISP1760_HCD is not set |
1181 | # CONFIG_USB_ISP1362_HCD is not set | ||
1167 | CONFIG_USB_OHCI_HCD=y | 1182 | CONFIG_USB_OHCI_HCD=y |
1168 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1183 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1169 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1184 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1255,6 +1270,7 @@ CONFIG_USB_GADGET_SELECTED=y | |||
1255 | # CONFIG_USB_GADGET_LH7A40X is not set | 1270 | # CONFIG_USB_GADGET_LH7A40X is not set |
1256 | # CONFIG_USB_GADGET_OMAP is not set | 1271 | # CONFIG_USB_GADGET_OMAP is not set |
1257 | # CONFIG_USB_GADGET_PXA25X is not set | 1272 | # CONFIG_USB_GADGET_PXA25X is not set |
1273 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1258 | # CONFIG_USB_GADGET_PXA27X is not set | 1274 | # CONFIG_USB_GADGET_PXA27X is not set |
1259 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | 1275 | # CONFIG_USB_GADGET_S3C_HSOTG is not set |
1260 | # CONFIG_USB_GADGET_IMX is not set | 1276 | # CONFIG_USB_GADGET_IMX is not set |
@@ -1273,6 +1289,7 @@ CONFIG_USB_GADGET_DUALSPEED=y | |||
1273 | # CONFIG_USB_AUDIO is not set | 1289 | # CONFIG_USB_AUDIO is not set |
1274 | CONFIG_USB_ETH=y | 1290 | CONFIG_USB_ETH=y |
1275 | CONFIG_USB_ETH_RNDIS=y | 1291 | CONFIG_USB_ETH_RNDIS=y |
1292 | # CONFIG_USB_ETH_EEM is not set | ||
1276 | # CONFIG_USB_GADGETFS is not set | 1293 | # CONFIG_USB_GADGETFS is not set |
1277 | # CONFIG_USB_FILE_STORAGE is not set | 1294 | # CONFIG_USB_FILE_STORAGE is not set |
1278 | # CONFIG_USB_G_SERIAL is not set | 1295 | # CONFIG_USB_G_SERIAL is not set |
@@ -1334,6 +1351,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1334 | # CONFIG_RTC_DRV_R9701 is not set | 1351 | # CONFIG_RTC_DRV_R9701 is not set |
1335 | # CONFIG_RTC_DRV_RS5C348 is not set | 1352 | # CONFIG_RTC_DRV_RS5C348 is not set |
1336 | # CONFIG_RTC_DRV_DS3234 is not set | 1353 | # CONFIG_RTC_DRV_DS3234 is not set |
1354 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1337 | 1355 | ||
1338 | # | 1356 | # |
1339 | # Platform RTC drivers | 1357 | # Platform RTC drivers |
@@ -1384,6 +1402,7 @@ CONFIG_FS_MBCACHE=y | |||
1384 | # CONFIG_GFS2_FS is not set | 1402 | # CONFIG_GFS2_FS is not set |
1385 | # CONFIG_OCFS2_FS is not set | 1403 | # CONFIG_OCFS2_FS is not set |
1386 | # CONFIG_BTRFS_FS is not set | 1404 | # CONFIG_BTRFS_FS is not set |
1405 | # CONFIG_NILFS2_FS is not set | ||
1387 | CONFIG_FILE_LOCKING=y | 1406 | CONFIG_FILE_LOCKING=y |
1388 | CONFIG_FSNOTIFY=y | 1407 | CONFIG_FSNOTIFY=y |
1389 | CONFIG_DNOTIFY=y | 1408 | CONFIG_DNOTIFY=y |
@@ -1453,7 +1472,6 @@ CONFIG_JFFS2_RTIME=y | |||
1453 | # CONFIG_ROMFS_FS is not set | 1472 | # CONFIG_ROMFS_FS is not set |
1454 | # CONFIG_SYSV_FS is not set | 1473 | # CONFIG_SYSV_FS is not set |
1455 | # CONFIG_UFS_FS is not set | 1474 | # CONFIG_UFS_FS is not set |
1456 | # CONFIG_NILFS2_FS is not set | ||
1457 | CONFIG_NETWORK_FILESYSTEMS=y | 1475 | CONFIG_NETWORK_FILESYSTEMS=y |
1458 | CONFIG_NFS_FS=y | 1476 | CONFIG_NFS_FS=y |
1459 | CONFIG_NFS_V3=y | 1477 | CONFIG_NFS_V3=y |
@@ -1569,6 +1587,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1569 | CONFIG_ENABLE_MUST_CHECK=y | 1587 | CONFIG_ENABLE_MUST_CHECK=y |
1570 | CONFIG_FRAME_WARN=1024 | 1588 | CONFIG_FRAME_WARN=1024 |
1571 | # CONFIG_MAGIC_SYSRQ is not set | 1589 | # CONFIG_MAGIC_SYSRQ is not set |
1590 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1572 | # CONFIG_UNUSED_SYMBOLS is not set | 1591 | # CONFIG_UNUSED_SYMBOLS is not set |
1573 | # CONFIG_DEBUG_FS is not set | 1592 | # CONFIG_DEBUG_FS is not set |
1574 | # CONFIG_HEADERS_CHECK is not set | 1593 | # CONFIG_HEADERS_CHECK is not set |
@@ -1586,6 +1605,7 @@ CONFIG_SCHED_DEBUG=y | |||
1586 | # CONFIG_DEBUG_OBJECTS is not set | 1605 | # CONFIG_DEBUG_OBJECTS is not set |
1587 | # CONFIG_SLUB_DEBUG_ON is not set | 1606 | # CONFIG_SLUB_DEBUG_ON is not set |
1588 | # CONFIG_SLUB_STATS is not set | 1607 | # CONFIG_SLUB_STATS is not set |
1608 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1589 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1609 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1590 | # CONFIG_RT_MUTEX_TESTER is not set | 1610 | # CONFIG_RT_MUTEX_TESTER is not set |
1591 | # CONFIG_DEBUG_SPINLOCK is not set | 1611 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1604,10 +1624,12 @@ CONFIG_SCHED_DEBUG=y | |||
1604 | # CONFIG_DEBUG_LIST is not set | 1624 | # CONFIG_DEBUG_LIST is not set |
1605 | # CONFIG_DEBUG_SG is not set | 1625 | # CONFIG_DEBUG_SG is not set |
1606 | # CONFIG_DEBUG_NOTIFIERS is not set | 1626 | # CONFIG_DEBUG_NOTIFIERS is not set |
1627 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1607 | # CONFIG_RCU_TORTURE_TEST is not set | 1628 | # CONFIG_RCU_TORTURE_TEST is not set |
1608 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1629 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1609 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1630 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1610 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1631 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1632 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1611 | # CONFIG_FAULT_INJECTION is not set | 1633 | # CONFIG_FAULT_INJECTION is not set |
1612 | # CONFIG_LATENCYTOP is not set | 1634 | # CONFIG_LATENCYTOP is not set |
1613 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1635 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1630,10 +1652,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1630 | # CONFIG_KMEMTRACE is not set | 1652 | # CONFIG_KMEMTRACE is not set |
1631 | # CONFIG_WORKQUEUE_TRACER is not set | 1653 | # CONFIG_WORKQUEUE_TRACER is not set |
1632 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1654 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1655 | # CONFIG_DMA_API_DEBUG is not set | ||
1633 | # CONFIG_SAMPLES is not set | 1656 | # CONFIG_SAMPLES is not set |
1634 | CONFIG_HAVE_ARCH_KGDB=y | 1657 | CONFIG_HAVE_ARCH_KGDB=y |
1635 | # CONFIG_KGDB is not set | 1658 | # CONFIG_KGDB is not set |
1636 | # CONFIG_KMEMCHECK is not set | ||
1637 | # CONFIG_PPC_DISABLE_WERROR is not set | 1659 | # CONFIG_PPC_DISABLE_WERROR is not set |
1638 | CONFIG_PPC_WERROR=y | 1660 | CONFIG_PPC_WERROR=y |
1639 | CONFIG_PRINT_STACK_DEPTH=64 | 1661 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1660,7 +1682,6 @@ CONFIG_CRYPTO=y | |||
1660 | # | 1682 | # |
1661 | # Crypto core or helper | 1683 | # Crypto core or helper |
1662 | # | 1684 | # |
1663 | # CONFIG_CRYPTO_FIPS is not set | ||
1664 | CONFIG_CRYPTO_ALGAPI=y | 1685 | CONFIG_CRYPTO_ALGAPI=y |
1665 | CONFIG_CRYPTO_ALGAPI2=y | 1686 | CONFIG_CRYPTO_ALGAPI2=y |
1666 | CONFIG_CRYPTO_AEAD2=y | 1687 | CONFIG_CRYPTO_AEAD2=y |
@@ -1702,11 +1723,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1702 | # | 1723 | # |
1703 | # CONFIG_CRYPTO_HMAC is not set | 1724 | # CONFIG_CRYPTO_HMAC is not set |
1704 | # CONFIG_CRYPTO_XCBC is not set | 1725 | # CONFIG_CRYPTO_XCBC is not set |
1726 | # CONFIG_CRYPTO_VMAC is not set | ||
1705 | 1727 | ||
1706 | # | 1728 | # |
1707 | # Digest | 1729 | # Digest |
1708 | # | 1730 | # |
1709 | # CONFIG_CRYPTO_CRC32C is not set | 1731 | # CONFIG_CRYPTO_CRC32C is not set |
1732 | # CONFIG_CRYPTO_GHASH is not set | ||
1710 | # CONFIG_CRYPTO_MD4 is not set | 1733 | # CONFIG_CRYPTO_MD4 is not set |
1711 | CONFIG_CRYPTO_MD5=y | 1734 | CONFIG_CRYPTO_MD5=y |
1712 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1735 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc8315_rdb_defconfig b/arch/powerpc/configs/83xx/mpc8315_rdb_defconfig index 76237d466702..7bf71d577033 100644 --- a/arch/powerpc/configs/83xx/mpc8315_rdb_defconfig +++ b/arch/powerpc/configs/83xx/mpc8315_rdb_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:05 2009 | 4 | # Thu Nov 5 08:20:23 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | # CONFIG_FW_LOADER is not set | 430 | # CONFIG_FW_LOADER is not set |
@@ -427,9 +434,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
427 | # CONFIG_CONNECTOR is not set | 434 | # CONFIG_CONNECTOR is not set |
428 | CONFIG_MTD=y | 435 | CONFIG_MTD=y |
429 | # CONFIG_MTD_DEBUG is not set | 436 | # CONFIG_MTD_DEBUG is not set |
437 | # CONFIG_MTD_TESTS is not set | ||
430 | # CONFIG_MTD_CONCAT is not set | 438 | # CONFIG_MTD_CONCAT is not set |
431 | CONFIG_MTD_PARTITIONS=y | 439 | CONFIG_MTD_PARTITIONS=y |
432 | # CONFIG_MTD_TESTS is not set | ||
433 | # CONFIG_MTD_REDBOOT_PARTS is not set | 440 | # CONFIG_MTD_REDBOOT_PARTS is not set |
434 | # CONFIG_MTD_CMDLINE_PARTS is not set | 441 | # CONFIG_MTD_CMDLINE_PARTS is not set |
435 | # CONFIG_MTD_OF_PARTS is not set | 442 | # CONFIG_MTD_OF_PARTS is not set |
@@ -488,6 +495,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
488 | # CONFIG_MTD_PMC551 is not set | 495 | # CONFIG_MTD_PMC551 is not set |
489 | # CONFIG_MTD_DATAFLASH is not set | 496 | # CONFIG_MTD_DATAFLASH is not set |
490 | # CONFIG_MTD_M25P80 is not set | 497 | # CONFIG_MTD_M25P80 is not set |
498 | # CONFIG_MTD_SST25L is not set | ||
491 | # CONFIG_MTD_SLRAM is not set | 499 | # CONFIG_MTD_SLRAM is not set |
492 | # CONFIG_MTD_PHRAM is not set | 500 | # CONFIG_MTD_PHRAM is not set |
493 | # CONFIG_MTD_MTDRAM is not set | 501 | # CONFIG_MTD_MTDRAM is not set |
@@ -605,6 +613,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
605 | # CONFIG_ISCSI_TCP is not set | 613 | # CONFIG_ISCSI_TCP is not set |
606 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 614 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
607 | # CONFIG_SCSI_BNX2_ISCSI is not set | 615 | # CONFIG_SCSI_BNX2_ISCSI is not set |
616 | # CONFIG_BE2ISCSI is not set | ||
608 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 617 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
609 | # CONFIG_SCSI_3W_9XXX is not set | 618 | # CONFIG_SCSI_3W_9XXX is not set |
610 | # CONFIG_SCSI_ACARD is not set | 619 | # CONFIG_SCSI_ACARD is not set |
@@ -644,11 +653,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
644 | # CONFIG_SCSI_DC390T is not set | 653 | # CONFIG_SCSI_DC390T is not set |
645 | # CONFIG_SCSI_NSP32 is not set | 654 | # CONFIG_SCSI_NSP32 is not set |
646 | # CONFIG_SCSI_DEBUG is not set | 655 | # CONFIG_SCSI_DEBUG is not set |
656 | # CONFIG_SCSI_PMCRAID is not set | ||
647 | # CONFIG_SCSI_SRP is not set | 657 | # CONFIG_SCSI_SRP is not set |
658 | # CONFIG_SCSI_BFA_FC is not set | ||
648 | # CONFIG_SCSI_DH is not set | 659 | # CONFIG_SCSI_DH is not set |
649 | # CONFIG_SCSI_OSD_INITIATOR is not set | 660 | # CONFIG_SCSI_OSD_INITIATOR is not set |
650 | CONFIG_ATA=y | 661 | CONFIG_ATA=y |
651 | # CONFIG_ATA_NONSTANDARD is not set | 662 | # CONFIG_ATA_NONSTANDARD is not set |
663 | CONFIG_ATA_VERBOSE_ERROR=y | ||
652 | CONFIG_SATA_PMP=y | 664 | CONFIG_SATA_PMP=y |
653 | # CONFIG_SATA_AHCI is not set | 665 | # CONFIG_SATA_AHCI is not set |
654 | # CONFIG_SATA_SIL24 is not set | 666 | # CONFIG_SATA_SIL24 is not set |
@@ -671,6 +683,7 @@ CONFIG_ATA_SFF=y | |||
671 | # CONFIG_PATA_ALI is not set | 683 | # CONFIG_PATA_ALI is not set |
672 | # CONFIG_PATA_AMD is not set | 684 | # CONFIG_PATA_AMD is not set |
673 | # CONFIG_PATA_ARTOP is not set | 685 | # CONFIG_PATA_ARTOP is not set |
686 | # CONFIG_PATA_ATP867X is not set | ||
674 | # CONFIG_PATA_ATIIXP is not set | 687 | # CONFIG_PATA_ATIIXP is not set |
675 | # CONFIG_PATA_CMD640_PCI is not set | 688 | # CONFIG_PATA_CMD640_PCI is not set |
676 | # CONFIG_PATA_CMD64X is not set | 689 | # CONFIG_PATA_CMD64X is not set |
@@ -698,6 +711,7 @@ CONFIG_ATA_SFF=y | |||
698 | # CONFIG_PATA_OPTIDMA is not set | 711 | # CONFIG_PATA_OPTIDMA is not set |
699 | # CONFIG_PATA_PDC_OLD is not set | 712 | # CONFIG_PATA_PDC_OLD is not set |
700 | # CONFIG_PATA_RADISYS is not set | 713 | # CONFIG_PATA_RADISYS is not set |
714 | # CONFIG_PATA_RDC is not set | ||
701 | # CONFIG_PATA_RZ1000 is not set | 715 | # CONFIG_PATA_RZ1000 is not set |
702 | # CONFIG_PATA_SC1200 is not set | 716 | # CONFIG_PATA_SC1200 is not set |
703 | # CONFIG_PATA_SERVERWORKS is not set | 717 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -802,9 +816,11 @@ CONFIG_E100=y | |||
802 | # CONFIG_TLAN is not set | 816 | # CONFIG_TLAN is not set |
803 | # CONFIG_KS8842 is not set | 817 | # CONFIG_KS8842 is not set |
804 | # CONFIG_KS8851 is not set | 818 | # CONFIG_KS8851 is not set |
819 | # CONFIG_KS8851_MLL is not set | ||
805 | # CONFIG_VIA_RHINE is not set | 820 | # CONFIG_VIA_RHINE is not set |
806 | # CONFIG_SC92031 is not set | 821 | # CONFIG_SC92031 is not set |
807 | # CONFIG_ATL2 is not set | 822 | # CONFIG_ATL2 is not set |
823 | # CONFIG_XILINX_EMACLITE is not set | ||
808 | CONFIG_NETDEV_1000=y | 824 | CONFIG_NETDEV_1000=y |
809 | # CONFIG_ACENIC is not set | 825 | # CONFIG_ACENIC is not set |
810 | # CONFIG_DL2K is not set | 826 | # CONFIG_DL2K is not set |
@@ -852,10 +868,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
852 | # CONFIG_SFC is not set | 868 | # CONFIG_SFC is not set |
853 | # CONFIG_BE2NET is not set | 869 | # CONFIG_BE2NET is not set |
854 | # CONFIG_TR is not set | 870 | # CONFIG_TR is not set |
855 | 871 | CONFIG_WLAN=y | |
856 | # | ||
857 | # Wireless LAN | ||
858 | # | ||
859 | # CONFIG_WLAN_PRE80211 is not set | 872 | # CONFIG_WLAN_PRE80211 is not set |
860 | # CONFIG_WLAN_80211 is not set | 873 | # CONFIG_WLAN_80211 is not set |
861 | 874 | ||
@@ -957,6 +970,7 @@ CONFIG_HW_RANDOM=y | |||
957 | CONFIG_DEVPORT=y | 970 | CONFIG_DEVPORT=y |
958 | CONFIG_I2C=y | 971 | CONFIG_I2C=y |
959 | CONFIG_I2C_BOARDINFO=y | 972 | CONFIG_I2C_BOARDINFO=y |
973 | CONFIG_I2C_COMPAT=y | ||
960 | CONFIG_I2C_CHARDEV=y | 974 | CONFIG_I2C_CHARDEV=y |
961 | CONFIG_I2C_HELPER_AUTO=y | 975 | CONFIG_I2C_HELPER_AUTO=y |
962 | 976 | ||
@@ -1011,9 +1025,6 @@ CONFIG_I2C_MPC=y | |||
1011 | # Miscellaneous I2C Chip support | 1025 | # Miscellaneous I2C Chip support |
1012 | # | 1026 | # |
1013 | # CONFIG_DS1682 is not set | 1027 | # CONFIG_DS1682 is not set |
1014 | # CONFIG_SENSORS_PCF8574 is not set | ||
1015 | # CONFIG_PCF8575 is not set | ||
1016 | # CONFIG_SENSORS_PCA9539 is not set | ||
1017 | # CONFIG_SENSORS_TSL2550 is not set | 1028 | # CONFIG_SENSORS_TSL2550 is not set |
1018 | # CONFIG_I2C_DEBUG_CORE is not set | 1029 | # CONFIG_I2C_DEBUG_CORE is not set |
1019 | # CONFIG_I2C_DEBUG_ALGO is not set | 1030 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1045,6 +1056,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1045 | # CONFIG_POWER_SUPPLY is not set | 1056 | # CONFIG_POWER_SUPPLY is not set |
1046 | CONFIG_HWMON=y | 1057 | CONFIG_HWMON=y |
1047 | # CONFIG_HWMON_VID is not set | 1058 | # CONFIG_HWMON_VID is not set |
1059 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1060 | |||
1061 | # | ||
1062 | # Native drivers | ||
1063 | # | ||
1048 | # CONFIG_SENSORS_AD7414 is not set | 1064 | # CONFIG_SENSORS_AD7414 is not set |
1049 | # CONFIG_SENSORS_AD7418 is not set | 1065 | # CONFIG_SENSORS_AD7418 is not set |
1050 | # CONFIG_SENSORS_ADCXX is not set | 1066 | # CONFIG_SENSORS_ADCXX is not set |
@@ -1097,6 +1113,7 @@ CONFIG_HWMON=y | |||
1097 | # CONFIG_SENSORS_ADS7828 is not set | 1113 | # CONFIG_SENSORS_ADS7828 is not set |
1098 | # CONFIG_SENSORS_THMC50 is not set | 1114 | # CONFIG_SENSORS_THMC50 is not set |
1099 | # CONFIG_SENSORS_TMP401 is not set | 1115 | # CONFIG_SENSORS_TMP401 is not set |
1116 | # CONFIG_SENSORS_TMP421 is not set | ||
1100 | # CONFIG_SENSORS_VIA686A is not set | 1117 | # CONFIG_SENSORS_VIA686A is not set |
1101 | # CONFIG_SENSORS_VT1211 is not set | 1118 | # CONFIG_SENSORS_VT1211 is not set |
1102 | # CONFIG_SENSORS_VT8231 is not set | 1119 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1109,9 +1126,7 @@ CONFIG_HWMON=y | |||
1109 | # CONFIG_SENSORS_W83627HF is not set | 1126 | # CONFIG_SENSORS_W83627HF is not set |
1110 | # CONFIG_SENSORS_W83627EHF is not set | 1127 | # CONFIG_SENSORS_W83627EHF is not set |
1111 | # CONFIG_SENSORS_LIS3_SPI is not set | 1128 | # CONFIG_SENSORS_LIS3_SPI is not set |
1112 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1113 | # CONFIG_THERMAL is not set | 1129 | # CONFIG_THERMAL is not set |
1114 | # CONFIG_THERMAL_HWMON is not set | ||
1115 | CONFIG_WATCHDOG=y | 1130 | CONFIG_WATCHDOG=y |
1116 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1131 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1117 | 1132 | ||
@@ -1149,8 +1164,10 @@ CONFIG_SSB_POSSIBLE=y | |||
1149 | # CONFIG_MFD_TMIO is not set | 1164 | # CONFIG_MFD_TMIO is not set |
1150 | # CONFIG_PMIC_DA903X is not set | 1165 | # CONFIG_PMIC_DA903X is not set |
1151 | # CONFIG_MFD_WM8400 is not set | 1166 | # CONFIG_MFD_WM8400 is not set |
1167 | # CONFIG_MFD_WM831X is not set | ||
1152 | # CONFIG_MFD_WM8350_I2C is not set | 1168 | # CONFIG_MFD_WM8350_I2C is not set |
1153 | # CONFIG_MFD_PCF50633 is not set | 1169 | # CONFIG_MFD_PCF50633 is not set |
1170 | # CONFIG_MFD_MC13783 is not set | ||
1154 | # CONFIG_AB3100_CORE is not set | 1171 | # CONFIG_AB3100_CORE is not set |
1155 | # CONFIG_EZX_PCAP is not set | 1172 | # CONFIG_EZX_PCAP is not set |
1156 | # CONFIG_REGULATOR is not set | 1173 | # CONFIG_REGULATOR is not set |
@@ -1160,6 +1177,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1160 | # Graphics support | 1177 | # Graphics support |
1161 | # | 1178 | # |
1162 | # CONFIG_AGP is not set | 1179 | # CONFIG_AGP is not set |
1180 | CONFIG_VGA_ARB=y | ||
1163 | # CONFIG_DRM is not set | 1181 | # CONFIG_DRM is not set |
1164 | # CONFIG_VGASTATE is not set | 1182 | # CONFIG_VGASTATE is not set |
1165 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1183 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1173,7 +1191,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1173 | # CONFIG_SOUND is not set | 1191 | # CONFIG_SOUND is not set |
1174 | CONFIG_HID_SUPPORT=y | 1192 | CONFIG_HID_SUPPORT=y |
1175 | CONFIG_HID=y | 1193 | CONFIG_HID=y |
1176 | # CONFIG_HID_DEBUG is not set | ||
1177 | # CONFIG_HIDRAW is not set | 1194 | # CONFIG_HIDRAW is not set |
1178 | 1195 | ||
1179 | # | 1196 | # |
@@ -1225,6 +1242,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1225 | # CONFIG_USB_OXU210HP_HCD is not set | 1242 | # CONFIG_USB_OXU210HP_HCD is not set |
1226 | # CONFIG_USB_ISP116X_HCD is not set | 1243 | # CONFIG_USB_ISP116X_HCD is not set |
1227 | # CONFIG_USB_ISP1760_HCD is not set | 1244 | # CONFIG_USB_ISP1760_HCD is not set |
1245 | # CONFIG_USB_ISP1362_HCD is not set | ||
1228 | CONFIG_USB_OHCI_HCD=y | 1246 | CONFIG_USB_OHCI_HCD=y |
1229 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1247 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1230 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1248 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1316,6 +1334,7 @@ CONFIG_USB_GADGET_SELECTED=y | |||
1316 | # CONFIG_USB_GADGET_LH7A40X is not set | 1334 | # CONFIG_USB_GADGET_LH7A40X is not set |
1317 | # CONFIG_USB_GADGET_OMAP is not set | 1335 | # CONFIG_USB_GADGET_OMAP is not set |
1318 | # CONFIG_USB_GADGET_PXA25X is not set | 1336 | # CONFIG_USB_GADGET_PXA25X is not set |
1337 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1319 | # CONFIG_USB_GADGET_PXA27X is not set | 1338 | # CONFIG_USB_GADGET_PXA27X is not set |
1320 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | 1339 | # CONFIG_USB_GADGET_S3C_HSOTG is not set |
1321 | # CONFIG_USB_GADGET_IMX is not set | 1340 | # CONFIG_USB_GADGET_IMX is not set |
@@ -1334,6 +1353,7 @@ CONFIG_USB_GADGET_DUALSPEED=y | |||
1334 | # CONFIG_USB_AUDIO is not set | 1353 | # CONFIG_USB_AUDIO is not set |
1335 | CONFIG_USB_ETH=y | 1354 | CONFIG_USB_ETH=y |
1336 | CONFIG_USB_ETH_RNDIS=y | 1355 | CONFIG_USB_ETH_RNDIS=y |
1356 | # CONFIG_USB_ETH_EEM is not set | ||
1337 | # CONFIG_USB_GADGETFS is not set | 1357 | # CONFIG_USB_GADGETFS is not set |
1338 | # CONFIG_USB_FILE_STORAGE is not set | 1358 | # CONFIG_USB_FILE_STORAGE is not set |
1339 | # CONFIG_USB_G_SERIAL is not set | 1359 | # CONFIG_USB_G_SERIAL is not set |
@@ -1395,6 +1415,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1395 | # CONFIG_RTC_DRV_R9701 is not set | 1415 | # CONFIG_RTC_DRV_R9701 is not set |
1396 | # CONFIG_RTC_DRV_RS5C348 is not set | 1416 | # CONFIG_RTC_DRV_RS5C348 is not set |
1397 | # CONFIG_RTC_DRV_DS3234 is not set | 1417 | # CONFIG_RTC_DRV_DS3234 is not set |
1418 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1398 | 1419 | ||
1399 | # | 1420 | # |
1400 | # Platform RTC drivers | 1421 | # Platform RTC drivers |
@@ -1445,6 +1466,7 @@ CONFIG_FS_MBCACHE=y | |||
1445 | # CONFIG_GFS2_FS is not set | 1466 | # CONFIG_GFS2_FS is not set |
1446 | # CONFIG_OCFS2_FS is not set | 1467 | # CONFIG_OCFS2_FS is not set |
1447 | # CONFIG_BTRFS_FS is not set | 1468 | # CONFIG_BTRFS_FS is not set |
1469 | # CONFIG_NILFS2_FS is not set | ||
1448 | CONFIG_FILE_LOCKING=y | 1470 | CONFIG_FILE_LOCKING=y |
1449 | CONFIG_FSNOTIFY=y | 1471 | CONFIG_FSNOTIFY=y |
1450 | CONFIG_DNOTIFY=y | 1472 | CONFIG_DNOTIFY=y |
@@ -1514,7 +1536,6 @@ CONFIG_JFFS2_RTIME=y | |||
1514 | # CONFIG_ROMFS_FS is not set | 1536 | # CONFIG_ROMFS_FS is not set |
1515 | # CONFIG_SYSV_FS is not set | 1537 | # CONFIG_SYSV_FS is not set |
1516 | # CONFIG_UFS_FS is not set | 1538 | # CONFIG_UFS_FS is not set |
1517 | # CONFIG_NILFS2_FS is not set | ||
1518 | CONFIG_NETWORK_FILESYSTEMS=y | 1539 | CONFIG_NETWORK_FILESYSTEMS=y |
1519 | CONFIG_NFS_FS=y | 1540 | CONFIG_NFS_FS=y |
1520 | CONFIG_NFS_V3=y | 1541 | CONFIG_NFS_V3=y |
@@ -1630,6 +1651,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1630 | CONFIG_ENABLE_MUST_CHECK=y | 1651 | CONFIG_ENABLE_MUST_CHECK=y |
1631 | CONFIG_FRAME_WARN=1024 | 1652 | CONFIG_FRAME_WARN=1024 |
1632 | # CONFIG_MAGIC_SYSRQ is not set | 1653 | # CONFIG_MAGIC_SYSRQ is not set |
1654 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1633 | # CONFIG_UNUSED_SYMBOLS is not set | 1655 | # CONFIG_UNUSED_SYMBOLS is not set |
1634 | # CONFIG_DEBUG_FS is not set | 1656 | # CONFIG_DEBUG_FS is not set |
1635 | # CONFIG_HEADERS_CHECK is not set | 1657 | # CONFIG_HEADERS_CHECK is not set |
@@ -1647,6 +1669,7 @@ CONFIG_SCHED_DEBUG=y | |||
1647 | # CONFIG_DEBUG_OBJECTS is not set | 1669 | # CONFIG_DEBUG_OBJECTS is not set |
1648 | # CONFIG_SLUB_DEBUG_ON is not set | 1670 | # CONFIG_SLUB_DEBUG_ON is not set |
1649 | # CONFIG_SLUB_STATS is not set | 1671 | # CONFIG_SLUB_STATS is not set |
1672 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1650 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1673 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1651 | # CONFIG_RT_MUTEX_TESTER is not set | 1674 | # CONFIG_RT_MUTEX_TESTER is not set |
1652 | # CONFIG_DEBUG_SPINLOCK is not set | 1675 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1665,10 +1688,12 @@ CONFIG_SCHED_DEBUG=y | |||
1665 | # CONFIG_DEBUG_LIST is not set | 1688 | # CONFIG_DEBUG_LIST is not set |
1666 | # CONFIG_DEBUG_SG is not set | 1689 | # CONFIG_DEBUG_SG is not set |
1667 | # CONFIG_DEBUG_NOTIFIERS is not set | 1690 | # CONFIG_DEBUG_NOTIFIERS is not set |
1691 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1668 | # CONFIG_RCU_TORTURE_TEST is not set | 1692 | # CONFIG_RCU_TORTURE_TEST is not set |
1669 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1693 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1670 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1694 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1671 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1695 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1696 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1672 | # CONFIG_FAULT_INJECTION is not set | 1697 | # CONFIG_FAULT_INJECTION is not set |
1673 | # CONFIG_LATENCYTOP is not set | 1698 | # CONFIG_LATENCYTOP is not set |
1674 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1699 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1691,10 +1716,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1691 | # CONFIG_KMEMTRACE is not set | 1716 | # CONFIG_KMEMTRACE is not set |
1692 | # CONFIG_WORKQUEUE_TRACER is not set | 1717 | # CONFIG_WORKQUEUE_TRACER is not set |
1693 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1718 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1719 | # CONFIG_DMA_API_DEBUG is not set | ||
1694 | # CONFIG_SAMPLES is not set | 1720 | # CONFIG_SAMPLES is not set |
1695 | CONFIG_HAVE_ARCH_KGDB=y | 1721 | CONFIG_HAVE_ARCH_KGDB=y |
1696 | # CONFIG_KGDB is not set | 1722 | # CONFIG_KGDB is not set |
1697 | # CONFIG_KMEMCHECK is not set | ||
1698 | # CONFIG_PPC_DISABLE_WERROR is not set | 1723 | # CONFIG_PPC_DISABLE_WERROR is not set |
1699 | CONFIG_PPC_WERROR=y | 1724 | CONFIG_PPC_WERROR=y |
1700 | CONFIG_PRINT_STACK_DEPTH=64 | 1725 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1721,7 +1746,6 @@ CONFIG_CRYPTO=y | |||
1721 | # | 1746 | # |
1722 | # Crypto core or helper | 1747 | # Crypto core or helper |
1723 | # | 1748 | # |
1724 | # CONFIG_CRYPTO_FIPS is not set | ||
1725 | CONFIG_CRYPTO_ALGAPI=y | 1749 | CONFIG_CRYPTO_ALGAPI=y |
1726 | CONFIG_CRYPTO_ALGAPI2=y | 1750 | CONFIG_CRYPTO_ALGAPI2=y |
1727 | CONFIG_CRYPTO_AEAD2=y | 1751 | CONFIG_CRYPTO_AEAD2=y |
@@ -1763,11 +1787,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1763 | # | 1787 | # |
1764 | # CONFIG_CRYPTO_HMAC is not set | 1788 | # CONFIG_CRYPTO_HMAC is not set |
1765 | # CONFIG_CRYPTO_XCBC is not set | 1789 | # CONFIG_CRYPTO_XCBC is not set |
1790 | # CONFIG_CRYPTO_VMAC is not set | ||
1766 | 1791 | ||
1767 | # | 1792 | # |
1768 | # Digest | 1793 | # Digest |
1769 | # | 1794 | # |
1770 | # CONFIG_CRYPTO_CRC32C is not set | 1795 | # CONFIG_CRYPTO_CRC32C is not set |
1796 | # CONFIG_CRYPTO_GHASH is not set | ||
1771 | # CONFIG_CRYPTO_MD4 is not set | 1797 | # CONFIG_CRYPTO_MD4 is not set |
1772 | CONFIG_CRYPTO_MD5=y | 1798 | CONFIG_CRYPTO_MD5=y |
1773 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1799 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc832x_mds_defconfig b/arch/powerpc/configs/83xx/mpc832x_mds_defconfig index e0e36a113409..7def83518a6c 100644 --- a/arch/powerpc/configs/83xx/mpc832x_mds_defconfig +++ b/arch/powerpc/configs/83xx/mpc832x_mds_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:06 2009 | 4 | # Thu Nov 5 08:20:24 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -257,6 +260,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 260 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
258 | # CONFIG_KEXEC is not set | 261 | # CONFIG_KEXEC is not set |
259 | # CONFIG_CRASH_DUMP is not set | 262 | # CONFIG_CRASH_DUMP is not set |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
260 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
261 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
262 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -274,6 +278,7 @@ CONFIG_BOUNCE=y | |||
274 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
275 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
276 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
277 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
278 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
279 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | # CONFIG_FW_LOADER is not set | 430 | # CONFIG_FW_LOADER is not set |
@@ -504,6 +511,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
504 | # CONFIG_ISCSI_TCP is not set | 511 | # CONFIG_ISCSI_TCP is not set |
505 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 512 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
506 | # CONFIG_SCSI_BNX2_ISCSI is not set | 513 | # CONFIG_SCSI_BNX2_ISCSI is not set |
514 | # CONFIG_BE2ISCSI is not set | ||
507 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 515 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
508 | # CONFIG_SCSI_3W_9XXX is not set | 516 | # CONFIG_SCSI_3W_9XXX is not set |
509 | # CONFIG_SCSI_ACARD is not set | 517 | # CONFIG_SCSI_ACARD is not set |
@@ -542,7 +550,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
542 | # CONFIG_SCSI_DC390T is not set | 550 | # CONFIG_SCSI_DC390T is not set |
543 | # CONFIG_SCSI_NSP32 is not set | 551 | # CONFIG_SCSI_NSP32 is not set |
544 | # CONFIG_SCSI_DEBUG is not set | 552 | # CONFIG_SCSI_DEBUG is not set |
553 | # CONFIG_SCSI_PMCRAID is not set | ||
545 | # CONFIG_SCSI_SRP is not set | 554 | # CONFIG_SCSI_SRP is not set |
555 | # CONFIG_SCSI_BFA_FC is not set | ||
546 | # CONFIG_SCSI_DH is not set | 556 | # CONFIG_SCSI_DH is not set |
547 | # CONFIG_SCSI_OSD_INITIATOR is not set | 557 | # CONFIG_SCSI_OSD_INITIATOR is not set |
548 | # CONFIG_ATA is not set | 558 | # CONFIG_ATA is not set |
@@ -612,7 +622,9 @@ CONFIG_MII=y | |||
612 | # CONFIG_NET_PCI is not set | 622 | # CONFIG_NET_PCI is not set |
613 | # CONFIG_B44 is not set | 623 | # CONFIG_B44 is not set |
614 | # CONFIG_KS8842 is not set | 624 | # CONFIG_KS8842 is not set |
625 | # CONFIG_KS8851_MLL is not set | ||
615 | # CONFIG_ATL2 is not set | 626 | # CONFIG_ATL2 is not set |
627 | # CONFIG_XILINX_EMACLITE is not set | ||
616 | CONFIG_NETDEV_1000=y | 628 | CONFIG_NETDEV_1000=y |
617 | # CONFIG_ACENIC is not set | 629 | # CONFIG_ACENIC is not set |
618 | # CONFIG_DL2K is not set | 630 | # CONFIG_DL2K is not set |
@@ -635,7 +647,6 @@ CONFIG_NETDEV_1000=y | |||
635 | CONFIG_FSL_PQ_MDIO=y | 647 | CONFIG_FSL_PQ_MDIO=y |
636 | # CONFIG_GIANFAR is not set | 648 | # CONFIG_GIANFAR is not set |
637 | CONFIG_UCC_GETH=y | 649 | CONFIG_UCC_GETH=y |
638 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
639 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 650 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
640 | # CONFIG_MV643XX_ETH is not set | 651 | # CONFIG_MV643XX_ETH is not set |
641 | # CONFIG_QLA3XXX is not set | 652 | # CONFIG_QLA3XXX is not set |
@@ -663,10 +674,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
663 | # CONFIG_SFC is not set | 674 | # CONFIG_SFC is not set |
664 | # CONFIG_BE2NET is not set | 675 | # CONFIG_BE2NET is not set |
665 | # CONFIG_TR is not set | 676 | # CONFIG_TR is not set |
666 | 677 | CONFIG_WLAN=y | |
667 | # | ||
668 | # Wireless LAN | ||
669 | # | ||
670 | # CONFIG_WLAN_PRE80211 is not set | 678 | # CONFIG_WLAN_PRE80211 is not set |
671 | # CONFIG_WLAN_80211 is not set | 679 | # CONFIG_WLAN_80211 is not set |
672 | 680 | ||
@@ -759,6 +767,7 @@ CONFIG_HW_RANDOM=y | |||
759 | CONFIG_DEVPORT=y | 767 | CONFIG_DEVPORT=y |
760 | CONFIG_I2C=y | 768 | CONFIG_I2C=y |
761 | CONFIG_I2C_BOARDINFO=y | 769 | CONFIG_I2C_BOARDINFO=y |
770 | CONFIG_I2C_COMPAT=y | ||
762 | CONFIG_I2C_CHARDEV=y | 771 | CONFIG_I2C_CHARDEV=y |
763 | CONFIG_I2C_HELPER_AUTO=y | 772 | CONFIG_I2C_HELPER_AUTO=y |
764 | 773 | ||
@@ -812,9 +821,6 @@ CONFIG_I2C_MPC=y | |||
812 | # Miscellaneous I2C Chip support | 821 | # Miscellaneous I2C Chip support |
813 | # | 822 | # |
814 | # CONFIG_DS1682 is not set | 823 | # CONFIG_DS1682 is not set |
815 | # CONFIG_SENSORS_PCF8574 is not set | ||
816 | # CONFIG_PCF8575 is not set | ||
817 | # CONFIG_SENSORS_PCA9539 is not set | ||
818 | # CONFIG_SENSORS_TSL2550 is not set | 824 | # CONFIG_SENSORS_TSL2550 is not set |
819 | # CONFIG_I2C_DEBUG_CORE is not set | 825 | # CONFIG_I2C_DEBUG_CORE is not set |
820 | # CONFIG_I2C_DEBUG_ALGO is not set | 826 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -832,6 +838,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
832 | # CONFIG_POWER_SUPPLY is not set | 838 | # CONFIG_POWER_SUPPLY is not set |
833 | CONFIG_HWMON=y | 839 | CONFIG_HWMON=y |
834 | # CONFIG_HWMON_VID is not set | 840 | # CONFIG_HWMON_VID is not set |
841 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
842 | |||
843 | # | ||
844 | # Native drivers | ||
845 | # | ||
835 | # CONFIG_SENSORS_AD7414 is not set | 846 | # CONFIG_SENSORS_AD7414 is not set |
836 | # CONFIG_SENSORS_AD7418 is not set | 847 | # CONFIG_SENSORS_AD7418 is not set |
837 | # CONFIG_SENSORS_ADM1021 is not set | 848 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -881,6 +892,7 @@ CONFIG_HWMON=y | |||
881 | # CONFIG_SENSORS_ADS7828 is not set | 892 | # CONFIG_SENSORS_ADS7828 is not set |
882 | # CONFIG_SENSORS_THMC50 is not set | 893 | # CONFIG_SENSORS_THMC50 is not set |
883 | # CONFIG_SENSORS_TMP401 is not set | 894 | # CONFIG_SENSORS_TMP401 is not set |
895 | # CONFIG_SENSORS_TMP421 is not set | ||
884 | # CONFIG_SENSORS_VIA686A is not set | 896 | # CONFIG_SENSORS_VIA686A is not set |
885 | # CONFIG_SENSORS_VT1211 is not set | 897 | # CONFIG_SENSORS_VT1211 is not set |
886 | # CONFIG_SENSORS_VT8231 is not set | 898 | # CONFIG_SENSORS_VT8231 is not set |
@@ -892,9 +904,7 @@ CONFIG_HWMON=y | |||
892 | # CONFIG_SENSORS_W83L786NG is not set | 904 | # CONFIG_SENSORS_W83L786NG is not set |
893 | # CONFIG_SENSORS_W83627HF is not set | 905 | # CONFIG_SENSORS_W83627HF is not set |
894 | # CONFIG_SENSORS_W83627EHF is not set | 906 | # CONFIG_SENSORS_W83627EHF is not set |
895 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
896 | # CONFIG_THERMAL is not set | 907 | # CONFIG_THERMAL is not set |
897 | # CONFIG_THERMAL_HWMON is not set | ||
898 | CONFIG_WATCHDOG=y | 908 | CONFIG_WATCHDOG=y |
899 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 909 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
900 | 910 | ||
@@ -927,6 +937,7 @@ CONFIG_SSB_POSSIBLE=y | |||
927 | # CONFIG_MFD_TMIO is not set | 937 | # CONFIG_MFD_TMIO is not set |
928 | # CONFIG_PMIC_DA903X is not set | 938 | # CONFIG_PMIC_DA903X is not set |
929 | # CONFIG_MFD_WM8400 is not set | 939 | # CONFIG_MFD_WM8400 is not set |
940 | # CONFIG_MFD_WM831X is not set | ||
930 | # CONFIG_MFD_WM8350_I2C is not set | 941 | # CONFIG_MFD_WM8350_I2C is not set |
931 | # CONFIG_MFD_PCF50633 is not set | 942 | # CONFIG_MFD_PCF50633 is not set |
932 | # CONFIG_AB3100_CORE is not set | 943 | # CONFIG_AB3100_CORE is not set |
@@ -937,6 +948,7 @@ CONFIG_SSB_POSSIBLE=y | |||
937 | # Graphics support | 948 | # Graphics support |
938 | # | 949 | # |
939 | # CONFIG_AGP is not set | 950 | # CONFIG_AGP is not set |
951 | CONFIG_VGA_ARB=y | ||
940 | # CONFIG_DRM is not set | 952 | # CONFIG_DRM is not set |
941 | # CONFIG_VGASTATE is not set | 953 | # CONFIG_VGASTATE is not set |
942 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 954 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -950,7 +962,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
950 | # CONFIG_SOUND is not set | 962 | # CONFIG_SOUND is not set |
951 | CONFIG_HID_SUPPORT=y | 963 | CONFIG_HID_SUPPORT=y |
952 | CONFIG_HID=y | 964 | CONFIG_HID=y |
953 | # CONFIG_HID_DEBUG is not set | ||
954 | # CONFIG_HIDRAW is not set | 965 | # CONFIG_HIDRAW is not set |
955 | # CONFIG_HID_PID is not set | 966 | # CONFIG_HID_PID is not set |
956 | 967 | ||
@@ -1070,6 +1081,7 @@ CONFIG_FS_MBCACHE=y | |||
1070 | # CONFIG_GFS2_FS is not set | 1081 | # CONFIG_GFS2_FS is not set |
1071 | # CONFIG_OCFS2_FS is not set | 1082 | # CONFIG_OCFS2_FS is not set |
1072 | # CONFIG_BTRFS_FS is not set | 1083 | # CONFIG_BTRFS_FS is not set |
1084 | # CONFIG_NILFS2_FS is not set | ||
1073 | CONFIG_FILE_LOCKING=y | 1085 | CONFIG_FILE_LOCKING=y |
1074 | CONFIG_FSNOTIFY=y | 1086 | CONFIG_FSNOTIFY=y |
1075 | CONFIG_DNOTIFY=y | 1087 | CONFIG_DNOTIFY=y |
@@ -1128,7 +1140,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1128 | # CONFIG_ROMFS_FS is not set | 1140 | # CONFIG_ROMFS_FS is not set |
1129 | # CONFIG_SYSV_FS is not set | 1141 | # CONFIG_SYSV_FS is not set |
1130 | # CONFIG_UFS_FS is not set | 1142 | # CONFIG_UFS_FS is not set |
1131 | # CONFIG_NILFS2_FS is not set | ||
1132 | CONFIG_NETWORK_FILESYSTEMS=y | 1143 | CONFIG_NETWORK_FILESYSTEMS=y |
1133 | CONFIG_NFS_FS=y | 1144 | CONFIG_NFS_FS=y |
1134 | CONFIG_NFS_V3=y | 1145 | CONFIG_NFS_V3=y |
@@ -1202,6 +1213,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1202 | CONFIG_ENABLE_MUST_CHECK=y | 1213 | CONFIG_ENABLE_MUST_CHECK=y |
1203 | CONFIG_FRAME_WARN=1024 | 1214 | CONFIG_FRAME_WARN=1024 |
1204 | # CONFIG_MAGIC_SYSRQ is not set | 1215 | # CONFIG_MAGIC_SYSRQ is not set |
1216 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1205 | # CONFIG_UNUSED_SYMBOLS is not set | 1217 | # CONFIG_UNUSED_SYMBOLS is not set |
1206 | # CONFIG_DEBUG_FS is not set | 1218 | # CONFIG_DEBUG_FS is not set |
1207 | # CONFIG_HEADERS_CHECK is not set | 1219 | # CONFIG_HEADERS_CHECK is not set |
@@ -1219,6 +1231,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1219 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1231 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1220 | CONFIG_TRACING_SUPPORT=y | 1232 | CONFIG_TRACING_SUPPORT=y |
1221 | # CONFIG_FTRACE is not set | 1233 | # CONFIG_FTRACE is not set |
1234 | # CONFIG_DMA_API_DEBUG is not set | ||
1222 | # CONFIG_SAMPLES is not set | 1235 | # CONFIG_SAMPLES is not set |
1223 | CONFIG_HAVE_ARCH_KGDB=y | 1236 | CONFIG_HAVE_ARCH_KGDB=y |
1224 | # CONFIG_PPC_DISABLE_WERROR is not set | 1237 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1240,7 +1253,6 @@ CONFIG_CRYPTO=y | |||
1240 | # | 1253 | # |
1241 | # Crypto core or helper | 1254 | # Crypto core or helper |
1242 | # | 1255 | # |
1243 | # CONFIG_CRYPTO_FIPS is not set | ||
1244 | CONFIG_CRYPTO_ALGAPI=y | 1256 | CONFIG_CRYPTO_ALGAPI=y |
1245 | CONFIG_CRYPTO_ALGAPI2=y | 1257 | CONFIG_CRYPTO_ALGAPI2=y |
1246 | CONFIG_CRYPTO_AEAD2=y | 1258 | CONFIG_CRYPTO_AEAD2=y |
@@ -1282,11 +1294,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1282 | # | 1294 | # |
1283 | # CONFIG_CRYPTO_HMAC is not set | 1295 | # CONFIG_CRYPTO_HMAC is not set |
1284 | # CONFIG_CRYPTO_XCBC is not set | 1296 | # CONFIG_CRYPTO_XCBC is not set |
1297 | # CONFIG_CRYPTO_VMAC is not set | ||
1285 | 1298 | ||
1286 | # | 1299 | # |
1287 | # Digest | 1300 | # Digest |
1288 | # | 1301 | # |
1289 | # CONFIG_CRYPTO_CRC32C is not set | 1302 | # CONFIG_CRYPTO_CRC32C is not set |
1303 | # CONFIG_CRYPTO_GHASH is not set | ||
1290 | # CONFIG_CRYPTO_MD4 is not set | 1304 | # CONFIG_CRYPTO_MD4 is not set |
1291 | CONFIG_CRYPTO_MD5=y | 1305 | CONFIG_CRYPTO_MD5=y |
1292 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1306 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc832x_rdb_defconfig b/arch/powerpc/configs/83xx/mpc832x_rdb_defconfig index 4f27d4548223..b398b9b2b635 100644 --- a/arch/powerpc/configs/83xx/mpc832x_rdb_defconfig +++ b/arch/powerpc/configs/83xx/mpc832x_rdb_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:07 2009 | 4 | # Thu Nov 5 08:20:24 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -257,6 +260,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 260 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
258 | # CONFIG_KEXEC is not set | 261 | # CONFIG_KEXEC is not set |
259 | # CONFIG_CRASH_DUMP is not set | 262 | # CONFIG_CRASH_DUMP is not set |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
260 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
261 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
262 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -274,6 +278,7 @@ CONFIG_BOUNCE=y | |||
274 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
275 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
276 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
277 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
278 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
279 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | # CONFIG_FW_LOADER is not set | 430 | # CONFIG_FW_LOADER is not set |
@@ -507,6 +514,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
507 | # CONFIG_ISCSI_TCP is not set | 514 | # CONFIG_ISCSI_TCP is not set |
508 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 515 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
509 | # CONFIG_SCSI_BNX2_ISCSI is not set | 516 | # CONFIG_SCSI_BNX2_ISCSI is not set |
517 | # CONFIG_BE2ISCSI is not set | ||
510 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 518 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
511 | # CONFIG_SCSI_3W_9XXX is not set | 519 | # CONFIG_SCSI_3W_9XXX is not set |
512 | # CONFIG_SCSI_ACARD is not set | 520 | # CONFIG_SCSI_ACARD is not set |
@@ -545,7 +553,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
545 | # CONFIG_SCSI_DC390T is not set | 553 | # CONFIG_SCSI_DC390T is not set |
546 | # CONFIG_SCSI_NSP32 is not set | 554 | # CONFIG_SCSI_NSP32 is not set |
547 | # CONFIG_SCSI_DEBUG is not set | 555 | # CONFIG_SCSI_DEBUG is not set |
556 | # CONFIG_SCSI_PMCRAID is not set | ||
548 | # CONFIG_SCSI_SRP is not set | 557 | # CONFIG_SCSI_SRP is not set |
558 | # CONFIG_SCSI_BFA_FC is not set | ||
549 | # CONFIG_SCSI_DH is not set | 559 | # CONFIG_SCSI_DH is not set |
550 | # CONFIG_SCSI_OSD_INITIATOR is not set | 560 | # CONFIG_SCSI_OSD_INITIATOR is not set |
551 | # CONFIG_ATA is not set | 561 | # CONFIG_ATA is not set |
@@ -617,7 +627,9 @@ CONFIG_MII=y | |||
617 | # CONFIG_B44 is not set | 627 | # CONFIG_B44 is not set |
618 | # CONFIG_KS8842 is not set | 628 | # CONFIG_KS8842 is not set |
619 | # CONFIG_KS8851 is not set | 629 | # CONFIG_KS8851 is not set |
630 | # CONFIG_KS8851_MLL is not set | ||
620 | # CONFIG_ATL2 is not set | 631 | # CONFIG_ATL2 is not set |
632 | # CONFIG_XILINX_EMACLITE is not set | ||
621 | CONFIG_NETDEV_1000=y | 633 | CONFIG_NETDEV_1000=y |
622 | # CONFIG_ACENIC is not set | 634 | # CONFIG_ACENIC is not set |
623 | # CONFIG_DL2K is not set | 635 | # CONFIG_DL2K is not set |
@@ -640,7 +652,6 @@ CONFIG_E1000=y | |||
640 | CONFIG_FSL_PQ_MDIO=y | 652 | CONFIG_FSL_PQ_MDIO=y |
641 | # CONFIG_GIANFAR is not set | 653 | # CONFIG_GIANFAR is not set |
642 | CONFIG_UCC_GETH=y | 654 | CONFIG_UCC_GETH=y |
643 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
644 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 655 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
645 | # CONFIG_MV643XX_ETH is not set | 656 | # CONFIG_MV643XX_ETH is not set |
646 | # CONFIG_QLA3XXX is not set | 657 | # CONFIG_QLA3XXX is not set |
@@ -668,10 +679,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
668 | # CONFIG_SFC is not set | 679 | # CONFIG_SFC is not set |
669 | # CONFIG_BE2NET is not set | 680 | # CONFIG_BE2NET is not set |
670 | # CONFIG_TR is not set | 681 | # CONFIG_TR is not set |
671 | 682 | CONFIG_WLAN=y | |
672 | # | ||
673 | # Wireless LAN | ||
674 | # | ||
675 | # CONFIG_WLAN_PRE80211 is not set | 683 | # CONFIG_WLAN_PRE80211 is not set |
676 | # CONFIG_WLAN_80211 is not set | 684 | # CONFIG_WLAN_80211 is not set |
677 | 685 | ||
@@ -776,6 +784,7 @@ CONFIG_GEN_RTC=y | |||
776 | CONFIG_DEVPORT=y | 784 | CONFIG_DEVPORT=y |
777 | CONFIG_I2C=y | 785 | CONFIG_I2C=y |
778 | CONFIG_I2C_BOARDINFO=y | 786 | CONFIG_I2C_BOARDINFO=y |
787 | CONFIG_I2C_COMPAT=y | ||
779 | CONFIG_I2C_CHARDEV=y | 788 | CONFIG_I2C_CHARDEV=y |
780 | CONFIG_I2C_HELPER_AUTO=y | 789 | CONFIG_I2C_HELPER_AUTO=y |
781 | 790 | ||
@@ -830,9 +839,6 @@ CONFIG_I2C_MPC=y | |||
830 | # Miscellaneous I2C Chip support | 839 | # Miscellaneous I2C Chip support |
831 | # | 840 | # |
832 | # CONFIG_DS1682 is not set | 841 | # CONFIG_DS1682 is not set |
833 | # CONFIG_SENSORS_PCF8574 is not set | ||
834 | # CONFIG_PCF8575 is not set | ||
835 | # CONFIG_SENSORS_PCA9539 is not set | ||
836 | # CONFIG_SENSORS_TSL2550 is not set | 842 | # CONFIG_SENSORS_TSL2550 is not set |
837 | # CONFIG_I2C_DEBUG_CORE is not set | 843 | # CONFIG_I2C_DEBUG_CORE is not set |
838 | # CONFIG_I2C_DEBUG_ALGO is not set | 844 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -863,6 +869,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
863 | # CONFIG_POWER_SUPPLY is not set | 869 | # CONFIG_POWER_SUPPLY is not set |
864 | CONFIG_HWMON=y | 870 | CONFIG_HWMON=y |
865 | # CONFIG_HWMON_VID is not set | 871 | # CONFIG_HWMON_VID is not set |
872 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
873 | |||
874 | # | ||
875 | # Native drivers | ||
876 | # | ||
866 | # CONFIG_SENSORS_AD7414 is not set | 877 | # CONFIG_SENSORS_AD7414 is not set |
867 | # CONFIG_SENSORS_AD7418 is not set | 878 | # CONFIG_SENSORS_AD7418 is not set |
868 | # CONFIG_SENSORS_ADCXX is not set | 879 | # CONFIG_SENSORS_ADCXX is not set |
@@ -915,6 +926,7 @@ CONFIG_HWMON=y | |||
915 | # CONFIG_SENSORS_ADS7828 is not set | 926 | # CONFIG_SENSORS_ADS7828 is not set |
916 | # CONFIG_SENSORS_THMC50 is not set | 927 | # CONFIG_SENSORS_THMC50 is not set |
917 | # CONFIG_SENSORS_TMP401 is not set | 928 | # CONFIG_SENSORS_TMP401 is not set |
929 | # CONFIG_SENSORS_TMP421 is not set | ||
918 | # CONFIG_SENSORS_VIA686A is not set | 930 | # CONFIG_SENSORS_VIA686A is not set |
919 | # CONFIG_SENSORS_VT1211 is not set | 931 | # CONFIG_SENSORS_VT1211 is not set |
920 | # CONFIG_SENSORS_VT8231 is not set | 932 | # CONFIG_SENSORS_VT8231 is not set |
@@ -927,9 +939,7 @@ CONFIG_HWMON=y | |||
927 | # CONFIG_SENSORS_W83627HF is not set | 939 | # CONFIG_SENSORS_W83627HF is not set |
928 | # CONFIG_SENSORS_W83627EHF is not set | 940 | # CONFIG_SENSORS_W83627EHF is not set |
929 | # CONFIG_SENSORS_LIS3_SPI is not set | 941 | # CONFIG_SENSORS_LIS3_SPI is not set |
930 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
931 | # CONFIG_THERMAL is not set | 942 | # CONFIG_THERMAL is not set |
932 | # CONFIG_THERMAL_HWMON is not set | ||
933 | CONFIG_WATCHDOG=y | 943 | CONFIG_WATCHDOG=y |
934 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 944 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
935 | 945 | ||
@@ -967,8 +977,10 @@ CONFIG_SSB_POSSIBLE=y | |||
967 | # CONFIG_MFD_TMIO is not set | 977 | # CONFIG_MFD_TMIO is not set |
968 | # CONFIG_PMIC_DA903X is not set | 978 | # CONFIG_PMIC_DA903X is not set |
969 | # CONFIG_MFD_WM8400 is not set | 979 | # CONFIG_MFD_WM8400 is not set |
980 | # CONFIG_MFD_WM831X is not set | ||
970 | # CONFIG_MFD_WM8350_I2C is not set | 981 | # CONFIG_MFD_WM8350_I2C is not set |
971 | # CONFIG_MFD_PCF50633 is not set | 982 | # CONFIG_MFD_PCF50633 is not set |
983 | # CONFIG_MFD_MC13783 is not set | ||
972 | # CONFIG_AB3100_CORE is not set | 984 | # CONFIG_AB3100_CORE is not set |
973 | # CONFIG_EZX_PCAP is not set | 985 | # CONFIG_EZX_PCAP is not set |
974 | # CONFIG_REGULATOR is not set | 986 | # CONFIG_REGULATOR is not set |
@@ -978,6 +990,7 @@ CONFIG_SSB_POSSIBLE=y | |||
978 | # Graphics support | 990 | # Graphics support |
979 | # | 991 | # |
980 | # CONFIG_AGP is not set | 992 | # CONFIG_AGP is not set |
993 | CONFIG_VGA_ARB=y | ||
981 | # CONFIG_DRM is not set | 994 | # CONFIG_DRM is not set |
982 | # CONFIG_VGASTATE is not set | 995 | # CONFIG_VGASTATE is not set |
983 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 996 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -991,7 +1004,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
991 | # CONFIG_SOUND is not set | 1004 | # CONFIG_SOUND is not set |
992 | CONFIG_HID_SUPPORT=y | 1005 | CONFIG_HID_SUPPORT=y |
993 | CONFIG_HID=y | 1006 | CONFIG_HID=y |
994 | # CONFIG_HID_DEBUG is not set | ||
995 | # CONFIG_HIDRAW is not set | 1007 | # CONFIG_HIDRAW is not set |
996 | 1008 | ||
997 | # | 1009 | # |
@@ -1043,6 +1055,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1043 | # CONFIG_USB_OXU210HP_HCD is not set | 1055 | # CONFIG_USB_OXU210HP_HCD is not set |
1044 | # CONFIG_USB_ISP116X_HCD is not set | 1056 | # CONFIG_USB_ISP116X_HCD is not set |
1045 | # CONFIG_USB_ISP1760_HCD is not set | 1057 | # CONFIG_USB_ISP1760_HCD is not set |
1058 | # CONFIG_USB_ISP1362_HCD is not set | ||
1046 | CONFIG_USB_OHCI_HCD=y | 1059 | CONFIG_USB_OHCI_HCD=y |
1047 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1060 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1048 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1061 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1146,6 +1159,8 @@ CONFIG_MMC_BLOCK_BOUNCE=y | |||
1146 | # | 1159 | # |
1147 | # CONFIG_MMC_SDHCI is not set | 1160 | # CONFIG_MMC_SDHCI is not set |
1148 | # CONFIG_MMC_WBSD is not set | 1161 | # CONFIG_MMC_WBSD is not set |
1162 | # CONFIG_MMC_AT91 is not set | ||
1163 | # CONFIG_MMC_ATMELMCI is not set | ||
1149 | # CONFIG_MMC_TIFM_SD is not set | 1164 | # CONFIG_MMC_TIFM_SD is not set |
1150 | CONFIG_MMC_SPI=y | 1165 | CONFIG_MMC_SPI=y |
1151 | # CONFIG_MMC_CB710 is not set | 1166 | # CONFIG_MMC_CB710 is not set |
@@ -1186,6 +1201,7 @@ CONFIG_FS_MBCACHE=y | |||
1186 | # CONFIG_GFS2_FS is not set | 1201 | # CONFIG_GFS2_FS is not set |
1187 | # CONFIG_OCFS2_FS is not set | 1202 | # CONFIG_OCFS2_FS is not set |
1188 | # CONFIG_BTRFS_FS is not set | 1203 | # CONFIG_BTRFS_FS is not set |
1204 | # CONFIG_NILFS2_FS is not set | ||
1189 | CONFIG_FILE_LOCKING=y | 1205 | CONFIG_FILE_LOCKING=y |
1190 | CONFIG_FSNOTIFY=y | 1206 | CONFIG_FSNOTIFY=y |
1191 | CONFIG_DNOTIFY=y | 1207 | CONFIG_DNOTIFY=y |
@@ -1247,7 +1263,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1247 | # CONFIG_ROMFS_FS is not set | 1263 | # CONFIG_ROMFS_FS is not set |
1248 | # CONFIG_SYSV_FS is not set | 1264 | # CONFIG_SYSV_FS is not set |
1249 | # CONFIG_UFS_FS is not set | 1265 | # CONFIG_UFS_FS is not set |
1250 | # CONFIG_NILFS2_FS is not set | ||
1251 | CONFIG_NETWORK_FILESYSTEMS=y | 1266 | CONFIG_NETWORK_FILESYSTEMS=y |
1252 | CONFIG_NFS_FS=y | 1267 | CONFIG_NFS_FS=y |
1253 | CONFIG_NFS_V3=y | 1268 | CONFIG_NFS_V3=y |
@@ -1365,6 +1380,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1365 | CONFIG_ENABLE_MUST_CHECK=y | 1380 | CONFIG_ENABLE_MUST_CHECK=y |
1366 | CONFIG_FRAME_WARN=1024 | 1381 | CONFIG_FRAME_WARN=1024 |
1367 | # CONFIG_MAGIC_SYSRQ is not set | 1382 | # CONFIG_MAGIC_SYSRQ is not set |
1383 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1368 | # CONFIG_UNUSED_SYMBOLS is not set | 1384 | # CONFIG_UNUSED_SYMBOLS is not set |
1369 | # CONFIG_DEBUG_FS is not set | 1385 | # CONFIG_DEBUG_FS is not set |
1370 | # CONFIG_HEADERS_CHECK is not set | 1386 | # CONFIG_HEADERS_CHECK is not set |
@@ -1382,6 +1398,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1382 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1398 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1383 | CONFIG_TRACING_SUPPORT=y | 1399 | CONFIG_TRACING_SUPPORT=y |
1384 | # CONFIG_FTRACE is not set | 1400 | # CONFIG_FTRACE is not set |
1401 | # CONFIG_DMA_API_DEBUG is not set | ||
1385 | # CONFIG_SAMPLES is not set | 1402 | # CONFIG_SAMPLES is not set |
1386 | CONFIG_HAVE_ARCH_KGDB=y | 1403 | CONFIG_HAVE_ARCH_KGDB=y |
1387 | # CONFIG_PPC_DISABLE_WERROR is not set | 1404 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1403,7 +1420,6 @@ CONFIG_CRYPTO=y | |||
1403 | # | 1420 | # |
1404 | # Crypto core or helper | 1421 | # Crypto core or helper |
1405 | # | 1422 | # |
1406 | # CONFIG_CRYPTO_FIPS is not set | ||
1407 | CONFIG_CRYPTO_ALGAPI=y | 1423 | CONFIG_CRYPTO_ALGAPI=y |
1408 | CONFIG_CRYPTO_ALGAPI2=y | 1424 | CONFIG_CRYPTO_ALGAPI2=y |
1409 | CONFIG_CRYPTO_AEAD2=y | 1425 | CONFIG_CRYPTO_AEAD2=y |
@@ -1445,11 +1461,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1445 | # | 1461 | # |
1446 | # CONFIG_CRYPTO_HMAC is not set | 1462 | # CONFIG_CRYPTO_HMAC is not set |
1447 | # CONFIG_CRYPTO_XCBC is not set | 1463 | # CONFIG_CRYPTO_XCBC is not set |
1464 | # CONFIG_CRYPTO_VMAC is not set | ||
1448 | 1465 | ||
1449 | # | 1466 | # |
1450 | # Digest | 1467 | # Digest |
1451 | # | 1468 | # |
1452 | # CONFIG_CRYPTO_CRC32C is not set | 1469 | # CONFIG_CRYPTO_CRC32C is not set |
1470 | # CONFIG_CRYPTO_GHASH is not set | ||
1453 | # CONFIG_CRYPTO_MD4 is not set | 1471 | # CONFIG_CRYPTO_MD4 is not set |
1454 | CONFIG_CRYPTO_MD5=y | 1472 | CONFIG_CRYPTO_MD5=y |
1455 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1473 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc834x_itx_defconfig b/arch/powerpc/configs/83xx/mpc834x_itx_defconfig index 648dac0c9d8d..f67317e1934c 100644 --- a/arch/powerpc/configs/83xx/mpc834x_itx_defconfig +++ b/arch/powerpc/configs/83xx/mpc834x_itx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:07 2009 | 4 | # Thu Nov 5 08:20:25 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -368,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_NETFILTER is not set | 373 | # CONFIG_NETFILTER is not set |
369 | # CONFIG_IP_DCCP is not set | 374 | # CONFIG_IP_DCCP is not set |
370 | # CONFIG_IP_SCTP is not set | 375 | # CONFIG_IP_SCTP is not set |
376 | # CONFIG_RDS is not set | ||
371 | # CONFIG_TIPC is not set | 377 | # CONFIG_TIPC is not set |
372 | # CONFIG_ATM is not set | 378 | # CONFIG_ATM is not set |
373 | # CONFIG_BRIDGE is not set | 379 | # CONFIG_BRIDGE is not set |
@@ -397,6 +403,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
397 | # CONFIG_AF_RXRPC is not set | 403 | # CONFIG_AF_RXRPC is not set |
398 | CONFIG_WIRELESS=y | 404 | CONFIG_WIRELESS=y |
399 | # CONFIG_CFG80211 is not set | 405 | # CONFIG_CFG80211 is not set |
406 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
400 | CONFIG_WIRELESS_OLD_REGULATORY=y | 407 | CONFIG_WIRELESS_OLD_REGULATORY=y |
401 | # CONFIG_WIRELESS_EXT is not set | 408 | # CONFIG_WIRELESS_EXT is not set |
402 | # CONFIG_LIB80211 is not set | 409 | # CONFIG_LIB80211 is not set |
@@ -404,7 +411,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
404 | # | 411 | # |
405 | # CFG80211 needs to be enabled for MAC80211 | 412 | # CFG80211 needs to be enabled for MAC80211 |
406 | # | 413 | # |
407 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
408 | # CONFIG_WIMAX is not set | 414 | # CONFIG_WIMAX is not set |
409 | # CONFIG_RFKILL is not set | 415 | # CONFIG_RFKILL is not set |
410 | # CONFIG_NET_9P is not set | 416 | # CONFIG_NET_9P is not set |
@@ -417,6 +423,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
417 | # Generic Driver Options | 423 | # Generic Driver Options |
418 | # | 424 | # |
419 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 425 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
426 | # CONFIG_DEVTMPFS is not set | ||
420 | CONFIG_STANDALONE=y | 427 | CONFIG_STANDALONE=y |
421 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 428 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
422 | # CONFIG_FW_LOADER is not set | 429 | # CONFIG_FW_LOADER is not set |
@@ -424,9 +431,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
424 | # CONFIG_CONNECTOR is not set | 431 | # CONFIG_CONNECTOR is not set |
425 | CONFIG_MTD=y | 432 | CONFIG_MTD=y |
426 | # CONFIG_MTD_DEBUG is not set | 433 | # CONFIG_MTD_DEBUG is not set |
434 | # CONFIG_MTD_TESTS is not set | ||
427 | # CONFIG_MTD_CONCAT is not set | 435 | # CONFIG_MTD_CONCAT is not set |
428 | # CONFIG_MTD_PARTITIONS is not set | 436 | # CONFIG_MTD_PARTITIONS is not set |
429 | # CONFIG_MTD_TESTS is not set | ||
430 | 437 | ||
431 | # | 438 | # |
432 | # User Modules And Translation Layers | 439 | # User Modules And Translation Layers |
@@ -483,6 +490,7 @@ CONFIG_MTD_PHYSMAP=y | |||
483 | # CONFIG_MTD_PMC551 is not set | 490 | # CONFIG_MTD_PMC551 is not set |
484 | # CONFIG_MTD_DATAFLASH is not set | 491 | # CONFIG_MTD_DATAFLASH is not set |
485 | # CONFIG_MTD_M25P80 is not set | 492 | # CONFIG_MTD_M25P80 is not set |
493 | # CONFIG_MTD_SST25L is not set | ||
486 | # CONFIG_MTD_SLRAM is not set | 494 | # CONFIG_MTD_SLRAM is not set |
487 | # CONFIG_MTD_PHRAM is not set | 495 | # CONFIG_MTD_PHRAM is not set |
488 | # CONFIG_MTD_MTDRAM is not set | 496 | # CONFIG_MTD_MTDRAM is not set |
@@ -637,6 +645,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
637 | # CONFIG_ISCSI_TCP is not set | 645 | # CONFIG_ISCSI_TCP is not set |
638 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 646 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
639 | # CONFIG_SCSI_BNX2_ISCSI is not set | 647 | # CONFIG_SCSI_BNX2_ISCSI is not set |
648 | # CONFIG_BE2ISCSI is not set | ||
640 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 649 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
641 | # CONFIG_SCSI_3W_9XXX is not set | 650 | # CONFIG_SCSI_3W_9XXX is not set |
642 | # CONFIG_SCSI_ACARD is not set | 651 | # CONFIG_SCSI_ACARD is not set |
@@ -676,11 +685,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
676 | # CONFIG_SCSI_DC390T is not set | 685 | # CONFIG_SCSI_DC390T is not set |
677 | # CONFIG_SCSI_NSP32 is not set | 686 | # CONFIG_SCSI_NSP32 is not set |
678 | # CONFIG_SCSI_DEBUG is not set | 687 | # CONFIG_SCSI_DEBUG is not set |
688 | # CONFIG_SCSI_PMCRAID is not set | ||
679 | # CONFIG_SCSI_SRP is not set | 689 | # CONFIG_SCSI_SRP is not set |
690 | # CONFIG_SCSI_BFA_FC is not set | ||
680 | # CONFIG_SCSI_DH is not set | 691 | # CONFIG_SCSI_DH is not set |
681 | # CONFIG_SCSI_OSD_INITIATOR is not set | 692 | # CONFIG_SCSI_OSD_INITIATOR is not set |
682 | CONFIG_ATA=y | 693 | CONFIG_ATA=y |
683 | # CONFIG_ATA_NONSTANDARD is not set | 694 | # CONFIG_ATA_NONSTANDARD is not set |
695 | CONFIG_ATA_VERBOSE_ERROR=y | ||
684 | CONFIG_SATA_PMP=y | 696 | CONFIG_SATA_PMP=y |
685 | # CONFIG_SATA_AHCI is not set | 697 | # CONFIG_SATA_AHCI is not set |
686 | # CONFIG_SATA_SIL24 is not set | 698 | # CONFIG_SATA_SIL24 is not set |
@@ -703,6 +715,7 @@ CONFIG_SATA_SIL=y | |||
703 | # CONFIG_PATA_ALI is not set | 715 | # CONFIG_PATA_ALI is not set |
704 | # CONFIG_PATA_AMD is not set | 716 | # CONFIG_PATA_AMD is not set |
705 | # CONFIG_PATA_ARTOP is not set | 717 | # CONFIG_PATA_ARTOP is not set |
718 | # CONFIG_PATA_ATP867X is not set | ||
706 | # CONFIG_PATA_ATIIXP is not set | 719 | # CONFIG_PATA_ATIIXP is not set |
707 | # CONFIG_PATA_CMD640_PCI is not set | 720 | # CONFIG_PATA_CMD640_PCI is not set |
708 | # CONFIG_PATA_CMD64X is not set | 721 | # CONFIG_PATA_CMD64X is not set |
@@ -730,6 +743,7 @@ CONFIG_SATA_SIL=y | |||
730 | # CONFIG_PATA_OPTIDMA is not set | 743 | # CONFIG_PATA_OPTIDMA is not set |
731 | # CONFIG_PATA_PDC_OLD is not set | 744 | # CONFIG_PATA_PDC_OLD is not set |
732 | # CONFIG_PATA_RADISYS is not set | 745 | # CONFIG_PATA_RADISYS is not set |
746 | # CONFIG_PATA_RDC is not set | ||
733 | # CONFIG_PATA_RZ1000 is not set | 747 | # CONFIG_PATA_RZ1000 is not set |
734 | # CONFIG_PATA_SC1200 is not set | 748 | # CONFIG_PATA_SC1200 is not set |
735 | # CONFIG_PATA_SERVERWORKS is not set | 749 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -845,10 +859,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
845 | # CONFIG_SFC is not set | 859 | # CONFIG_SFC is not set |
846 | # CONFIG_BE2NET is not set | 860 | # CONFIG_BE2NET is not set |
847 | # CONFIG_TR is not set | 861 | # CONFIG_TR is not set |
848 | 862 | CONFIG_WLAN=y | |
849 | # | ||
850 | # Wireless LAN | ||
851 | # | ||
852 | # CONFIG_WLAN_PRE80211 is not set | 863 | # CONFIG_WLAN_PRE80211 is not set |
853 | # CONFIG_WLAN_80211 is not set | 864 | # CONFIG_WLAN_80211 is not set |
854 | 865 | ||
@@ -930,6 +941,7 @@ CONFIG_HW_RANDOM=y | |||
930 | CONFIG_DEVPORT=y | 941 | CONFIG_DEVPORT=y |
931 | CONFIG_I2C=y | 942 | CONFIG_I2C=y |
932 | CONFIG_I2C_BOARDINFO=y | 943 | CONFIG_I2C_BOARDINFO=y |
944 | CONFIG_I2C_COMPAT=y | ||
933 | CONFIG_I2C_CHARDEV=y | 945 | CONFIG_I2C_CHARDEV=y |
934 | CONFIG_I2C_HELPER_AUTO=y | 946 | CONFIG_I2C_HELPER_AUTO=y |
935 | 947 | ||
@@ -984,9 +996,6 @@ CONFIG_I2C_MPC=y | |||
984 | # Miscellaneous I2C Chip support | 996 | # Miscellaneous I2C Chip support |
985 | # | 997 | # |
986 | # CONFIG_DS1682 is not set | 998 | # CONFIG_DS1682 is not set |
987 | CONFIG_SENSORS_PCF8574=y | ||
988 | # CONFIG_PCF8575 is not set | ||
989 | # CONFIG_SENSORS_PCA9539 is not set | ||
990 | # CONFIG_SENSORS_TSL2550 is not set | 999 | # CONFIG_SENSORS_TSL2550 is not set |
991 | # CONFIG_I2C_DEBUG_CORE is not set | 1000 | # CONFIG_I2C_DEBUG_CORE is not set |
992 | # CONFIG_I2C_DEBUG_ALGO is not set | 1001 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1017,7 +1026,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1017 | # CONFIG_POWER_SUPPLY is not set | 1026 | # CONFIG_POWER_SUPPLY is not set |
1018 | # CONFIG_HWMON is not set | 1027 | # CONFIG_HWMON is not set |
1019 | # CONFIG_THERMAL is not set | 1028 | # CONFIG_THERMAL is not set |
1020 | # CONFIG_THERMAL_HWMON is not set | ||
1021 | CONFIG_WATCHDOG=y | 1029 | CONFIG_WATCHDOG=y |
1022 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1030 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1023 | 1031 | ||
@@ -1055,8 +1063,10 @@ CONFIG_SSB_POSSIBLE=y | |||
1055 | # CONFIG_MFD_TMIO is not set | 1063 | # CONFIG_MFD_TMIO is not set |
1056 | # CONFIG_PMIC_DA903X is not set | 1064 | # CONFIG_PMIC_DA903X is not set |
1057 | # CONFIG_MFD_WM8400 is not set | 1065 | # CONFIG_MFD_WM8400 is not set |
1066 | # CONFIG_MFD_WM831X is not set | ||
1058 | # CONFIG_MFD_WM8350_I2C is not set | 1067 | # CONFIG_MFD_WM8350_I2C is not set |
1059 | # CONFIG_MFD_PCF50633 is not set | 1068 | # CONFIG_MFD_PCF50633 is not set |
1069 | # CONFIG_MFD_MC13783 is not set | ||
1060 | # CONFIG_AB3100_CORE is not set | 1070 | # CONFIG_AB3100_CORE is not set |
1061 | # CONFIG_EZX_PCAP is not set | 1071 | # CONFIG_EZX_PCAP is not set |
1062 | # CONFIG_REGULATOR is not set | 1072 | # CONFIG_REGULATOR is not set |
@@ -1066,6 +1076,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1066 | # Graphics support | 1076 | # Graphics support |
1067 | # | 1077 | # |
1068 | # CONFIG_AGP is not set | 1078 | # CONFIG_AGP is not set |
1079 | CONFIG_VGA_ARB=y | ||
1069 | # CONFIG_DRM is not set | 1080 | # CONFIG_DRM is not set |
1070 | # CONFIG_VGASTATE is not set | 1081 | # CONFIG_VGASTATE is not set |
1071 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1082 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1111,6 +1122,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1111 | # CONFIG_USB_OXU210HP_HCD is not set | 1122 | # CONFIG_USB_OXU210HP_HCD is not set |
1112 | # CONFIG_USB_ISP116X_HCD is not set | 1123 | # CONFIG_USB_ISP116X_HCD is not set |
1113 | # CONFIG_USB_ISP1760_HCD is not set | 1124 | # CONFIG_USB_ISP1760_HCD is not set |
1125 | # CONFIG_USB_ISP1362_HCD is not set | ||
1114 | # CONFIG_USB_OHCI_HCD is not set | 1126 | # CONFIG_USB_OHCI_HCD is not set |
1115 | CONFIG_USB_UHCI_HCD=y | 1127 | CONFIG_USB_UHCI_HCD=y |
1116 | # CONFIG_USB_SL811_HCD is not set | 1128 | # CONFIG_USB_SL811_HCD is not set |
@@ -1238,6 +1250,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1238 | # CONFIG_RTC_DRV_R9701 is not set | 1250 | # CONFIG_RTC_DRV_R9701 is not set |
1239 | # CONFIG_RTC_DRV_RS5C348 is not set | 1251 | # CONFIG_RTC_DRV_RS5C348 is not set |
1240 | # CONFIG_RTC_DRV_DS3234 is not set | 1252 | # CONFIG_RTC_DRV_DS3234 is not set |
1253 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1241 | 1254 | ||
1242 | # | 1255 | # |
1243 | # Platform RTC drivers | 1256 | # Platform RTC drivers |
@@ -1288,6 +1301,7 @@ CONFIG_FS_MBCACHE=y | |||
1288 | # CONFIG_GFS2_FS is not set | 1301 | # CONFIG_GFS2_FS is not set |
1289 | # CONFIG_OCFS2_FS is not set | 1302 | # CONFIG_OCFS2_FS is not set |
1290 | # CONFIG_BTRFS_FS is not set | 1303 | # CONFIG_BTRFS_FS is not set |
1304 | # CONFIG_NILFS2_FS is not set | ||
1291 | CONFIG_FILE_LOCKING=y | 1305 | CONFIG_FILE_LOCKING=y |
1292 | CONFIG_FSNOTIFY=y | 1306 | CONFIG_FSNOTIFY=y |
1293 | CONFIG_DNOTIFY=y | 1307 | CONFIG_DNOTIFY=y |
@@ -1350,7 +1364,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1350 | # CONFIG_ROMFS_FS is not set | 1364 | # CONFIG_ROMFS_FS is not set |
1351 | # CONFIG_SYSV_FS is not set | 1365 | # CONFIG_SYSV_FS is not set |
1352 | # CONFIG_UFS_FS is not set | 1366 | # CONFIG_UFS_FS is not set |
1353 | # CONFIG_NILFS2_FS is not set | ||
1354 | CONFIG_NETWORK_FILESYSTEMS=y | 1367 | CONFIG_NETWORK_FILESYSTEMS=y |
1355 | CONFIG_NFS_FS=y | 1368 | CONFIG_NFS_FS=y |
1356 | CONFIG_NFS_V3=y | 1369 | CONFIG_NFS_V3=y |
@@ -1465,6 +1478,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1465 | CONFIG_ENABLE_MUST_CHECK=y | 1478 | CONFIG_ENABLE_MUST_CHECK=y |
1466 | CONFIG_FRAME_WARN=1024 | 1479 | CONFIG_FRAME_WARN=1024 |
1467 | # CONFIG_MAGIC_SYSRQ is not set | 1480 | # CONFIG_MAGIC_SYSRQ is not set |
1481 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1468 | # CONFIG_UNUSED_SYMBOLS is not set | 1482 | # CONFIG_UNUSED_SYMBOLS is not set |
1469 | # CONFIG_DEBUG_FS is not set | 1483 | # CONFIG_DEBUG_FS is not set |
1470 | # CONFIG_HEADERS_CHECK is not set | 1484 | # CONFIG_HEADERS_CHECK is not set |
@@ -1482,6 +1496,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1482 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1496 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1483 | CONFIG_TRACING_SUPPORT=y | 1497 | CONFIG_TRACING_SUPPORT=y |
1484 | # CONFIG_FTRACE is not set | 1498 | # CONFIG_FTRACE is not set |
1499 | # CONFIG_DMA_API_DEBUG is not set | ||
1485 | # CONFIG_SAMPLES is not set | 1500 | # CONFIG_SAMPLES is not set |
1486 | CONFIG_HAVE_ARCH_KGDB=y | 1501 | CONFIG_HAVE_ARCH_KGDB=y |
1487 | # CONFIG_PPC_DISABLE_WERROR is not set | 1502 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1503,7 +1518,6 @@ CONFIG_CRYPTO=y | |||
1503 | # | 1518 | # |
1504 | # Crypto core or helper | 1519 | # Crypto core or helper |
1505 | # | 1520 | # |
1506 | # CONFIG_CRYPTO_FIPS is not set | ||
1507 | CONFIG_CRYPTO_ALGAPI=y | 1521 | CONFIG_CRYPTO_ALGAPI=y |
1508 | CONFIG_CRYPTO_ALGAPI2=y | 1522 | CONFIG_CRYPTO_ALGAPI2=y |
1509 | CONFIG_CRYPTO_AEAD2=y | 1523 | CONFIG_CRYPTO_AEAD2=y |
@@ -1545,11 +1559,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1545 | # | 1559 | # |
1546 | # CONFIG_CRYPTO_HMAC is not set | 1560 | # CONFIG_CRYPTO_HMAC is not set |
1547 | # CONFIG_CRYPTO_XCBC is not set | 1561 | # CONFIG_CRYPTO_XCBC is not set |
1562 | # CONFIG_CRYPTO_VMAC is not set | ||
1548 | 1563 | ||
1549 | # | 1564 | # |
1550 | # Digest | 1565 | # Digest |
1551 | # | 1566 | # |
1552 | # CONFIG_CRYPTO_CRC32C is not set | 1567 | # CONFIG_CRYPTO_CRC32C is not set |
1568 | # CONFIG_CRYPTO_GHASH is not set | ||
1553 | # CONFIG_CRYPTO_MD4 is not set | 1569 | # CONFIG_CRYPTO_MD4 is not set |
1554 | CONFIG_CRYPTO_MD5=y | 1570 | CONFIG_CRYPTO_MD5=y |
1555 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1571 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig b/arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig index bf6deb831dc3..a668110c10f6 100644 --- a/arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig +++ b/arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:08 2009 | 4 | # Thu Nov 5 08:20:26 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -368,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_NETFILTER is not set | 373 | # CONFIG_NETFILTER is not set |
369 | # CONFIG_IP_DCCP is not set | 374 | # CONFIG_IP_DCCP is not set |
370 | # CONFIG_IP_SCTP is not set | 375 | # CONFIG_IP_SCTP is not set |
376 | # CONFIG_RDS is not set | ||
371 | # CONFIG_TIPC is not set | 377 | # CONFIG_TIPC is not set |
372 | # CONFIG_ATM is not set | 378 | # CONFIG_ATM is not set |
373 | # CONFIG_BRIDGE is not set | 379 | # CONFIG_BRIDGE is not set |
@@ -397,6 +403,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
397 | # CONFIG_AF_RXRPC is not set | 403 | # CONFIG_AF_RXRPC is not set |
398 | CONFIG_WIRELESS=y | 404 | CONFIG_WIRELESS=y |
399 | # CONFIG_CFG80211 is not set | 405 | # CONFIG_CFG80211 is not set |
406 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
400 | CONFIG_WIRELESS_OLD_REGULATORY=y | 407 | CONFIG_WIRELESS_OLD_REGULATORY=y |
401 | # CONFIG_WIRELESS_EXT is not set | 408 | # CONFIG_WIRELESS_EXT is not set |
402 | # CONFIG_LIB80211 is not set | 409 | # CONFIG_LIB80211 is not set |
@@ -404,7 +411,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
404 | # | 411 | # |
405 | # CFG80211 needs to be enabled for MAC80211 | 412 | # CFG80211 needs to be enabled for MAC80211 |
406 | # | 413 | # |
407 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
408 | # CONFIG_WIMAX is not set | 414 | # CONFIG_WIMAX is not set |
409 | # CONFIG_RFKILL is not set | 415 | # CONFIG_RFKILL is not set |
410 | # CONFIG_NET_9P is not set | 416 | # CONFIG_NET_9P is not set |
@@ -417,6 +423,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
417 | # Generic Driver Options | 423 | # Generic Driver Options |
418 | # | 424 | # |
419 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 425 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
426 | # CONFIG_DEVTMPFS is not set | ||
420 | CONFIG_STANDALONE=y | 427 | CONFIG_STANDALONE=y |
421 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 428 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
422 | # CONFIG_FW_LOADER is not set | 429 | # CONFIG_FW_LOADER is not set |
@@ -424,9 +431,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
424 | # CONFIG_CONNECTOR is not set | 431 | # CONFIG_CONNECTOR is not set |
425 | CONFIG_MTD=y | 432 | CONFIG_MTD=y |
426 | # CONFIG_MTD_DEBUG is not set | 433 | # CONFIG_MTD_DEBUG is not set |
434 | # CONFIG_MTD_TESTS is not set | ||
427 | # CONFIG_MTD_CONCAT is not set | 435 | # CONFIG_MTD_CONCAT is not set |
428 | # CONFIG_MTD_PARTITIONS is not set | 436 | # CONFIG_MTD_PARTITIONS is not set |
429 | # CONFIG_MTD_TESTS is not set | ||
430 | 437 | ||
431 | # | 438 | # |
432 | # User Modules And Translation Layers | 439 | # User Modules And Translation Layers |
@@ -483,6 +490,7 @@ CONFIG_MTD_PHYSMAP=y | |||
483 | # CONFIG_MTD_PMC551 is not set | 490 | # CONFIG_MTD_PMC551 is not set |
484 | # CONFIG_MTD_DATAFLASH is not set | 491 | # CONFIG_MTD_DATAFLASH is not set |
485 | # CONFIG_MTD_M25P80 is not set | 492 | # CONFIG_MTD_M25P80 is not set |
493 | # CONFIG_MTD_SST25L is not set | ||
486 | # CONFIG_MTD_SLRAM is not set | 494 | # CONFIG_MTD_SLRAM is not set |
487 | # CONFIG_MTD_PHRAM is not set | 495 | # CONFIG_MTD_PHRAM is not set |
488 | # CONFIG_MTD_MTDRAM is not set | 496 | # CONFIG_MTD_MTDRAM is not set |
@@ -589,6 +597,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
589 | # CONFIG_ISCSI_TCP is not set | 597 | # CONFIG_ISCSI_TCP is not set |
590 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 598 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
591 | # CONFIG_SCSI_BNX2_ISCSI is not set | 599 | # CONFIG_SCSI_BNX2_ISCSI is not set |
600 | # CONFIG_BE2ISCSI is not set | ||
592 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 601 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
593 | # CONFIG_SCSI_3W_9XXX is not set | 602 | # CONFIG_SCSI_3W_9XXX is not set |
594 | # CONFIG_SCSI_ACARD is not set | 603 | # CONFIG_SCSI_ACARD is not set |
@@ -627,7 +636,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
627 | # CONFIG_SCSI_DC390T is not set | 636 | # CONFIG_SCSI_DC390T is not set |
628 | # CONFIG_SCSI_NSP32 is not set | 637 | # CONFIG_SCSI_NSP32 is not set |
629 | # CONFIG_SCSI_DEBUG is not set | 638 | # CONFIG_SCSI_DEBUG is not set |
639 | # CONFIG_SCSI_PMCRAID is not set | ||
630 | # CONFIG_SCSI_SRP is not set | 640 | # CONFIG_SCSI_SRP is not set |
641 | # CONFIG_SCSI_BFA_FC is not set | ||
631 | # CONFIG_SCSI_DH is not set | 642 | # CONFIG_SCSI_DH is not set |
632 | # CONFIG_SCSI_OSD_INITIATOR is not set | 643 | # CONFIG_SCSI_OSD_INITIATOR is not set |
633 | # CONFIG_ATA is not set | 644 | # CONFIG_ATA is not set |
@@ -725,10 +736,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
725 | # CONFIG_SFC is not set | 736 | # CONFIG_SFC is not set |
726 | # CONFIG_BE2NET is not set | 737 | # CONFIG_BE2NET is not set |
727 | # CONFIG_TR is not set | 738 | # CONFIG_TR is not set |
728 | 739 | CONFIG_WLAN=y | |
729 | # | ||
730 | # Wireless LAN | ||
731 | # | ||
732 | # CONFIG_WLAN_PRE80211 is not set | 740 | # CONFIG_WLAN_PRE80211 is not set |
733 | # CONFIG_WLAN_80211 is not set | 741 | # CONFIG_WLAN_80211 is not set |
734 | 742 | ||
@@ -810,6 +818,7 @@ CONFIG_HW_RANDOM=y | |||
810 | CONFIG_DEVPORT=y | 818 | CONFIG_DEVPORT=y |
811 | CONFIG_I2C=y | 819 | CONFIG_I2C=y |
812 | CONFIG_I2C_BOARDINFO=y | 820 | CONFIG_I2C_BOARDINFO=y |
821 | CONFIG_I2C_COMPAT=y | ||
813 | CONFIG_I2C_CHARDEV=y | 822 | CONFIG_I2C_CHARDEV=y |
814 | CONFIG_I2C_HELPER_AUTO=y | 823 | CONFIG_I2C_HELPER_AUTO=y |
815 | 824 | ||
@@ -864,9 +873,6 @@ CONFIG_I2C_MPC=y | |||
864 | # Miscellaneous I2C Chip support | 873 | # Miscellaneous I2C Chip support |
865 | # | 874 | # |
866 | # CONFIG_DS1682 is not set | 875 | # CONFIG_DS1682 is not set |
867 | CONFIG_SENSORS_PCF8574=y | ||
868 | # CONFIG_PCF8575 is not set | ||
869 | # CONFIG_SENSORS_PCA9539 is not set | ||
870 | # CONFIG_SENSORS_TSL2550 is not set | 876 | # CONFIG_SENSORS_TSL2550 is not set |
871 | # CONFIG_I2C_DEBUG_CORE is not set | 877 | # CONFIG_I2C_DEBUG_CORE is not set |
872 | # CONFIG_I2C_DEBUG_ALGO is not set | 878 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -897,7 +903,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
897 | # CONFIG_POWER_SUPPLY is not set | 903 | # CONFIG_POWER_SUPPLY is not set |
898 | # CONFIG_HWMON is not set | 904 | # CONFIG_HWMON is not set |
899 | # CONFIG_THERMAL is not set | 905 | # CONFIG_THERMAL is not set |
900 | # CONFIG_THERMAL_HWMON is not set | ||
901 | CONFIG_WATCHDOG=y | 906 | CONFIG_WATCHDOG=y |
902 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 907 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
903 | 908 | ||
@@ -935,8 +940,10 @@ CONFIG_SSB_POSSIBLE=y | |||
935 | # CONFIG_MFD_TMIO is not set | 940 | # CONFIG_MFD_TMIO is not set |
936 | # CONFIG_PMIC_DA903X is not set | 941 | # CONFIG_PMIC_DA903X is not set |
937 | # CONFIG_MFD_WM8400 is not set | 942 | # CONFIG_MFD_WM8400 is not set |
943 | # CONFIG_MFD_WM831X is not set | ||
938 | # CONFIG_MFD_WM8350_I2C is not set | 944 | # CONFIG_MFD_WM8350_I2C is not set |
939 | # CONFIG_MFD_PCF50633 is not set | 945 | # CONFIG_MFD_PCF50633 is not set |
946 | # CONFIG_MFD_MC13783 is not set | ||
940 | # CONFIG_AB3100_CORE is not set | 947 | # CONFIG_AB3100_CORE is not set |
941 | # CONFIG_EZX_PCAP is not set | 948 | # CONFIG_EZX_PCAP is not set |
942 | # CONFIG_REGULATOR is not set | 949 | # CONFIG_REGULATOR is not set |
@@ -946,6 +953,7 @@ CONFIG_SSB_POSSIBLE=y | |||
946 | # Graphics support | 953 | # Graphics support |
947 | # | 954 | # |
948 | # CONFIG_AGP is not set | 955 | # CONFIG_AGP is not set |
956 | CONFIG_VGA_ARB=y | ||
949 | # CONFIG_DRM is not set | 957 | # CONFIG_DRM is not set |
950 | # CONFIG_VGASTATE is not set | 958 | # CONFIG_VGASTATE is not set |
951 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 959 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -991,6 +999,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
991 | # CONFIG_USB_OXU210HP_HCD is not set | 999 | # CONFIG_USB_OXU210HP_HCD is not set |
992 | # CONFIG_USB_ISP116X_HCD is not set | 1000 | # CONFIG_USB_ISP116X_HCD is not set |
993 | # CONFIG_USB_ISP1760_HCD is not set | 1001 | # CONFIG_USB_ISP1760_HCD is not set |
1002 | # CONFIG_USB_ISP1362_HCD is not set | ||
994 | # CONFIG_USB_OHCI_HCD is not set | 1003 | # CONFIG_USB_OHCI_HCD is not set |
995 | CONFIG_USB_UHCI_HCD=y | 1004 | CONFIG_USB_UHCI_HCD=y |
996 | # CONFIG_USB_SL811_HCD is not set | 1005 | # CONFIG_USB_SL811_HCD is not set |
@@ -1059,6 +1068,7 @@ CONFIG_USB_STORAGE=y | |||
1059 | # CONFIG_USB_LD is not set | 1068 | # CONFIG_USB_LD is not set |
1060 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1069 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1061 | # CONFIG_USB_IOWARRIOR is not set | 1070 | # CONFIG_USB_IOWARRIOR is not set |
1071 | # CONFIG_USB_TEST is not set | ||
1062 | # CONFIG_USB_ISIGHTFW is not set | 1072 | # CONFIG_USB_ISIGHTFW is not set |
1063 | # CONFIG_USB_VST is not set | 1073 | # CONFIG_USB_VST is not set |
1064 | # CONFIG_USB_GADGET is not set | 1074 | # CONFIG_USB_GADGET is not set |
@@ -1117,6 +1127,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1117 | # CONFIG_RTC_DRV_R9701 is not set | 1127 | # CONFIG_RTC_DRV_R9701 is not set |
1118 | # CONFIG_RTC_DRV_RS5C348 is not set | 1128 | # CONFIG_RTC_DRV_RS5C348 is not set |
1119 | # CONFIG_RTC_DRV_DS3234 is not set | 1129 | # CONFIG_RTC_DRV_DS3234 is not set |
1130 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1120 | 1131 | ||
1121 | # | 1132 | # |
1122 | # Platform RTC drivers | 1133 | # Platform RTC drivers |
@@ -1167,6 +1178,7 @@ CONFIG_FS_MBCACHE=y | |||
1167 | # CONFIG_GFS2_FS is not set | 1178 | # CONFIG_GFS2_FS is not set |
1168 | # CONFIG_OCFS2_FS is not set | 1179 | # CONFIG_OCFS2_FS is not set |
1169 | # CONFIG_BTRFS_FS is not set | 1180 | # CONFIG_BTRFS_FS is not set |
1181 | # CONFIG_NILFS2_FS is not set | ||
1170 | CONFIG_FILE_LOCKING=y | 1182 | CONFIG_FILE_LOCKING=y |
1171 | CONFIG_FSNOTIFY=y | 1183 | CONFIG_FSNOTIFY=y |
1172 | CONFIG_DNOTIFY=y | 1184 | CONFIG_DNOTIFY=y |
@@ -1229,7 +1241,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1229 | # CONFIG_ROMFS_FS is not set | 1241 | # CONFIG_ROMFS_FS is not set |
1230 | # CONFIG_SYSV_FS is not set | 1242 | # CONFIG_SYSV_FS is not set |
1231 | # CONFIG_UFS_FS is not set | 1243 | # CONFIG_UFS_FS is not set |
1232 | # CONFIG_NILFS2_FS is not set | ||
1233 | CONFIG_NETWORK_FILESYSTEMS=y | 1244 | CONFIG_NETWORK_FILESYSTEMS=y |
1234 | CONFIG_NFS_FS=y | 1245 | CONFIG_NFS_FS=y |
1235 | CONFIG_NFS_V3=y | 1246 | CONFIG_NFS_V3=y |
@@ -1344,6 +1355,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1344 | CONFIG_ENABLE_MUST_CHECK=y | 1355 | CONFIG_ENABLE_MUST_CHECK=y |
1345 | CONFIG_FRAME_WARN=1024 | 1356 | CONFIG_FRAME_WARN=1024 |
1346 | # CONFIG_MAGIC_SYSRQ is not set | 1357 | # CONFIG_MAGIC_SYSRQ is not set |
1358 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1347 | # CONFIG_UNUSED_SYMBOLS is not set | 1359 | # CONFIG_UNUSED_SYMBOLS is not set |
1348 | # CONFIG_DEBUG_FS is not set | 1360 | # CONFIG_DEBUG_FS is not set |
1349 | # CONFIG_HEADERS_CHECK is not set | 1361 | # CONFIG_HEADERS_CHECK is not set |
@@ -1361,6 +1373,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1361 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1373 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1362 | CONFIG_TRACING_SUPPORT=y | 1374 | CONFIG_TRACING_SUPPORT=y |
1363 | # CONFIG_FTRACE is not set | 1375 | # CONFIG_FTRACE is not set |
1376 | # CONFIG_DMA_API_DEBUG is not set | ||
1364 | # CONFIG_SAMPLES is not set | 1377 | # CONFIG_SAMPLES is not set |
1365 | CONFIG_HAVE_ARCH_KGDB=y | 1378 | CONFIG_HAVE_ARCH_KGDB=y |
1366 | # CONFIG_PPC_DISABLE_WERROR is not set | 1379 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1382,7 +1395,6 @@ CONFIG_CRYPTO=y | |||
1382 | # | 1395 | # |
1383 | # Crypto core or helper | 1396 | # Crypto core or helper |
1384 | # | 1397 | # |
1385 | # CONFIG_CRYPTO_FIPS is not set | ||
1386 | CONFIG_CRYPTO_ALGAPI=y | 1398 | CONFIG_CRYPTO_ALGAPI=y |
1387 | CONFIG_CRYPTO_ALGAPI2=y | 1399 | CONFIG_CRYPTO_ALGAPI2=y |
1388 | CONFIG_CRYPTO_AEAD2=y | 1400 | CONFIG_CRYPTO_AEAD2=y |
@@ -1424,11 +1436,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1424 | # | 1436 | # |
1425 | # CONFIG_CRYPTO_HMAC is not set | 1437 | # CONFIG_CRYPTO_HMAC is not set |
1426 | # CONFIG_CRYPTO_XCBC is not set | 1438 | # CONFIG_CRYPTO_XCBC is not set |
1439 | # CONFIG_CRYPTO_VMAC is not set | ||
1427 | 1440 | ||
1428 | # | 1441 | # |
1429 | # Digest | 1442 | # Digest |
1430 | # | 1443 | # |
1431 | # CONFIG_CRYPTO_CRC32C is not set | 1444 | # CONFIG_CRYPTO_CRC32C is not set |
1445 | # CONFIG_CRYPTO_GHASH is not set | ||
1432 | # CONFIG_CRYPTO_MD4 is not set | 1446 | # CONFIG_CRYPTO_MD4 is not set |
1433 | CONFIG_CRYPTO_MD5=y | 1447 | CONFIG_CRYPTO_MD5=y |
1434 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1448 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc834x_mds_defconfig b/arch/powerpc/configs/83xx/mpc834x_mds_defconfig index 3236c47712c2..c4e92ba5c38b 100644 --- a/arch/powerpc/configs/83xx/mpc834x_mds_defconfig +++ b/arch/powerpc/configs/83xx/mpc834x_mds_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:09 2009 | 4 | # Thu Nov 5 08:20:27 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -368,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_NETFILTER is not set | 373 | # CONFIG_NETFILTER is not set |
369 | # CONFIG_IP_DCCP is not set | 374 | # CONFIG_IP_DCCP is not set |
370 | # CONFIG_IP_SCTP is not set | 375 | # CONFIG_IP_SCTP is not set |
376 | # CONFIG_RDS is not set | ||
371 | # CONFIG_TIPC is not set | 377 | # CONFIG_TIPC is not set |
372 | # CONFIG_ATM is not set | 378 | # CONFIG_ATM is not set |
373 | # CONFIG_BRIDGE is not set | 379 | # CONFIG_BRIDGE is not set |
@@ -397,6 +403,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
397 | # CONFIG_AF_RXRPC is not set | 403 | # CONFIG_AF_RXRPC is not set |
398 | CONFIG_WIRELESS=y | 404 | CONFIG_WIRELESS=y |
399 | # CONFIG_CFG80211 is not set | 405 | # CONFIG_CFG80211 is not set |
406 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
400 | CONFIG_WIRELESS_OLD_REGULATORY=y | 407 | CONFIG_WIRELESS_OLD_REGULATORY=y |
401 | # CONFIG_WIRELESS_EXT is not set | 408 | # CONFIG_WIRELESS_EXT is not set |
402 | # CONFIG_LIB80211 is not set | 409 | # CONFIG_LIB80211 is not set |
@@ -404,7 +411,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
404 | # | 411 | # |
405 | # CFG80211 needs to be enabled for MAC80211 | 412 | # CFG80211 needs to be enabled for MAC80211 |
406 | # | 413 | # |
407 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
408 | # CONFIG_WIMAX is not set | 414 | # CONFIG_WIMAX is not set |
409 | # CONFIG_RFKILL is not set | 415 | # CONFIG_RFKILL is not set |
410 | # CONFIG_NET_9P is not set | 416 | # CONFIG_NET_9P is not set |
@@ -417,6 +423,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
417 | # Generic Driver Options | 423 | # Generic Driver Options |
418 | # | 424 | # |
419 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 425 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
426 | # CONFIG_DEVTMPFS is not set | ||
420 | CONFIG_STANDALONE=y | 427 | CONFIG_STANDALONE=y |
421 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 428 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
422 | # CONFIG_FW_LOADER is not set | 429 | # CONFIG_FW_LOADER is not set |
@@ -556,9 +563,11 @@ CONFIG_E100=y | |||
556 | # CONFIG_SUNDANCE is not set | 563 | # CONFIG_SUNDANCE is not set |
557 | # CONFIG_TLAN is not set | 564 | # CONFIG_TLAN is not set |
558 | # CONFIG_KS8842 is not set | 565 | # CONFIG_KS8842 is not set |
566 | # CONFIG_KS8851_MLL is not set | ||
559 | # CONFIG_VIA_RHINE is not set | 567 | # CONFIG_VIA_RHINE is not set |
560 | # CONFIG_SC92031 is not set | 568 | # CONFIG_SC92031 is not set |
561 | # CONFIG_ATL2 is not set | 569 | # CONFIG_ATL2 is not set |
570 | # CONFIG_XILINX_EMACLITE is not set | ||
562 | CONFIG_NETDEV_1000=y | 571 | CONFIG_NETDEV_1000=y |
563 | # CONFIG_ACENIC is not set | 572 | # CONFIG_ACENIC is not set |
564 | # CONFIG_DL2K is not set | 573 | # CONFIG_DL2K is not set |
@@ -606,10 +615,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
606 | # CONFIG_SFC is not set | 615 | # CONFIG_SFC is not set |
607 | # CONFIG_BE2NET is not set | 616 | # CONFIG_BE2NET is not set |
608 | # CONFIG_TR is not set | 617 | # CONFIG_TR is not set |
609 | 618 | CONFIG_WLAN=y | |
610 | # | ||
611 | # Wireless LAN | ||
612 | # | ||
613 | # CONFIG_WLAN_PRE80211 is not set | 619 | # CONFIG_WLAN_PRE80211 is not set |
614 | # CONFIG_WLAN_80211 is not set | 620 | # CONFIG_WLAN_80211 is not set |
615 | 621 | ||
@@ -699,6 +705,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
699 | CONFIG_DEVPORT=y | 705 | CONFIG_DEVPORT=y |
700 | CONFIG_I2C=y | 706 | CONFIG_I2C=y |
701 | CONFIG_I2C_BOARDINFO=y | 707 | CONFIG_I2C_BOARDINFO=y |
708 | CONFIG_I2C_COMPAT=y | ||
702 | CONFIG_I2C_CHARDEV=y | 709 | CONFIG_I2C_CHARDEV=y |
703 | CONFIG_I2C_HELPER_AUTO=y | 710 | CONFIG_I2C_HELPER_AUTO=y |
704 | 711 | ||
@@ -752,9 +759,6 @@ CONFIG_I2C_MPC=y | |||
752 | # Miscellaneous I2C Chip support | 759 | # Miscellaneous I2C Chip support |
753 | # | 760 | # |
754 | # CONFIG_DS1682 is not set | 761 | # CONFIG_DS1682 is not set |
755 | # CONFIG_SENSORS_PCF8574 is not set | ||
756 | # CONFIG_PCF8575 is not set | ||
757 | # CONFIG_SENSORS_PCA9539 is not set | ||
758 | # CONFIG_SENSORS_TSL2550 is not set | 762 | # CONFIG_SENSORS_TSL2550 is not set |
759 | # CONFIG_I2C_DEBUG_CORE is not set | 763 | # CONFIG_I2C_DEBUG_CORE is not set |
760 | # CONFIG_I2C_DEBUG_ALGO is not set | 764 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -772,6 +776,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
772 | # CONFIG_POWER_SUPPLY is not set | 776 | # CONFIG_POWER_SUPPLY is not set |
773 | CONFIG_HWMON=y | 777 | CONFIG_HWMON=y |
774 | # CONFIG_HWMON_VID is not set | 778 | # CONFIG_HWMON_VID is not set |
779 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
780 | |||
781 | # | ||
782 | # Native drivers | ||
783 | # | ||
775 | # CONFIG_SENSORS_AD7414 is not set | 784 | # CONFIG_SENSORS_AD7414 is not set |
776 | # CONFIG_SENSORS_AD7418 is not set | 785 | # CONFIG_SENSORS_AD7418 is not set |
777 | # CONFIG_SENSORS_ADM1021 is not set | 786 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -821,6 +830,7 @@ CONFIG_HWMON=y | |||
821 | # CONFIG_SENSORS_ADS7828 is not set | 830 | # CONFIG_SENSORS_ADS7828 is not set |
822 | # CONFIG_SENSORS_THMC50 is not set | 831 | # CONFIG_SENSORS_THMC50 is not set |
823 | # CONFIG_SENSORS_TMP401 is not set | 832 | # CONFIG_SENSORS_TMP401 is not set |
833 | # CONFIG_SENSORS_TMP421 is not set | ||
824 | # CONFIG_SENSORS_VIA686A is not set | 834 | # CONFIG_SENSORS_VIA686A is not set |
825 | # CONFIG_SENSORS_VT1211 is not set | 835 | # CONFIG_SENSORS_VT1211 is not set |
826 | # CONFIG_SENSORS_VT8231 is not set | 836 | # CONFIG_SENSORS_VT8231 is not set |
@@ -832,9 +842,7 @@ CONFIG_HWMON=y | |||
832 | # CONFIG_SENSORS_W83L786NG is not set | 842 | # CONFIG_SENSORS_W83L786NG is not set |
833 | # CONFIG_SENSORS_W83627HF is not set | 843 | # CONFIG_SENSORS_W83627HF is not set |
834 | # CONFIG_SENSORS_W83627EHF is not set | 844 | # CONFIG_SENSORS_W83627EHF is not set |
835 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
836 | # CONFIG_THERMAL is not set | 845 | # CONFIG_THERMAL is not set |
837 | # CONFIG_THERMAL_HWMON is not set | ||
838 | CONFIG_WATCHDOG=y | 846 | CONFIG_WATCHDOG=y |
839 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 847 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
840 | 848 | ||
@@ -867,6 +875,7 @@ CONFIG_SSB_POSSIBLE=y | |||
867 | # CONFIG_MFD_TMIO is not set | 875 | # CONFIG_MFD_TMIO is not set |
868 | # CONFIG_PMIC_DA903X is not set | 876 | # CONFIG_PMIC_DA903X is not set |
869 | # CONFIG_MFD_WM8400 is not set | 877 | # CONFIG_MFD_WM8400 is not set |
878 | # CONFIG_MFD_WM831X is not set | ||
870 | # CONFIG_MFD_WM8350_I2C is not set | 879 | # CONFIG_MFD_WM8350_I2C is not set |
871 | # CONFIG_MFD_PCF50633 is not set | 880 | # CONFIG_MFD_PCF50633 is not set |
872 | # CONFIG_AB3100_CORE is not set | 881 | # CONFIG_AB3100_CORE is not set |
@@ -877,6 +886,7 @@ CONFIG_SSB_POSSIBLE=y | |||
877 | # Graphics support | 886 | # Graphics support |
878 | # | 887 | # |
879 | # CONFIG_AGP is not set | 888 | # CONFIG_AGP is not set |
889 | CONFIG_VGA_ARB=y | ||
880 | # CONFIG_DRM is not set | 890 | # CONFIG_DRM is not set |
881 | # CONFIG_VGASTATE is not set | 891 | # CONFIG_VGASTATE is not set |
882 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 892 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -890,7 +900,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
890 | # CONFIG_SOUND is not set | 900 | # CONFIG_SOUND is not set |
891 | CONFIG_HID_SUPPORT=y | 901 | CONFIG_HID_SUPPORT=y |
892 | CONFIG_HID=y | 902 | CONFIG_HID=y |
893 | # CONFIG_HID_DEBUG is not set | ||
894 | # CONFIG_HIDRAW is not set | 903 | # CONFIG_HIDRAW is not set |
895 | # CONFIG_HID_PID is not set | 904 | # CONFIG_HID_PID is not set |
896 | 905 | ||
@@ -1010,6 +1019,7 @@ CONFIG_FS_MBCACHE=y | |||
1010 | # CONFIG_GFS2_FS is not set | 1019 | # CONFIG_GFS2_FS is not set |
1011 | # CONFIG_OCFS2_FS is not set | 1020 | # CONFIG_OCFS2_FS is not set |
1012 | # CONFIG_BTRFS_FS is not set | 1021 | # CONFIG_BTRFS_FS is not set |
1022 | # CONFIG_NILFS2_FS is not set | ||
1013 | CONFIG_FILE_LOCKING=y | 1023 | CONFIG_FILE_LOCKING=y |
1014 | CONFIG_FSNOTIFY=y | 1024 | CONFIG_FSNOTIFY=y |
1015 | CONFIG_DNOTIFY=y | 1025 | CONFIG_DNOTIFY=y |
@@ -1068,7 +1078,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1068 | # CONFIG_ROMFS_FS is not set | 1078 | # CONFIG_ROMFS_FS is not set |
1069 | # CONFIG_SYSV_FS is not set | 1079 | # CONFIG_SYSV_FS is not set |
1070 | # CONFIG_UFS_FS is not set | 1080 | # CONFIG_UFS_FS is not set |
1071 | # CONFIG_NILFS2_FS is not set | ||
1072 | CONFIG_NETWORK_FILESYSTEMS=y | 1081 | CONFIG_NETWORK_FILESYSTEMS=y |
1073 | CONFIG_NFS_FS=y | 1082 | CONFIG_NFS_FS=y |
1074 | CONFIG_NFS_V3=y | 1083 | CONFIG_NFS_V3=y |
@@ -1140,6 +1149,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1140 | CONFIG_ENABLE_MUST_CHECK=y | 1149 | CONFIG_ENABLE_MUST_CHECK=y |
1141 | CONFIG_FRAME_WARN=1024 | 1150 | CONFIG_FRAME_WARN=1024 |
1142 | # CONFIG_MAGIC_SYSRQ is not set | 1151 | # CONFIG_MAGIC_SYSRQ is not set |
1152 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1143 | # CONFIG_UNUSED_SYMBOLS is not set | 1153 | # CONFIG_UNUSED_SYMBOLS is not set |
1144 | # CONFIG_DEBUG_FS is not set | 1154 | # CONFIG_DEBUG_FS is not set |
1145 | # CONFIG_HEADERS_CHECK is not set | 1155 | # CONFIG_HEADERS_CHECK is not set |
@@ -1157,6 +1167,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1157 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1167 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1158 | CONFIG_TRACING_SUPPORT=y | 1168 | CONFIG_TRACING_SUPPORT=y |
1159 | # CONFIG_FTRACE is not set | 1169 | # CONFIG_FTRACE is not set |
1170 | # CONFIG_DMA_API_DEBUG is not set | ||
1160 | # CONFIG_SAMPLES is not set | 1171 | # CONFIG_SAMPLES is not set |
1161 | CONFIG_HAVE_ARCH_KGDB=y | 1172 | CONFIG_HAVE_ARCH_KGDB=y |
1162 | # CONFIG_PPC_DISABLE_WERROR is not set | 1173 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1178,7 +1189,6 @@ CONFIG_CRYPTO=y | |||
1178 | # | 1189 | # |
1179 | # Crypto core or helper | 1190 | # Crypto core or helper |
1180 | # | 1191 | # |
1181 | # CONFIG_CRYPTO_FIPS is not set | ||
1182 | CONFIG_CRYPTO_ALGAPI=y | 1192 | CONFIG_CRYPTO_ALGAPI=y |
1183 | CONFIG_CRYPTO_ALGAPI2=y | 1193 | CONFIG_CRYPTO_ALGAPI2=y |
1184 | CONFIG_CRYPTO_AEAD2=y | 1194 | CONFIG_CRYPTO_AEAD2=y |
@@ -1220,11 +1230,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1220 | # | 1230 | # |
1221 | # CONFIG_CRYPTO_HMAC is not set | 1231 | # CONFIG_CRYPTO_HMAC is not set |
1222 | # CONFIG_CRYPTO_XCBC is not set | 1232 | # CONFIG_CRYPTO_XCBC is not set |
1233 | # CONFIG_CRYPTO_VMAC is not set | ||
1223 | 1234 | ||
1224 | # | 1235 | # |
1225 | # Digest | 1236 | # Digest |
1226 | # | 1237 | # |
1227 | # CONFIG_CRYPTO_CRC32C is not set | 1238 | # CONFIG_CRYPTO_CRC32C is not set |
1239 | # CONFIG_CRYPTO_GHASH is not set | ||
1228 | # CONFIG_CRYPTO_MD4 is not set | 1240 | # CONFIG_CRYPTO_MD4 is not set |
1229 | CONFIG_CRYPTO_MD5=y | 1241 | CONFIG_CRYPTO_MD5=y |
1230 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1242 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc836x_mds_defconfig b/arch/powerpc/configs/83xx/mpc836x_mds_defconfig index 8c5299d74813..4f434b1492fa 100644 --- a/arch/powerpc/configs/83xx/mpc836x_mds_defconfig +++ b/arch/powerpc/configs/83xx/mpc836x_mds_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:10 2009 | 4 | # Thu Nov 5 08:20:28 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +126,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 138 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 140 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 141 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 146 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 147 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 148 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 149 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
150 | CONFIG_HAVE_DMA_ATTRS=y | ||
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 152 | ||
150 | # | 153 | # |
151 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -255,6 +258,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
255 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 258 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
256 | # CONFIG_KEXEC is not set | 259 | # CONFIG_KEXEC is not set |
257 | # CONFIG_CRASH_DUMP is not set | 260 | # CONFIG_CRASH_DUMP is not set |
261 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
258 | CONFIG_ARCH_FLATMEM_ENABLE=y | 262 | CONFIG_ARCH_FLATMEM_ENABLE=y |
259 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 263 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
260 | CONFIG_SELECT_MEMORY_MODEL=y | 264 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -272,6 +276,7 @@ CONFIG_BOUNCE=y | |||
272 | CONFIG_VIRT_TO_BUS=y | 276 | CONFIG_VIRT_TO_BUS=y |
273 | CONFIG_HAVE_MLOCK=y | 277 | CONFIG_HAVE_MLOCK=y |
274 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 278 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
279 | # CONFIG_KSM is not set | ||
275 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 280 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
276 | CONFIG_PPC_4K_PAGES=y | 281 | CONFIG_PPC_4K_PAGES=y |
277 | # CONFIG_PPC_16K_PAGES is not set | 282 | # CONFIG_PPC_16K_PAGES is not set |
@@ -367,6 +372,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
367 | # CONFIG_NETFILTER is not set | 372 | # CONFIG_NETFILTER is not set |
368 | # CONFIG_IP_DCCP is not set | 373 | # CONFIG_IP_DCCP is not set |
369 | # CONFIG_IP_SCTP is not set | 374 | # CONFIG_IP_SCTP is not set |
375 | # CONFIG_RDS is not set | ||
370 | # CONFIG_TIPC is not set | 376 | # CONFIG_TIPC is not set |
371 | # CONFIG_ATM is not set | 377 | # CONFIG_ATM is not set |
372 | # CONFIG_BRIDGE is not set | 378 | # CONFIG_BRIDGE is not set |
@@ -396,6 +402,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
396 | # CONFIG_AF_RXRPC is not set | 402 | # CONFIG_AF_RXRPC is not set |
397 | CONFIG_WIRELESS=y | 403 | CONFIG_WIRELESS=y |
398 | # CONFIG_CFG80211 is not set | 404 | # CONFIG_CFG80211 is not set |
405 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
399 | CONFIG_WIRELESS_OLD_REGULATORY=y | 406 | CONFIG_WIRELESS_OLD_REGULATORY=y |
400 | # CONFIG_WIRELESS_EXT is not set | 407 | # CONFIG_WIRELESS_EXT is not set |
401 | # CONFIG_LIB80211 is not set | 408 | # CONFIG_LIB80211 is not set |
@@ -403,7 +410,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
403 | # | 410 | # |
404 | # CFG80211 needs to be enabled for MAC80211 | 411 | # CFG80211 needs to be enabled for MAC80211 |
405 | # | 412 | # |
406 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
407 | # CONFIG_WIMAX is not set | 413 | # CONFIG_WIMAX is not set |
408 | # CONFIG_RFKILL is not set | 414 | # CONFIG_RFKILL is not set |
409 | # CONFIG_NET_9P is not set | 415 | # CONFIG_NET_9P is not set |
@@ -416,6 +422,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
416 | # Generic Driver Options | 422 | # Generic Driver Options |
417 | # | 423 | # |
418 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 424 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
425 | # CONFIG_DEVTMPFS is not set | ||
419 | CONFIG_STANDALONE=y | 426 | CONFIG_STANDALONE=y |
420 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 427 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
421 | # CONFIG_FW_LOADER is not set | 428 | # CONFIG_FW_LOADER is not set |
@@ -423,9 +430,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
423 | # CONFIG_CONNECTOR is not set | 430 | # CONFIG_CONNECTOR is not set |
424 | CONFIG_MTD=y | 431 | CONFIG_MTD=y |
425 | # CONFIG_MTD_DEBUG is not set | 432 | # CONFIG_MTD_DEBUG is not set |
433 | # CONFIG_MTD_TESTS is not set | ||
426 | # CONFIG_MTD_CONCAT is not set | 434 | # CONFIG_MTD_CONCAT is not set |
427 | CONFIG_MTD_PARTITIONS=y | 435 | CONFIG_MTD_PARTITIONS=y |
428 | # CONFIG_MTD_TESTS is not set | ||
429 | # CONFIG_MTD_REDBOOT_PARTS is not set | 436 | # CONFIG_MTD_REDBOOT_PARTS is not set |
430 | CONFIG_MTD_CMDLINE_PARTS=y | 437 | CONFIG_MTD_CMDLINE_PARTS=y |
431 | # CONFIG_MTD_OF_PARTS is not set | 438 | # CONFIG_MTD_OF_PARTS is not set |
@@ -585,6 +592,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
585 | # CONFIG_ISCSI_TCP is not set | 592 | # CONFIG_ISCSI_TCP is not set |
586 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 593 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
587 | # CONFIG_SCSI_BNX2_ISCSI is not set | 594 | # CONFIG_SCSI_BNX2_ISCSI is not set |
595 | # CONFIG_BE2ISCSI is not set | ||
588 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 596 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
589 | # CONFIG_SCSI_3W_9XXX is not set | 597 | # CONFIG_SCSI_3W_9XXX is not set |
590 | # CONFIG_SCSI_ACARD is not set | 598 | # CONFIG_SCSI_ACARD is not set |
@@ -623,7 +631,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
623 | # CONFIG_SCSI_DC390T is not set | 631 | # CONFIG_SCSI_DC390T is not set |
624 | # CONFIG_SCSI_NSP32 is not set | 632 | # CONFIG_SCSI_NSP32 is not set |
625 | # CONFIG_SCSI_DEBUG is not set | 633 | # CONFIG_SCSI_DEBUG is not set |
634 | # CONFIG_SCSI_PMCRAID is not set | ||
626 | # CONFIG_SCSI_SRP is not set | 635 | # CONFIG_SCSI_SRP is not set |
636 | # CONFIG_SCSI_BFA_FC is not set | ||
627 | # CONFIG_SCSI_DH is not set | 637 | # CONFIG_SCSI_DH is not set |
628 | # CONFIG_SCSI_OSD_INITIATOR is not set | 638 | # CONFIG_SCSI_OSD_INITIATOR is not set |
629 | # CONFIG_ATA is not set | 639 | # CONFIG_ATA is not set |
@@ -693,7 +703,9 @@ CONFIG_MII=y | |||
693 | # CONFIG_NET_PCI is not set | 703 | # CONFIG_NET_PCI is not set |
694 | # CONFIG_B44 is not set | 704 | # CONFIG_B44 is not set |
695 | # CONFIG_KS8842 is not set | 705 | # CONFIG_KS8842 is not set |
706 | # CONFIG_KS8851_MLL is not set | ||
696 | # CONFIG_ATL2 is not set | 707 | # CONFIG_ATL2 is not set |
708 | # CONFIG_XILINX_EMACLITE is not set | ||
697 | CONFIG_NETDEV_1000=y | 709 | CONFIG_NETDEV_1000=y |
698 | # CONFIG_ACENIC is not set | 710 | # CONFIG_ACENIC is not set |
699 | # CONFIG_DL2K is not set | 711 | # CONFIG_DL2K is not set |
@@ -716,7 +728,6 @@ CONFIG_NETDEV_1000=y | |||
716 | CONFIG_FSL_PQ_MDIO=y | 728 | CONFIG_FSL_PQ_MDIO=y |
717 | # CONFIG_GIANFAR is not set | 729 | # CONFIG_GIANFAR is not set |
718 | CONFIG_UCC_GETH=y | 730 | CONFIG_UCC_GETH=y |
719 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
720 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 731 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
721 | # CONFIG_MV643XX_ETH is not set | 732 | # CONFIG_MV643XX_ETH is not set |
722 | # CONFIG_QLA3XXX is not set | 733 | # CONFIG_QLA3XXX is not set |
@@ -744,10 +755,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
744 | # CONFIG_SFC is not set | 755 | # CONFIG_SFC is not set |
745 | # CONFIG_BE2NET is not set | 756 | # CONFIG_BE2NET is not set |
746 | # CONFIG_TR is not set | 757 | # CONFIG_TR is not set |
747 | 758 | CONFIG_WLAN=y | |
748 | # | ||
749 | # Wireless LAN | ||
750 | # | ||
751 | # CONFIG_WLAN_PRE80211 is not set | 759 | # CONFIG_WLAN_PRE80211 is not set |
752 | # CONFIG_WLAN_80211 is not set | 760 | # CONFIG_WLAN_80211 is not set |
753 | 761 | ||
@@ -840,6 +848,7 @@ CONFIG_HW_RANDOM=y | |||
840 | CONFIG_DEVPORT=y | 848 | CONFIG_DEVPORT=y |
841 | CONFIG_I2C=y | 849 | CONFIG_I2C=y |
842 | CONFIG_I2C_BOARDINFO=y | 850 | CONFIG_I2C_BOARDINFO=y |
851 | CONFIG_I2C_COMPAT=y | ||
843 | CONFIG_I2C_CHARDEV=y | 852 | CONFIG_I2C_CHARDEV=y |
844 | CONFIG_I2C_HELPER_AUTO=y | 853 | CONFIG_I2C_HELPER_AUTO=y |
845 | 854 | ||
@@ -893,9 +902,6 @@ CONFIG_I2C_MPC=y | |||
893 | # Miscellaneous I2C Chip support | 902 | # Miscellaneous I2C Chip support |
894 | # | 903 | # |
895 | # CONFIG_DS1682 is not set | 904 | # CONFIG_DS1682 is not set |
896 | # CONFIG_SENSORS_PCF8574 is not set | ||
897 | # CONFIG_PCF8575 is not set | ||
898 | # CONFIG_SENSORS_PCA9539 is not set | ||
899 | # CONFIG_SENSORS_TSL2550 is not set | 905 | # CONFIG_SENSORS_TSL2550 is not set |
900 | # CONFIG_I2C_DEBUG_CORE is not set | 906 | # CONFIG_I2C_DEBUG_CORE is not set |
901 | # CONFIG_I2C_DEBUG_ALGO is not set | 907 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -913,6 +919,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
913 | # CONFIG_POWER_SUPPLY is not set | 919 | # CONFIG_POWER_SUPPLY is not set |
914 | CONFIG_HWMON=y | 920 | CONFIG_HWMON=y |
915 | # CONFIG_HWMON_VID is not set | 921 | # CONFIG_HWMON_VID is not set |
922 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
923 | |||
924 | # | ||
925 | # Native drivers | ||
926 | # | ||
916 | # CONFIG_SENSORS_AD7414 is not set | 927 | # CONFIG_SENSORS_AD7414 is not set |
917 | # CONFIG_SENSORS_AD7418 is not set | 928 | # CONFIG_SENSORS_AD7418 is not set |
918 | # CONFIG_SENSORS_ADM1021 is not set | 929 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -962,6 +973,7 @@ CONFIG_HWMON=y | |||
962 | # CONFIG_SENSORS_ADS7828 is not set | 973 | # CONFIG_SENSORS_ADS7828 is not set |
963 | # CONFIG_SENSORS_THMC50 is not set | 974 | # CONFIG_SENSORS_THMC50 is not set |
964 | # CONFIG_SENSORS_TMP401 is not set | 975 | # CONFIG_SENSORS_TMP401 is not set |
976 | # CONFIG_SENSORS_TMP421 is not set | ||
965 | # CONFIG_SENSORS_VIA686A is not set | 977 | # CONFIG_SENSORS_VIA686A is not set |
966 | # CONFIG_SENSORS_VT1211 is not set | 978 | # CONFIG_SENSORS_VT1211 is not set |
967 | # CONFIG_SENSORS_VT8231 is not set | 979 | # CONFIG_SENSORS_VT8231 is not set |
@@ -973,9 +985,7 @@ CONFIG_HWMON=y | |||
973 | # CONFIG_SENSORS_W83L786NG is not set | 985 | # CONFIG_SENSORS_W83L786NG is not set |
974 | # CONFIG_SENSORS_W83627HF is not set | 986 | # CONFIG_SENSORS_W83627HF is not set |
975 | # CONFIG_SENSORS_W83627EHF is not set | 987 | # CONFIG_SENSORS_W83627EHF is not set |
976 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
977 | # CONFIG_THERMAL is not set | 988 | # CONFIG_THERMAL is not set |
978 | # CONFIG_THERMAL_HWMON is not set | ||
979 | CONFIG_WATCHDOG=y | 989 | CONFIG_WATCHDOG=y |
980 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 990 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
981 | 991 | ||
@@ -1008,6 +1018,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1008 | # CONFIG_MFD_TMIO is not set | 1018 | # CONFIG_MFD_TMIO is not set |
1009 | # CONFIG_PMIC_DA903X is not set | 1019 | # CONFIG_PMIC_DA903X is not set |
1010 | # CONFIG_MFD_WM8400 is not set | 1020 | # CONFIG_MFD_WM8400 is not set |
1021 | # CONFIG_MFD_WM831X is not set | ||
1011 | # CONFIG_MFD_WM8350_I2C is not set | 1022 | # CONFIG_MFD_WM8350_I2C is not set |
1012 | # CONFIG_MFD_PCF50633 is not set | 1023 | # CONFIG_MFD_PCF50633 is not set |
1013 | # CONFIG_AB3100_CORE is not set | 1024 | # CONFIG_AB3100_CORE is not set |
@@ -1018,6 +1029,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1018 | # Graphics support | 1029 | # Graphics support |
1019 | # | 1030 | # |
1020 | # CONFIG_AGP is not set | 1031 | # CONFIG_AGP is not set |
1032 | CONFIG_VGA_ARB=y | ||
1021 | # CONFIG_DRM is not set | 1033 | # CONFIG_DRM is not set |
1022 | # CONFIG_VGASTATE is not set | 1034 | # CONFIG_VGASTATE is not set |
1023 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1035 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1031,7 +1043,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1031 | # CONFIG_SOUND is not set | 1043 | # CONFIG_SOUND is not set |
1032 | CONFIG_HID_SUPPORT=y | 1044 | CONFIG_HID_SUPPORT=y |
1033 | CONFIG_HID=y | 1045 | CONFIG_HID=y |
1034 | # CONFIG_HID_DEBUG is not set | ||
1035 | # CONFIG_HIDRAW is not set | 1046 | # CONFIG_HIDRAW is not set |
1036 | # CONFIG_HID_PID is not set | 1047 | # CONFIG_HID_PID is not set |
1037 | 1048 | ||
@@ -1151,6 +1162,7 @@ CONFIG_FS_MBCACHE=y | |||
1151 | # CONFIG_GFS2_FS is not set | 1162 | # CONFIG_GFS2_FS is not set |
1152 | # CONFIG_OCFS2_FS is not set | 1163 | # CONFIG_OCFS2_FS is not set |
1153 | # CONFIG_BTRFS_FS is not set | 1164 | # CONFIG_BTRFS_FS is not set |
1165 | # CONFIG_NILFS2_FS is not set | ||
1154 | CONFIG_FILE_LOCKING=y | 1166 | CONFIG_FILE_LOCKING=y |
1155 | CONFIG_FSNOTIFY=y | 1167 | CONFIG_FSNOTIFY=y |
1156 | CONFIG_DNOTIFY=y | 1168 | CONFIG_DNOTIFY=y |
@@ -1210,7 +1222,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1210 | # CONFIG_ROMFS_FS is not set | 1222 | # CONFIG_ROMFS_FS is not set |
1211 | # CONFIG_SYSV_FS is not set | 1223 | # CONFIG_SYSV_FS is not set |
1212 | # CONFIG_UFS_FS is not set | 1224 | # CONFIG_UFS_FS is not set |
1213 | # CONFIG_NILFS2_FS is not set | ||
1214 | CONFIG_NETWORK_FILESYSTEMS=y | 1225 | CONFIG_NETWORK_FILESYSTEMS=y |
1215 | CONFIG_NFS_FS=y | 1226 | CONFIG_NFS_FS=y |
1216 | CONFIG_NFS_V3=y | 1227 | CONFIG_NFS_V3=y |
@@ -1284,6 +1295,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1284 | CONFIG_ENABLE_MUST_CHECK=y | 1295 | CONFIG_ENABLE_MUST_CHECK=y |
1285 | CONFIG_FRAME_WARN=1024 | 1296 | CONFIG_FRAME_WARN=1024 |
1286 | # CONFIG_MAGIC_SYSRQ is not set | 1297 | # CONFIG_MAGIC_SYSRQ is not set |
1298 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1287 | # CONFIG_UNUSED_SYMBOLS is not set | 1299 | # CONFIG_UNUSED_SYMBOLS is not set |
1288 | # CONFIG_DEBUG_FS is not set | 1300 | # CONFIG_DEBUG_FS is not set |
1289 | # CONFIG_HEADERS_CHECK is not set | 1301 | # CONFIG_HEADERS_CHECK is not set |
@@ -1301,6 +1313,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1301 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1313 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1302 | CONFIG_TRACING_SUPPORT=y | 1314 | CONFIG_TRACING_SUPPORT=y |
1303 | # CONFIG_FTRACE is not set | 1315 | # CONFIG_FTRACE is not set |
1316 | # CONFIG_DMA_API_DEBUG is not set | ||
1304 | # CONFIG_SAMPLES is not set | 1317 | # CONFIG_SAMPLES is not set |
1305 | CONFIG_HAVE_ARCH_KGDB=y | 1318 | CONFIG_HAVE_ARCH_KGDB=y |
1306 | # CONFIG_PPC_DISABLE_WERROR is not set | 1319 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1322,7 +1335,6 @@ CONFIG_CRYPTO=y | |||
1322 | # | 1335 | # |
1323 | # Crypto core or helper | 1336 | # Crypto core or helper |
1324 | # | 1337 | # |
1325 | # CONFIG_CRYPTO_FIPS is not set | ||
1326 | CONFIG_CRYPTO_ALGAPI=y | 1338 | CONFIG_CRYPTO_ALGAPI=y |
1327 | CONFIG_CRYPTO_ALGAPI2=y | 1339 | CONFIG_CRYPTO_ALGAPI2=y |
1328 | CONFIG_CRYPTO_AEAD2=y | 1340 | CONFIG_CRYPTO_AEAD2=y |
@@ -1364,11 +1376,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1364 | # | 1376 | # |
1365 | # CONFIG_CRYPTO_HMAC is not set | 1377 | # CONFIG_CRYPTO_HMAC is not set |
1366 | # CONFIG_CRYPTO_XCBC is not set | 1378 | # CONFIG_CRYPTO_XCBC is not set |
1379 | # CONFIG_CRYPTO_VMAC is not set | ||
1367 | 1380 | ||
1368 | # | 1381 | # |
1369 | # Digest | 1382 | # Digest |
1370 | # | 1383 | # |
1371 | # CONFIG_CRYPTO_CRC32C is not set | 1384 | # CONFIG_CRYPTO_CRC32C is not set |
1385 | # CONFIG_CRYPTO_GHASH is not set | ||
1372 | # CONFIG_CRYPTO_MD4 is not set | 1386 | # CONFIG_CRYPTO_MD4 is not set |
1373 | CONFIG_CRYPTO_MD5=y | 1387 | CONFIG_CRYPTO_MD5=y |
1374 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1388 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc836x_rdk_defconfig b/arch/powerpc/configs/83xx/mpc836x_rdk_defconfig index ff31667a890b..b52ec0861679 100644 --- a/arch/powerpc/configs/83xx/mpc836x_rdk_defconfig +++ b/arch/powerpc/configs/83xx/mpc836x_rdk_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:12 2009 | 4 | # Thu Nov 5 08:20:30 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 86 | # |
86 | # RCU Subsystem | 87 | # RCU Subsystem |
87 | # | 88 | # |
88 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -125,28 +127,29 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 131 | ||
130 | # | 132 | # |
131 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
132 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
136 | CONFIG_SLUB_DEBUG=y | 139 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 141 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 142 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | 153 | ||
151 | # | 154 | # |
152 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -255,6 +258,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
255 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 258 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
256 | # CONFIG_KEXEC is not set | 259 | # CONFIG_KEXEC is not set |
257 | # CONFIG_CRASH_DUMP is not set | 260 | # CONFIG_CRASH_DUMP is not set |
261 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
258 | CONFIG_ARCH_FLATMEM_ENABLE=y | 262 | CONFIG_ARCH_FLATMEM_ENABLE=y |
259 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 263 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
260 | CONFIG_SELECT_MEMORY_MODEL=y | 264 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -272,6 +276,7 @@ CONFIG_BOUNCE=y | |||
272 | CONFIG_VIRT_TO_BUS=y | 276 | CONFIG_VIRT_TO_BUS=y |
273 | CONFIG_HAVE_MLOCK=y | 277 | CONFIG_HAVE_MLOCK=y |
274 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 278 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
279 | # CONFIG_KSM is not set | ||
275 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 280 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
276 | CONFIG_PPC_4K_PAGES=y | 281 | CONFIG_PPC_4K_PAGES=y |
277 | # CONFIG_PPC_16K_PAGES is not set | 282 | # CONFIG_PPC_16K_PAGES is not set |
@@ -369,6 +374,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_NETFILTER is not set | 374 | # CONFIG_NETFILTER is not set |
370 | # CONFIG_IP_DCCP is not set | 375 | # CONFIG_IP_DCCP is not set |
371 | # CONFIG_IP_SCTP is not set | 376 | # CONFIG_IP_SCTP is not set |
377 | # CONFIG_RDS is not set | ||
372 | # CONFIG_TIPC is not set | 378 | # CONFIG_TIPC is not set |
373 | # CONFIG_ATM is not set | 379 | # CONFIG_ATM is not set |
374 | # CONFIG_BRIDGE is not set | 380 | # CONFIG_BRIDGE is not set |
@@ -398,6 +404,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
399 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
400 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
401 | CONFIG_WIRELESS_OLD_REGULATORY=y | 408 | CONFIG_WIRELESS_OLD_REGULATORY=y |
402 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
403 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -405,7 +412,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
405 | # | 412 | # |
406 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
407 | # | 414 | # |
408 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
409 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
410 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
411 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -418,6 +424,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
418 | # Generic Driver Options | 424 | # Generic Driver Options |
419 | # | 425 | # |
420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 426 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
427 | # CONFIG_DEVTMPFS is not set | ||
421 | CONFIG_STANDALONE=y | 428 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 429 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
423 | CONFIG_FW_LOADER=y | 430 | CONFIG_FW_LOADER=y |
@@ -427,9 +434,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
427 | # CONFIG_CONNECTOR is not set | 434 | # CONFIG_CONNECTOR is not set |
428 | CONFIG_MTD=y | 435 | CONFIG_MTD=y |
429 | # CONFIG_MTD_DEBUG is not set | 436 | # CONFIG_MTD_DEBUG is not set |
437 | # CONFIG_MTD_TESTS is not set | ||
430 | # CONFIG_MTD_CONCAT is not set | 438 | # CONFIG_MTD_CONCAT is not set |
431 | CONFIG_MTD_PARTITIONS=y | 439 | CONFIG_MTD_PARTITIONS=y |
432 | # CONFIG_MTD_TESTS is not set | ||
433 | # CONFIG_MTD_REDBOOT_PARTS is not set | 440 | # CONFIG_MTD_REDBOOT_PARTS is not set |
434 | CONFIG_MTD_CMDLINE_PARTS=y | 441 | CONFIG_MTD_CMDLINE_PARTS=y |
435 | # CONFIG_MTD_OF_PARTS is not set | 442 | # CONFIG_MTD_OF_PARTS is not set |
@@ -493,6 +500,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
493 | # CONFIG_MTD_PMC551 is not set | 500 | # CONFIG_MTD_PMC551 is not set |
494 | # CONFIG_MTD_DATAFLASH is not set | 501 | # CONFIG_MTD_DATAFLASH is not set |
495 | # CONFIG_MTD_M25P80 is not set | 502 | # CONFIG_MTD_M25P80 is not set |
503 | # CONFIG_MTD_SST25L is not set | ||
496 | # CONFIG_MTD_SLRAM is not set | 504 | # CONFIG_MTD_SLRAM is not set |
497 | # CONFIG_MTD_PHRAM is not set | 505 | # CONFIG_MTD_PHRAM is not set |
498 | # CONFIG_MTD_MTDRAM is not set | 506 | # CONFIG_MTD_MTDRAM is not set |
@@ -639,7 +647,6 @@ CONFIG_NETDEV_1000=y | |||
639 | CONFIG_FSL_PQ_MDIO=y | 647 | CONFIG_FSL_PQ_MDIO=y |
640 | # CONFIG_GIANFAR is not set | 648 | # CONFIG_GIANFAR is not set |
641 | CONFIG_UCC_GETH=y | 649 | CONFIG_UCC_GETH=y |
642 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
643 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 650 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
644 | # CONFIG_MV643XX_ETH is not set | 651 | # CONFIG_MV643XX_ETH is not set |
645 | # CONFIG_QLA3XXX is not set | 652 | # CONFIG_QLA3XXX is not set |
@@ -649,10 +656,7 @@ CONFIG_UCC_GETH=y | |||
649 | # CONFIG_JME is not set | 656 | # CONFIG_JME is not set |
650 | # CONFIG_NETDEV_10000 is not set | 657 | # CONFIG_NETDEV_10000 is not set |
651 | # CONFIG_TR is not set | 658 | # CONFIG_TR is not set |
652 | 659 | CONFIG_WLAN=y | |
653 | # | ||
654 | # Wireless LAN | ||
655 | # | ||
656 | # CONFIG_WLAN_PRE80211 is not set | 660 | # CONFIG_WLAN_PRE80211 is not set |
657 | # CONFIG_WLAN_80211 is not set | 661 | # CONFIG_WLAN_80211 is not set |
658 | 662 | ||
@@ -750,6 +754,7 @@ CONFIG_HW_RANDOM=y | |||
750 | CONFIG_DEVPORT=y | 754 | CONFIG_DEVPORT=y |
751 | CONFIG_I2C=y | 755 | CONFIG_I2C=y |
752 | CONFIG_I2C_BOARDINFO=y | 756 | CONFIG_I2C_BOARDINFO=y |
757 | CONFIG_I2C_COMPAT=y | ||
753 | CONFIG_I2C_CHARDEV=y | 758 | CONFIG_I2C_CHARDEV=y |
754 | CONFIG_I2C_HELPER_AUTO=y | 759 | CONFIG_I2C_HELPER_AUTO=y |
755 | 760 | ||
@@ -804,9 +809,6 @@ CONFIG_I2C_MPC=y | |||
804 | # Miscellaneous I2C Chip support | 809 | # Miscellaneous I2C Chip support |
805 | # | 810 | # |
806 | # CONFIG_DS1682 is not set | 811 | # CONFIG_DS1682 is not set |
807 | # CONFIG_SENSORS_PCF8574 is not set | ||
808 | # CONFIG_PCF8575 is not set | ||
809 | # CONFIG_SENSORS_PCA9539 is not set | ||
810 | # CONFIG_SENSORS_TSL2550 is not set | 812 | # CONFIG_SENSORS_TSL2550 is not set |
811 | # CONFIG_I2C_DEBUG_CORE is not set | 813 | # CONFIG_I2C_DEBUG_CORE is not set |
812 | # CONFIG_I2C_DEBUG_ALGO is not set | 814 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -853,17 +855,22 @@ CONFIG_GPIOLIB=y | |||
853 | # PCI GPIO expanders: | 855 | # PCI GPIO expanders: |
854 | # | 856 | # |
855 | # CONFIG_GPIO_BT8XX is not set | 857 | # CONFIG_GPIO_BT8XX is not set |
858 | # CONFIG_GPIO_LANGWELL is not set | ||
856 | 859 | ||
857 | # | 860 | # |
858 | # SPI GPIO expanders: | 861 | # SPI GPIO expanders: |
859 | # | 862 | # |
860 | # CONFIG_GPIO_MAX7301 is not set | 863 | # CONFIG_GPIO_MAX7301 is not set |
861 | # CONFIG_GPIO_MCP23S08 is not set | 864 | # CONFIG_GPIO_MCP23S08 is not set |
865 | # CONFIG_GPIO_MC33880 is not set | ||
866 | |||
867 | # | ||
868 | # AC97 GPIO expanders: | ||
869 | # | ||
862 | # CONFIG_W1 is not set | 870 | # CONFIG_W1 is not set |
863 | # CONFIG_POWER_SUPPLY is not set | 871 | # CONFIG_POWER_SUPPLY is not set |
864 | # CONFIG_HWMON is not set | 872 | # CONFIG_HWMON is not set |
865 | # CONFIG_THERMAL is not set | 873 | # CONFIG_THERMAL is not set |
866 | # CONFIG_THERMAL_HWMON is not set | ||
867 | CONFIG_WATCHDOG=y | 874 | CONFIG_WATCHDOG=y |
868 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 875 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
869 | 876 | ||
@@ -897,8 +904,10 @@ CONFIG_SSB_POSSIBLE=y | |||
897 | # CONFIG_MFD_TMIO is not set | 904 | # CONFIG_MFD_TMIO is not set |
898 | # CONFIG_PMIC_DA903X is not set | 905 | # CONFIG_PMIC_DA903X is not set |
899 | # CONFIG_MFD_WM8400 is not set | 906 | # CONFIG_MFD_WM8400 is not set |
907 | # CONFIG_MFD_WM831X is not set | ||
900 | # CONFIG_MFD_WM8350_I2C is not set | 908 | # CONFIG_MFD_WM8350_I2C is not set |
901 | # CONFIG_MFD_PCF50633 is not set | 909 | # CONFIG_MFD_PCF50633 is not set |
910 | # CONFIG_MFD_MC13783 is not set | ||
902 | # CONFIG_AB3100_CORE is not set | 911 | # CONFIG_AB3100_CORE is not set |
903 | # CONFIG_EZX_PCAP is not set | 912 | # CONFIG_EZX_PCAP is not set |
904 | # CONFIG_REGULATOR is not set | 913 | # CONFIG_REGULATOR is not set |
@@ -908,6 +917,7 @@ CONFIG_SSB_POSSIBLE=y | |||
908 | # Graphics support | 917 | # Graphics support |
909 | # | 918 | # |
910 | # CONFIG_AGP is not set | 919 | # CONFIG_AGP is not set |
920 | CONFIG_VGA_ARB=y | ||
911 | # CONFIG_DRM is not set | 921 | # CONFIG_DRM is not set |
912 | # CONFIG_VGASTATE is not set | 922 | # CONFIG_VGASTATE is not set |
913 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 923 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -992,7 +1002,6 @@ CONFIG_LOGO_LINUX_CLUT224=y | |||
992 | # CONFIG_SOUND is not set | 1002 | # CONFIG_SOUND is not set |
993 | CONFIG_HID_SUPPORT=y | 1003 | CONFIG_HID_SUPPORT=y |
994 | CONFIG_HID=y | 1004 | CONFIG_HID=y |
995 | # CONFIG_HID_DEBUG is not set | ||
996 | # CONFIG_HIDRAW is not set | 1005 | # CONFIG_HIDRAW is not set |
997 | # CONFIG_HID_PID is not set | 1006 | # CONFIG_HID_PID is not set |
998 | 1007 | ||
@@ -1038,6 +1047,7 @@ CONFIG_FS_MBCACHE=y | |||
1038 | # CONFIG_GFS2_FS is not set | 1047 | # CONFIG_GFS2_FS is not set |
1039 | # CONFIG_OCFS2_FS is not set | 1048 | # CONFIG_OCFS2_FS is not set |
1040 | # CONFIG_BTRFS_FS is not set | 1049 | # CONFIG_BTRFS_FS is not set |
1050 | # CONFIG_NILFS2_FS is not set | ||
1041 | CONFIG_FILE_LOCKING=y | 1051 | CONFIG_FILE_LOCKING=y |
1042 | CONFIG_FSNOTIFY=y | 1052 | CONFIG_FSNOTIFY=y |
1043 | CONFIG_DNOTIFY=y | 1053 | CONFIG_DNOTIFY=y |
@@ -1107,7 +1117,6 @@ CONFIG_JFFS2_RTIME=y | |||
1107 | # CONFIG_ROMFS_FS is not set | 1117 | # CONFIG_ROMFS_FS is not set |
1108 | # CONFIG_SYSV_FS is not set | 1118 | # CONFIG_SYSV_FS is not set |
1109 | # CONFIG_UFS_FS is not set | 1119 | # CONFIG_UFS_FS is not set |
1110 | # CONFIG_NILFS2_FS is not set | ||
1111 | CONFIG_NETWORK_FILESYSTEMS=y | 1120 | CONFIG_NETWORK_FILESYSTEMS=y |
1112 | CONFIG_NFS_FS=y | 1121 | CONFIG_NFS_FS=y |
1113 | CONFIG_NFS_V3=y | 1122 | CONFIG_NFS_V3=y |
@@ -1183,6 +1192,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1183 | CONFIG_ENABLE_MUST_CHECK=y | 1192 | CONFIG_ENABLE_MUST_CHECK=y |
1184 | CONFIG_FRAME_WARN=1024 | 1193 | CONFIG_FRAME_WARN=1024 |
1185 | # CONFIG_MAGIC_SYSRQ is not set | 1194 | # CONFIG_MAGIC_SYSRQ is not set |
1195 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1186 | # CONFIG_UNUSED_SYMBOLS is not set | 1196 | # CONFIG_UNUSED_SYMBOLS is not set |
1187 | # CONFIG_DEBUG_FS is not set | 1197 | # CONFIG_DEBUG_FS is not set |
1188 | # CONFIG_HEADERS_CHECK is not set | 1198 | # CONFIG_HEADERS_CHECK is not set |
@@ -1200,6 +1210,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1200 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1210 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1201 | CONFIG_TRACING_SUPPORT=y | 1211 | CONFIG_TRACING_SUPPORT=y |
1202 | # CONFIG_FTRACE is not set | 1212 | # CONFIG_FTRACE is not set |
1213 | # CONFIG_DMA_API_DEBUG is not set | ||
1203 | # CONFIG_SAMPLES is not set | 1214 | # CONFIG_SAMPLES is not set |
1204 | CONFIG_HAVE_ARCH_KGDB=y | 1215 | CONFIG_HAVE_ARCH_KGDB=y |
1205 | # CONFIG_PPC_DISABLE_WERROR is not set | 1216 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1232,7 +1243,6 @@ CONFIG_CRYPTO=y | |||
1232 | # | 1243 | # |
1233 | # Crypto core or helper | 1244 | # Crypto core or helper |
1234 | # | 1245 | # |
1235 | # CONFIG_CRYPTO_FIPS is not set | ||
1236 | CONFIG_CRYPTO_ALGAPI=y | 1246 | CONFIG_CRYPTO_ALGAPI=y |
1237 | CONFIG_CRYPTO_ALGAPI2=y | 1247 | CONFIG_CRYPTO_ALGAPI2=y |
1238 | CONFIG_CRYPTO_AEAD2=y | 1248 | CONFIG_CRYPTO_AEAD2=y |
@@ -1274,11 +1284,13 @@ CONFIG_CRYPTO_CBC=y | |||
1274 | # | 1284 | # |
1275 | # CONFIG_CRYPTO_HMAC is not set | 1285 | # CONFIG_CRYPTO_HMAC is not set |
1276 | # CONFIG_CRYPTO_XCBC is not set | 1286 | # CONFIG_CRYPTO_XCBC is not set |
1287 | # CONFIG_CRYPTO_VMAC is not set | ||
1277 | 1288 | ||
1278 | # | 1289 | # |
1279 | # Digest | 1290 | # Digest |
1280 | # | 1291 | # |
1281 | # CONFIG_CRYPTO_CRC32C is not set | 1292 | # CONFIG_CRYPTO_CRC32C is not set |
1293 | # CONFIG_CRYPTO_GHASH is not set | ||
1282 | # CONFIG_CRYPTO_MD4 is not set | 1294 | # CONFIG_CRYPTO_MD4 is not set |
1283 | CONFIG_CRYPTO_MD5=y | 1295 | CONFIG_CRYPTO_MD5=y |
1284 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1296 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc837x_mds_defconfig b/arch/powerpc/configs/83xx/mpc837x_mds_defconfig index e285ec0fe958..730061574f96 100644 --- a/arch/powerpc/configs/83xx/mpc837x_mds_defconfig +++ b/arch/powerpc/configs/83xx/mpc837x_mds_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:11 2009 | 4 | # Thu Nov 5 08:20:29 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -125,21 +127,20 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 131 | ||
130 | # | 132 | # |
131 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
132 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | CONFIG_SLAB=y | 140 | CONFIG_SLAB=y |
139 | # CONFIG_SLUB is not set | 141 | # CONFIG_SLUB is not set |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | # CONFIG_KPROBES is not set | 145 | # CONFIG_KPROBES is not set |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -147,6 +148,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
147 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | 153 | ||
151 | # | 154 | # |
152 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -368,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_NETFILTER is not set | 373 | # CONFIG_NETFILTER is not set |
369 | # CONFIG_IP_DCCP is not set | 374 | # CONFIG_IP_DCCP is not set |
370 | # CONFIG_IP_SCTP is not set | 375 | # CONFIG_IP_SCTP is not set |
376 | # CONFIG_RDS is not set | ||
371 | # CONFIG_TIPC is not set | 377 | # CONFIG_TIPC is not set |
372 | # CONFIG_ATM is not set | 378 | # CONFIG_ATM is not set |
373 | # CONFIG_BRIDGE is not set | 379 | # CONFIG_BRIDGE is not set |
@@ -397,6 +403,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
397 | # CONFIG_AF_RXRPC is not set | 403 | # CONFIG_AF_RXRPC is not set |
398 | CONFIG_WIRELESS=y | 404 | CONFIG_WIRELESS=y |
399 | # CONFIG_CFG80211 is not set | 405 | # CONFIG_CFG80211 is not set |
406 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
400 | CONFIG_WIRELESS_OLD_REGULATORY=y | 407 | CONFIG_WIRELESS_OLD_REGULATORY=y |
401 | # CONFIG_WIRELESS_EXT is not set | 408 | # CONFIG_WIRELESS_EXT is not set |
402 | # CONFIG_LIB80211 is not set | 409 | # CONFIG_LIB80211 is not set |
@@ -404,7 +411,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
404 | # | 411 | # |
405 | # CFG80211 needs to be enabled for MAC80211 | 412 | # CFG80211 needs to be enabled for MAC80211 |
406 | # | 413 | # |
407 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
408 | # CONFIG_WIMAX is not set | 414 | # CONFIG_WIMAX is not set |
409 | # CONFIG_RFKILL is not set | 415 | # CONFIG_RFKILL is not set |
410 | # CONFIG_NET_9P is not set | 416 | # CONFIG_NET_9P is not set |
@@ -417,6 +423,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
417 | # Generic Driver Options | 423 | # Generic Driver Options |
418 | # | 424 | # |
419 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 425 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
426 | # CONFIG_DEVTMPFS is not set | ||
420 | CONFIG_STANDALONE=y | 427 | CONFIG_STANDALONE=y |
421 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 428 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
422 | # CONFIG_FW_LOADER is not set | 429 | # CONFIG_FW_LOADER is not set |
@@ -503,6 +510,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
503 | # CONFIG_ISCSI_TCP is not set | 510 | # CONFIG_ISCSI_TCP is not set |
504 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 511 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
505 | # CONFIG_SCSI_BNX2_ISCSI is not set | 512 | # CONFIG_SCSI_BNX2_ISCSI is not set |
513 | # CONFIG_BE2ISCSI is not set | ||
506 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 514 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
507 | # CONFIG_SCSI_3W_9XXX is not set | 515 | # CONFIG_SCSI_3W_9XXX is not set |
508 | # CONFIG_SCSI_ACARD is not set | 516 | # CONFIG_SCSI_ACARD is not set |
@@ -542,11 +550,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
542 | # CONFIG_SCSI_DC390T is not set | 550 | # CONFIG_SCSI_DC390T is not set |
543 | # CONFIG_SCSI_NSP32 is not set | 551 | # CONFIG_SCSI_NSP32 is not set |
544 | # CONFIG_SCSI_DEBUG is not set | 552 | # CONFIG_SCSI_DEBUG is not set |
553 | # CONFIG_SCSI_PMCRAID is not set | ||
545 | # CONFIG_SCSI_SRP is not set | 554 | # CONFIG_SCSI_SRP is not set |
555 | # CONFIG_SCSI_BFA_FC is not set | ||
546 | # CONFIG_SCSI_DH is not set | 556 | # CONFIG_SCSI_DH is not set |
547 | # CONFIG_SCSI_OSD_INITIATOR is not set | 557 | # CONFIG_SCSI_OSD_INITIATOR is not set |
548 | CONFIG_ATA=y | 558 | CONFIG_ATA=y |
549 | # CONFIG_ATA_NONSTANDARD is not set | 559 | # CONFIG_ATA_NONSTANDARD is not set |
560 | CONFIG_ATA_VERBOSE_ERROR=y | ||
550 | CONFIG_SATA_PMP=y | 561 | CONFIG_SATA_PMP=y |
551 | # CONFIG_SATA_AHCI is not set | 562 | # CONFIG_SATA_AHCI is not set |
552 | # CONFIG_SATA_SIL24 is not set | 563 | # CONFIG_SATA_SIL24 is not set |
@@ -569,6 +580,7 @@ CONFIG_ATA_SFF=y | |||
569 | # CONFIG_PATA_ALI is not set | 580 | # CONFIG_PATA_ALI is not set |
570 | # CONFIG_PATA_AMD is not set | 581 | # CONFIG_PATA_AMD is not set |
571 | # CONFIG_PATA_ARTOP is not set | 582 | # CONFIG_PATA_ARTOP is not set |
583 | # CONFIG_PATA_ATP867X is not set | ||
572 | # CONFIG_PATA_ATIIXP is not set | 584 | # CONFIG_PATA_ATIIXP is not set |
573 | # CONFIG_PATA_CMD640_PCI is not set | 585 | # CONFIG_PATA_CMD640_PCI is not set |
574 | # CONFIG_PATA_CMD64X is not set | 586 | # CONFIG_PATA_CMD64X is not set |
@@ -596,6 +608,7 @@ CONFIG_ATA_SFF=y | |||
596 | # CONFIG_PATA_OPTIDMA is not set | 608 | # CONFIG_PATA_OPTIDMA is not set |
597 | # CONFIG_PATA_PDC_OLD is not set | 609 | # CONFIG_PATA_PDC_OLD is not set |
598 | # CONFIG_PATA_RADISYS is not set | 610 | # CONFIG_PATA_RADISYS is not set |
611 | # CONFIG_PATA_RDC is not set | ||
599 | # CONFIG_PATA_RZ1000 is not set | 612 | # CONFIG_PATA_RZ1000 is not set |
600 | # CONFIG_PATA_SC1200 is not set | 613 | # CONFIG_PATA_SC1200 is not set |
601 | # CONFIG_PATA_SERVERWORKS is not set | 614 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -672,7 +685,9 @@ CONFIG_MII=y | |||
672 | # CONFIG_NET_PCI is not set | 685 | # CONFIG_NET_PCI is not set |
673 | # CONFIG_B44 is not set | 686 | # CONFIG_B44 is not set |
674 | # CONFIG_KS8842 is not set | 687 | # CONFIG_KS8842 is not set |
688 | # CONFIG_KS8851_MLL is not set | ||
675 | # CONFIG_ATL2 is not set | 689 | # CONFIG_ATL2 is not set |
690 | # CONFIG_XILINX_EMACLITE is not set | ||
676 | CONFIG_NETDEV_1000=y | 691 | CONFIG_NETDEV_1000=y |
677 | # CONFIG_ACENIC is not set | 692 | # CONFIG_ACENIC is not set |
678 | # CONFIG_DL2K is not set | 693 | # CONFIG_DL2K is not set |
@@ -720,10 +735,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
720 | # CONFIG_SFC is not set | 735 | # CONFIG_SFC is not set |
721 | # CONFIG_BE2NET is not set | 736 | # CONFIG_BE2NET is not set |
722 | # CONFIG_TR is not set | 737 | # CONFIG_TR is not set |
723 | 738 | CONFIG_WLAN=y | |
724 | # | ||
725 | # Wireless LAN | ||
726 | # | ||
727 | # CONFIG_WLAN_PRE80211 is not set | 739 | # CONFIG_WLAN_PRE80211 is not set |
728 | # CONFIG_WLAN_80211 is not set | 740 | # CONFIG_WLAN_80211 is not set |
729 | 741 | ||
@@ -816,6 +828,7 @@ CONFIG_GEN_RTC=y | |||
816 | CONFIG_DEVPORT=y | 828 | CONFIG_DEVPORT=y |
817 | CONFIG_I2C=y | 829 | CONFIG_I2C=y |
818 | CONFIG_I2C_BOARDINFO=y | 830 | CONFIG_I2C_BOARDINFO=y |
831 | CONFIG_I2C_COMPAT=y | ||
819 | CONFIG_I2C_CHARDEV=y | 832 | CONFIG_I2C_CHARDEV=y |
820 | CONFIG_I2C_HELPER_AUTO=y | 833 | CONFIG_I2C_HELPER_AUTO=y |
821 | 834 | ||
@@ -869,9 +882,6 @@ CONFIG_I2C_MPC=y | |||
869 | # Miscellaneous I2C Chip support | 882 | # Miscellaneous I2C Chip support |
870 | # | 883 | # |
871 | # CONFIG_DS1682 is not set | 884 | # CONFIG_DS1682 is not set |
872 | # CONFIG_SENSORS_PCF8574 is not set | ||
873 | # CONFIG_PCF8575 is not set | ||
874 | # CONFIG_SENSORS_PCA9539 is not set | ||
875 | # CONFIG_SENSORS_TSL2550 is not set | 885 | # CONFIG_SENSORS_TSL2550 is not set |
876 | # CONFIG_I2C_DEBUG_CORE is not set | 886 | # CONFIG_I2C_DEBUG_CORE is not set |
877 | # CONFIG_I2C_DEBUG_ALGO is not set | 887 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -889,6 +899,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
889 | # CONFIG_POWER_SUPPLY is not set | 899 | # CONFIG_POWER_SUPPLY is not set |
890 | CONFIG_HWMON=y | 900 | CONFIG_HWMON=y |
891 | # CONFIG_HWMON_VID is not set | 901 | # CONFIG_HWMON_VID is not set |
902 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
903 | |||
904 | # | ||
905 | # Native drivers | ||
906 | # | ||
892 | # CONFIG_SENSORS_AD7414 is not set | 907 | # CONFIG_SENSORS_AD7414 is not set |
893 | # CONFIG_SENSORS_AD7418 is not set | 908 | # CONFIG_SENSORS_AD7418 is not set |
894 | # CONFIG_SENSORS_ADM1021 is not set | 909 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -938,6 +953,7 @@ CONFIG_HWMON=y | |||
938 | # CONFIG_SENSORS_ADS7828 is not set | 953 | # CONFIG_SENSORS_ADS7828 is not set |
939 | # CONFIG_SENSORS_THMC50 is not set | 954 | # CONFIG_SENSORS_THMC50 is not set |
940 | # CONFIG_SENSORS_TMP401 is not set | 955 | # CONFIG_SENSORS_TMP401 is not set |
956 | # CONFIG_SENSORS_TMP421 is not set | ||
941 | # CONFIG_SENSORS_VIA686A is not set | 957 | # CONFIG_SENSORS_VIA686A is not set |
942 | # CONFIG_SENSORS_VT1211 is not set | 958 | # CONFIG_SENSORS_VT1211 is not set |
943 | # CONFIG_SENSORS_VT8231 is not set | 959 | # CONFIG_SENSORS_VT8231 is not set |
@@ -949,9 +965,7 @@ CONFIG_HWMON=y | |||
949 | # CONFIG_SENSORS_W83L786NG is not set | 965 | # CONFIG_SENSORS_W83L786NG is not set |
950 | # CONFIG_SENSORS_W83627HF is not set | 966 | # CONFIG_SENSORS_W83627HF is not set |
951 | # CONFIG_SENSORS_W83627EHF is not set | 967 | # CONFIG_SENSORS_W83627EHF is not set |
952 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
953 | # CONFIG_THERMAL is not set | 968 | # CONFIG_THERMAL is not set |
954 | # CONFIG_THERMAL_HWMON is not set | ||
955 | CONFIG_WATCHDOG=y | 969 | CONFIG_WATCHDOG=y |
956 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 970 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
957 | 971 | ||
@@ -984,6 +998,7 @@ CONFIG_SSB_POSSIBLE=y | |||
984 | # CONFIG_MFD_TMIO is not set | 998 | # CONFIG_MFD_TMIO is not set |
985 | # CONFIG_PMIC_DA903X is not set | 999 | # CONFIG_PMIC_DA903X is not set |
986 | # CONFIG_MFD_WM8400 is not set | 1000 | # CONFIG_MFD_WM8400 is not set |
1001 | # CONFIG_MFD_WM831X is not set | ||
987 | # CONFIG_MFD_WM8350_I2C is not set | 1002 | # CONFIG_MFD_WM8350_I2C is not set |
988 | # CONFIG_MFD_PCF50633 is not set | 1003 | # CONFIG_MFD_PCF50633 is not set |
989 | # CONFIG_AB3100_CORE is not set | 1004 | # CONFIG_AB3100_CORE is not set |
@@ -994,6 +1009,7 @@ CONFIG_SSB_POSSIBLE=y | |||
994 | # Graphics support | 1009 | # Graphics support |
995 | # | 1010 | # |
996 | # CONFIG_AGP is not set | 1011 | # CONFIG_AGP is not set |
1012 | CONFIG_VGA_ARB=y | ||
997 | # CONFIG_DRM is not set | 1013 | # CONFIG_DRM is not set |
998 | # CONFIG_VGASTATE is not set | 1014 | # CONFIG_VGASTATE is not set |
999 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1015 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1007,7 +1023,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1007 | # CONFIG_SOUND is not set | 1023 | # CONFIG_SOUND is not set |
1008 | CONFIG_HID_SUPPORT=y | 1024 | CONFIG_HID_SUPPORT=y |
1009 | CONFIG_HID=y | 1025 | CONFIG_HID=y |
1010 | # CONFIG_HID_DEBUG is not set | ||
1011 | # CONFIG_HIDRAW is not set | 1026 | # CONFIG_HIDRAW is not set |
1012 | # CONFIG_HID_PID is not set | 1027 | # CONFIG_HID_PID is not set |
1013 | 1028 | ||
@@ -1072,6 +1087,7 @@ CONFIG_FS_MBCACHE=y | |||
1072 | # CONFIG_GFS2_FS is not set | 1087 | # CONFIG_GFS2_FS is not set |
1073 | # CONFIG_OCFS2_FS is not set | 1088 | # CONFIG_OCFS2_FS is not set |
1074 | # CONFIG_BTRFS_FS is not set | 1089 | # CONFIG_BTRFS_FS is not set |
1090 | # CONFIG_NILFS2_FS is not set | ||
1075 | CONFIG_FILE_LOCKING=y | 1091 | CONFIG_FILE_LOCKING=y |
1076 | CONFIG_FSNOTIFY=y | 1092 | CONFIG_FSNOTIFY=y |
1077 | CONFIG_DNOTIFY=y | 1093 | CONFIG_DNOTIFY=y |
@@ -1130,7 +1146,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1130 | # CONFIG_ROMFS_FS is not set | 1146 | # CONFIG_ROMFS_FS is not set |
1131 | # CONFIG_SYSV_FS is not set | 1147 | # CONFIG_SYSV_FS is not set |
1132 | # CONFIG_UFS_FS is not set | 1148 | # CONFIG_UFS_FS is not set |
1133 | # CONFIG_NILFS2_FS is not set | ||
1134 | CONFIG_NETWORK_FILESYSTEMS=y | 1149 | CONFIG_NETWORK_FILESYSTEMS=y |
1135 | CONFIG_NFS_FS=y | 1150 | CONFIG_NFS_FS=y |
1136 | CONFIG_NFS_V3=y | 1151 | CONFIG_NFS_V3=y |
@@ -1206,6 +1221,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1206 | CONFIG_ENABLE_MUST_CHECK=y | 1221 | CONFIG_ENABLE_MUST_CHECK=y |
1207 | CONFIG_FRAME_WARN=1024 | 1222 | CONFIG_FRAME_WARN=1024 |
1208 | # CONFIG_MAGIC_SYSRQ is not set | 1223 | # CONFIG_MAGIC_SYSRQ is not set |
1224 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1209 | # CONFIG_UNUSED_SYMBOLS is not set | 1225 | # CONFIG_UNUSED_SYMBOLS is not set |
1210 | # CONFIG_DEBUG_FS is not set | 1226 | # CONFIG_DEBUG_FS is not set |
1211 | # CONFIG_HEADERS_CHECK is not set | 1227 | # CONFIG_HEADERS_CHECK is not set |
@@ -1221,6 +1237,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1221 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1237 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1222 | CONFIG_TRACING_SUPPORT=y | 1238 | CONFIG_TRACING_SUPPORT=y |
1223 | # CONFIG_FTRACE is not set | 1239 | # CONFIG_FTRACE is not set |
1240 | # CONFIG_DMA_API_DEBUG is not set | ||
1224 | # CONFIG_SAMPLES is not set | 1241 | # CONFIG_SAMPLES is not set |
1225 | CONFIG_HAVE_ARCH_KGDB=y | 1242 | CONFIG_HAVE_ARCH_KGDB=y |
1226 | # CONFIG_PPC_DISABLE_WERROR is not set | 1243 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1242,7 +1259,6 @@ CONFIG_CRYPTO=y | |||
1242 | # | 1259 | # |
1243 | # Crypto core or helper | 1260 | # Crypto core or helper |
1244 | # | 1261 | # |
1245 | # CONFIG_CRYPTO_FIPS is not set | ||
1246 | CONFIG_CRYPTO_ALGAPI=y | 1262 | CONFIG_CRYPTO_ALGAPI=y |
1247 | CONFIG_CRYPTO_ALGAPI2=y | 1263 | CONFIG_CRYPTO_ALGAPI2=y |
1248 | CONFIG_CRYPTO_AEAD2=y | 1264 | CONFIG_CRYPTO_AEAD2=y |
@@ -1284,11 +1300,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1284 | # | 1300 | # |
1285 | # CONFIG_CRYPTO_HMAC is not set | 1301 | # CONFIG_CRYPTO_HMAC is not set |
1286 | # CONFIG_CRYPTO_XCBC is not set | 1302 | # CONFIG_CRYPTO_XCBC is not set |
1303 | # CONFIG_CRYPTO_VMAC is not set | ||
1287 | 1304 | ||
1288 | # | 1305 | # |
1289 | # Digest | 1306 | # Digest |
1290 | # | 1307 | # |
1291 | # CONFIG_CRYPTO_CRC32C is not set | 1308 | # CONFIG_CRYPTO_CRC32C is not set |
1309 | # CONFIG_CRYPTO_GHASH is not set | ||
1292 | # CONFIG_CRYPTO_MD4 is not set | 1310 | # CONFIG_CRYPTO_MD4 is not set |
1293 | CONFIG_CRYPTO_MD5=y | 1311 | CONFIG_CRYPTO_MD5=y |
1294 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1312 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig b/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig index 1ab3e4cd3018..9e9158a5b190 100644 --- a/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig +++ b/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:13 2009 | 4 | # Thu Nov 5 08:20:30 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -125,21 +127,20 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 131 | ||
130 | # | 132 | # |
131 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
132 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 139 | CONFIG_COMPAT_BRK=y |
138 | CONFIG_SLAB=y | 140 | CONFIG_SLAB=y |
139 | # CONFIG_SLUB is not set | 141 | # CONFIG_SLUB is not set |
140 | # CONFIG_SLOB is not set | 142 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 143 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 144 | CONFIG_HAVE_OPROFILE=y |
144 | # CONFIG_KPROBES is not set | 145 | # CONFIG_KPROBES is not set |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -147,6 +148,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
147 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | 153 | ||
151 | # | 154 | # |
152 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -256,6 +259,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
256 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -363,6 +368,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
363 | # CONFIG_NETFILTER is not set | 368 | # CONFIG_NETFILTER is not set |
364 | # CONFIG_IP_DCCP is not set | 369 | # CONFIG_IP_DCCP is not set |
365 | # CONFIG_IP_SCTP is not set | 370 | # CONFIG_IP_SCTP is not set |
371 | # CONFIG_RDS is not set | ||
366 | # CONFIG_TIPC is not set | 372 | # CONFIG_TIPC is not set |
367 | # CONFIG_ATM is not set | 373 | # CONFIG_ATM is not set |
368 | # CONFIG_BRIDGE is not set | 374 | # CONFIG_BRIDGE is not set |
@@ -392,6 +398,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
392 | # CONFIG_AF_RXRPC is not set | 398 | # CONFIG_AF_RXRPC is not set |
393 | CONFIG_WIRELESS=y | 399 | CONFIG_WIRELESS=y |
394 | # CONFIG_CFG80211 is not set | 400 | # CONFIG_CFG80211 is not set |
401 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
395 | CONFIG_WIRELESS_OLD_REGULATORY=y | 402 | CONFIG_WIRELESS_OLD_REGULATORY=y |
396 | # CONFIG_WIRELESS_EXT is not set | 403 | # CONFIG_WIRELESS_EXT is not set |
397 | # CONFIG_LIB80211 is not set | 404 | # CONFIG_LIB80211 is not set |
@@ -399,7 +406,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
399 | # | 406 | # |
400 | # CFG80211 needs to be enabled for MAC80211 | 407 | # CFG80211 needs to be enabled for MAC80211 |
401 | # | 408 | # |
402 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
403 | # CONFIG_WIMAX is not set | 409 | # CONFIG_WIMAX is not set |
404 | # CONFIG_RFKILL is not set | 410 | # CONFIG_RFKILL is not set |
405 | # CONFIG_NET_9P is not set | 411 | # CONFIG_NET_9P is not set |
@@ -412,6 +418,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
412 | # Generic Driver Options | 418 | # Generic Driver Options |
413 | # | 419 | # |
414 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
421 | # CONFIG_DEVTMPFS is not set | ||
415 | CONFIG_STANDALONE=y | 422 | CONFIG_STANDALONE=y |
416 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 423 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
417 | # CONFIG_FW_LOADER is not set | 424 | # CONFIG_FW_LOADER is not set |
@@ -498,6 +505,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
498 | CONFIG_SCSI_LOWLEVEL=y | 505 | CONFIG_SCSI_LOWLEVEL=y |
499 | # CONFIG_ISCSI_TCP is not set | 506 | # CONFIG_ISCSI_TCP is not set |
500 | # CONFIG_SCSI_BNX2_ISCSI is not set | 507 | # CONFIG_SCSI_BNX2_ISCSI is not set |
508 | # CONFIG_BE2ISCSI is not set | ||
501 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 509 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
502 | # CONFIG_SCSI_3W_9XXX is not set | 510 | # CONFIG_SCSI_3W_9XXX is not set |
503 | # CONFIG_SCSI_ACARD is not set | 511 | # CONFIG_SCSI_ACARD is not set |
@@ -537,11 +545,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
537 | # CONFIG_SCSI_DC390T is not set | 545 | # CONFIG_SCSI_DC390T is not set |
538 | # CONFIG_SCSI_NSP32 is not set | 546 | # CONFIG_SCSI_NSP32 is not set |
539 | # CONFIG_SCSI_DEBUG is not set | 547 | # CONFIG_SCSI_DEBUG is not set |
548 | # CONFIG_SCSI_PMCRAID is not set | ||
540 | # CONFIG_SCSI_SRP is not set | 549 | # CONFIG_SCSI_SRP is not set |
550 | # CONFIG_SCSI_BFA_FC is not set | ||
541 | # CONFIG_SCSI_DH is not set | 551 | # CONFIG_SCSI_DH is not set |
542 | # CONFIG_SCSI_OSD_INITIATOR is not set | 552 | # CONFIG_SCSI_OSD_INITIATOR is not set |
543 | CONFIG_ATA=y | 553 | CONFIG_ATA=y |
544 | # CONFIG_ATA_NONSTANDARD is not set | 554 | # CONFIG_ATA_NONSTANDARD is not set |
555 | CONFIG_ATA_VERBOSE_ERROR=y | ||
545 | CONFIG_SATA_PMP=y | 556 | CONFIG_SATA_PMP=y |
546 | # CONFIG_SATA_AHCI is not set | 557 | # CONFIG_SATA_AHCI is not set |
547 | # CONFIG_SATA_SIL24 is not set | 558 | # CONFIG_SATA_SIL24 is not set |
@@ -564,6 +575,7 @@ CONFIG_ATA_SFF=y | |||
564 | # CONFIG_PATA_ALI is not set | 575 | # CONFIG_PATA_ALI is not set |
565 | # CONFIG_PATA_AMD is not set | 576 | # CONFIG_PATA_AMD is not set |
566 | # CONFIG_PATA_ARTOP is not set | 577 | # CONFIG_PATA_ARTOP is not set |
578 | # CONFIG_PATA_ATP867X is not set | ||
567 | # CONFIG_PATA_ATIIXP is not set | 579 | # CONFIG_PATA_ATIIXP is not set |
568 | # CONFIG_PATA_CMD640_PCI is not set | 580 | # CONFIG_PATA_CMD640_PCI is not set |
569 | # CONFIG_PATA_CMD64X is not set | 581 | # CONFIG_PATA_CMD64X is not set |
@@ -591,6 +603,7 @@ CONFIG_ATA_SFF=y | |||
591 | # CONFIG_PATA_OPTIDMA is not set | 603 | # CONFIG_PATA_OPTIDMA is not set |
592 | # CONFIG_PATA_PDC_OLD is not set | 604 | # CONFIG_PATA_PDC_OLD is not set |
593 | # CONFIG_PATA_RADISYS is not set | 605 | # CONFIG_PATA_RADISYS is not set |
606 | # CONFIG_PATA_RDC is not set | ||
594 | # CONFIG_PATA_RZ1000 is not set | 607 | # CONFIG_PATA_RZ1000 is not set |
595 | # CONFIG_PATA_SC1200 is not set | 608 | # CONFIG_PATA_SC1200 is not set |
596 | # CONFIG_PATA_SERVERWORKS is not set | 609 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -610,6 +623,7 @@ CONFIG_MD_RAID1=y | |||
610 | # CONFIG_MD_RAID10 is not set | 623 | # CONFIG_MD_RAID10 is not set |
611 | CONFIG_MD_RAID456=y | 624 | CONFIG_MD_RAID456=y |
612 | CONFIG_MD_RAID6_PQ=y | 625 | CONFIG_MD_RAID6_PQ=y |
626 | # CONFIG_ASYNC_RAID6_TEST is not set | ||
613 | # CONFIG_MD_MULTIPATH is not set | 627 | # CONFIG_MD_MULTIPATH is not set |
614 | # CONFIG_MD_FAULTY is not set | 628 | # CONFIG_MD_FAULTY is not set |
615 | # CONFIG_BLK_DEV_DM is not set | 629 | # CONFIG_BLK_DEV_DM is not set |
@@ -678,7 +692,9 @@ CONFIG_MII=y | |||
678 | # CONFIG_NET_PCI is not set | 692 | # CONFIG_NET_PCI is not set |
679 | # CONFIG_B44 is not set | 693 | # CONFIG_B44 is not set |
680 | # CONFIG_KS8842 is not set | 694 | # CONFIG_KS8842 is not set |
695 | # CONFIG_KS8851_MLL is not set | ||
681 | # CONFIG_ATL2 is not set | 696 | # CONFIG_ATL2 is not set |
697 | # CONFIG_XILINX_EMACLITE is not set | ||
682 | CONFIG_NETDEV_1000=y | 698 | CONFIG_NETDEV_1000=y |
683 | # CONFIG_ACENIC is not set | 699 | # CONFIG_ACENIC is not set |
684 | # CONFIG_DL2K is not set | 700 | # CONFIG_DL2K is not set |
@@ -708,10 +724,7 @@ CONFIG_GIANFAR=y | |||
708 | # CONFIG_JME is not set | 724 | # CONFIG_JME is not set |
709 | # CONFIG_NETDEV_10000 is not set | 725 | # CONFIG_NETDEV_10000 is not set |
710 | # CONFIG_TR is not set | 726 | # CONFIG_TR is not set |
711 | 727 | CONFIG_WLAN=y | |
712 | # | ||
713 | # Wireless LAN | ||
714 | # | ||
715 | # CONFIG_WLAN_PRE80211 is not set | 728 | # CONFIG_WLAN_PRE80211 is not set |
716 | # CONFIG_WLAN_80211 is not set | 729 | # CONFIG_WLAN_80211 is not set |
717 | 730 | ||
@@ -813,6 +826,7 @@ CONFIG_GEN_RTC=y | |||
813 | CONFIG_DEVPORT=y | 826 | CONFIG_DEVPORT=y |
814 | CONFIG_I2C=y | 827 | CONFIG_I2C=y |
815 | CONFIG_I2C_BOARDINFO=y | 828 | CONFIG_I2C_BOARDINFO=y |
829 | CONFIG_I2C_COMPAT=y | ||
816 | CONFIG_I2C_CHARDEV=y | 830 | CONFIG_I2C_CHARDEV=y |
817 | CONFIG_I2C_HELPER_AUTO=y | 831 | CONFIG_I2C_HELPER_AUTO=y |
818 | 832 | ||
@@ -867,9 +881,6 @@ CONFIG_I2C_MPC=y | |||
867 | # Miscellaneous I2C Chip support | 881 | # Miscellaneous I2C Chip support |
868 | # | 882 | # |
869 | # CONFIG_DS1682 is not set | 883 | # CONFIG_DS1682 is not set |
870 | # CONFIG_SENSORS_PCF8574 is not set | ||
871 | # CONFIG_PCF8575 is not set | ||
872 | # CONFIG_SENSORS_PCA9539 is not set | ||
873 | # CONFIG_SENSORS_TSL2550 is not set | 884 | # CONFIG_SENSORS_TSL2550 is not set |
874 | # CONFIG_I2C_DEBUG_CORE is not set | 885 | # CONFIG_I2C_DEBUG_CORE is not set |
875 | # CONFIG_I2C_DEBUG_ALGO is not set | 886 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -887,6 +898,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
887 | # CONFIG_POWER_SUPPLY is not set | 898 | # CONFIG_POWER_SUPPLY is not set |
888 | CONFIG_HWMON=y | 899 | CONFIG_HWMON=y |
889 | # CONFIG_HWMON_VID is not set | 900 | # CONFIG_HWMON_VID is not set |
901 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
902 | |||
903 | # | ||
904 | # Native drivers | ||
905 | # | ||
890 | # CONFIG_SENSORS_AD7414 is not set | 906 | # CONFIG_SENSORS_AD7414 is not set |
891 | # CONFIG_SENSORS_AD7418 is not set | 907 | # CONFIG_SENSORS_AD7418 is not set |
892 | # CONFIG_SENSORS_ADM1021 is not set | 908 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -936,6 +952,7 @@ CONFIG_HWMON=y | |||
936 | # CONFIG_SENSORS_ADS7828 is not set | 952 | # CONFIG_SENSORS_ADS7828 is not set |
937 | # CONFIG_SENSORS_THMC50 is not set | 953 | # CONFIG_SENSORS_THMC50 is not set |
938 | # CONFIG_SENSORS_TMP401 is not set | 954 | # CONFIG_SENSORS_TMP401 is not set |
955 | # CONFIG_SENSORS_TMP421 is not set | ||
939 | # CONFIG_SENSORS_VIA686A is not set | 956 | # CONFIG_SENSORS_VIA686A is not set |
940 | # CONFIG_SENSORS_VT1211 is not set | 957 | # CONFIG_SENSORS_VT1211 is not set |
941 | # CONFIG_SENSORS_VT8231 is not set | 958 | # CONFIG_SENSORS_VT8231 is not set |
@@ -947,9 +964,7 @@ CONFIG_HWMON=y | |||
947 | # CONFIG_SENSORS_W83L786NG is not set | 964 | # CONFIG_SENSORS_W83L786NG is not set |
948 | # CONFIG_SENSORS_W83627HF is not set | 965 | # CONFIG_SENSORS_W83627HF is not set |
949 | # CONFIG_SENSORS_W83627EHF is not set | 966 | # CONFIG_SENSORS_W83627EHF is not set |
950 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
951 | # CONFIG_THERMAL is not set | 967 | # CONFIG_THERMAL is not set |
952 | # CONFIG_THERMAL_HWMON is not set | ||
953 | CONFIG_WATCHDOG=y | 968 | CONFIG_WATCHDOG=y |
954 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 969 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
955 | 970 | ||
@@ -987,6 +1002,7 @@ CONFIG_SSB_POSSIBLE=y | |||
987 | # CONFIG_MFD_TMIO is not set | 1002 | # CONFIG_MFD_TMIO is not set |
988 | # CONFIG_PMIC_DA903X is not set | 1003 | # CONFIG_PMIC_DA903X is not set |
989 | # CONFIG_MFD_WM8400 is not set | 1004 | # CONFIG_MFD_WM8400 is not set |
1005 | # CONFIG_MFD_WM831X is not set | ||
990 | # CONFIG_MFD_WM8350_I2C is not set | 1006 | # CONFIG_MFD_WM8350_I2C is not set |
991 | # CONFIG_MFD_PCF50633 is not set | 1007 | # CONFIG_MFD_PCF50633 is not set |
992 | # CONFIG_AB3100_CORE is not set | 1008 | # CONFIG_AB3100_CORE is not set |
@@ -997,6 +1013,7 @@ CONFIG_SSB_POSSIBLE=y | |||
997 | # Graphics support | 1013 | # Graphics support |
998 | # | 1014 | # |
999 | # CONFIG_AGP is not set | 1015 | # CONFIG_AGP is not set |
1016 | CONFIG_VGA_ARB=y | ||
1000 | # CONFIG_DRM is not set | 1017 | # CONFIG_DRM is not set |
1001 | # CONFIG_VGASTATE is not set | 1018 | # CONFIG_VGASTATE is not set |
1002 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1019 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1010,7 +1027,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1010 | # CONFIG_SOUND is not set | 1027 | # CONFIG_SOUND is not set |
1011 | CONFIG_HID_SUPPORT=y | 1028 | CONFIG_HID_SUPPORT=y |
1012 | CONFIG_HID=y | 1029 | CONFIG_HID=y |
1013 | # CONFIG_HID_DEBUG is not set | ||
1014 | # CONFIG_HIDRAW is not set | 1030 | # CONFIG_HIDRAW is not set |
1015 | 1031 | ||
1016 | # | 1032 | # |
@@ -1033,6 +1049,7 @@ CONFIG_HID_CYPRESS=y | |||
1033 | CONFIG_HID_EZKEY=y | 1049 | CONFIG_HID_EZKEY=y |
1034 | # CONFIG_HID_KYE is not set | 1050 | # CONFIG_HID_KYE is not set |
1035 | CONFIG_HID_GYRATION=y | 1051 | CONFIG_HID_GYRATION=y |
1052 | # CONFIG_HID_TWINHAN is not set | ||
1036 | # CONFIG_HID_KENSINGTON is not set | 1053 | # CONFIG_HID_KENSINGTON is not set |
1037 | CONFIG_HID_LOGITECH=y | 1054 | CONFIG_HID_LOGITECH=y |
1038 | # CONFIG_LOGITECH_FF is not set | 1055 | # CONFIG_LOGITECH_FF is not set |
@@ -1085,6 +1102,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1085 | # CONFIG_USB_OXU210HP_HCD is not set | 1102 | # CONFIG_USB_OXU210HP_HCD is not set |
1086 | # CONFIG_USB_ISP116X_HCD is not set | 1103 | # CONFIG_USB_ISP116X_HCD is not set |
1087 | # CONFIG_USB_ISP1760_HCD is not set | 1104 | # CONFIG_USB_ISP1760_HCD is not set |
1105 | # CONFIG_USB_ISP1362_HCD is not set | ||
1088 | # CONFIG_USB_OHCI_HCD is not set | 1106 | # CONFIG_USB_OHCI_HCD is not set |
1089 | # CONFIG_USB_UHCI_HCD is not set | 1107 | # CONFIG_USB_UHCI_HCD is not set |
1090 | # CONFIG_USB_SL811_HCD is not set | 1108 | # CONFIG_USB_SL811_HCD is not set |
@@ -1142,6 +1160,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1142 | # CONFIG_USB_LD is not set | 1160 | # CONFIG_USB_LD is not set |
1143 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1161 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1144 | # CONFIG_USB_IOWARRIOR is not set | 1162 | # CONFIG_USB_IOWARRIOR is not set |
1163 | # CONFIG_USB_TEST is not set | ||
1145 | # CONFIG_USB_ISIGHTFW is not set | 1164 | # CONFIG_USB_ISIGHTFW is not set |
1146 | # CONFIG_USB_VST is not set | 1165 | # CONFIG_USB_VST is not set |
1147 | # CONFIG_USB_GADGET is not set | 1166 | # CONFIG_USB_GADGET is not set |
@@ -1188,6 +1207,7 @@ CONFIG_FS_MBCACHE=y | |||
1188 | # CONFIG_GFS2_FS is not set | 1207 | # CONFIG_GFS2_FS is not set |
1189 | # CONFIG_OCFS2_FS is not set | 1208 | # CONFIG_OCFS2_FS is not set |
1190 | # CONFIG_BTRFS_FS is not set | 1209 | # CONFIG_BTRFS_FS is not set |
1210 | # CONFIG_NILFS2_FS is not set | ||
1191 | CONFIG_FILE_LOCKING=y | 1211 | CONFIG_FILE_LOCKING=y |
1192 | CONFIG_FSNOTIFY=y | 1212 | CONFIG_FSNOTIFY=y |
1193 | CONFIG_DNOTIFY=y | 1213 | CONFIG_DNOTIFY=y |
@@ -1246,7 +1266,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1246 | # CONFIG_ROMFS_FS is not set | 1266 | # CONFIG_ROMFS_FS is not set |
1247 | # CONFIG_SYSV_FS is not set | 1267 | # CONFIG_SYSV_FS is not set |
1248 | # CONFIG_UFS_FS is not set | 1268 | # CONFIG_UFS_FS is not set |
1249 | # CONFIG_NILFS2_FS is not set | ||
1250 | CONFIG_NETWORK_FILESYSTEMS=y | 1269 | CONFIG_NETWORK_FILESYSTEMS=y |
1251 | CONFIG_NFS_FS=y | 1270 | CONFIG_NFS_FS=y |
1252 | CONFIG_NFS_V3=y | 1271 | CONFIG_NFS_V3=y |
@@ -1361,6 +1380,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1361 | # CONFIG_ENABLE_MUST_CHECK is not set | 1380 | # CONFIG_ENABLE_MUST_CHECK is not set |
1362 | CONFIG_FRAME_WARN=1024 | 1381 | CONFIG_FRAME_WARN=1024 |
1363 | # CONFIG_MAGIC_SYSRQ is not set | 1382 | # CONFIG_MAGIC_SYSRQ is not set |
1383 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1364 | # CONFIG_UNUSED_SYMBOLS is not set | 1384 | # CONFIG_UNUSED_SYMBOLS is not set |
1365 | # CONFIG_DEBUG_FS is not set | 1385 | # CONFIG_DEBUG_FS is not set |
1366 | # CONFIG_HEADERS_CHECK is not set | 1386 | # CONFIG_HEADERS_CHECK is not set |
@@ -1376,6 +1396,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1376 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1396 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1377 | CONFIG_TRACING_SUPPORT=y | 1397 | CONFIG_TRACING_SUPPORT=y |
1378 | # CONFIG_FTRACE is not set | 1398 | # CONFIG_FTRACE is not set |
1399 | # CONFIG_DMA_API_DEBUG is not set | ||
1379 | # CONFIG_SAMPLES is not set | 1400 | # CONFIG_SAMPLES is not set |
1380 | CONFIG_HAVE_ARCH_KGDB=y | 1401 | CONFIG_HAVE_ARCH_KGDB=y |
1381 | # CONFIG_PPC_DISABLE_WERROR is not set | 1402 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1396,12 +1417,13 @@ CONFIG_XOR_BLOCKS=y | |||
1396 | CONFIG_ASYNC_CORE=y | 1417 | CONFIG_ASYNC_CORE=y |
1397 | CONFIG_ASYNC_MEMCPY=y | 1418 | CONFIG_ASYNC_MEMCPY=y |
1398 | CONFIG_ASYNC_XOR=y | 1419 | CONFIG_ASYNC_XOR=y |
1420 | CONFIG_ASYNC_PQ=y | ||
1421 | CONFIG_ASYNC_RAID6_RECOV=y | ||
1399 | CONFIG_CRYPTO=y | 1422 | CONFIG_CRYPTO=y |
1400 | 1423 | ||
1401 | # | 1424 | # |
1402 | # Crypto core or helper | 1425 | # Crypto core or helper |
1403 | # | 1426 | # |
1404 | # CONFIG_CRYPTO_FIPS is not set | ||
1405 | CONFIG_CRYPTO_ALGAPI=y | 1427 | CONFIG_CRYPTO_ALGAPI=y |
1406 | CONFIG_CRYPTO_ALGAPI2=y | 1428 | CONFIG_CRYPTO_ALGAPI2=y |
1407 | CONFIG_CRYPTO_AEAD2=y | 1429 | CONFIG_CRYPTO_AEAD2=y |
@@ -1443,11 +1465,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1443 | # | 1465 | # |
1444 | # CONFIG_CRYPTO_HMAC is not set | 1466 | # CONFIG_CRYPTO_HMAC is not set |
1445 | # CONFIG_CRYPTO_XCBC is not set | 1467 | # CONFIG_CRYPTO_XCBC is not set |
1468 | # CONFIG_CRYPTO_VMAC is not set | ||
1446 | 1469 | ||
1447 | # | 1470 | # |
1448 | # Digest | 1471 | # Digest |
1449 | # | 1472 | # |
1450 | # CONFIG_CRYPTO_CRC32C is not set | 1473 | # CONFIG_CRYPTO_CRC32C is not set |
1474 | # CONFIG_CRYPTO_GHASH is not set | ||
1451 | # CONFIG_CRYPTO_MD4 is not set | 1475 | # CONFIG_CRYPTO_MD4 is not set |
1452 | CONFIG_CRYPTO_MD5=y | 1476 | CONFIG_CRYPTO_MD5=y |
1453 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1477 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/83xx/sbc834x_defconfig b/arch/powerpc/configs/83xx/sbc834x_defconfig index 3a68f861b1bd..6b399154970f 100644 --- a/arch/powerpc/configs/83xx/sbc834x_defconfig +++ b/arch/powerpc/configs/83xx/sbc834x_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc5 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Tue Aug 11 19:57:51 2009 | 4 | # Thu Nov 5 08:20:31 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 96 | CONFIG_GROUP_SCHED=y |
@@ -124,27 +126,28 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 130 | ||
129 | # | 131 | # |
130 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
131 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 137 | CONFIG_PCI_QUIRKS=y |
135 | # CONFIG_STRIP_ASM_SYMS is not set | ||
136 | CONFIG_COMPAT_BRK=y | 138 | CONFIG_COMPAT_BRK=y |
137 | CONFIG_SLAB=y | 139 | CONFIG_SLAB=y |
138 | # CONFIG_SLUB is not set | 140 | # CONFIG_SLUB is not set |
139 | # CONFIG_SLOB is not set | 141 | # CONFIG_SLOB is not set |
140 | # CONFIG_PROFILING is not set | 142 | # CONFIG_PROFILING is not set |
141 | # CONFIG_MARKERS is not set | ||
142 | CONFIG_HAVE_OPROFILE=y | 143 | CONFIG_HAVE_OPROFILE=y |
143 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
144 | CONFIG_HAVE_IOREMAP_PROT=y | 145 | CONFIG_HAVE_IOREMAP_PROT=y |
145 | CONFIG_HAVE_KPROBES=y | 146 | CONFIG_HAVE_KPROBES=y |
146 | CONFIG_HAVE_KRETPROBES=y | 147 | CONFIG_HAVE_KRETPROBES=y |
147 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 148 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
149 | CONFIG_HAVE_DMA_ATTRS=y | ||
150 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
148 | 151 | ||
149 | # | 152 | # |
150 | # GCOV-based kernel profiling | 153 | # GCOV-based kernel profiling |
@@ -254,6 +257,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
255 | # CONFIG_KEXEC is not set | 258 | # CONFIG_KEXEC is not set |
256 | # CONFIG_CRASH_DUMP is not set | 259 | # CONFIG_CRASH_DUMP is not set |
260 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
257 | CONFIG_ARCH_FLATMEM_ENABLE=y | 261 | CONFIG_ARCH_FLATMEM_ENABLE=y |
258 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 262 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
259 | CONFIG_SELECT_MEMORY_MODEL=y | 263 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -271,6 +275,7 @@ CONFIG_BOUNCE=y | |||
271 | CONFIG_VIRT_TO_BUS=y | 275 | CONFIG_VIRT_TO_BUS=y |
272 | CONFIG_HAVE_MLOCK=y | 276 | CONFIG_HAVE_MLOCK=y |
273 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
278 | # CONFIG_KSM is not set | ||
274 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 279 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
275 | CONFIG_PPC_4K_PAGES=y | 280 | CONFIG_PPC_4K_PAGES=y |
276 | # CONFIG_PPC_16K_PAGES is not set | 281 | # CONFIG_PPC_16K_PAGES is not set |
@@ -366,6 +371,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
366 | # CONFIG_NETFILTER is not set | 371 | # CONFIG_NETFILTER is not set |
367 | # CONFIG_IP_DCCP is not set | 372 | # CONFIG_IP_DCCP is not set |
368 | # CONFIG_IP_SCTP is not set | 373 | # CONFIG_IP_SCTP is not set |
374 | # CONFIG_RDS is not set | ||
369 | # CONFIG_TIPC is not set | 375 | # CONFIG_TIPC is not set |
370 | # CONFIG_ATM is not set | 376 | # CONFIG_ATM is not set |
371 | # CONFIG_BRIDGE is not set | 377 | # CONFIG_BRIDGE is not set |
@@ -395,6 +401,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
395 | # CONFIG_AF_RXRPC is not set | 401 | # CONFIG_AF_RXRPC is not set |
396 | CONFIG_WIRELESS=y | 402 | CONFIG_WIRELESS=y |
397 | # CONFIG_CFG80211 is not set | 403 | # CONFIG_CFG80211 is not set |
404 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
398 | CONFIG_WIRELESS_OLD_REGULATORY=y | 405 | CONFIG_WIRELESS_OLD_REGULATORY=y |
399 | # CONFIG_WIRELESS_EXT is not set | 406 | # CONFIG_WIRELESS_EXT is not set |
400 | # CONFIG_LIB80211 is not set | 407 | # CONFIG_LIB80211 is not set |
@@ -402,7 +409,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
402 | # | 409 | # |
403 | # CFG80211 needs to be enabled for MAC80211 | 410 | # CFG80211 needs to be enabled for MAC80211 |
404 | # | 411 | # |
405 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
406 | # CONFIG_WIMAX is not set | 412 | # CONFIG_WIMAX is not set |
407 | # CONFIG_RFKILL is not set | 413 | # CONFIG_RFKILL is not set |
408 | # CONFIG_NET_9P is not set | 414 | # CONFIG_NET_9P is not set |
@@ -415,6 +421,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
415 | # Generic Driver Options | 421 | # Generic Driver Options |
416 | # | 422 | # |
417 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 423 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
424 | # CONFIG_DEVTMPFS is not set | ||
418 | CONFIG_STANDALONE=y | 425 | CONFIG_STANDALONE=y |
419 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 426 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
420 | # CONFIG_FW_LOADER is not set | 427 | # CONFIG_FW_LOADER is not set |
@@ -422,9 +429,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
422 | # CONFIG_CONNECTOR is not set | 429 | # CONFIG_CONNECTOR is not set |
423 | CONFIG_MTD=y | 430 | CONFIG_MTD=y |
424 | # CONFIG_MTD_DEBUG is not set | 431 | # CONFIG_MTD_DEBUG is not set |
432 | # CONFIG_MTD_TESTS is not set | ||
425 | CONFIG_MTD_CONCAT=y | 433 | CONFIG_MTD_CONCAT=y |
426 | CONFIG_MTD_PARTITIONS=y | 434 | CONFIG_MTD_PARTITIONS=y |
427 | # CONFIG_MTD_TESTS is not set | ||
428 | # CONFIG_MTD_REDBOOT_PARTS is not set | 435 | # CONFIG_MTD_REDBOOT_PARTS is not set |
429 | CONFIG_MTD_CMDLINE_PARTS=y | 436 | CONFIG_MTD_CMDLINE_PARTS=y |
430 | CONFIG_MTD_OF_PARTS=y | 437 | CONFIG_MTD_OF_PARTS=y |
@@ -651,7 +658,9 @@ CONFIG_MII=y | |||
651 | # CONFIG_NET_PCI is not set | 658 | # CONFIG_NET_PCI is not set |
652 | # CONFIG_B44 is not set | 659 | # CONFIG_B44 is not set |
653 | # CONFIG_KS8842 is not set | 660 | # CONFIG_KS8842 is not set |
661 | # CONFIG_KS8851_MLL is not set | ||
654 | # CONFIG_ATL2 is not set | 662 | # CONFIG_ATL2 is not set |
663 | # CONFIG_XILINX_EMACLITE is not set | ||
655 | CONFIG_NETDEV_1000=y | 664 | CONFIG_NETDEV_1000=y |
656 | # CONFIG_ACENIC is not set | 665 | # CONFIG_ACENIC is not set |
657 | # CONFIG_DL2K is not set | 666 | # CONFIG_DL2K is not set |
@@ -681,10 +690,7 @@ CONFIG_GIANFAR=y | |||
681 | # CONFIG_JME is not set | 690 | # CONFIG_JME is not set |
682 | # CONFIG_NETDEV_10000 is not set | 691 | # CONFIG_NETDEV_10000 is not set |
683 | # CONFIG_TR is not set | 692 | # CONFIG_TR is not set |
684 | 693 | CONFIG_WLAN=y | |
685 | # | ||
686 | # Wireless LAN | ||
687 | # | ||
688 | # CONFIG_WLAN_PRE80211 is not set | 694 | # CONFIG_WLAN_PRE80211 is not set |
689 | # CONFIG_WLAN_80211 is not set | 695 | # CONFIG_WLAN_80211 is not set |
690 | 696 | ||
@@ -786,6 +792,7 @@ CONFIG_GEN_RTC=y | |||
786 | CONFIG_DEVPORT=y | 792 | CONFIG_DEVPORT=y |
787 | CONFIG_I2C=y | 793 | CONFIG_I2C=y |
788 | CONFIG_I2C_BOARDINFO=y | 794 | CONFIG_I2C_BOARDINFO=y |
795 | CONFIG_I2C_COMPAT=y | ||
789 | CONFIG_I2C_CHARDEV=y | 796 | CONFIG_I2C_CHARDEV=y |
790 | CONFIG_I2C_HELPER_AUTO=y | 797 | CONFIG_I2C_HELPER_AUTO=y |
791 | 798 | ||
@@ -840,9 +847,6 @@ CONFIG_I2C_MPC=y | |||
840 | # Miscellaneous I2C Chip support | 847 | # Miscellaneous I2C Chip support |
841 | # | 848 | # |
842 | # CONFIG_DS1682 is not set | 849 | # CONFIG_DS1682 is not set |
843 | # CONFIG_SENSORS_PCF8574 is not set | ||
844 | # CONFIG_PCF8575 is not set | ||
845 | # CONFIG_SENSORS_PCA9539 is not set | ||
846 | # CONFIG_SENSORS_TSL2550 is not set | 850 | # CONFIG_SENSORS_TSL2550 is not set |
847 | # CONFIG_I2C_DEBUG_CORE is not set | 851 | # CONFIG_I2C_DEBUG_CORE is not set |
848 | # CONFIG_I2C_DEBUG_ALGO is not set | 852 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -860,6 +864,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
860 | # CONFIG_POWER_SUPPLY is not set | 864 | # CONFIG_POWER_SUPPLY is not set |
861 | CONFIG_HWMON=y | 865 | CONFIG_HWMON=y |
862 | # CONFIG_HWMON_VID is not set | 866 | # CONFIG_HWMON_VID is not set |
867 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
868 | |||
869 | # | ||
870 | # Native drivers | ||
871 | # | ||
863 | # CONFIG_SENSORS_AD7414 is not set | 872 | # CONFIG_SENSORS_AD7414 is not set |
864 | # CONFIG_SENSORS_AD7418 is not set | 873 | # CONFIG_SENSORS_AD7418 is not set |
865 | # CONFIG_SENSORS_ADM1021 is not set | 874 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -909,6 +918,7 @@ CONFIG_HWMON=y | |||
909 | # CONFIG_SENSORS_ADS7828 is not set | 918 | # CONFIG_SENSORS_ADS7828 is not set |
910 | # CONFIG_SENSORS_THMC50 is not set | 919 | # CONFIG_SENSORS_THMC50 is not set |
911 | # CONFIG_SENSORS_TMP401 is not set | 920 | # CONFIG_SENSORS_TMP401 is not set |
921 | # CONFIG_SENSORS_TMP421 is not set | ||
912 | # CONFIG_SENSORS_VIA686A is not set | 922 | # CONFIG_SENSORS_VIA686A is not set |
913 | # CONFIG_SENSORS_VT1211 is not set | 923 | # CONFIG_SENSORS_VT1211 is not set |
914 | # CONFIG_SENSORS_VT8231 is not set | 924 | # CONFIG_SENSORS_VT8231 is not set |
@@ -920,9 +930,7 @@ CONFIG_HWMON=y | |||
920 | # CONFIG_SENSORS_W83L786NG is not set | 930 | # CONFIG_SENSORS_W83L786NG is not set |
921 | # CONFIG_SENSORS_W83627HF is not set | 931 | # CONFIG_SENSORS_W83627HF is not set |
922 | # CONFIG_SENSORS_W83627EHF is not set | 932 | # CONFIG_SENSORS_W83627EHF is not set |
923 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
924 | # CONFIG_THERMAL is not set | 933 | # CONFIG_THERMAL is not set |
925 | # CONFIG_THERMAL_HWMON is not set | ||
926 | CONFIG_WATCHDOG=y | 934 | CONFIG_WATCHDOG=y |
927 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 935 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
928 | 936 | ||
@@ -960,6 +968,7 @@ CONFIG_SSB_POSSIBLE=y | |||
960 | # CONFIG_MFD_TMIO is not set | 968 | # CONFIG_MFD_TMIO is not set |
961 | # CONFIG_PMIC_DA903X is not set | 969 | # CONFIG_PMIC_DA903X is not set |
962 | # CONFIG_MFD_WM8400 is not set | 970 | # CONFIG_MFD_WM8400 is not set |
971 | # CONFIG_MFD_WM831X is not set | ||
963 | # CONFIG_MFD_WM8350_I2C is not set | 972 | # CONFIG_MFD_WM8350_I2C is not set |
964 | # CONFIG_MFD_PCF50633 is not set | 973 | # CONFIG_MFD_PCF50633 is not set |
965 | # CONFIG_AB3100_CORE is not set | 974 | # CONFIG_AB3100_CORE is not set |
@@ -970,6 +979,7 @@ CONFIG_SSB_POSSIBLE=y | |||
970 | # Graphics support | 979 | # Graphics support |
971 | # | 980 | # |
972 | # CONFIG_AGP is not set | 981 | # CONFIG_AGP is not set |
982 | CONFIG_VGA_ARB=y | ||
973 | # CONFIG_DRM is not set | 983 | # CONFIG_DRM is not set |
974 | # CONFIG_VGASTATE is not set | 984 | # CONFIG_VGASTATE is not set |
975 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 985 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -983,7 +993,6 @@ CONFIG_SSB_POSSIBLE=y | |||
983 | # CONFIG_SOUND is not set | 993 | # CONFIG_SOUND is not set |
984 | CONFIG_HID_SUPPORT=y | 994 | CONFIG_HID_SUPPORT=y |
985 | CONFIG_HID=y | 995 | CONFIG_HID=y |
986 | # CONFIG_HID_DEBUG is not set | ||
987 | # CONFIG_HIDRAW is not set | 996 | # CONFIG_HIDRAW is not set |
988 | 997 | ||
989 | # | 998 | # |
@@ -1035,6 +1044,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1035 | # CONFIG_USB_OXU210HP_HCD is not set | 1044 | # CONFIG_USB_OXU210HP_HCD is not set |
1036 | # CONFIG_USB_ISP116X_HCD is not set | 1045 | # CONFIG_USB_ISP116X_HCD is not set |
1037 | # CONFIG_USB_ISP1760_HCD is not set | 1046 | # CONFIG_USB_ISP1760_HCD is not set |
1047 | # CONFIG_USB_ISP1362_HCD is not set | ||
1038 | # CONFIG_USB_OHCI_HCD is not set | 1048 | # CONFIG_USB_OHCI_HCD is not set |
1039 | # CONFIG_USB_UHCI_HCD is not set | 1049 | # CONFIG_USB_UHCI_HCD is not set |
1040 | # CONFIG_USB_SL811_HCD is not set | 1050 | # CONFIG_USB_SL811_HCD is not set |
@@ -1148,6 +1158,7 @@ CONFIG_JBD=y | |||
1148 | # CONFIG_GFS2_FS is not set | 1158 | # CONFIG_GFS2_FS is not set |
1149 | # CONFIG_OCFS2_FS is not set | 1159 | # CONFIG_OCFS2_FS is not set |
1150 | # CONFIG_BTRFS_FS is not set | 1160 | # CONFIG_BTRFS_FS is not set |
1161 | # CONFIG_NILFS2_FS is not set | ||
1151 | CONFIG_FILE_LOCKING=y | 1162 | CONFIG_FILE_LOCKING=y |
1152 | CONFIG_FSNOTIFY=y | 1163 | CONFIG_FSNOTIFY=y |
1153 | CONFIG_DNOTIFY=y | 1164 | CONFIG_DNOTIFY=y |
@@ -1207,7 +1218,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1207 | # CONFIG_ROMFS_FS is not set | 1218 | # CONFIG_ROMFS_FS is not set |
1208 | # CONFIG_SYSV_FS is not set | 1219 | # CONFIG_SYSV_FS is not set |
1209 | # CONFIG_UFS_FS is not set | 1220 | # CONFIG_UFS_FS is not set |
1210 | # CONFIG_NILFS2_FS is not set | ||
1211 | CONFIG_NETWORK_FILESYSTEMS=y | 1221 | CONFIG_NETWORK_FILESYSTEMS=y |
1212 | CONFIG_NFS_FS=y | 1222 | CONFIG_NFS_FS=y |
1213 | CONFIG_NFS_V3=y | 1223 | CONFIG_NFS_V3=y |
@@ -1306,6 +1316,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1306 | CONFIG_ENABLE_MUST_CHECK=y | 1316 | CONFIG_ENABLE_MUST_CHECK=y |
1307 | CONFIG_FRAME_WARN=1024 | 1317 | CONFIG_FRAME_WARN=1024 |
1308 | # CONFIG_MAGIC_SYSRQ is not set | 1318 | # CONFIG_MAGIC_SYSRQ is not set |
1319 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1309 | # CONFIG_UNUSED_SYMBOLS is not set | 1320 | # CONFIG_UNUSED_SYMBOLS is not set |
1310 | # CONFIG_DEBUG_FS is not set | 1321 | # CONFIG_DEBUG_FS is not set |
1311 | # CONFIG_HEADERS_CHECK is not set | 1322 | # CONFIG_HEADERS_CHECK is not set |
@@ -1321,6 +1332,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1321 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1332 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1322 | CONFIG_TRACING_SUPPORT=y | 1333 | CONFIG_TRACING_SUPPORT=y |
1323 | # CONFIG_FTRACE is not set | 1334 | # CONFIG_FTRACE is not set |
1335 | # CONFIG_DMA_API_DEBUG is not set | ||
1324 | # CONFIG_SAMPLES is not set | 1336 | # CONFIG_SAMPLES is not set |
1325 | CONFIG_HAVE_ARCH_KGDB=y | 1337 | CONFIG_HAVE_ARCH_KGDB=y |
1326 | # CONFIG_PPC_DISABLE_WERROR is not set | 1338 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1342,7 +1354,6 @@ CONFIG_CRYPTO=y | |||
1342 | # | 1354 | # |
1343 | # Crypto core or helper | 1355 | # Crypto core or helper |
1344 | # | 1356 | # |
1345 | # CONFIG_CRYPTO_FIPS is not set | ||
1346 | CONFIG_CRYPTO_ALGAPI=y | 1357 | CONFIG_CRYPTO_ALGAPI=y |
1347 | CONFIG_CRYPTO_ALGAPI2=y | 1358 | CONFIG_CRYPTO_ALGAPI2=y |
1348 | CONFIG_CRYPTO_AEAD2=y | 1359 | CONFIG_CRYPTO_AEAD2=y |
@@ -1384,11 +1395,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1384 | # | 1395 | # |
1385 | # CONFIG_CRYPTO_HMAC is not set | 1396 | # CONFIG_CRYPTO_HMAC is not set |
1386 | # CONFIG_CRYPTO_XCBC is not set | 1397 | # CONFIG_CRYPTO_XCBC is not set |
1398 | # CONFIG_CRYPTO_VMAC is not set | ||
1387 | 1399 | ||
1388 | # | 1400 | # |
1389 | # Digest | 1401 | # Digest |
1390 | # | 1402 | # |
1391 | # CONFIG_CRYPTO_CRC32C is not set | 1403 | # CONFIG_CRYPTO_CRC32C is not set |
1404 | # CONFIG_CRYPTO_GHASH is not set | ||
1392 | # CONFIG_CRYPTO_MD4 is not set | 1405 | # CONFIG_CRYPTO_MD4 is not set |
1393 | CONFIG_CRYPTO_MD5=y | 1406 | CONFIG_CRYPTO_MD5=y |
1394 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1407 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/ksi8560_defconfig b/arch/powerpc/configs/85xx/ksi8560_defconfig index ff04e1028f5e..a5bde8da462c 100644 --- a/arch/powerpc/configs/85xx/ksi8560_defconfig +++ b/arch/powerpc/configs/85xx/ksi8560_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:14 2009 | 4 | # Thu Nov 5 08:20:32 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | # CONFIG_GROUP_SCHED is not set | 98 | # CONFIG_GROUP_SCHED is not set |
@@ -123,28 +126,29 @@ CONFIG_TIMERFD=y | |||
123 | CONFIG_EVENTFD=y | 126 | CONFIG_EVENTFD=y |
124 | CONFIG_SHMEM=y | 127 | CONFIG_SHMEM=y |
125 | CONFIG_AIO=y | 128 | CONFIG_AIO=y |
126 | CONFIG_HAVE_PERF_COUNTERS=y | 129 | CONFIG_HAVE_PERF_EVENTS=y |
127 | 130 | ||
128 | # | 131 | # |
129 | # Performance Counters | 132 | # Kernel Performance Events And Counters |
130 | # | 133 | # |
134 | # CONFIG_PERF_EVENTS is not set | ||
131 | # CONFIG_PERF_COUNTERS is not set | 135 | # CONFIG_PERF_COUNTERS is not set |
132 | CONFIG_VM_EVENT_COUNTERS=y | 136 | CONFIG_VM_EVENT_COUNTERS=y |
133 | CONFIG_SLUB_DEBUG=y | 137 | CONFIG_SLUB_DEBUG=y |
134 | # CONFIG_STRIP_ASM_SYMS is not set | ||
135 | CONFIG_COMPAT_BRK=y | 138 | CONFIG_COMPAT_BRK=y |
136 | # CONFIG_SLAB is not set | 139 | # CONFIG_SLAB is not set |
137 | CONFIG_SLUB=y | 140 | CONFIG_SLUB=y |
138 | # CONFIG_SLOB is not set | 141 | # CONFIG_SLOB is not set |
139 | # CONFIG_PROFILING is not set | 142 | # CONFIG_PROFILING is not set |
140 | # CONFIG_MARKERS is not set | ||
141 | CONFIG_HAVE_OPROFILE=y | 143 | CONFIG_HAVE_OPROFILE=y |
142 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
143 | CONFIG_HAVE_IOREMAP_PROT=y | 145 | CONFIG_HAVE_IOREMAP_PROT=y |
144 | CONFIG_HAVE_KPROBES=y | 146 | CONFIG_HAVE_KPROBES=y |
145 | CONFIG_HAVE_KRETPROBES=y | 147 | CONFIG_HAVE_KRETPROBES=y |
146 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 148 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
149 | CONFIG_HAVE_DMA_ATTRS=y | ||
147 | CONFIG_HAVE_CLK=y | 150 | CONFIG_HAVE_CLK=y |
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
148 | 152 | ||
149 | # | 153 | # |
150 | # GCOV-based kernel profiling | 154 | # GCOV-based kernel profiling |
@@ -188,6 +192,7 @@ CONFIG_MPC85xx=y | |||
188 | # CONFIG_MPC85xx_MDS is not set | 192 | # CONFIG_MPC85xx_MDS is not set |
189 | # CONFIG_MPC8536_DS is not set | 193 | # CONFIG_MPC8536_DS is not set |
190 | # CONFIG_MPC85xx_DS is not set | 194 | # CONFIG_MPC85xx_DS is not set |
195 | # CONFIG_MPC85xx_RDB is not set | ||
191 | # CONFIG_SOCRATES is not set | 196 | # CONFIG_SOCRATES is not set |
192 | CONFIG_KSI8560=y | 197 | CONFIG_KSI8560=y |
193 | # CONFIG_XES_MPC85xx is not set | 198 | # CONFIG_XES_MPC85xx is not set |
@@ -243,6 +248,7 @@ CONFIG_MATH_EMULATION=y | |||
243 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 248 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
244 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 249 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
245 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
251 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
246 | CONFIG_ARCH_FLATMEM_ENABLE=y | 252 | CONFIG_ARCH_FLATMEM_ENABLE=y |
247 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 253 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
248 | CONFIG_SELECT_MEMORY_MODEL=y | 254 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -260,6 +266,7 @@ CONFIG_BOUNCE=y | |||
260 | CONFIG_VIRT_TO_BUS=y | 266 | CONFIG_VIRT_TO_BUS=y |
261 | CONFIG_HAVE_MLOCK=y | 267 | CONFIG_HAVE_MLOCK=y |
262 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 268 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
269 | # CONFIG_KSM is not set | ||
263 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 270 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
264 | CONFIG_PPC_4K_PAGES=y | 271 | CONFIG_PPC_4K_PAGES=y |
265 | # CONFIG_PPC_16K_PAGES is not set | 272 | # CONFIG_PPC_16K_PAGES is not set |
@@ -348,6 +355,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
348 | # CONFIG_NETFILTER is not set | 355 | # CONFIG_NETFILTER is not set |
349 | # CONFIG_IP_DCCP is not set | 356 | # CONFIG_IP_DCCP is not set |
350 | # CONFIG_IP_SCTP is not set | 357 | # CONFIG_IP_SCTP is not set |
358 | # CONFIG_RDS is not set | ||
351 | # CONFIG_TIPC is not set | 359 | # CONFIG_TIPC is not set |
352 | # CONFIG_ATM is not set | 360 | # CONFIG_ATM is not set |
353 | # CONFIG_BRIDGE is not set | 361 | # CONFIG_BRIDGE is not set |
@@ -377,6 +385,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
377 | # CONFIG_AF_RXRPC is not set | 385 | # CONFIG_AF_RXRPC is not set |
378 | CONFIG_WIRELESS=y | 386 | CONFIG_WIRELESS=y |
379 | # CONFIG_CFG80211 is not set | 387 | # CONFIG_CFG80211 is not set |
388 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
380 | CONFIG_WIRELESS_OLD_REGULATORY=y | 389 | CONFIG_WIRELESS_OLD_REGULATORY=y |
381 | # CONFIG_WIRELESS_EXT is not set | 390 | # CONFIG_WIRELESS_EXT is not set |
382 | # CONFIG_LIB80211 is not set | 391 | # CONFIG_LIB80211 is not set |
@@ -384,7 +393,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
384 | # | 393 | # |
385 | # CFG80211 needs to be enabled for MAC80211 | 394 | # CFG80211 needs to be enabled for MAC80211 |
386 | # | 395 | # |
387 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
388 | # CONFIG_WIMAX is not set | 396 | # CONFIG_WIMAX is not set |
389 | # CONFIG_RFKILL is not set | 397 | # CONFIG_RFKILL is not set |
390 | # CONFIG_NET_9P is not set | 398 | # CONFIG_NET_9P is not set |
@@ -397,6 +405,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
397 | # Generic Driver Options | 405 | # Generic Driver Options |
398 | # | 406 | # |
399 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 407 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
408 | # CONFIG_DEVTMPFS is not set | ||
400 | CONFIG_STANDALONE=y | 409 | CONFIG_STANDALONE=y |
401 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 410 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
402 | # CONFIG_FW_LOADER is not set | 411 | # CONFIG_FW_LOADER is not set |
@@ -582,6 +591,8 @@ CONFIG_MII=y | |||
582 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 591 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
583 | # CONFIG_B44 is not set | 592 | # CONFIG_B44 is not set |
584 | # CONFIG_KS8842 is not set | 593 | # CONFIG_KS8842 is not set |
594 | # CONFIG_KS8851_MLL is not set | ||
595 | # CONFIG_XILINX_EMACLITE is not set | ||
585 | CONFIG_FS_ENET=y | 596 | CONFIG_FS_ENET=y |
586 | # CONFIG_FS_ENET_HAS_SCC is not set | 597 | # CONFIG_FS_ENET_HAS_SCC is not set |
587 | CONFIG_FS_ENET_HAS_FCC=y | 598 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -591,10 +602,7 @@ CONFIG_FSL_PQ_MDIO=y | |||
591 | CONFIG_GIANFAR=y | 602 | CONFIG_GIANFAR=y |
592 | # CONFIG_MV643XX_ETH is not set | 603 | # CONFIG_MV643XX_ETH is not set |
593 | CONFIG_NETDEV_10000=y | 604 | CONFIG_NETDEV_10000=y |
594 | 605 | CONFIG_WLAN=y | |
595 | # | ||
596 | # Wireless LAN | ||
597 | # | ||
598 | # CONFIG_WLAN_PRE80211 is not set | 606 | # CONFIG_WLAN_PRE80211 is not set |
599 | # CONFIG_WLAN_80211 is not set | 607 | # CONFIG_WLAN_80211 is not set |
600 | 608 | ||
@@ -704,10 +712,19 @@ CONFIG_GPIOLIB=y | |||
704 | # | 712 | # |
705 | # SPI GPIO expanders: | 713 | # SPI GPIO expanders: |
706 | # | 714 | # |
715 | |||
716 | # | ||
717 | # AC97 GPIO expanders: | ||
718 | # | ||
707 | # CONFIG_W1 is not set | 719 | # CONFIG_W1 is not set |
708 | # CONFIG_POWER_SUPPLY is not set | 720 | # CONFIG_POWER_SUPPLY is not set |
709 | CONFIG_HWMON=y | 721 | CONFIG_HWMON=y |
710 | # CONFIG_HWMON_VID is not set | 722 | # CONFIG_HWMON_VID is not set |
723 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
724 | |||
725 | # | ||
726 | # Native drivers | ||
727 | # | ||
711 | # CONFIG_SENSORS_F71805F is not set | 728 | # CONFIG_SENSORS_F71805F is not set |
712 | # CONFIG_SENSORS_F71882FG is not set | 729 | # CONFIG_SENSORS_F71882FG is not set |
713 | # CONFIG_SENSORS_IT87 is not set | 730 | # CONFIG_SENSORS_IT87 is not set |
@@ -719,9 +736,7 @@ CONFIG_HWMON=y | |||
719 | # CONFIG_SENSORS_VT1211 is not set | 736 | # CONFIG_SENSORS_VT1211 is not set |
720 | # CONFIG_SENSORS_W83627HF is not set | 737 | # CONFIG_SENSORS_W83627HF is not set |
721 | # CONFIG_SENSORS_W83627EHF is not set | 738 | # CONFIG_SENSORS_W83627EHF is not set |
722 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
723 | # CONFIG_THERMAL is not set | 739 | # CONFIG_THERMAL is not set |
724 | # CONFIG_THERMAL_HWMON is not set | ||
725 | # CONFIG_WATCHDOG is not set | 740 | # CONFIG_WATCHDOG is not set |
726 | CONFIG_SSB_POSSIBLE=y | 741 | CONFIG_SSB_POSSIBLE=y |
727 | 742 | ||
@@ -755,7 +770,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
755 | # CONFIG_SOUND is not set | 770 | # CONFIG_SOUND is not set |
756 | CONFIG_HID_SUPPORT=y | 771 | CONFIG_HID_SUPPORT=y |
757 | CONFIG_HID=y | 772 | CONFIG_HID=y |
758 | # CONFIG_HID_DEBUG is not set | ||
759 | # CONFIG_HIDRAW is not set | 773 | # CONFIG_HIDRAW is not set |
760 | # CONFIG_HID_PID is not set | 774 | # CONFIG_HID_PID is not set |
761 | 775 | ||
@@ -818,6 +832,7 @@ CONFIG_FS_MBCACHE=y | |||
818 | # CONFIG_GFS2_FS is not set | 832 | # CONFIG_GFS2_FS is not set |
819 | # CONFIG_OCFS2_FS is not set | 833 | # CONFIG_OCFS2_FS is not set |
820 | # CONFIG_BTRFS_FS is not set | 834 | # CONFIG_BTRFS_FS is not set |
835 | # CONFIG_NILFS2_FS is not set | ||
821 | CONFIG_FILE_LOCKING=y | 836 | CONFIG_FILE_LOCKING=y |
822 | CONFIG_FSNOTIFY=y | 837 | CONFIG_FSNOTIFY=y |
823 | CONFIG_DNOTIFY=y | 838 | CONFIG_DNOTIFY=y |
@@ -877,7 +892,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
877 | # CONFIG_ROMFS_FS is not set | 892 | # CONFIG_ROMFS_FS is not set |
878 | # CONFIG_SYSV_FS is not set | 893 | # CONFIG_SYSV_FS is not set |
879 | # CONFIG_UFS_FS is not set | 894 | # CONFIG_UFS_FS is not set |
880 | # CONFIG_NILFS2_FS is not set | ||
881 | CONFIG_NETWORK_FILESYSTEMS=y | 895 | CONFIG_NETWORK_FILESYSTEMS=y |
882 | CONFIG_NFS_FS=y | 896 | CONFIG_NFS_FS=y |
883 | # CONFIG_NFS_V3 is not set | 897 | # CONFIG_NFS_V3 is not set |
@@ -945,6 +959,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
945 | CONFIG_ENABLE_MUST_CHECK=y | 959 | CONFIG_ENABLE_MUST_CHECK=y |
946 | CONFIG_FRAME_WARN=1024 | 960 | CONFIG_FRAME_WARN=1024 |
947 | # CONFIG_MAGIC_SYSRQ is not set | 961 | # CONFIG_MAGIC_SYSRQ is not set |
962 | # CONFIG_STRIP_ASM_SYMS is not set | ||
948 | # CONFIG_UNUSED_SYMBOLS is not set | 963 | # CONFIG_UNUSED_SYMBOLS is not set |
949 | CONFIG_DEBUG_FS=y | 964 | CONFIG_DEBUG_FS=y |
950 | # CONFIG_HEADERS_CHECK is not set | 965 | # CONFIG_HEADERS_CHECK is not set |
@@ -962,6 +977,7 @@ CONFIG_SCHED_DEBUG=y | |||
962 | # CONFIG_DEBUG_OBJECTS is not set | 977 | # CONFIG_DEBUG_OBJECTS is not set |
963 | # CONFIG_SLUB_DEBUG_ON is not set | 978 | # CONFIG_SLUB_DEBUG_ON is not set |
964 | # CONFIG_SLUB_STATS is not set | 979 | # CONFIG_SLUB_STATS is not set |
980 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
965 | # CONFIG_DEBUG_RT_MUTEXES is not set | 981 | # CONFIG_DEBUG_RT_MUTEXES is not set |
966 | # CONFIG_RT_MUTEX_TESTER is not set | 982 | # CONFIG_RT_MUTEX_TESTER is not set |
967 | # CONFIG_DEBUG_SPINLOCK is not set | 983 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -981,10 +997,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
981 | # CONFIG_DEBUG_LIST is not set | 997 | # CONFIG_DEBUG_LIST is not set |
982 | # CONFIG_DEBUG_SG is not set | 998 | # CONFIG_DEBUG_SG is not set |
983 | # CONFIG_DEBUG_NOTIFIERS is not set | 999 | # CONFIG_DEBUG_NOTIFIERS is not set |
1000 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
984 | # CONFIG_RCU_TORTURE_TEST is not set | 1001 | # CONFIG_RCU_TORTURE_TEST is not set |
985 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1002 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
986 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1003 | # CONFIG_BACKTRACE_SELF_TEST is not set |
987 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1004 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1005 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
988 | # CONFIG_FAULT_INJECTION is not set | 1006 | # CONFIG_FAULT_INJECTION is not set |
989 | # CONFIG_LATENCYTOP is not set | 1007 | # CONFIG_LATENCYTOP is not set |
990 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1008 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1008,10 +1026,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1008 | # CONFIG_WORKQUEUE_TRACER is not set | 1026 | # CONFIG_WORKQUEUE_TRACER is not set |
1009 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1027 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1010 | # CONFIG_DYNAMIC_DEBUG is not set | 1028 | # CONFIG_DYNAMIC_DEBUG is not set |
1029 | # CONFIG_DMA_API_DEBUG is not set | ||
1011 | # CONFIG_SAMPLES is not set | 1030 | # CONFIG_SAMPLES is not set |
1012 | CONFIG_HAVE_ARCH_KGDB=y | 1031 | CONFIG_HAVE_ARCH_KGDB=y |
1013 | # CONFIG_KGDB is not set | 1032 | # CONFIG_KGDB is not set |
1014 | # CONFIG_KMEMCHECK is not set | ||
1015 | # CONFIG_PPC_DISABLE_WERROR is not set | 1033 | # CONFIG_PPC_DISABLE_WERROR is not set |
1016 | CONFIG_PPC_WERROR=y | 1034 | CONFIG_PPC_WERROR=y |
1017 | CONFIG_PRINT_STACK_DEPTH=64 | 1035 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1039,7 +1057,6 @@ CONFIG_CRYPTO=y | |||
1039 | # | 1057 | # |
1040 | # Crypto core or helper | 1058 | # Crypto core or helper |
1041 | # | 1059 | # |
1042 | # CONFIG_CRYPTO_FIPS is not set | ||
1043 | # CONFIG_CRYPTO_MANAGER is not set | 1060 | # CONFIG_CRYPTO_MANAGER is not set |
1044 | # CONFIG_CRYPTO_MANAGER2 is not set | 1061 | # CONFIG_CRYPTO_MANAGER2 is not set |
1045 | # CONFIG_CRYPTO_GF128MUL is not set | 1062 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1070,11 +1087,13 @@ CONFIG_CRYPTO=y | |||
1070 | # | 1087 | # |
1071 | # CONFIG_CRYPTO_HMAC is not set | 1088 | # CONFIG_CRYPTO_HMAC is not set |
1072 | # CONFIG_CRYPTO_XCBC is not set | 1089 | # CONFIG_CRYPTO_XCBC is not set |
1090 | # CONFIG_CRYPTO_VMAC is not set | ||
1073 | 1091 | ||
1074 | # | 1092 | # |
1075 | # Digest | 1093 | # Digest |
1076 | # | 1094 | # |
1077 | # CONFIG_CRYPTO_CRC32C is not set | 1095 | # CONFIG_CRYPTO_CRC32C is not set |
1096 | # CONFIG_CRYPTO_GHASH is not set | ||
1078 | # CONFIG_CRYPTO_MD4 is not set | 1097 | # CONFIG_CRYPTO_MD4 is not set |
1079 | # CONFIG_CRYPTO_MD5 is not set | 1098 | # CONFIG_CRYPTO_MD5 is not set |
1080 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1099 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/mpc8540_ads_defconfig b/arch/powerpc/configs/85xx/mpc8540_ads_defconfig index fb10cc83702e..c10e26f8763f 100644 --- a/arch/powerpc/configs/85xx/mpc8540_ads_defconfig +++ b/arch/powerpc/configs/85xx/mpc8540_ads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:15 2009 | 4 | # Thu Nov 5 08:20:33 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -126,27 +129,28 @@ CONFIG_TIMERFD=y | |||
126 | CONFIG_EVENTFD=y | 129 | CONFIG_EVENTFD=y |
127 | CONFIG_SHMEM=y | 130 | CONFIG_SHMEM=y |
128 | CONFIG_AIO=y | 131 | CONFIG_AIO=y |
129 | CONFIG_HAVE_PERF_COUNTERS=y | 132 | CONFIG_HAVE_PERF_EVENTS=y |
130 | 133 | ||
131 | # | 134 | # |
132 | # Performance Counters | 135 | # Kernel Performance Events And Counters |
133 | # | 136 | # |
137 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | 138 | # CONFIG_PERF_COUNTERS is not set |
135 | CONFIG_VM_EVENT_COUNTERS=y | 139 | CONFIG_VM_EVENT_COUNTERS=y |
136 | CONFIG_SLUB_DEBUG=y | 140 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 142 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 143 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 148 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 149 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 150 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 151 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
152 | CONFIG_HAVE_DMA_ATTRS=y | ||
153 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | 154 | ||
151 | # | 155 | # |
152 | # GCOV-based kernel profiling | 156 | # GCOV-based kernel profiling |
@@ -189,6 +193,7 @@ CONFIG_MPC8540_ADS=y | |||
189 | # CONFIG_MPC85xx_MDS is not set | 193 | # CONFIG_MPC85xx_MDS is not set |
190 | # CONFIG_MPC8536_DS is not set | 194 | # CONFIG_MPC8536_DS is not set |
191 | # CONFIG_MPC85xx_DS is not set | 195 | # CONFIG_MPC85xx_DS is not set |
196 | # CONFIG_MPC85xx_RDB is not set | ||
192 | # CONFIG_SOCRATES is not set | 197 | # CONFIG_SOCRATES is not set |
193 | # CONFIG_KSI8560 is not set | 198 | # CONFIG_KSI8560 is not set |
194 | # CONFIG_XES_MPC85xx is not set | 199 | # CONFIG_XES_MPC85xx is not set |
@@ -244,6 +249,7 @@ CONFIG_MATH_EMULATION=y | |||
244 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 249 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
245 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 250 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
246 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
252 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
247 | CONFIG_ARCH_FLATMEM_ENABLE=y | 253 | CONFIG_ARCH_FLATMEM_ENABLE=y |
248 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 254 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
249 | CONFIG_SELECT_MEMORY_MODEL=y | 255 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -261,6 +267,7 @@ CONFIG_BOUNCE=y | |||
261 | CONFIG_VIRT_TO_BUS=y | 267 | CONFIG_VIRT_TO_BUS=y |
262 | CONFIG_HAVE_MLOCK=y | 268 | CONFIG_HAVE_MLOCK=y |
263 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 269 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
270 | # CONFIG_KSM is not set | ||
264 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 271 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
265 | CONFIG_PPC_4K_PAGES=y | 272 | CONFIG_PPC_4K_PAGES=y |
266 | # CONFIG_PPC_16K_PAGES is not set | 273 | # CONFIG_PPC_16K_PAGES is not set |
@@ -349,6 +356,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
349 | # CONFIG_NETFILTER is not set | 356 | # CONFIG_NETFILTER is not set |
350 | # CONFIG_IP_DCCP is not set | 357 | # CONFIG_IP_DCCP is not set |
351 | # CONFIG_IP_SCTP is not set | 358 | # CONFIG_IP_SCTP is not set |
359 | # CONFIG_RDS is not set | ||
352 | # CONFIG_TIPC is not set | 360 | # CONFIG_TIPC is not set |
353 | # CONFIG_ATM is not set | 361 | # CONFIG_ATM is not set |
354 | # CONFIG_BRIDGE is not set | 362 | # CONFIG_BRIDGE is not set |
@@ -378,6 +386,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
378 | # CONFIG_AF_RXRPC is not set | 386 | # CONFIG_AF_RXRPC is not set |
379 | CONFIG_WIRELESS=y | 387 | CONFIG_WIRELESS=y |
380 | # CONFIG_CFG80211 is not set | 388 | # CONFIG_CFG80211 is not set |
389 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
381 | CONFIG_WIRELESS_OLD_REGULATORY=y | 390 | CONFIG_WIRELESS_OLD_REGULATORY=y |
382 | # CONFIG_WIRELESS_EXT is not set | 391 | # CONFIG_WIRELESS_EXT is not set |
383 | # CONFIG_LIB80211 is not set | 392 | # CONFIG_LIB80211 is not set |
@@ -385,7 +394,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
385 | # | 394 | # |
386 | # CFG80211 needs to be enabled for MAC80211 | 395 | # CFG80211 needs to be enabled for MAC80211 |
387 | # | 396 | # |
388 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
389 | # CONFIG_WIMAX is not set | 397 | # CONFIG_WIMAX is not set |
390 | # CONFIG_RFKILL is not set | 398 | # CONFIG_RFKILL is not set |
391 | # CONFIG_NET_9P is not set | 399 | # CONFIG_NET_9P is not set |
@@ -398,6 +406,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
398 | # Generic Driver Options | 406 | # Generic Driver Options |
399 | # | 407 | # |
400 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 408 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
409 | # CONFIG_DEVTMPFS is not set | ||
401 | CONFIG_STANDALONE=y | 410 | CONFIG_STANDALONE=y |
402 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 411 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
403 | # CONFIG_FW_LOADER is not set | 412 | # CONFIG_FW_LOADER is not set |
@@ -483,15 +492,14 @@ CONFIG_MII=y | |||
483 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 492 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
484 | # CONFIG_B44 is not set | 493 | # CONFIG_B44 is not set |
485 | # CONFIG_KS8842 is not set | 494 | # CONFIG_KS8842 is not set |
495 | # CONFIG_KS8851_MLL is not set | ||
496 | # CONFIG_XILINX_EMACLITE is not set | ||
486 | CONFIG_NETDEV_1000=y | 497 | CONFIG_NETDEV_1000=y |
487 | CONFIG_FSL_PQ_MDIO=y | 498 | CONFIG_FSL_PQ_MDIO=y |
488 | CONFIG_GIANFAR=y | 499 | CONFIG_GIANFAR=y |
489 | # CONFIG_MV643XX_ETH is not set | 500 | # CONFIG_MV643XX_ETH is not set |
490 | CONFIG_NETDEV_10000=y | 501 | CONFIG_NETDEV_10000=y |
491 | 502 | CONFIG_WLAN=y | |
492 | # | ||
493 | # Wireless LAN | ||
494 | # | ||
495 | # CONFIG_WLAN_PRE80211 is not set | 503 | # CONFIG_WLAN_PRE80211 is not set |
496 | # CONFIG_WLAN_80211 is not set | 504 | # CONFIG_WLAN_80211 is not set |
497 | 505 | ||
@@ -588,6 +596,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
588 | # CONFIG_POWER_SUPPLY is not set | 596 | # CONFIG_POWER_SUPPLY is not set |
589 | CONFIG_HWMON=y | 597 | CONFIG_HWMON=y |
590 | # CONFIG_HWMON_VID is not set | 598 | # CONFIG_HWMON_VID is not set |
599 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
600 | |||
601 | # | ||
602 | # Native drivers | ||
603 | # | ||
591 | # CONFIG_SENSORS_F71805F is not set | 604 | # CONFIG_SENSORS_F71805F is not set |
592 | # CONFIG_SENSORS_F71882FG is not set | 605 | # CONFIG_SENSORS_F71882FG is not set |
593 | # CONFIG_SENSORS_IT87 is not set | 606 | # CONFIG_SENSORS_IT87 is not set |
@@ -598,9 +611,7 @@ CONFIG_HWMON=y | |||
598 | # CONFIG_SENSORS_VT1211 is not set | 611 | # CONFIG_SENSORS_VT1211 is not set |
599 | # CONFIG_SENSORS_W83627HF is not set | 612 | # CONFIG_SENSORS_W83627HF is not set |
600 | # CONFIG_SENSORS_W83627EHF is not set | 613 | # CONFIG_SENSORS_W83627EHF is not set |
601 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
602 | # CONFIG_THERMAL is not set | 614 | # CONFIG_THERMAL is not set |
603 | # CONFIG_THERMAL_HWMON is not set | ||
604 | # CONFIG_WATCHDOG is not set | 615 | # CONFIG_WATCHDOG is not set |
605 | CONFIG_SSB_POSSIBLE=y | 616 | CONFIG_SSB_POSSIBLE=y |
606 | 617 | ||
@@ -634,7 +645,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
634 | # CONFIG_SOUND is not set | 645 | # CONFIG_SOUND is not set |
635 | CONFIG_HID_SUPPORT=y | 646 | CONFIG_HID_SUPPORT=y |
636 | CONFIG_HID=y | 647 | CONFIG_HID=y |
637 | # CONFIG_HID_DEBUG is not set | ||
638 | # CONFIG_HIDRAW is not set | 648 | # CONFIG_HIDRAW is not set |
639 | # CONFIG_HID_PID is not set | 649 | # CONFIG_HID_PID is not set |
640 | 650 | ||
@@ -696,6 +706,7 @@ CONFIG_FS_MBCACHE=y | |||
696 | # CONFIG_GFS2_FS is not set | 706 | # CONFIG_GFS2_FS is not set |
697 | # CONFIG_OCFS2_FS is not set | 707 | # CONFIG_OCFS2_FS is not set |
698 | # CONFIG_BTRFS_FS is not set | 708 | # CONFIG_BTRFS_FS is not set |
709 | # CONFIG_NILFS2_FS is not set | ||
699 | CONFIG_FILE_LOCKING=y | 710 | CONFIG_FILE_LOCKING=y |
700 | CONFIG_FSNOTIFY=y | 711 | CONFIG_FSNOTIFY=y |
701 | CONFIG_DNOTIFY=y | 712 | CONFIG_DNOTIFY=y |
@@ -754,7 +765,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
754 | # CONFIG_ROMFS_FS is not set | 765 | # CONFIG_ROMFS_FS is not set |
755 | # CONFIG_SYSV_FS is not set | 766 | # CONFIG_SYSV_FS is not set |
756 | # CONFIG_UFS_FS is not set | 767 | # CONFIG_UFS_FS is not set |
757 | # CONFIG_NILFS2_FS is not set | ||
758 | CONFIG_NETWORK_FILESYSTEMS=y | 768 | CONFIG_NETWORK_FILESYSTEMS=y |
759 | CONFIG_NFS_FS=y | 769 | CONFIG_NFS_FS=y |
760 | # CONFIG_NFS_V3 is not set | 770 | # CONFIG_NFS_V3 is not set |
@@ -822,6 +832,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
822 | CONFIG_ENABLE_MUST_CHECK=y | 832 | CONFIG_ENABLE_MUST_CHECK=y |
823 | CONFIG_FRAME_WARN=1024 | 833 | CONFIG_FRAME_WARN=1024 |
824 | # CONFIG_MAGIC_SYSRQ is not set | 834 | # CONFIG_MAGIC_SYSRQ is not set |
835 | # CONFIG_STRIP_ASM_SYMS is not set | ||
825 | # CONFIG_UNUSED_SYMBOLS is not set | 836 | # CONFIG_UNUSED_SYMBOLS is not set |
826 | # CONFIG_DEBUG_FS is not set | 837 | # CONFIG_DEBUG_FS is not set |
827 | # CONFIG_HEADERS_CHECK is not set | 838 | # CONFIG_HEADERS_CHECK is not set |
@@ -839,6 +850,7 @@ CONFIG_SCHED_DEBUG=y | |||
839 | # CONFIG_DEBUG_OBJECTS is not set | 850 | # CONFIG_DEBUG_OBJECTS is not set |
840 | # CONFIG_SLUB_DEBUG_ON is not set | 851 | # CONFIG_SLUB_DEBUG_ON is not set |
841 | # CONFIG_SLUB_STATS is not set | 852 | # CONFIG_SLUB_STATS is not set |
853 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
842 | # CONFIG_DEBUG_RT_MUTEXES is not set | 854 | # CONFIG_DEBUG_RT_MUTEXES is not set |
843 | # CONFIG_RT_MUTEX_TESTER is not set | 855 | # CONFIG_RT_MUTEX_TESTER is not set |
844 | # CONFIG_DEBUG_SPINLOCK is not set | 856 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -857,10 +869,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
857 | # CONFIG_DEBUG_LIST is not set | 869 | # CONFIG_DEBUG_LIST is not set |
858 | # CONFIG_DEBUG_SG is not set | 870 | # CONFIG_DEBUG_SG is not set |
859 | # CONFIG_DEBUG_NOTIFIERS is not set | 871 | # CONFIG_DEBUG_NOTIFIERS is not set |
872 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
860 | # CONFIG_RCU_TORTURE_TEST is not set | 873 | # CONFIG_RCU_TORTURE_TEST is not set |
861 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 874 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
862 | # CONFIG_BACKTRACE_SELF_TEST is not set | 875 | # CONFIG_BACKTRACE_SELF_TEST is not set |
863 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 876 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
877 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
864 | # CONFIG_FAULT_INJECTION is not set | 878 | # CONFIG_FAULT_INJECTION is not set |
865 | # CONFIG_LATENCYTOP is not set | 879 | # CONFIG_LATENCYTOP is not set |
866 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 880 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -883,10 +897,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
883 | # CONFIG_KMEMTRACE is not set | 897 | # CONFIG_KMEMTRACE is not set |
884 | # CONFIG_WORKQUEUE_TRACER is not set | 898 | # CONFIG_WORKQUEUE_TRACER is not set |
885 | # CONFIG_BLK_DEV_IO_TRACE is not set | 899 | # CONFIG_BLK_DEV_IO_TRACE is not set |
900 | # CONFIG_DMA_API_DEBUG is not set | ||
886 | # CONFIG_SAMPLES is not set | 901 | # CONFIG_SAMPLES is not set |
887 | CONFIG_HAVE_ARCH_KGDB=y | 902 | CONFIG_HAVE_ARCH_KGDB=y |
888 | # CONFIG_KGDB is not set | 903 | # CONFIG_KGDB is not set |
889 | # CONFIG_KMEMCHECK is not set | ||
890 | # CONFIG_PPC_DISABLE_WERROR is not set | 904 | # CONFIG_PPC_DISABLE_WERROR is not set |
891 | CONFIG_PPC_WERROR=y | 905 | CONFIG_PPC_WERROR=y |
892 | CONFIG_PRINT_STACK_DEPTH=64 | 906 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -912,7 +926,6 @@ CONFIG_CRYPTO=y | |||
912 | # | 926 | # |
913 | # Crypto core or helper | 927 | # Crypto core or helper |
914 | # | 928 | # |
915 | # CONFIG_CRYPTO_FIPS is not set | ||
916 | # CONFIG_CRYPTO_MANAGER is not set | 929 | # CONFIG_CRYPTO_MANAGER is not set |
917 | # CONFIG_CRYPTO_MANAGER2 is not set | 930 | # CONFIG_CRYPTO_MANAGER2 is not set |
918 | # CONFIG_CRYPTO_GF128MUL is not set | 931 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -943,11 +956,13 @@ CONFIG_CRYPTO=y | |||
943 | # | 956 | # |
944 | # CONFIG_CRYPTO_HMAC is not set | 957 | # CONFIG_CRYPTO_HMAC is not set |
945 | # CONFIG_CRYPTO_XCBC is not set | 958 | # CONFIG_CRYPTO_XCBC is not set |
959 | # CONFIG_CRYPTO_VMAC is not set | ||
946 | 960 | ||
947 | # | 961 | # |
948 | # Digest | 962 | # Digest |
949 | # | 963 | # |
950 | # CONFIG_CRYPTO_CRC32C is not set | 964 | # CONFIG_CRYPTO_CRC32C is not set |
965 | # CONFIG_CRYPTO_GHASH is not set | ||
951 | # CONFIG_CRYPTO_MD4 is not set | 966 | # CONFIG_CRYPTO_MD4 is not set |
952 | # CONFIG_CRYPTO_MD5 is not set | 967 | # CONFIG_CRYPTO_MD5 is not set |
953 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 968 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/mpc8560_ads_defconfig b/arch/powerpc/configs/85xx/mpc8560_ads_defconfig index 5c8ce6978825..8d9f0a4b5205 100644 --- a/arch/powerpc/configs/85xx/mpc8560_ads_defconfig +++ b/arch/powerpc/configs/85xx/mpc8560_ads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:16 2009 | 4 | # Thu Nov 5 08:20:34 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -127,29 +130,30 @@ CONFIG_TIMERFD=y | |||
127 | CONFIG_EVENTFD=y | 130 | CONFIG_EVENTFD=y |
128 | CONFIG_SHMEM=y | 131 | CONFIG_SHMEM=y |
129 | CONFIG_AIO=y | 132 | CONFIG_AIO=y |
130 | CONFIG_HAVE_PERF_COUNTERS=y | 133 | CONFIG_HAVE_PERF_EVENTS=y |
131 | 134 | ||
132 | # | 135 | # |
133 | # Performance Counters | 136 | # Kernel Performance Events And Counters |
134 | # | 137 | # |
138 | # CONFIG_PERF_EVENTS is not set | ||
135 | # CONFIG_PERF_COUNTERS is not set | 139 | # CONFIG_PERF_COUNTERS is not set |
136 | CONFIG_VM_EVENT_COUNTERS=y | 140 | CONFIG_VM_EVENT_COUNTERS=y |
137 | CONFIG_PCI_QUIRKS=y | 141 | CONFIG_PCI_QUIRKS=y |
138 | CONFIG_SLUB_DEBUG=y | 142 | CONFIG_SLUB_DEBUG=y |
139 | # CONFIG_STRIP_ASM_SYMS is not set | ||
140 | CONFIG_COMPAT_BRK=y | 143 | CONFIG_COMPAT_BRK=y |
141 | # CONFIG_SLAB is not set | 144 | # CONFIG_SLAB is not set |
142 | CONFIG_SLUB=y | 145 | CONFIG_SLUB=y |
143 | # CONFIG_SLOB is not set | 146 | # CONFIG_SLOB is not set |
144 | # CONFIG_PROFILING is not set | 147 | # CONFIG_PROFILING is not set |
145 | # CONFIG_MARKERS is not set | ||
146 | CONFIG_HAVE_OPROFILE=y | 148 | CONFIG_HAVE_OPROFILE=y |
147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 149 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
148 | CONFIG_HAVE_IOREMAP_PROT=y | 150 | CONFIG_HAVE_IOREMAP_PROT=y |
149 | CONFIG_HAVE_KPROBES=y | 151 | CONFIG_HAVE_KPROBES=y |
150 | CONFIG_HAVE_KRETPROBES=y | 152 | CONFIG_HAVE_KRETPROBES=y |
151 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 153 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
154 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_CLK=y | 155 | CONFIG_HAVE_CLK=y |
156 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
153 | 157 | ||
154 | # | 158 | # |
155 | # GCOV-based kernel profiling | 159 | # GCOV-based kernel profiling |
@@ -192,6 +196,7 @@ CONFIG_MPC8560_ADS=y | |||
192 | # CONFIG_MPC85xx_MDS is not set | 196 | # CONFIG_MPC85xx_MDS is not set |
193 | # CONFIG_MPC8536_DS is not set | 197 | # CONFIG_MPC8536_DS is not set |
194 | # CONFIG_MPC85xx_DS is not set | 198 | # CONFIG_MPC85xx_DS is not set |
199 | # CONFIG_MPC85xx_RDB is not set | ||
195 | # CONFIG_SOCRATES is not set | 200 | # CONFIG_SOCRATES is not set |
196 | # CONFIG_KSI8560 is not set | 201 | # CONFIG_KSI8560 is not set |
197 | # CONFIG_XES_MPC85xx is not set | 202 | # CONFIG_XES_MPC85xx is not set |
@@ -247,6 +252,7 @@ CONFIG_MATH_EMULATION=y | |||
247 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 252 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
248 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 253 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
249 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
255 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
250 | CONFIG_ARCH_FLATMEM_ENABLE=y | 256 | CONFIG_ARCH_FLATMEM_ENABLE=y |
251 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 257 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
252 | CONFIG_SELECT_MEMORY_MODEL=y | 258 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -264,6 +270,7 @@ CONFIG_BOUNCE=y | |||
264 | CONFIG_VIRT_TO_BUS=y | 270 | CONFIG_VIRT_TO_BUS=y |
265 | CONFIG_HAVE_MLOCK=y | 271 | CONFIG_HAVE_MLOCK=y |
266 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 272 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
273 | # CONFIG_KSM is not set | ||
267 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 274 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
268 | CONFIG_PPC_4K_PAGES=y | 275 | CONFIG_PPC_4K_PAGES=y |
269 | # CONFIG_PPC_16K_PAGES is not set | 276 | # CONFIG_PPC_16K_PAGES is not set |
@@ -361,6 +368,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
361 | # CONFIG_NETFILTER is not set | 368 | # CONFIG_NETFILTER is not set |
362 | # CONFIG_IP_DCCP is not set | 369 | # CONFIG_IP_DCCP is not set |
363 | # CONFIG_IP_SCTP is not set | 370 | # CONFIG_IP_SCTP is not set |
371 | # CONFIG_RDS is not set | ||
364 | # CONFIG_TIPC is not set | 372 | # CONFIG_TIPC is not set |
365 | # CONFIG_ATM is not set | 373 | # CONFIG_ATM is not set |
366 | # CONFIG_BRIDGE is not set | 374 | # CONFIG_BRIDGE is not set |
@@ -390,6 +398,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
390 | # CONFIG_AF_RXRPC is not set | 398 | # CONFIG_AF_RXRPC is not set |
391 | CONFIG_WIRELESS=y | 399 | CONFIG_WIRELESS=y |
392 | # CONFIG_CFG80211 is not set | 400 | # CONFIG_CFG80211 is not set |
401 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
393 | CONFIG_WIRELESS_OLD_REGULATORY=y | 402 | CONFIG_WIRELESS_OLD_REGULATORY=y |
394 | # CONFIG_WIRELESS_EXT is not set | 403 | # CONFIG_WIRELESS_EXT is not set |
395 | # CONFIG_LIB80211 is not set | 404 | # CONFIG_LIB80211 is not set |
@@ -397,7 +406,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
397 | # | 406 | # |
398 | # CFG80211 needs to be enabled for MAC80211 | 407 | # CFG80211 needs to be enabled for MAC80211 |
399 | # | 408 | # |
400 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
401 | # CONFIG_WIMAX is not set | 409 | # CONFIG_WIMAX is not set |
402 | # CONFIG_RFKILL is not set | 410 | # CONFIG_RFKILL is not set |
403 | # CONFIG_NET_9P is not set | 411 | # CONFIG_NET_9P is not set |
@@ -410,6 +418,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
410 | # Generic Driver Options | 418 | # Generic Driver Options |
411 | # | 419 | # |
412 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 420 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
421 | # CONFIG_DEVTMPFS is not set | ||
413 | CONFIG_STANDALONE=y | 422 | CONFIG_STANDALONE=y |
414 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 423 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
415 | # CONFIG_FW_LOADER is not set | 424 | # CONFIG_FW_LOADER is not set |
@@ -530,7 +539,9 @@ CONFIG_MII=y | |||
530 | # CONFIG_NET_PCI is not set | 539 | # CONFIG_NET_PCI is not set |
531 | # CONFIG_B44 is not set | 540 | # CONFIG_B44 is not set |
532 | # CONFIG_KS8842 is not set | 541 | # CONFIG_KS8842 is not set |
542 | # CONFIG_KS8851_MLL is not set | ||
533 | # CONFIG_ATL2 is not set | 543 | # CONFIG_ATL2 is not set |
544 | # CONFIG_XILINX_EMACLITE is not set | ||
534 | CONFIG_FS_ENET=y | 545 | CONFIG_FS_ENET=y |
535 | # CONFIG_FS_ENET_HAS_SCC is not set | 546 | # CONFIG_FS_ENET_HAS_SCC is not set |
536 | CONFIG_FS_ENET_HAS_FCC=y | 547 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -582,10 +593,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
582 | # CONFIG_SFC is not set | 593 | # CONFIG_SFC is not set |
583 | # CONFIG_BE2NET is not set | 594 | # CONFIG_BE2NET is not set |
584 | # CONFIG_TR is not set | 595 | # CONFIG_TR is not set |
585 | 596 | CONFIG_WLAN=y | |
586 | # | ||
587 | # Wireless LAN | ||
588 | # | ||
589 | # CONFIG_WLAN_PRE80211 is not set | 597 | # CONFIG_WLAN_PRE80211 is not set |
590 | # CONFIG_WLAN_80211 is not set | 598 | # CONFIG_WLAN_80211 is not set |
591 | 599 | ||
@@ -698,14 +706,24 @@ CONFIG_GPIOLIB=y | |||
698 | # PCI GPIO expanders: | 706 | # PCI GPIO expanders: |
699 | # | 707 | # |
700 | # CONFIG_GPIO_BT8XX is not set | 708 | # CONFIG_GPIO_BT8XX is not set |
709 | # CONFIG_GPIO_LANGWELL is not set | ||
701 | 710 | ||
702 | # | 711 | # |
703 | # SPI GPIO expanders: | 712 | # SPI GPIO expanders: |
704 | # | 713 | # |
714 | |||
715 | # | ||
716 | # AC97 GPIO expanders: | ||
717 | # | ||
705 | # CONFIG_W1 is not set | 718 | # CONFIG_W1 is not set |
706 | # CONFIG_POWER_SUPPLY is not set | 719 | # CONFIG_POWER_SUPPLY is not set |
707 | CONFIG_HWMON=y | 720 | CONFIG_HWMON=y |
708 | # CONFIG_HWMON_VID is not set | 721 | # CONFIG_HWMON_VID is not set |
722 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
723 | |||
724 | # | ||
725 | # Native drivers | ||
726 | # | ||
709 | # CONFIG_SENSORS_I5K_AMB is not set | 727 | # CONFIG_SENSORS_I5K_AMB is not set |
710 | # CONFIG_SENSORS_F71805F is not set | 728 | # CONFIG_SENSORS_F71805F is not set |
711 | # CONFIG_SENSORS_F71882FG is not set | 729 | # CONFIG_SENSORS_F71882FG is not set |
@@ -721,9 +739,7 @@ CONFIG_HWMON=y | |||
721 | # CONFIG_SENSORS_VT8231 is not set | 739 | # CONFIG_SENSORS_VT8231 is not set |
722 | # CONFIG_SENSORS_W83627HF is not set | 740 | # CONFIG_SENSORS_W83627HF is not set |
723 | # CONFIG_SENSORS_W83627EHF is not set | 741 | # CONFIG_SENSORS_W83627EHF is not set |
724 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
725 | # CONFIG_THERMAL is not set | 742 | # CONFIG_THERMAL is not set |
726 | # CONFIG_THERMAL_HWMON is not set | ||
727 | # CONFIG_WATCHDOG is not set | 743 | # CONFIG_WATCHDOG is not set |
728 | CONFIG_SSB_POSSIBLE=y | 744 | CONFIG_SSB_POSSIBLE=y |
729 | 745 | ||
@@ -746,6 +762,7 @@ CONFIG_SSB_POSSIBLE=y | |||
746 | # Graphics support | 762 | # Graphics support |
747 | # | 763 | # |
748 | # CONFIG_AGP is not set | 764 | # CONFIG_AGP is not set |
765 | CONFIG_VGA_ARB=y | ||
749 | # CONFIG_DRM is not set | 766 | # CONFIG_DRM is not set |
750 | # CONFIG_VGASTATE is not set | 767 | # CONFIG_VGASTATE is not set |
751 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 768 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -759,7 +776,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
759 | # CONFIG_SOUND is not set | 776 | # CONFIG_SOUND is not set |
760 | CONFIG_HID_SUPPORT=y | 777 | CONFIG_HID_SUPPORT=y |
761 | CONFIG_HID=y | 778 | CONFIG_HID=y |
762 | # CONFIG_HID_DEBUG is not set | ||
763 | # CONFIG_HIDRAW is not set | 779 | # CONFIG_HIDRAW is not set |
764 | # CONFIG_HID_PID is not set | 780 | # CONFIG_HID_PID is not set |
765 | 781 | ||
@@ -824,6 +840,7 @@ CONFIG_FS_MBCACHE=y | |||
824 | # CONFIG_GFS2_FS is not set | 840 | # CONFIG_GFS2_FS is not set |
825 | # CONFIG_OCFS2_FS is not set | 841 | # CONFIG_OCFS2_FS is not set |
826 | # CONFIG_BTRFS_FS is not set | 842 | # CONFIG_BTRFS_FS is not set |
843 | # CONFIG_NILFS2_FS is not set | ||
827 | CONFIG_FILE_LOCKING=y | 844 | CONFIG_FILE_LOCKING=y |
828 | CONFIG_FSNOTIFY=y | 845 | CONFIG_FSNOTIFY=y |
829 | CONFIG_DNOTIFY=y | 846 | CONFIG_DNOTIFY=y |
@@ -882,7 +899,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
882 | # CONFIG_ROMFS_FS is not set | 899 | # CONFIG_ROMFS_FS is not set |
883 | # CONFIG_SYSV_FS is not set | 900 | # CONFIG_SYSV_FS is not set |
884 | # CONFIG_UFS_FS is not set | 901 | # CONFIG_UFS_FS is not set |
885 | # CONFIG_NILFS2_FS is not set | ||
886 | CONFIG_NETWORK_FILESYSTEMS=y | 902 | CONFIG_NETWORK_FILESYSTEMS=y |
887 | CONFIG_NFS_FS=y | 903 | CONFIG_NFS_FS=y |
888 | # CONFIG_NFS_V3 is not set | 904 | # CONFIG_NFS_V3 is not set |
@@ -950,6 +966,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
950 | CONFIG_ENABLE_MUST_CHECK=y | 966 | CONFIG_ENABLE_MUST_CHECK=y |
951 | CONFIG_FRAME_WARN=1024 | 967 | CONFIG_FRAME_WARN=1024 |
952 | # CONFIG_MAGIC_SYSRQ is not set | 968 | # CONFIG_MAGIC_SYSRQ is not set |
969 | # CONFIG_STRIP_ASM_SYMS is not set | ||
953 | # CONFIG_UNUSED_SYMBOLS is not set | 970 | # CONFIG_UNUSED_SYMBOLS is not set |
954 | # CONFIG_DEBUG_FS is not set | 971 | # CONFIG_DEBUG_FS is not set |
955 | # CONFIG_HEADERS_CHECK is not set | 972 | # CONFIG_HEADERS_CHECK is not set |
@@ -967,6 +984,7 @@ CONFIG_SCHED_DEBUG=y | |||
967 | # CONFIG_DEBUG_OBJECTS is not set | 984 | # CONFIG_DEBUG_OBJECTS is not set |
968 | # CONFIG_SLUB_DEBUG_ON is not set | 985 | # CONFIG_SLUB_DEBUG_ON is not set |
969 | # CONFIG_SLUB_STATS is not set | 986 | # CONFIG_SLUB_STATS is not set |
987 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
970 | # CONFIG_DEBUG_RT_MUTEXES is not set | 988 | # CONFIG_DEBUG_RT_MUTEXES is not set |
971 | # CONFIG_RT_MUTEX_TESTER is not set | 989 | # CONFIG_RT_MUTEX_TESTER is not set |
972 | # CONFIG_DEBUG_SPINLOCK is not set | 990 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -985,10 +1003,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
985 | # CONFIG_DEBUG_LIST is not set | 1003 | # CONFIG_DEBUG_LIST is not set |
986 | # CONFIG_DEBUG_SG is not set | 1004 | # CONFIG_DEBUG_SG is not set |
987 | # CONFIG_DEBUG_NOTIFIERS is not set | 1005 | # CONFIG_DEBUG_NOTIFIERS is not set |
1006 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
988 | # CONFIG_RCU_TORTURE_TEST is not set | 1007 | # CONFIG_RCU_TORTURE_TEST is not set |
989 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1008 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
990 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1009 | # CONFIG_BACKTRACE_SELF_TEST is not set |
991 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1010 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1011 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
992 | # CONFIG_FAULT_INJECTION is not set | 1012 | # CONFIG_FAULT_INJECTION is not set |
993 | # CONFIG_LATENCYTOP is not set | 1013 | # CONFIG_LATENCYTOP is not set |
994 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1014 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1011,10 +1031,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1011 | # CONFIG_KMEMTRACE is not set | 1031 | # CONFIG_KMEMTRACE is not set |
1012 | # CONFIG_WORKQUEUE_TRACER is not set | 1032 | # CONFIG_WORKQUEUE_TRACER is not set |
1013 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1033 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1034 | # CONFIG_DMA_API_DEBUG is not set | ||
1014 | # CONFIG_SAMPLES is not set | 1035 | # CONFIG_SAMPLES is not set |
1015 | CONFIG_HAVE_ARCH_KGDB=y | 1036 | CONFIG_HAVE_ARCH_KGDB=y |
1016 | # CONFIG_KGDB is not set | 1037 | # CONFIG_KGDB is not set |
1017 | # CONFIG_KMEMCHECK is not set | ||
1018 | # CONFIG_PPC_DISABLE_WERROR is not set | 1038 | # CONFIG_PPC_DISABLE_WERROR is not set |
1019 | CONFIG_PPC_WERROR=y | 1039 | CONFIG_PPC_WERROR=y |
1020 | CONFIG_PRINT_STACK_DEPTH=64 | 1040 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1040,7 +1060,6 @@ CONFIG_CRYPTO=y | |||
1040 | # | 1060 | # |
1041 | # Crypto core or helper | 1061 | # Crypto core or helper |
1042 | # | 1062 | # |
1043 | # CONFIG_CRYPTO_FIPS is not set | ||
1044 | # CONFIG_CRYPTO_MANAGER is not set | 1063 | # CONFIG_CRYPTO_MANAGER is not set |
1045 | # CONFIG_CRYPTO_MANAGER2 is not set | 1064 | # CONFIG_CRYPTO_MANAGER2 is not set |
1046 | # CONFIG_CRYPTO_GF128MUL is not set | 1065 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1071,11 +1090,13 @@ CONFIG_CRYPTO=y | |||
1071 | # | 1090 | # |
1072 | # CONFIG_CRYPTO_HMAC is not set | 1091 | # CONFIG_CRYPTO_HMAC is not set |
1073 | # CONFIG_CRYPTO_XCBC is not set | 1092 | # CONFIG_CRYPTO_XCBC is not set |
1093 | # CONFIG_CRYPTO_VMAC is not set | ||
1074 | 1094 | ||
1075 | # | 1095 | # |
1076 | # Digest | 1096 | # Digest |
1077 | # | 1097 | # |
1078 | # CONFIG_CRYPTO_CRC32C is not set | 1098 | # CONFIG_CRYPTO_CRC32C is not set |
1099 | # CONFIG_CRYPTO_GHASH is not set | ||
1079 | # CONFIG_CRYPTO_MD4 is not set | 1100 | # CONFIG_CRYPTO_MD4 is not set |
1080 | # CONFIG_CRYPTO_MD5 is not set | 1101 | # CONFIG_CRYPTO_MD5 is not set |
1081 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1102 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/mpc85xx_cds_defconfig b/arch/powerpc/configs/85xx/mpc85xx_cds_defconfig index 158e63e8607f..9b63e258dac6 100644 --- a/arch/powerpc/configs/85xx/mpc85xx_cds_defconfig +++ b/arch/powerpc/configs/85xx/mpc85xx_cds_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:17 2009 | 4 | # Thu Nov 5 08:20:35 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -126,28 +129,29 @@ CONFIG_TIMERFD=y | |||
126 | CONFIG_EVENTFD=y | 129 | CONFIG_EVENTFD=y |
127 | CONFIG_SHMEM=y | 130 | CONFIG_SHMEM=y |
128 | CONFIG_AIO=y | 131 | CONFIG_AIO=y |
129 | CONFIG_HAVE_PERF_COUNTERS=y | 132 | CONFIG_HAVE_PERF_EVENTS=y |
130 | 133 | ||
131 | # | 134 | # |
132 | # Performance Counters | 135 | # Kernel Performance Events And Counters |
133 | # | 136 | # |
137 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | 138 | # CONFIG_PERF_COUNTERS is not set |
135 | CONFIG_VM_EVENT_COUNTERS=y | 139 | CONFIG_VM_EVENT_COUNTERS=y |
136 | CONFIG_PCI_QUIRKS=y | 140 | CONFIG_PCI_QUIRKS=y |
137 | CONFIG_SLUB_DEBUG=y | 141 | CONFIG_SLUB_DEBUG=y |
138 | # CONFIG_STRIP_ASM_SYMS is not set | ||
139 | CONFIG_COMPAT_BRK=y | 142 | CONFIG_COMPAT_BRK=y |
140 | # CONFIG_SLAB is not set | 143 | # CONFIG_SLAB is not set |
141 | CONFIG_SLUB=y | 144 | CONFIG_SLUB=y |
142 | # CONFIG_SLOB is not set | 145 | # CONFIG_SLOB is not set |
143 | # CONFIG_PROFILING is not set | 146 | # CONFIG_PROFILING is not set |
144 | # CONFIG_MARKERS is not set | ||
145 | CONFIG_HAVE_OPROFILE=y | 147 | CONFIG_HAVE_OPROFILE=y |
146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 148 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
147 | CONFIG_HAVE_IOREMAP_PROT=y | 149 | CONFIG_HAVE_IOREMAP_PROT=y |
148 | CONFIG_HAVE_KPROBES=y | 150 | CONFIG_HAVE_KPROBES=y |
149 | CONFIG_HAVE_KRETPROBES=y | 151 | CONFIG_HAVE_KRETPROBES=y |
150 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 152 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
153 | CONFIG_HAVE_DMA_ATTRS=y | ||
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
151 | 155 | ||
152 | # | 156 | # |
153 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -190,6 +194,7 @@ CONFIG_MPC85xx_CDS=y | |||
190 | # CONFIG_MPC85xx_MDS is not set | 194 | # CONFIG_MPC85xx_MDS is not set |
191 | # CONFIG_MPC8536_DS is not set | 195 | # CONFIG_MPC8536_DS is not set |
192 | # CONFIG_MPC85xx_DS is not set | 196 | # CONFIG_MPC85xx_DS is not set |
197 | # CONFIG_MPC85xx_RDB is not set | ||
193 | # CONFIG_SOCRATES is not set | 198 | # CONFIG_SOCRATES is not set |
194 | # CONFIG_KSI8560 is not set | 199 | # CONFIG_KSI8560 is not set |
195 | # CONFIG_XES_MPC85xx is not set | 200 | # CONFIG_XES_MPC85xx is not set |
@@ -245,6 +250,7 @@ CONFIG_MATH_EMULATION=y | |||
245 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
246 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 251 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
247 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 252 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
253 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
248 | CONFIG_ARCH_FLATMEM_ENABLE=y | 254 | CONFIG_ARCH_FLATMEM_ENABLE=y |
249 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 255 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
250 | CONFIG_SELECT_MEMORY_MODEL=y | 256 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -262,6 +268,7 @@ CONFIG_BOUNCE=y | |||
262 | CONFIG_VIRT_TO_BUS=y | 268 | CONFIG_VIRT_TO_BUS=y |
263 | CONFIG_HAVE_MLOCK=y | 269 | CONFIG_HAVE_MLOCK=y |
264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 270 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
271 | # CONFIG_KSM is not set | ||
265 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 272 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
266 | CONFIG_PPC_4K_PAGES=y | 273 | CONFIG_PPC_4K_PAGES=y |
267 | # CONFIG_PPC_16K_PAGES is not set | 274 | # CONFIG_PPC_16K_PAGES is not set |
@@ -359,6 +366,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
359 | # CONFIG_NETFILTER is not set | 366 | # CONFIG_NETFILTER is not set |
360 | # CONFIG_IP_DCCP is not set | 367 | # CONFIG_IP_DCCP is not set |
361 | # CONFIG_IP_SCTP is not set | 368 | # CONFIG_IP_SCTP is not set |
369 | # CONFIG_RDS is not set | ||
362 | # CONFIG_TIPC is not set | 370 | # CONFIG_TIPC is not set |
363 | # CONFIG_ATM is not set | 371 | # CONFIG_ATM is not set |
364 | # CONFIG_BRIDGE is not set | 372 | # CONFIG_BRIDGE is not set |
@@ -388,6 +396,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
388 | # CONFIG_AF_RXRPC is not set | 396 | # CONFIG_AF_RXRPC is not set |
389 | CONFIG_WIRELESS=y | 397 | CONFIG_WIRELESS=y |
390 | # CONFIG_CFG80211 is not set | 398 | # CONFIG_CFG80211 is not set |
399 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
391 | CONFIG_WIRELESS_OLD_REGULATORY=y | 400 | CONFIG_WIRELESS_OLD_REGULATORY=y |
392 | # CONFIG_WIRELESS_EXT is not set | 401 | # CONFIG_WIRELESS_EXT is not set |
393 | # CONFIG_LIB80211 is not set | 402 | # CONFIG_LIB80211 is not set |
@@ -395,7 +404,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
395 | # | 404 | # |
396 | # CFG80211 needs to be enabled for MAC80211 | 405 | # CFG80211 needs to be enabled for MAC80211 |
397 | # | 406 | # |
398 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
399 | # CONFIG_WIMAX is not set | 407 | # CONFIG_WIMAX is not set |
400 | # CONFIG_RFKILL is not set | 408 | # CONFIG_RFKILL is not set |
401 | # CONFIG_NET_9P is not set | 409 | # CONFIG_NET_9P is not set |
@@ -408,6 +416,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
408 | # Generic Driver Options | 416 | # Generic Driver Options |
409 | # | 417 | # |
410 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 418 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
419 | # CONFIG_DEVTMPFS is not set | ||
411 | CONFIG_STANDALONE=y | 420 | CONFIG_STANDALONE=y |
412 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 421 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
413 | # CONFIG_FW_LOADER is not set | 422 | # CONFIG_FW_LOADER is not set |
@@ -582,7 +591,9 @@ CONFIG_MII=y | |||
582 | # CONFIG_NET_PCI is not set | 591 | # CONFIG_NET_PCI is not set |
583 | # CONFIG_B44 is not set | 592 | # CONFIG_B44 is not set |
584 | # CONFIG_KS8842 is not set | 593 | # CONFIG_KS8842 is not set |
594 | # CONFIG_KS8851_MLL is not set | ||
585 | # CONFIG_ATL2 is not set | 595 | # CONFIG_ATL2 is not set |
596 | # CONFIG_XILINX_EMACLITE is not set | ||
586 | CONFIG_NETDEV_1000=y | 597 | CONFIG_NETDEV_1000=y |
587 | # CONFIG_ACENIC is not set | 598 | # CONFIG_ACENIC is not set |
588 | # CONFIG_DL2K is not set | 599 | # CONFIG_DL2K is not set |
@@ -630,10 +641,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
630 | # CONFIG_SFC is not set | 641 | # CONFIG_SFC is not set |
631 | # CONFIG_BE2NET is not set | 642 | # CONFIG_BE2NET is not set |
632 | # CONFIG_TR is not set | 643 | # CONFIG_TR is not set |
633 | 644 | CONFIG_WLAN=y | |
634 | # | ||
635 | # Wireless LAN | ||
636 | # | ||
637 | # CONFIG_WLAN_PRE80211 is not set | 645 | # CONFIG_WLAN_PRE80211 is not set |
638 | # CONFIG_WLAN_80211 is not set | 646 | # CONFIG_WLAN_80211 is not set |
639 | 647 | ||
@@ -737,6 +745,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
737 | # CONFIG_POWER_SUPPLY is not set | 745 | # CONFIG_POWER_SUPPLY is not set |
738 | CONFIG_HWMON=y | 746 | CONFIG_HWMON=y |
739 | # CONFIG_HWMON_VID is not set | 747 | # CONFIG_HWMON_VID is not set |
748 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
749 | |||
750 | # | ||
751 | # Native drivers | ||
752 | # | ||
740 | # CONFIG_SENSORS_I5K_AMB is not set | 753 | # CONFIG_SENSORS_I5K_AMB is not set |
741 | # CONFIG_SENSORS_F71805F is not set | 754 | # CONFIG_SENSORS_F71805F is not set |
742 | # CONFIG_SENSORS_F71882FG is not set | 755 | # CONFIG_SENSORS_F71882FG is not set |
@@ -751,9 +764,7 @@ CONFIG_HWMON=y | |||
751 | # CONFIG_SENSORS_VT8231 is not set | 764 | # CONFIG_SENSORS_VT8231 is not set |
752 | # CONFIG_SENSORS_W83627HF is not set | 765 | # CONFIG_SENSORS_W83627HF is not set |
753 | # CONFIG_SENSORS_W83627EHF is not set | 766 | # CONFIG_SENSORS_W83627EHF is not set |
754 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
755 | # CONFIG_THERMAL is not set | 767 | # CONFIG_THERMAL is not set |
756 | # CONFIG_THERMAL_HWMON is not set | ||
757 | # CONFIG_WATCHDOG is not set | 768 | # CONFIG_WATCHDOG is not set |
758 | CONFIG_SSB_POSSIBLE=y | 769 | CONFIG_SSB_POSSIBLE=y |
759 | 770 | ||
@@ -776,6 +787,7 @@ CONFIG_SSB_POSSIBLE=y | |||
776 | # Graphics support | 787 | # Graphics support |
777 | # | 788 | # |
778 | # CONFIG_AGP is not set | 789 | # CONFIG_AGP is not set |
790 | CONFIG_VGA_ARB=y | ||
779 | # CONFIG_DRM is not set | 791 | # CONFIG_DRM is not set |
780 | # CONFIG_VGASTATE is not set | 792 | # CONFIG_VGASTATE is not set |
781 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 793 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -789,7 +801,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
789 | # CONFIG_SOUND is not set | 801 | # CONFIG_SOUND is not set |
790 | CONFIG_HID_SUPPORT=y | 802 | CONFIG_HID_SUPPORT=y |
791 | CONFIG_HID=y | 803 | CONFIG_HID=y |
792 | # CONFIG_HID_DEBUG is not set | ||
793 | # CONFIG_HIDRAW is not set | 804 | # CONFIG_HIDRAW is not set |
794 | # CONFIG_HID_PID is not set | 805 | # CONFIG_HID_PID is not set |
795 | 806 | ||
@@ -854,6 +865,7 @@ CONFIG_FS_MBCACHE=y | |||
854 | # CONFIG_GFS2_FS is not set | 865 | # CONFIG_GFS2_FS is not set |
855 | # CONFIG_OCFS2_FS is not set | 866 | # CONFIG_OCFS2_FS is not set |
856 | # CONFIG_BTRFS_FS is not set | 867 | # CONFIG_BTRFS_FS is not set |
868 | # CONFIG_NILFS2_FS is not set | ||
857 | CONFIG_FILE_LOCKING=y | 869 | CONFIG_FILE_LOCKING=y |
858 | CONFIG_FSNOTIFY=y | 870 | CONFIG_FSNOTIFY=y |
859 | CONFIG_DNOTIFY=y | 871 | CONFIG_DNOTIFY=y |
@@ -912,7 +924,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
912 | # CONFIG_ROMFS_FS is not set | 924 | # CONFIG_ROMFS_FS is not set |
913 | # CONFIG_SYSV_FS is not set | 925 | # CONFIG_SYSV_FS is not set |
914 | # CONFIG_UFS_FS is not set | 926 | # CONFIG_UFS_FS is not set |
915 | # CONFIG_NILFS2_FS is not set | ||
916 | CONFIG_NETWORK_FILESYSTEMS=y | 927 | CONFIG_NETWORK_FILESYSTEMS=y |
917 | CONFIG_NFS_FS=y | 928 | CONFIG_NFS_FS=y |
918 | # CONFIG_NFS_V3 is not set | 929 | # CONFIG_NFS_V3 is not set |
@@ -980,6 +991,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
980 | CONFIG_ENABLE_MUST_CHECK=y | 991 | CONFIG_ENABLE_MUST_CHECK=y |
981 | CONFIG_FRAME_WARN=1024 | 992 | CONFIG_FRAME_WARN=1024 |
982 | # CONFIG_MAGIC_SYSRQ is not set | 993 | # CONFIG_MAGIC_SYSRQ is not set |
994 | # CONFIG_STRIP_ASM_SYMS is not set | ||
983 | # CONFIG_UNUSED_SYMBOLS is not set | 995 | # CONFIG_UNUSED_SYMBOLS is not set |
984 | # CONFIG_DEBUG_FS is not set | 996 | # CONFIG_DEBUG_FS is not set |
985 | # CONFIG_HEADERS_CHECK is not set | 997 | # CONFIG_HEADERS_CHECK is not set |
@@ -997,6 +1009,7 @@ CONFIG_SCHED_DEBUG=y | |||
997 | # CONFIG_DEBUG_OBJECTS is not set | 1009 | # CONFIG_DEBUG_OBJECTS is not set |
998 | # CONFIG_SLUB_DEBUG_ON is not set | 1010 | # CONFIG_SLUB_DEBUG_ON is not set |
999 | # CONFIG_SLUB_STATS is not set | 1011 | # CONFIG_SLUB_STATS is not set |
1012 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1000 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1013 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1001 | # CONFIG_RT_MUTEX_TESTER is not set | 1014 | # CONFIG_RT_MUTEX_TESTER is not set |
1002 | # CONFIG_DEBUG_SPINLOCK is not set | 1015 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1015,10 +1028,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
1015 | # CONFIG_DEBUG_LIST is not set | 1028 | # CONFIG_DEBUG_LIST is not set |
1016 | # CONFIG_DEBUG_SG is not set | 1029 | # CONFIG_DEBUG_SG is not set |
1017 | # CONFIG_DEBUG_NOTIFIERS is not set | 1030 | # CONFIG_DEBUG_NOTIFIERS is not set |
1031 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1018 | # CONFIG_RCU_TORTURE_TEST is not set | 1032 | # CONFIG_RCU_TORTURE_TEST is not set |
1019 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1033 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1020 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1034 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1021 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1035 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1036 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1022 | # CONFIG_FAULT_INJECTION is not set | 1037 | # CONFIG_FAULT_INJECTION is not set |
1023 | # CONFIG_LATENCYTOP is not set | 1038 | # CONFIG_LATENCYTOP is not set |
1024 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1039 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1041,10 +1056,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1041 | # CONFIG_KMEMTRACE is not set | 1056 | # CONFIG_KMEMTRACE is not set |
1042 | # CONFIG_WORKQUEUE_TRACER is not set | 1057 | # CONFIG_WORKQUEUE_TRACER is not set |
1043 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1058 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1059 | # CONFIG_DMA_API_DEBUG is not set | ||
1044 | # CONFIG_SAMPLES is not set | 1060 | # CONFIG_SAMPLES is not set |
1045 | CONFIG_HAVE_ARCH_KGDB=y | 1061 | CONFIG_HAVE_ARCH_KGDB=y |
1046 | # CONFIG_KGDB is not set | 1062 | # CONFIG_KGDB is not set |
1047 | # CONFIG_KMEMCHECK is not set | ||
1048 | # CONFIG_PPC_DISABLE_WERROR is not set | 1063 | # CONFIG_PPC_DISABLE_WERROR is not set |
1049 | CONFIG_PPC_WERROR=y | 1064 | CONFIG_PPC_WERROR=y |
1050 | CONFIG_PRINT_STACK_DEPTH=64 | 1065 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1070,7 +1085,6 @@ CONFIG_CRYPTO=y | |||
1070 | # | 1085 | # |
1071 | # Crypto core or helper | 1086 | # Crypto core or helper |
1072 | # | 1087 | # |
1073 | # CONFIG_CRYPTO_FIPS is not set | ||
1074 | # CONFIG_CRYPTO_MANAGER is not set | 1088 | # CONFIG_CRYPTO_MANAGER is not set |
1075 | # CONFIG_CRYPTO_MANAGER2 is not set | 1089 | # CONFIG_CRYPTO_MANAGER2 is not set |
1076 | # CONFIG_CRYPTO_GF128MUL is not set | 1090 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1101,11 +1115,13 @@ CONFIG_CRYPTO=y | |||
1101 | # | 1115 | # |
1102 | # CONFIG_CRYPTO_HMAC is not set | 1116 | # CONFIG_CRYPTO_HMAC is not set |
1103 | # CONFIG_CRYPTO_XCBC is not set | 1117 | # CONFIG_CRYPTO_XCBC is not set |
1118 | # CONFIG_CRYPTO_VMAC is not set | ||
1104 | 1119 | ||
1105 | # | 1120 | # |
1106 | # Digest | 1121 | # Digest |
1107 | # | 1122 | # |
1108 | # CONFIG_CRYPTO_CRC32C is not set | 1123 | # CONFIG_CRYPTO_CRC32C is not set |
1124 | # CONFIG_CRYPTO_GHASH is not set | ||
1109 | # CONFIG_CRYPTO_MD4 is not set | 1125 | # CONFIG_CRYPTO_MD4 is not set |
1110 | # CONFIG_CRYPTO_MD5 is not set | 1126 | # CONFIG_CRYPTO_MD5 is not set |
1111 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1127 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/sbc8548_defconfig b/arch/powerpc/configs/85xx/sbc8548_defconfig index 2726fca1d694..1b2356830173 100644 --- a/arch/powerpc/configs/85xx/sbc8548_defconfig +++ b/arch/powerpc/configs/85xx/sbc8548_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:18 2009 | 4 | # Thu Nov 5 08:20:36 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -125,27 +128,28 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 128 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 129 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 130 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 131 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 132 | ||
130 | # | 133 | # |
131 | # Performance Counters | 134 | # Kernel Performance Events And Counters |
132 | # | 135 | # |
136 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 137 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 138 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 139 | CONFIG_PCI_QUIRKS=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
138 | CONFIG_SLAB=y | 141 | CONFIG_SLAB=y |
139 | # CONFIG_SLUB is not set | 142 | # CONFIG_SLUB is not set |
140 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 153 | ||
150 | # | 154 | # |
151 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -188,6 +192,7 @@ CONFIG_MPC85xx=y | |||
188 | # CONFIG_MPC85xx_MDS is not set | 192 | # CONFIG_MPC85xx_MDS is not set |
189 | # CONFIG_MPC8536_DS is not set | 193 | # CONFIG_MPC8536_DS is not set |
190 | # CONFIG_MPC85xx_DS is not set | 194 | # CONFIG_MPC85xx_DS is not set |
195 | # CONFIG_MPC85xx_RDB is not set | ||
191 | # CONFIG_SOCRATES is not set | 196 | # CONFIG_SOCRATES is not set |
192 | # CONFIG_KSI8560 is not set | 197 | # CONFIG_KSI8560 is not set |
193 | # CONFIG_XES_MPC85xx is not set | 198 | # CONFIG_XES_MPC85xx is not set |
@@ -242,6 +247,7 @@ CONFIG_MATH_EMULATION=y | |||
242 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 247 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
243 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 248 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 249 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
250 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
245 | CONFIG_ARCH_FLATMEM_ENABLE=y | 251 | CONFIG_ARCH_FLATMEM_ENABLE=y |
246 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 252 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
247 | CONFIG_SELECT_MEMORY_MODEL=y | 253 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -259,6 +265,7 @@ CONFIG_BOUNCE=y | |||
259 | CONFIG_VIRT_TO_BUS=y | 265 | CONFIG_VIRT_TO_BUS=y |
260 | CONFIG_HAVE_MLOCK=y | 266 | CONFIG_HAVE_MLOCK=y |
261 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 267 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
268 | # CONFIG_KSM is not set | ||
262 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 269 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
263 | CONFIG_PPC_4K_PAGES=y | 270 | CONFIG_PPC_4K_PAGES=y |
264 | # CONFIG_PPC_16K_PAGES is not set | 271 | # CONFIG_PPC_16K_PAGES is not set |
@@ -355,6 +362,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
355 | # CONFIG_NETFILTER is not set | 362 | # CONFIG_NETFILTER is not set |
356 | # CONFIG_IP_DCCP is not set | 363 | # CONFIG_IP_DCCP is not set |
357 | # CONFIG_IP_SCTP is not set | 364 | # CONFIG_IP_SCTP is not set |
365 | # CONFIG_RDS is not set | ||
358 | # CONFIG_TIPC is not set | 366 | # CONFIG_TIPC is not set |
359 | # CONFIG_ATM is not set | 367 | # CONFIG_ATM is not set |
360 | # CONFIG_BRIDGE is not set | 368 | # CONFIG_BRIDGE is not set |
@@ -384,6 +392,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
384 | # CONFIG_AF_RXRPC is not set | 392 | # CONFIG_AF_RXRPC is not set |
385 | CONFIG_WIRELESS=y | 393 | CONFIG_WIRELESS=y |
386 | # CONFIG_CFG80211 is not set | 394 | # CONFIG_CFG80211 is not set |
395 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
387 | CONFIG_WIRELESS_OLD_REGULATORY=y | 396 | CONFIG_WIRELESS_OLD_REGULATORY=y |
388 | # CONFIG_WIRELESS_EXT is not set | 397 | # CONFIG_WIRELESS_EXT is not set |
389 | # CONFIG_LIB80211 is not set | 398 | # CONFIG_LIB80211 is not set |
@@ -391,7 +400,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
391 | # | 400 | # |
392 | # CFG80211 needs to be enabled for MAC80211 | 401 | # CFG80211 needs to be enabled for MAC80211 |
393 | # | 402 | # |
394 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
395 | # CONFIG_WIMAX is not set | 403 | # CONFIG_WIMAX is not set |
396 | # CONFIG_RFKILL is not set | 404 | # CONFIG_RFKILL is not set |
397 | # CONFIG_NET_9P is not set | 405 | # CONFIG_NET_9P is not set |
@@ -404,6 +412,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
404 | # Generic Driver Options | 412 | # Generic Driver Options |
405 | # | 413 | # |
406 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 414 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
415 | # CONFIG_DEVTMPFS is not set | ||
407 | CONFIG_STANDALONE=y | 416 | CONFIG_STANDALONE=y |
408 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 417 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
409 | # CONFIG_FW_LOADER is not set | 418 | # CONFIG_FW_LOADER is not set |
@@ -521,7 +530,9 @@ CONFIG_MII=y | |||
521 | # CONFIG_NET_PCI is not set | 530 | # CONFIG_NET_PCI is not set |
522 | # CONFIG_B44 is not set | 531 | # CONFIG_B44 is not set |
523 | # CONFIG_KS8842 is not set | 532 | # CONFIG_KS8842 is not set |
533 | # CONFIG_KS8851_MLL is not set | ||
524 | # CONFIG_ATL2 is not set | 534 | # CONFIG_ATL2 is not set |
535 | # CONFIG_XILINX_EMACLITE is not set | ||
525 | CONFIG_NETDEV_1000=y | 536 | CONFIG_NETDEV_1000=y |
526 | # CONFIG_ACENIC is not set | 537 | # CONFIG_ACENIC is not set |
527 | # CONFIG_DL2K is not set | 538 | # CONFIG_DL2K is not set |
@@ -569,10 +580,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
569 | # CONFIG_SFC is not set | 580 | # CONFIG_SFC is not set |
570 | # CONFIG_BE2NET is not set | 581 | # CONFIG_BE2NET is not set |
571 | # CONFIG_TR is not set | 582 | # CONFIG_TR is not set |
572 | 583 | CONFIG_WLAN=y | |
573 | # | ||
574 | # Wireless LAN | ||
575 | # | ||
576 | # CONFIG_WLAN_PRE80211 is not set | 584 | # CONFIG_WLAN_PRE80211 is not set |
577 | # CONFIG_WLAN_80211 is not set | 585 | # CONFIG_WLAN_80211 is not set |
578 | 586 | ||
@@ -676,6 +684,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
676 | # CONFIG_POWER_SUPPLY is not set | 684 | # CONFIG_POWER_SUPPLY is not set |
677 | CONFIG_HWMON=y | 685 | CONFIG_HWMON=y |
678 | # CONFIG_HWMON_VID is not set | 686 | # CONFIG_HWMON_VID is not set |
687 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
688 | |||
689 | # | ||
690 | # Native drivers | ||
691 | # | ||
679 | # CONFIG_SENSORS_I5K_AMB is not set | 692 | # CONFIG_SENSORS_I5K_AMB is not set |
680 | # CONFIG_SENSORS_F71805F is not set | 693 | # CONFIG_SENSORS_F71805F is not set |
681 | # CONFIG_SENSORS_F71882FG is not set | 694 | # CONFIG_SENSORS_F71882FG is not set |
@@ -690,9 +703,7 @@ CONFIG_HWMON=y | |||
690 | # CONFIG_SENSORS_VT8231 is not set | 703 | # CONFIG_SENSORS_VT8231 is not set |
691 | # CONFIG_SENSORS_W83627HF is not set | 704 | # CONFIG_SENSORS_W83627HF is not set |
692 | # CONFIG_SENSORS_W83627EHF is not set | 705 | # CONFIG_SENSORS_W83627EHF is not set |
693 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
694 | # CONFIG_THERMAL is not set | 706 | # CONFIG_THERMAL is not set |
695 | # CONFIG_THERMAL_HWMON is not set | ||
696 | # CONFIG_WATCHDOG is not set | 707 | # CONFIG_WATCHDOG is not set |
697 | CONFIG_SSB_POSSIBLE=y | 708 | CONFIG_SSB_POSSIBLE=y |
698 | 709 | ||
@@ -715,6 +726,7 @@ CONFIG_SSB_POSSIBLE=y | |||
715 | # Graphics support | 726 | # Graphics support |
716 | # | 727 | # |
717 | # CONFIG_AGP is not set | 728 | # CONFIG_AGP is not set |
729 | CONFIG_VGA_ARB=y | ||
718 | # CONFIG_DRM is not set | 730 | # CONFIG_DRM is not set |
719 | # CONFIG_VGASTATE is not set | 731 | # CONFIG_VGASTATE is not set |
720 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 732 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -758,6 +770,7 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
758 | # CONFIG_GFS2_FS is not set | 770 | # CONFIG_GFS2_FS is not set |
759 | # CONFIG_OCFS2_FS is not set | 771 | # CONFIG_OCFS2_FS is not set |
760 | # CONFIG_BTRFS_FS is not set | 772 | # CONFIG_BTRFS_FS is not set |
773 | # CONFIG_NILFS2_FS is not set | ||
761 | CONFIG_FILE_LOCKING=y | 774 | CONFIG_FILE_LOCKING=y |
762 | CONFIG_FSNOTIFY=y | 775 | CONFIG_FSNOTIFY=y |
763 | CONFIG_DNOTIFY=y | 776 | CONFIG_DNOTIFY=y |
@@ -816,7 +829,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
816 | # CONFIG_ROMFS_FS is not set | 829 | # CONFIG_ROMFS_FS is not set |
817 | # CONFIG_SYSV_FS is not set | 830 | # CONFIG_SYSV_FS is not set |
818 | # CONFIG_UFS_FS is not set | 831 | # CONFIG_UFS_FS is not set |
819 | # CONFIG_NILFS2_FS is not set | ||
820 | CONFIG_NETWORK_FILESYSTEMS=y | 832 | CONFIG_NETWORK_FILESYSTEMS=y |
821 | CONFIG_NFS_FS=y | 833 | CONFIG_NFS_FS=y |
822 | # CONFIG_NFS_V3 is not set | 834 | # CONFIG_NFS_V3 is not set |
@@ -872,6 +884,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
872 | CONFIG_ENABLE_MUST_CHECK=y | 884 | CONFIG_ENABLE_MUST_CHECK=y |
873 | CONFIG_FRAME_WARN=1024 | 885 | CONFIG_FRAME_WARN=1024 |
874 | # CONFIG_MAGIC_SYSRQ is not set | 886 | # CONFIG_MAGIC_SYSRQ is not set |
887 | # CONFIG_STRIP_ASM_SYMS is not set | ||
875 | # CONFIG_UNUSED_SYMBOLS is not set | 888 | # CONFIG_UNUSED_SYMBOLS is not set |
876 | # CONFIG_DEBUG_FS is not set | 889 | # CONFIG_DEBUG_FS is not set |
877 | # CONFIG_HEADERS_CHECK is not set | 890 | # CONFIG_HEADERS_CHECK is not set |
@@ -887,6 +900,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
887 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 900 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
888 | CONFIG_TRACING_SUPPORT=y | 901 | CONFIG_TRACING_SUPPORT=y |
889 | # CONFIG_FTRACE is not set | 902 | # CONFIG_FTRACE is not set |
903 | # CONFIG_DMA_API_DEBUG is not set | ||
890 | # CONFIG_SAMPLES is not set | 904 | # CONFIG_SAMPLES is not set |
891 | CONFIG_HAVE_ARCH_KGDB=y | 905 | CONFIG_HAVE_ARCH_KGDB=y |
892 | # CONFIG_PPC_DISABLE_WERROR is not set | 906 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -907,7 +921,6 @@ CONFIG_CRYPTO=y | |||
907 | # | 921 | # |
908 | # Crypto core or helper | 922 | # Crypto core or helper |
909 | # | 923 | # |
910 | # CONFIG_CRYPTO_FIPS is not set | ||
911 | # CONFIG_CRYPTO_MANAGER is not set | 924 | # CONFIG_CRYPTO_MANAGER is not set |
912 | # CONFIG_CRYPTO_MANAGER2 is not set | 925 | # CONFIG_CRYPTO_MANAGER2 is not set |
913 | # CONFIG_CRYPTO_GF128MUL is not set | 926 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -938,11 +951,13 @@ CONFIG_CRYPTO=y | |||
938 | # | 951 | # |
939 | # CONFIG_CRYPTO_HMAC is not set | 952 | # CONFIG_CRYPTO_HMAC is not set |
940 | # CONFIG_CRYPTO_XCBC is not set | 953 | # CONFIG_CRYPTO_XCBC is not set |
954 | # CONFIG_CRYPTO_VMAC is not set | ||
941 | 955 | ||
942 | # | 956 | # |
943 | # Digest | 957 | # Digest |
944 | # | 958 | # |
945 | # CONFIG_CRYPTO_CRC32C is not set | 959 | # CONFIG_CRYPTO_CRC32C is not set |
960 | # CONFIG_CRYPTO_GHASH is not set | ||
946 | # CONFIG_CRYPTO_MD4 is not set | 961 | # CONFIG_CRYPTO_MD4 is not set |
947 | # CONFIG_CRYPTO_MD5 is not set | 962 | # CONFIG_CRYPTO_MD5 is not set |
948 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 963 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/sbc8560_defconfig b/arch/powerpc/configs/85xx/sbc8560_defconfig index b0c469823b02..959d0281431b 100644 --- a/arch/powerpc/configs/85xx/sbc8560_defconfig +++ b/arch/powerpc/configs/85xx/sbc8560_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:19 2009 | 4 | # Thu Nov 5 08:20:37 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -126,26 +129,27 @@ CONFIG_TIMERFD=y | |||
126 | CONFIG_EVENTFD=y | 129 | CONFIG_EVENTFD=y |
127 | CONFIG_SHMEM=y | 130 | CONFIG_SHMEM=y |
128 | CONFIG_AIO=y | 131 | CONFIG_AIO=y |
129 | CONFIG_HAVE_PERF_COUNTERS=y | 132 | CONFIG_HAVE_PERF_EVENTS=y |
130 | 133 | ||
131 | # | 134 | # |
132 | # Performance Counters | 135 | # Kernel Performance Events And Counters |
133 | # | 136 | # |
137 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | 138 | # CONFIG_PERF_COUNTERS is not set |
135 | CONFIG_VM_EVENT_COUNTERS=y | 139 | CONFIG_VM_EVENT_COUNTERS=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
138 | CONFIG_SLAB=y | 141 | CONFIG_SLAB=y |
139 | # CONFIG_SLUB is not set | 142 | # CONFIG_SLUB is not set |
140 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 153 | ||
150 | # | 154 | # |
151 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -188,6 +192,7 @@ CONFIG_MPC85xx=y | |||
188 | # CONFIG_MPC85xx_MDS is not set | 192 | # CONFIG_MPC85xx_MDS is not set |
189 | # CONFIG_MPC8536_DS is not set | 193 | # CONFIG_MPC8536_DS is not set |
190 | # CONFIG_MPC85xx_DS is not set | 194 | # CONFIG_MPC85xx_DS is not set |
195 | # CONFIG_MPC85xx_RDB is not set | ||
191 | # CONFIG_SOCRATES is not set | 196 | # CONFIG_SOCRATES is not set |
192 | # CONFIG_KSI8560 is not set | 197 | # CONFIG_KSI8560 is not set |
193 | # CONFIG_XES_MPC85xx is not set | 198 | # CONFIG_XES_MPC85xx is not set |
@@ -242,6 +247,7 @@ CONFIG_BINFMT_MISC=y | |||
242 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 247 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
243 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 248 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 249 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
250 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
245 | CONFIG_ARCH_FLATMEM_ENABLE=y | 251 | CONFIG_ARCH_FLATMEM_ENABLE=y |
246 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 252 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
247 | CONFIG_SELECT_MEMORY_MODEL=y | 253 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -259,6 +265,7 @@ CONFIG_BOUNCE=y | |||
259 | CONFIG_VIRT_TO_BUS=y | 265 | CONFIG_VIRT_TO_BUS=y |
260 | CONFIG_HAVE_MLOCK=y | 266 | CONFIG_HAVE_MLOCK=y |
261 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 267 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
268 | # CONFIG_KSM is not set | ||
262 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 269 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
263 | CONFIG_PPC_4K_PAGES=y | 270 | CONFIG_PPC_4K_PAGES=y |
264 | # CONFIG_PPC_16K_PAGES is not set | 271 | # CONFIG_PPC_16K_PAGES is not set |
@@ -347,6 +354,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
347 | # CONFIG_NETFILTER is not set | 354 | # CONFIG_NETFILTER is not set |
348 | # CONFIG_IP_DCCP is not set | 355 | # CONFIG_IP_DCCP is not set |
349 | # CONFIG_IP_SCTP is not set | 356 | # CONFIG_IP_SCTP is not set |
357 | # CONFIG_RDS is not set | ||
350 | # CONFIG_TIPC is not set | 358 | # CONFIG_TIPC is not set |
351 | # CONFIG_ATM is not set | 359 | # CONFIG_ATM is not set |
352 | # CONFIG_BRIDGE is not set | 360 | # CONFIG_BRIDGE is not set |
@@ -376,6 +384,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
376 | # CONFIG_AF_RXRPC is not set | 384 | # CONFIG_AF_RXRPC is not set |
377 | CONFIG_WIRELESS=y | 385 | CONFIG_WIRELESS=y |
378 | # CONFIG_CFG80211 is not set | 386 | # CONFIG_CFG80211 is not set |
387 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
379 | CONFIG_WIRELESS_OLD_REGULATORY=y | 388 | CONFIG_WIRELESS_OLD_REGULATORY=y |
380 | # CONFIG_WIRELESS_EXT is not set | 389 | # CONFIG_WIRELESS_EXT is not set |
381 | # CONFIG_LIB80211 is not set | 390 | # CONFIG_LIB80211 is not set |
@@ -383,7 +392,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
383 | # | 392 | # |
384 | # CFG80211 needs to be enabled for MAC80211 | 393 | # CFG80211 needs to be enabled for MAC80211 |
385 | # | 394 | # |
386 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
387 | # CONFIG_WIMAX is not set | 395 | # CONFIG_WIMAX is not set |
388 | # CONFIG_RFKILL is not set | 396 | # CONFIG_RFKILL is not set |
389 | # CONFIG_NET_9P is not set | 397 | # CONFIG_NET_9P is not set |
@@ -396,6 +404,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
396 | # Generic Driver Options | 404 | # Generic Driver Options |
397 | # | 405 | # |
398 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 406 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
407 | # CONFIG_DEVTMPFS is not set | ||
399 | CONFIG_STANDALONE=y | 408 | CONFIG_STANDALONE=y |
400 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 409 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
401 | # CONFIG_FW_LOADER is not set | 410 | # CONFIG_FW_LOADER is not set |
@@ -481,15 +490,14 @@ CONFIG_MII=y | |||
481 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 490 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
482 | # CONFIG_B44 is not set | 491 | # CONFIG_B44 is not set |
483 | # CONFIG_KS8842 is not set | 492 | # CONFIG_KS8842 is not set |
493 | # CONFIG_KS8851_MLL is not set | ||
494 | # CONFIG_XILINX_EMACLITE is not set | ||
484 | CONFIG_NETDEV_1000=y | 495 | CONFIG_NETDEV_1000=y |
485 | CONFIG_FSL_PQ_MDIO=y | 496 | CONFIG_FSL_PQ_MDIO=y |
486 | CONFIG_GIANFAR=y | 497 | CONFIG_GIANFAR=y |
487 | # CONFIG_MV643XX_ETH is not set | 498 | # CONFIG_MV643XX_ETH is not set |
488 | CONFIG_NETDEV_10000=y | 499 | CONFIG_NETDEV_10000=y |
489 | 500 | CONFIG_WLAN=y | |
490 | # | ||
491 | # Wireless LAN | ||
492 | # | ||
493 | # CONFIG_WLAN_PRE80211 is not set | 501 | # CONFIG_WLAN_PRE80211 is not set |
494 | # CONFIG_WLAN_80211 is not set | 502 | # CONFIG_WLAN_80211 is not set |
495 | 503 | ||
@@ -584,6 +592,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
584 | # CONFIG_POWER_SUPPLY is not set | 592 | # CONFIG_POWER_SUPPLY is not set |
585 | CONFIG_HWMON=y | 593 | CONFIG_HWMON=y |
586 | # CONFIG_HWMON_VID is not set | 594 | # CONFIG_HWMON_VID is not set |
595 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
596 | |||
597 | # | ||
598 | # Native drivers | ||
599 | # | ||
587 | # CONFIG_SENSORS_F71805F is not set | 600 | # CONFIG_SENSORS_F71805F is not set |
588 | # CONFIG_SENSORS_F71882FG is not set | 601 | # CONFIG_SENSORS_F71882FG is not set |
589 | # CONFIG_SENSORS_IT87 is not set | 602 | # CONFIG_SENSORS_IT87 is not set |
@@ -594,9 +607,7 @@ CONFIG_HWMON=y | |||
594 | # CONFIG_SENSORS_VT1211 is not set | 607 | # CONFIG_SENSORS_VT1211 is not set |
595 | # CONFIG_SENSORS_W83627HF is not set | 608 | # CONFIG_SENSORS_W83627HF is not set |
596 | # CONFIG_SENSORS_W83627EHF is not set | 609 | # CONFIG_SENSORS_W83627EHF is not set |
597 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
598 | # CONFIG_THERMAL is not set | 610 | # CONFIG_THERMAL is not set |
599 | # CONFIG_THERMAL_HWMON is not set | ||
600 | # CONFIG_WATCHDOG is not set | 611 | # CONFIG_WATCHDOG is not set |
601 | CONFIG_SSB_POSSIBLE=y | 612 | CONFIG_SSB_POSSIBLE=y |
602 | 613 | ||
@@ -630,7 +641,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
630 | # CONFIG_SOUND is not set | 641 | # CONFIG_SOUND is not set |
631 | CONFIG_HID_SUPPORT=y | 642 | CONFIG_HID_SUPPORT=y |
632 | CONFIG_HID=y | 643 | CONFIG_HID=y |
633 | # CONFIG_HID_DEBUG is not set | ||
634 | # CONFIG_HIDRAW is not set | 644 | # CONFIG_HIDRAW is not set |
635 | # CONFIG_HID_PID is not set | 645 | # CONFIG_HID_PID is not set |
636 | 646 | ||
@@ -721,6 +731,7 @@ CONFIG_RTC_DRV_M48T59=y | |||
721 | # CONFIG_GFS2_FS is not set | 731 | # CONFIG_GFS2_FS is not set |
722 | # CONFIG_OCFS2_FS is not set | 732 | # CONFIG_OCFS2_FS is not set |
723 | # CONFIG_BTRFS_FS is not set | 733 | # CONFIG_BTRFS_FS is not set |
734 | # CONFIG_NILFS2_FS is not set | ||
724 | CONFIG_FILE_LOCKING=y | 735 | CONFIG_FILE_LOCKING=y |
725 | CONFIG_FSNOTIFY=y | 736 | CONFIG_FSNOTIFY=y |
726 | CONFIG_DNOTIFY=y | 737 | CONFIG_DNOTIFY=y |
@@ -779,7 +790,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
779 | # CONFIG_ROMFS_FS is not set | 790 | # CONFIG_ROMFS_FS is not set |
780 | # CONFIG_SYSV_FS is not set | 791 | # CONFIG_SYSV_FS is not set |
781 | # CONFIG_UFS_FS is not set | 792 | # CONFIG_UFS_FS is not set |
782 | # CONFIG_NILFS2_FS is not set | ||
783 | CONFIG_NETWORK_FILESYSTEMS=y | 793 | CONFIG_NETWORK_FILESYSTEMS=y |
784 | CONFIG_NFS_FS=y | 794 | CONFIG_NFS_FS=y |
785 | # CONFIG_NFS_V3 is not set | 795 | # CONFIG_NFS_V3 is not set |
@@ -847,6 +857,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
847 | CONFIG_ENABLE_MUST_CHECK=y | 857 | CONFIG_ENABLE_MUST_CHECK=y |
848 | CONFIG_FRAME_WARN=1024 | 858 | CONFIG_FRAME_WARN=1024 |
849 | CONFIG_MAGIC_SYSRQ=y | 859 | CONFIG_MAGIC_SYSRQ=y |
860 | # CONFIG_STRIP_ASM_SYMS is not set | ||
850 | # CONFIG_UNUSED_SYMBOLS is not set | 861 | # CONFIG_UNUSED_SYMBOLS is not set |
851 | # CONFIG_DEBUG_FS is not set | 862 | # CONFIG_DEBUG_FS is not set |
852 | # CONFIG_HEADERS_CHECK is not set | 863 | # CONFIG_HEADERS_CHECK is not set |
@@ -863,6 +874,7 @@ CONFIG_SCHED_DEBUG=y | |||
863 | # CONFIG_TIMER_STATS is not set | 874 | # CONFIG_TIMER_STATS is not set |
864 | # CONFIG_DEBUG_OBJECTS is not set | 875 | # CONFIG_DEBUG_OBJECTS is not set |
865 | # CONFIG_DEBUG_SLAB is not set | 876 | # CONFIG_DEBUG_SLAB is not set |
877 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
866 | # CONFIG_DEBUG_RT_MUTEXES is not set | 878 | # CONFIG_DEBUG_RT_MUTEXES is not set |
867 | # CONFIG_RT_MUTEX_TESTER is not set | 879 | # CONFIG_RT_MUTEX_TESTER is not set |
868 | # CONFIG_DEBUG_SPINLOCK is not set | 880 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -881,10 +893,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
881 | # CONFIG_DEBUG_LIST is not set | 893 | # CONFIG_DEBUG_LIST is not set |
882 | # CONFIG_DEBUG_SG is not set | 894 | # CONFIG_DEBUG_SG is not set |
883 | # CONFIG_DEBUG_NOTIFIERS is not set | 895 | # CONFIG_DEBUG_NOTIFIERS is not set |
896 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
884 | # CONFIG_RCU_TORTURE_TEST is not set | 897 | # CONFIG_RCU_TORTURE_TEST is not set |
885 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 898 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
886 | # CONFIG_BACKTRACE_SELF_TEST is not set | 899 | # CONFIG_BACKTRACE_SELF_TEST is not set |
887 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 900 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
901 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
888 | # CONFIG_FAULT_INJECTION is not set | 902 | # CONFIG_FAULT_INJECTION is not set |
889 | # CONFIG_LATENCYTOP is not set | 903 | # CONFIG_LATENCYTOP is not set |
890 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 904 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -907,10 +921,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
907 | # CONFIG_KMEMTRACE is not set | 921 | # CONFIG_KMEMTRACE is not set |
908 | # CONFIG_WORKQUEUE_TRACER is not set | 922 | # CONFIG_WORKQUEUE_TRACER is not set |
909 | # CONFIG_BLK_DEV_IO_TRACE is not set | 923 | # CONFIG_BLK_DEV_IO_TRACE is not set |
924 | # CONFIG_DMA_API_DEBUG is not set | ||
910 | # CONFIG_SAMPLES is not set | 925 | # CONFIG_SAMPLES is not set |
911 | CONFIG_HAVE_ARCH_KGDB=y | 926 | CONFIG_HAVE_ARCH_KGDB=y |
912 | # CONFIG_KGDB is not set | 927 | # CONFIG_KGDB is not set |
913 | # CONFIG_KMEMCHECK is not set | ||
914 | # CONFIG_PPC_DISABLE_WERROR is not set | 928 | # CONFIG_PPC_DISABLE_WERROR is not set |
915 | CONFIG_PPC_WERROR=y | 929 | CONFIG_PPC_WERROR=y |
916 | CONFIG_PRINT_STACK_DEPTH=64 | 930 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -947,7 +961,6 @@ CONFIG_CRYPTO=y | |||
947 | # | 961 | # |
948 | # Crypto core or helper | 962 | # Crypto core or helper |
949 | # | 963 | # |
950 | # CONFIG_CRYPTO_FIPS is not set | ||
951 | # CONFIG_CRYPTO_MANAGER is not set | 964 | # CONFIG_CRYPTO_MANAGER is not set |
952 | # CONFIG_CRYPTO_MANAGER2 is not set | 965 | # CONFIG_CRYPTO_MANAGER2 is not set |
953 | # CONFIG_CRYPTO_GF128MUL is not set | 966 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -978,11 +991,13 @@ CONFIG_CRYPTO=y | |||
978 | # | 991 | # |
979 | # CONFIG_CRYPTO_HMAC is not set | 992 | # CONFIG_CRYPTO_HMAC is not set |
980 | # CONFIG_CRYPTO_XCBC is not set | 993 | # CONFIG_CRYPTO_XCBC is not set |
994 | # CONFIG_CRYPTO_VMAC is not set | ||
981 | 995 | ||
982 | # | 996 | # |
983 | # Digest | 997 | # Digest |
984 | # | 998 | # |
985 | # CONFIG_CRYPTO_CRC32C is not set | 999 | # CONFIG_CRYPTO_CRC32C is not set |
1000 | # CONFIG_CRYPTO_GHASH is not set | ||
986 | # CONFIG_CRYPTO_MD4 is not set | 1001 | # CONFIG_CRYPTO_MD4 is not set |
987 | # CONFIG_CRYPTO_MD5 is not set | 1002 | # CONFIG_CRYPTO_MD5 is not set |
988 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1003 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/socrates_defconfig b/arch/powerpc/configs/85xx/socrates_defconfig index 04c85dada845..7f5ec35bf199 100644 --- a/arch/powerpc/configs/85xx/socrates_defconfig +++ b/arch/powerpc/configs/85xx/socrates_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:19 2009 | 4 | # Thu Nov 5 08:20:37 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=16 | 96 | CONFIG_LOG_BUF_SHIFT=16 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +127,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 131 | ||
129 | # | 132 | # |
130 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
131 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 139 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 141 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 142 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 153 | ||
150 | # | 154 | # |
151 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -193,6 +197,7 @@ CONFIG_MPC85xx=y | |||
193 | # CONFIG_MPC85xx_MDS is not set | 197 | # CONFIG_MPC85xx_MDS is not set |
194 | # CONFIG_MPC8536_DS is not set | 198 | # CONFIG_MPC8536_DS is not set |
195 | # CONFIG_MPC85xx_DS is not set | 199 | # CONFIG_MPC85xx_DS is not set |
200 | # CONFIG_MPC85xx_RDB is not set | ||
196 | CONFIG_SOCRATES=y | 201 | CONFIG_SOCRATES=y |
197 | # CONFIG_KSI8560 is not set | 202 | # CONFIG_KSI8560 is not set |
198 | # CONFIG_XES_MPC85xx is not set | 203 | # CONFIG_XES_MPC85xx is not set |
@@ -247,6 +252,7 @@ CONFIG_MATH_EMULATION=y | |||
247 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 252 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
248 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 253 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
249 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
255 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
250 | CONFIG_ARCH_FLATMEM_ENABLE=y | 256 | CONFIG_ARCH_FLATMEM_ENABLE=y |
251 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 257 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
252 | CONFIG_SELECT_MEMORY_MODEL=y | 258 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -264,6 +270,7 @@ CONFIG_BOUNCE=y | |||
264 | CONFIG_VIRT_TO_BUS=y | 270 | CONFIG_VIRT_TO_BUS=y |
265 | CONFIG_HAVE_MLOCK=y | 271 | CONFIG_HAVE_MLOCK=y |
266 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 272 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
273 | # CONFIG_KSM is not set | ||
267 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 274 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
268 | CONFIG_PPC_4K_PAGES=y | 275 | CONFIG_PPC_4K_PAGES=y |
269 | # CONFIG_PPC_16K_PAGES is not set | 276 | # CONFIG_PPC_16K_PAGES is not set |
@@ -358,6 +365,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
358 | # CONFIG_NETFILTER is not set | 365 | # CONFIG_NETFILTER is not set |
359 | # CONFIG_IP_DCCP is not set | 366 | # CONFIG_IP_DCCP is not set |
360 | # CONFIG_IP_SCTP is not set | 367 | # CONFIG_IP_SCTP is not set |
368 | # CONFIG_RDS is not set | ||
361 | # CONFIG_TIPC is not set | 369 | # CONFIG_TIPC is not set |
362 | # CONFIG_ATM is not set | 370 | # CONFIG_ATM is not set |
363 | # CONFIG_BRIDGE is not set | 371 | # CONFIG_BRIDGE is not set |
@@ -396,6 +404,7 @@ CONFIG_CAN_BCM=y | |||
396 | # CONFIG_AF_RXRPC is not set | 404 | # CONFIG_AF_RXRPC is not set |
397 | CONFIG_WIRELESS=y | 405 | CONFIG_WIRELESS=y |
398 | # CONFIG_CFG80211 is not set | 406 | # CONFIG_CFG80211 is not set |
407 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
399 | # CONFIG_WIRELESS_OLD_REGULATORY is not set | 408 | # CONFIG_WIRELESS_OLD_REGULATORY is not set |
400 | # CONFIG_WIRELESS_EXT is not set | 409 | # CONFIG_WIRELESS_EXT is not set |
401 | # CONFIG_LIB80211 is not set | 410 | # CONFIG_LIB80211 is not set |
@@ -403,7 +412,6 @@ CONFIG_WIRELESS=y | |||
403 | # | 412 | # |
404 | # CFG80211 needs to be enabled for MAC80211 | 413 | # CFG80211 needs to be enabled for MAC80211 |
405 | # | 414 | # |
406 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
407 | # CONFIG_WIMAX is not set | 415 | # CONFIG_WIMAX is not set |
408 | # CONFIG_RFKILL is not set | 416 | # CONFIG_RFKILL is not set |
409 | # CONFIG_NET_9P is not set | 417 | # CONFIG_NET_9P is not set |
@@ -421,9 +429,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
421 | # CONFIG_CONNECTOR is not set | 429 | # CONFIG_CONNECTOR is not set |
422 | CONFIG_MTD=y | 430 | CONFIG_MTD=y |
423 | # CONFIG_MTD_DEBUG is not set | 431 | # CONFIG_MTD_DEBUG is not set |
432 | # CONFIG_MTD_TESTS is not set | ||
424 | CONFIG_MTD_CONCAT=y | 433 | CONFIG_MTD_CONCAT=y |
425 | CONFIG_MTD_PARTITIONS=y | 434 | CONFIG_MTD_PARTITIONS=y |
426 | # CONFIG_MTD_TESTS is not set | ||
427 | # CONFIG_MTD_REDBOOT_PARTS is not set | 435 | # CONFIG_MTD_REDBOOT_PARTS is not set |
428 | CONFIG_MTD_CMDLINE_PARTS=y | 436 | CONFIG_MTD_CMDLINE_PARTS=y |
429 | CONFIG_MTD_OF_PARTS=y | 437 | CONFIG_MTD_OF_PARTS=y |
@@ -482,6 +490,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
482 | # CONFIG_MTD_PMC551 is not set | 490 | # CONFIG_MTD_PMC551 is not set |
483 | # CONFIG_MTD_DATAFLASH is not set | 491 | # CONFIG_MTD_DATAFLASH is not set |
484 | # CONFIG_MTD_M25P80 is not set | 492 | # CONFIG_MTD_M25P80 is not set |
493 | # CONFIG_MTD_SST25L is not set | ||
485 | # CONFIG_MTD_SLRAM is not set | 494 | # CONFIG_MTD_SLRAM is not set |
486 | # CONFIG_MTD_PHRAM is not set | 495 | # CONFIG_MTD_PHRAM is not set |
487 | # CONFIG_MTD_MTDRAM is not set | 496 | # CONFIG_MTD_MTDRAM is not set |
@@ -668,7 +677,9 @@ CONFIG_MII=y | |||
668 | # CONFIG_B44 is not set | 677 | # CONFIG_B44 is not set |
669 | # CONFIG_KS8842 is not set | 678 | # CONFIG_KS8842 is not set |
670 | # CONFIG_KS8851 is not set | 679 | # CONFIG_KS8851 is not set |
680 | # CONFIG_KS8851_MLL is not set | ||
671 | # CONFIG_ATL2 is not set | 681 | # CONFIG_ATL2 is not set |
682 | # CONFIG_XILINX_EMACLITE is not set | ||
672 | CONFIG_NETDEV_1000=y | 683 | CONFIG_NETDEV_1000=y |
673 | # CONFIG_ACENIC is not set | 684 | # CONFIG_ACENIC is not set |
674 | # CONFIG_DL2K is not set | 685 | # CONFIG_DL2K is not set |
@@ -698,10 +709,7 @@ CONFIG_GIANFAR=y | |||
698 | # CONFIG_JME is not set | 709 | # CONFIG_JME is not set |
699 | # CONFIG_NETDEV_10000 is not set | 710 | # CONFIG_NETDEV_10000 is not set |
700 | # CONFIG_TR is not set | 711 | # CONFIG_TR is not set |
701 | 712 | CONFIG_WLAN=y | |
702 | # | ||
703 | # Wireless LAN | ||
704 | # | ||
705 | # CONFIG_WLAN_PRE80211 is not set | 713 | # CONFIG_WLAN_PRE80211 is not set |
706 | # CONFIG_WLAN_80211 is not set | 714 | # CONFIG_WLAN_80211 is not set |
707 | 715 | ||
@@ -765,6 +773,7 @@ CONFIG_INPUT_TOUCHSCREEN=y | |||
765 | # CONFIG_TOUCHSCREEN_GUNZE is not set | 773 | # CONFIG_TOUCHSCREEN_GUNZE is not set |
766 | # CONFIG_TOUCHSCREEN_ELO is not set | 774 | # CONFIG_TOUCHSCREEN_ELO is not set |
767 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | 775 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set |
776 | # CONFIG_TOUCHSCREEN_MCS5000 is not set | ||
768 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | 777 | # CONFIG_TOUCHSCREEN_MTOUCH is not set |
769 | # CONFIG_TOUCHSCREEN_INEXIO is not set | 778 | # CONFIG_TOUCHSCREEN_INEXIO is not set |
770 | # CONFIG_TOUCHSCREEN_MK712 is not set | 779 | # CONFIG_TOUCHSCREEN_MK712 is not set |
@@ -774,7 +783,6 @@ CONFIG_INPUT_TOUCHSCREEN=y | |||
774 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | 783 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set |
775 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | 784 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set |
776 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | 785 | # CONFIG_TOUCHSCREEN_TSC2007 is not set |
777 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
778 | # CONFIG_INPUT_MISC is not set | 786 | # CONFIG_INPUT_MISC is not set |
779 | 787 | ||
780 | # | 788 | # |
@@ -834,6 +842,7 @@ CONFIG_HW_RANDOM=y | |||
834 | CONFIG_DEVPORT=y | 842 | CONFIG_DEVPORT=y |
835 | CONFIG_I2C=y | 843 | CONFIG_I2C=y |
836 | CONFIG_I2C_BOARDINFO=y | 844 | CONFIG_I2C_BOARDINFO=y |
845 | CONFIG_I2C_COMPAT=y | ||
837 | CONFIG_I2C_CHARDEV=y | 846 | CONFIG_I2C_CHARDEV=y |
838 | CONFIG_I2C_HELPER_AUTO=y | 847 | CONFIG_I2C_HELPER_AUTO=y |
839 | 848 | ||
@@ -888,9 +897,6 @@ CONFIG_I2C_MPC=y | |||
888 | # Miscellaneous I2C Chip support | 897 | # Miscellaneous I2C Chip support |
889 | # | 898 | # |
890 | # CONFIG_DS1682 is not set | 899 | # CONFIG_DS1682 is not set |
891 | # CONFIG_SENSORS_PCF8574 is not set | ||
892 | # CONFIG_PCF8575 is not set | ||
893 | # CONFIG_SENSORS_PCA9539 is not set | ||
894 | # CONFIG_SENSORS_TSL2550 is not set | 900 | # CONFIG_SENSORS_TSL2550 is not set |
895 | # CONFIG_I2C_DEBUG_CORE is not set | 901 | # CONFIG_I2C_DEBUG_CORE is not set |
896 | # CONFIG_I2C_DEBUG_ALGO is not set | 902 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -921,6 +927,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
921 | # CONFIG_POWER_SUPPLY is not set | 927 | # CONFIG_POWER_SUPPLY is not set |
922 | CONFIG_HWMON=y | 928 | CONFIG_HWMON=y |
923 | CONFIG_HWMON_VID=y | 929 | CONFIG_HWMON_VID=y |
930 | CONFIG_HWMON_DEBUG_CHIP=y | ||
931 | |||
932 | # | ||
933 | # Native drivers | ||
934 | # | ||
924 | # CONFIG_SENSORS_AD7414 is not set | 935 | # CONFIG_SENSORS_AD7414 is not set |
925 | # CONFIG_SENSORS_AD7418 is not set | 936 | # CONFIG_SENSORS_AD7418 is not set |
926 | # CONFIG_SENSORS_ADCXX is not set | 937 | # CONFIG_SENSORS_ADCXX is not set |
@@ -973,6 +984,7 @@ CONFIG_SENSORS_LM75=y | |||
973 | # CONFIG_SENSORS_ADS7828 is not set | 984 | # CONFIG_SENSORS_ADS7828 is not set |
974 | # CONFIG_SENSORS_THMC50 is not set | 985 | # CONFIG_SENSORS_THMC50 is not set |
975 | # CONFIG_SENSORS_TMP401 is not set | 986 | # CONFIG_SENSORS_TMP401 is not set |
987 | # CONFIG_SENSORS_TMP421 is not set | ||
976 | # CONFIG_SENSORS_VIA686A is not set | 988 | # CONFIG_SENSORS_VIA686A is not set |
977 | # CONFIG_SENSORS_VT1211 is not set | 989 | # CONFIG_SENSORS_VT1211 is not set |
978 | # CONFIG_SENSORS_VT8231 is not set | 990 | # CONFIG_SENSORS_VT8231 is not set |
@@ -985,9 +997,7 @@ CONFIG_SENSORS_W83781D=y | |||
985 | # CONFIG_SENSORS_W83627HF is not set | 997 | # CONFIG_SENSORS_W83627HF is not set |
986 | # CONFIG_SENSORS_W83627EHF is not set | 998 | # CONFIG_SENSORS_W83627EHF is not set |
987 | # CONFIG_SENSORS_LIS3_SPI is not set | 999 | # CONFIG_SENSORS_LIS3_SPI is not set |
988 | CONFIG_HWMON_DEBUG_CHIP=y | ||
989 | # CONFIG_THERMAL is not set | 1000 | # CONFIG_THERMAL is not set |
990 | # CONFIG_THERMAL_HWMON is not set | ||
991 | # CONFIG_WATCHDOG is not set | 1001 | # CONFIG_WATCHDOG is not set |
992 | CONFIG_SSB_POSSIBLE=y | 1002 | CONFIG_SSB_POSSIBLE=y |
993 | 1003 | ||
@@ -1006,8 +1016,10 @@ CONFIG_SSB_POSSIBLE=y | |||
1006 | # CONFIG_MFD_TMIO is not set | 1016 | # CONFIG_MFD_TMIO is not set |
1007 | # CONFIG_PMIC_DA903X is not set | 1017 | # CONFIG_PMIC_DA903X is not set |
1008 | # CONFIG_MFD_WM8400 is not set | 1018 | # CONFIG_MFD_WM8400 is not set |
1019 | # CONFIG_MFD_WM831X is not set | ||
1009 | # CONFIG_MFD_WM8350_I2C is not set | 1020 | # CONFIG_MFD_WM8350_I2C is not set |
1010 | # CONFIG_MFD_PCF50633 is not set | 1021 | # CONFIG_MFD_PCF50633 is not set |
1022 | # CONFIG_MFD_MC13783 is not set | ||
1011 | # CONFIG_AB3100_CORE is not set | 1023 | # CONFIG_AB3100_CORE is not set |
1012 | # CONFIG_EZX_PCAP is not set | 1024 | # CONFIG_EZX_PCAP is not set |
1013 | # CONFIG_REGULATOR is not set | 1025 | # CONFIG_REGULATOR is not set |
@@ -1017,6 +1029,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1017 | # Graphics support | 1029 | # Graphics support |
1018 | # | 1030 | # |
1019 | # CONFIG_AGP is not set | 1031 | # CONFIG_AGP is not set |
1032 | CONFIG_VGA_ARB=y | ||
1020 | # CONFIG_DRM is not set | 1033 | # CONFIG_DRM is not set |
1021 | # CONFIG_VGASTATE is not set | 1034 | # CONFIG_VGASTATE is not set |
1022 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1035 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1112,7 +1125,6 @@ CONFIG_FONT_8x16=y | |||
1112 | # CONFIG_SOUND is not set | 1125 | # CONFIG_SOUND is not set |
1113 | CONFIG_HID_SUPPORT=y | 1126 | CONFIG_HID_SUPPORT=y |
1114 | CONFIG_HID=y | 1127 | CONFIG_HID=y |
1115 | # CONFIG_HID_DEBUG is not set | ||
1116 | # CONFIG_HIDRAW is not set | 1128 | # CONFIG_HIDRAW is not set |
1117 | 1129 | ||
1118 | # | 1130 | # |
@@ -1135,6 +1147,7 @@ CONFIG_USB_HID=y | |||
1135 | # CONFIG_HID_EZKEY is not set | 1147 | # CONFIG_HID_EZKEY is not set |
1136 | # CONFIG_HID_KYE is not set | 1148 | # CONFIG_HID_KYE is not set |
1137 | # CONFIG_HID_GYRATION is not set | 1149 | # CONFIG_HID_GYRATION is not set |
1150 | # CONFIG_HID_TWINHAN is not set | ||
1138 | # CONFIG_HID_KENSINGTON is not set | 1151 | # CONFIG_HID_KENSINGTON is not set |
1139 | # CONFIG_HID_LOGITECH is not set | 1152 | # CONFIG_HID_LOGITECH is not set |
1140 | # CONFIG_HID_MICROSOFT is not set | 1153 | # CONFIG_HID_MICROSOFT is not set |
@@ -1184,6 +1197,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1184 | # CONFIG_USB_OXU210HP_HCD is not set | 1197 | # CONFIG_USB_OXU210HP_HCD is not set |
1185 | # CONFIG_USB_ISP116X_HCD is not set | 1198 | # CONFIG_USB_ISP116X_HCD is not set |
1186 | # CONFIG_USB_ISP1760_HCD is not set | 1199 | # CONFIG_USB_ISP1760_HCD is not set |
1200 | # CONFIG_USB_ISP1362_HCD is not set | ||
1187 | CONFIG_USB_OHCI_HCD=y | 1201 | CONFIG_USB_OHCI_HCD=y |
1188 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1202 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1189 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1203 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1319,6 +1333,7 @@ CONFIG_RTC_INTF_DEV=y | |||
1319 | # CONFIG_RTC_DRV_R9701 is not set | 1333 | # CONFIG_RTC_DRV_R9701 is not set |
1320 | # CONFIG_RTC_DRV_RS5C348 is not set | 1334 | # CONFIG_RTC_DRV_RS5C348 is not set |
1321 | # CONFIG_RTC_DRV_DS3234 is not set | 1335 | # CONFIG_RTC_DRV_DS3234 is not set |
1336 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1322 | 1337 | ||
1323 | # | 1338 | # |
1324 | # Platform RTC drivers | 1339 | # Platform RTC drivers |
@@ -1369,6 +1384,7 @@ CONFIG_FS_MBCACHE=y | |||
1369 | # CONFIG_GFS2_FS is not set | 1384 | # CONFIG_GFS2_FS is not set |
1370 | # CONFIG_OCFS2_FS is not set | 1385 | # CONFIG_OCFS2_FS is not set |
1371 | # CONFIG_BTRFS_FS is not set | 1386 | # CONFIG_BTRFS_FS is not set |
1387 | # CONFIG_NILFS2_FS is not set | ||
1372 | CONFIG_FILE_LOCKING=y | 1388 | CONFIG_FILE_LOCKING=y |
1373 | CONFIG_FSNOTIFY=y | 1389 | CONFIG_FSNOTIFY=y |
1374 | CONFIG_DNOTIFY=y | 1390 | CONFIG_DNOTIFY=y |
@@ -1438,7 +1454,6 @@ CONFIG_CRAMFS=y | |||
1438 | # CONFIG_ROMFS_FS is not set | 1454 | # CONFIG_ROMFS_FS is not set |
1439 | # CONFIG_SYSV_FS is not set | 1455 | # CONFIG_SYSV_FS is not set |
1440 | # CONFIG_UFS_FS is not set | 1456 | # CONFIG_UFS_FS is not set |
1441 | # CONFIG_NILFS2_FS is not set | ||
1442 | CONFIG_NETWORK_FILESYSTEMS=y | 1457 | CONFIG_NETWORK_FILESYSTEMS=y |
1443 | CONFIG_NFS_FS=y | 1458 | CONFIG_NFS_FS=y |
1444 | CONFIG_NFS_V3=y | 1459 | CONFIG_NFS_V3=y |
@@ -1552,6 +1567,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1552 | CONFIG_ENABLE_MUST_CHECK=y | 1567 | CONFIG_ENABLE_MUST_CHECK=y |
1553 | CONFIG_FRAME_WARN=1024 | 1568 | CONFIG_FRAME_WARN=1024 |
1554 | # CONFIG_MAGIC_SYSRQ is not set | 1569 | # CONFIG_MAGIC_SYSRQ is not set |
1570 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1555 | # CONFIG_UNUSED_SYMBOLS is not set | 1571 | # CONFIG_UNUSED_SYMBOLS is not set |
1556 | # CONFIG_DEBUG_FS is not set | 1572 | # CONFIG_DEBUG_FS is not set |
1557 | # CONFIG_HEADERS_CHECK is not set | 1573 | # CONFIG_HEADERS_CHECK is not set |
@@ -1569,6 +1585,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1569 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1585 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1570 | CONFIG_TRACING_SUPPORT=y | 1586 | CONFIG_TRACING_SUPPORT=y |
1571 | # CONFIG_FTRACE is not set | 1587 | # CONFIG_FTRACE is not set |
1588 | # CONFIG_DMA_API_DEBUG is not set | ||
1572 | # CONFIG_SAMPLES is not set | 1589 | # CONFIG_SAMPLES is not set |
1573 | CONFIG_HAVE_ARCH_KGDB=y | 1590 | CONFIG_HAVE_ARCH_KGDB=y |
1574 | # CONFIG_PPC_DISABLE_WERROR is not set | 1591 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1589,7 +1606,6 @@ CONFIG_CRYPTO=y | |||
1589 | # | 1606 | # |
1590 | # Crypto core or helper | 1607 | # Crypto core or helper |
1591 | # | 1608 | # |
1592 | # CONFIG_CRYPTO_FIPS is not set | ||
1593 | # CONFIG_CRYPTO_MANAGER is not set | 1609 | # CONFIG_CRYPTO_MANAGER is not set |
1594 | # CONFIG_CRYPTO_MANAGER2 is not set | 1610 | # CONFIG_CRYPTO_MANAGER2 is not set |
1595 | # CONFIG_CRYPTO_GF128MUL is not set | 1611 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1621,11 +1637,13 @@ CONFIG_CRYPTO=y | |||
1621 | # | 1637 | # |
1622 | # CONFIG_CRYPTO_HMAC is not set | 1638 | # CONFIG_CRYPTO_HMAC is not set |
1623 | # CONFIG_CRYPTO_XCBC is not set | 1639 | # CONFIG_CRYPTO_XCBC is not set |
1640 | # CONFIG_CRYPTO_VMAC is not set | ||
1624 | 1641 | ||
1625 | # | 1642 | # |
1626 | # Digest | 1643 | # Digest |
1627 | # | 1644 | # |
1628 | # CONFIG_CRYPTO_CRC32C is not set | 1645 | # CONFIG_CRYPTO_CRC32C is not set |
1646 | # CONFIG_CRYPTO_GHASH is not set | ||
1629 | # CONFIG_CRYPTO_MD4 is not set | 1647 | # CONFIG_CRYPTO_MD4 is not set |
1630 | # CONFIG_CRYPTO_MD5 is not set | 1648 | # CONFIG_CRYPTO_MD5 is not set |
1631 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1649 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/stx_gp3_defconfig b/arch/powerpc/configs/85xx/stx_gp3_defconfig index e7e81d6769fe..c8327e88a987 100644 --- a/arch/powerpc/configs/85xx/stx_gp3_defconfig +++ b/arch/powerpc/configs/85xx/stx_gp3_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:20 2009 | 4 | # Thu Nov 5 08:20:38 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -127,22 +130,21 @@ CONFIG_TIMERFD=y | |||
127 | CONFIG_EVENTFD=y | 130 | CONFIG_EVENTFD=y |
128 | CONFIG_SHMEM=y | 131 | CONFIG_SHMEM=y |
129 | CONFIG_AIO=y | 132 | CONFIG_AIO=y |
130 | CONFIG_HAVE_PERF_COUNTERS=y | 133 | CONFIG_HAVE_PERF_EVENTS=y |
131 | 134 | ||
132 | # | 135 | # |
133 | # Performance Counters | 136 | # Kernel Performance Events And Counters |
134 | # | 137 | # |
138 | # CONFIG_PERF_EVENTS is not set | ||
135 | # CONFIG_PERF_COUNTERS is not set | 139 | # CONFIG_PERF_COUNTERS is not set |
136 | CONFIG_VM_EVENT_COUNTERS=y | 140 | CONFIG_VM_EVENT_COUNTERS=y |
137 | CONFIG_PCI_QUIRKS=y | 141 | CONFIG_PCI_QUIRKS=y |
138 | CONFIG_SLUB_DEBUG=y | 142 | CONFIG_SLUB_DEBUG=y |
139 | # CONFIG_STRIP_ASM_SYMS is not set | ||
140 | CONFIG_COMPAT_BRK=y | 143 | CONFIG_COMPAT_BRK=y |
141 | # CONFIG_SLAB is not set | 144 | # CONFIG_SLAB is not set |
142 | CONFIG_SLUB=y | 145 | CONFIG_SLUB=y |
143 | # CONFIG_SLOB is not set | 146 | # CONFIG_SLOB is not set |
144 | # CONFIG_PROFILING is not set | 147 | # CONFIG_PROFILING is not set |
145 | # CONFIG_MARKERS is not set | ||
146 | CONFIG_HAVE_OPROFILE=y | 148 | CONFIG_HAVE_OPROFILE=y |
147 | # CONFIG_KPROBES is not set | 149 | # CONFIG_KPROBES is not set |
148 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 150 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -150,7 +152,9 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
150 | CONFIG_HAVE_KPROBES=y | 152 | CONFIG_HAVE_KPROBES=y |
151 | CONFIG_HAVE_KRETPROBES=y | 153 | CONFIG_HAVE_KRETPROBES=y |
152 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 154 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
155 | CONFIG_HAVE_DMA_ATTRS=y | ||
153 | CONFIG_HAVE_CLK=y | 156 | CONFIG_HAVE_CLK=y |
157 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
154 | 158 | ||
155 | # | 159 | # |
156 | # GCOV-based kernel profiling | 160 | # GCOV-based kernel profiling |
@@ -197,6 +201,7 @@ CONFIG_MPC85xx=y | |||
197 | # CONFIG_MPC85xx_MDS is not set | 201 | # CONFIG_MPC85xx_MDS is not set |
198 | # CONFIG_MPC8536_DS is not set | 202 | # CONFIG_MPC8536_DS is not set |
199 | # CONFIG_MPC85xx_DS is not set | 203 | # CONFIG_MPC85xx_DS is not set |
204 | # CONFIG_MPC85xx_RDB is not set | ||
200 | # CONFIG_SOCRATES is not set | 205 | # CONFIG_SOCRATES is not set |
201 | # CONFIG_KSI8560 is not set | 206 | # CONFIG_KSI8560 is not set |
202 | # CONFIG_XES_MPC85xx is not set | 207 | # CONFIG_XES_MPC85xx is not set |
@@ -252,6 +257,7 @@ CONFIG_MATH_EMULATION=y | |||
252 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 257 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
253 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 258 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
260 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
255 | CONFIG_ARCH_FLATMEM_ENABLE=y | 261 | CONFIG_ARCH_FLATMEM_ENABLE=y |
256 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 262 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
257 | CONFIG_SELECT_MEMORY_MODEL=y | 263 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -269,6 +275,7 @@ CONFIG_BOUNCE=y | |||
269 | CONFIG_VIRT_TO_BUS=y | 275 | CONFIG_VIRT_TO_BUS=y |
270 | CONFIG_HAVE_MLOCK=y | 276 | CONFIG_HAVE_MLOCK=y |
271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
278 | # CONFIG_KSM is not set | ||
272 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 279 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
273 | CONFIG_PPC_4K_PAGES=y | 280 | CONFIG_PPC_4K_PAGES=y |
274 | # CONFIG_PPC_16K_PAGES is not set | 281 | # CONFIG_PPC_16K_PAGES is not set |
@@ -426,6 +433,7 @@ CONFIG_IP_NF_FILTER=m | |||
426 | # CONFIG_IP_NF_ARPTABLES is not set | 433 | # CONFIG_IP_NF_ARPTABLES is not set |
427 | # CONFIG_IP_DCCP is not set | 434 | # CONFIG_IP_DCCP is not set |
428 | # CONFIG_IP_SCTP is not set | 435 | # CONFIG_IP_SCTP is not set |
436 | # CONFIG_RDS is not set | ||
429 | # CONFIG_TIPC is not set | 437 | # CONFIG_TIPC is not set |
430 | # CONFIG_ATM is not set | 438 | # CONFIG_ATM is not set |
431 | # CONFIG_BRIDGE is not set | 439 | # CONFIG_BRIDGE is not set |
@@ -455,6 +463,7 @@ CONFIG_NET_PKTGEN=y | |||
455 | # CONFIG_AF_RXRPC is not set | 463 | # CONFIG_AF_RXRPC is not set |
456 | CONFIG_WIRELESS=y | 464 | CONFIG_WIRELESS=y |
457 | # CONFIG_CFG80211 is not set | 465 | # CONFIG_CFG80211 is not set |
466 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
458 | CONFIG_WIRELESS_OLD_REGULATORY=y | 467 | CONFIG_WIRELESS_OLD_REGULATORY=y |
459 | # CONFIG_WIRELESS_EXT is not set | 468 | # CONFIG_WIRELESS_EXT is not set |
460 | # CONFIG_LIB80211 is not set | 469 | # CONFIG_LIB80211 is not set |
@@ -462,7 +471,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
462 | # | 471 | # |
463 | # CFG80211 needs to be enabled for MAC80211 | 472 | # CFG80211 needs to be enabled for MAC80211 |
464 | # | 473 | # |
465 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
466 | # CONFIG_WIMAX is not set | 474 | # CONFIG_WIMAX is not set |
467 | # CONFIG_RFKILL is not set | 475 | # CONFIG_RFKILL is not set |
468 | # CONFIG_NET_9P is not set | 476 | # CONFIG_NET_9P is not set |
@@ -475,6 +483,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
475 | # Generic Driver Options | 483 | # Generic Driver Options |
476 | # | 484 | # |
477 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 485 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
486 | # CONFIG_DEVTMPFS is not set | ||
478 | CONFIG_STANDALONE=y | 487 | CONFIG_STANDALONE=y |
479 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 488 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
480 | # CONFIG_FW_LOADER is not set | 489 | # CONFIG_FW_LOADER is not set |
@@ -622,6 +631,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
622 | # CONFIG_ISCSI_TCP is not set | 631 | # CONFIG_ISCSI_TCP is not set |
623 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 632 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
624 | # CONFIG_SCSI_BNX2_ISCSI is not set | 633 | # CONFIG_SCSI_BNX2_ISCSI is not set |
634 | # CONFIG_BE2ISCSI is not set | ||
625 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 635 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
626 | # CONFIG_SCSI_3W_9XXX is not set | 636 | # CONFIG_SCSI_3W_9XXX is not set |
627 | # CONFIG_SCSI_ACARD is not set | 637 | # CONFIG_SCSI_ACARD is not set |
@@ -662,7 +672,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
662 | # CONFIG_SCSI_DC390T is not set | 672 | # CONFIG_SCSI_DC390T is not set |
663 | # CONFIG_SCSI_NSP32 is not set | 673 | # CONFIG_SCSI_NSP32 is not set |
664 | # CONFIG_SCSI_DEBUG is not set | 674 | # CONFIG_SCSI_DEBUG is not set |
675 | # CONFIG_SCSI_PMCRAID is not set | ||
665 | # CONFIG_SCSI_SRP is not set | 676 | # CONFIG_SCSI_SRP is not set |
677 | # CONFIG_SCSI_BFA_FC is not set | ||
666 | # CONFIG_SCSI_DH is not set | 678 | # CONFIG_SCSI_DH is not set |
667 | # CONFIG_SCSI_OSD_INITIATOR is not set | 679 | # CONFIG_SCSI_OSD_INITIATOR is not set |
668 | # CONFIG_ATA is not set | 680 | # CONFIG_ATA is not set |
@@ -732,8 +744,10 @@ CONFIG_NET_ETHERNET=y | |||
732 | # CONFIG_NET_PCI is not set | 744 | # CONFIG_NET_PCI is not set |
733 | # CONFIG_B44 is not set | 745 | # CONFIG_B44 is not set |
734 | # CONFIG_KS8842 is not set | 746 | # CONFIG_KS8842 is not set |
747 | # CONFIG_KS8851_MLL is not set | ||
735 | # CONFIG_NET_POCKET is not set | 748 | # CONFIG_NET_POCKET is not set |
736 | # CONFIG_ATL2 is not set | 749 | # CONFIG_ATL2 is not set |
750 | # CONFIG_XILINX_EMACLITE is not set | ||
737 | # CONFIG_FS_ENET is not set | 751 | # CONFIG_FS_ENET is not set |
738 | CONFIG_NETDEV_1000=y | 752 | CONFIG_NETDEV_1000=y |
739 | # CONFIG_ACENIC is not set | 753 | # CONFIG_ACENIC is not set |
@@ -782,10 +796,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
782 | # CONFIG_SFC is not set | 796 | # CONFIG_SFC is not set |
783 | # CONFIG_BE2NET is not set | 797 | # CONFIG_BE2NET is not set |
784 | # CONFIG_TR is not set | 798 | # CONFIG_TR is not set |
785 | 799 | CONFIG_WLAN=y | |
786 | # | ||
787 | # Wireless LAN | ||
788 | # | ||
789 | # CONFIG_WLAN_PRE80211 is not set | 800 | # CONFIG_WLAN_PRE80211 is not set |
790 | # CONFIG_WLAN_80211 is not set | 801 | # CONFIG_WLAN_80211 is not set |
791 | 802 | ||
@@ -827,11 +838,15 @@ CONFIG_INPUT_EVDEV=m | |||
827 | # Input Device Drivers | 838 | # Input Device Drivers |
828 | # | 839 | # |
829 | CONFIG_INPUT_KEYBOARD=y | 840 | CONFIG_INPUT_KEYBOARD=y |
841 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
830 | CONFIG_KEYBOARD_ATKBD=y | 842 | CONFIG_KEYBOARD_ATKBD=y |
843 | # CONFIG_QT2160 is not set | ||
831 | # CONFIG_KEYBOARD_LKKBD is not set | 844 | # CONFIG_KEYBOARD_LKKBD is not set |
832 | # CONFIG_KEYBOARD_GPIO is not set | 845 | # CONFIG_KEYBOARD_GPIO is not set |
833 | # CONFIG_KEYBOARD_MATRIX is not set | 846 | # CONFIG_KEYBOARD_MATRIX is not set |
847 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
834 | # CONFIG_KEYBOARD_NEWTON is not set | 848 | # CONFIG_KEYBOARD_NEWTON is not set |
849 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
835 | # CONFIG_KEYBOARD_STOWAWAY is not set | 850 | # CONFIG_KEYBOARD_STOWAWAY is not set |
836 | # CONFIG_KEYBOARD_SUNKBD is not set | 851 | # CONFIG_KEYBOARD_SUNKBD is not set |
837 | # CONFIG_KEYBOARD_XTKBD is not set | 852 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -842,6 +857,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
842 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 857 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
843 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 858 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
844 | # CONFIG_MOUSE_PS2_ELANTECH is not set | 859 | # CONFIG_MOUSE_PS2_ELANTECH is not set |
860 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
845 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 861 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
846 | # CONFIG_MOUSE_SERIAL is not set | 862 | # CONFIG_MOUSE_SERIAL is not set |
847 | # CONFIG_MOUSE_APPLETOUCH is not set | 863 | # CONFIG_MOUSE_APPLETOUCH is not set |
@@ -909,6 +925,7 @@ CONFIG_HW_RANDOM=m | |||
909 | CONFIG_DEVPORT=y | 925 | CONFIG_DEVPORT=y |
910 | CONFIG_I2C=m | 926 | CONFIG_I2C=m |
911 | CONFIG_I2C_BOARDINFO=y | 927 | CONFIG_I2C_BOARDINFO=y |
928 | CONFIG_I2C_COMPAT=y | ||
912 | CONFIG_I2C_CHARDEV=m | 929 | CONFIG_I2C_CHARDEV=m |
913 | CONFIG_I2C_HELPER_AUTO=y | 930 | CONFIG_I2C_HELPER_AUTO=y |
914 | CONFIG_I2C_ALGOBIT=m | 931 | CONFIG_I2C_ALGOBIT=m |
@@ -967,9 +984,6 @@ CONFIG_I2C_ALGOBIT=m | |||
967 | # Miscellaneous I2C Chip support | 984 | # Miscellaneous I2C Chip support |
968 | # | 985 | # |
969 | # CONFIG_DS1682 is not set | 986 | # CONFIG_DS1682 is not set |
970 | # CONFIG_SENSORS_PCF8574 is not set | ||
971 | # CONFIG_PCF8575 is not set | ||
972 | # CONFIG_SENSORS_PCA9539 is not set | ||
973 | # CONFIG_SENSORS_TSL2550 is not set | 987 | # CONFIG_SENSORS_TSL2550 is not set |
974 | # CONFIG_I2C_DEBUG_CORE is not set | 988 | # CONFIG_I2C_DEBUG_CORE is not set |
975 | # CONFIG_I2C_DEBUG_ALGO is not set | 989 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1003,14 +1017,24 @@ CONFIG_GPIOLIB=y | |||
1003 | # PCI GPIO expanders: | 1017 | # PCI GPIO expanders: |
1004 | # | 1018 | # |
1005 | # CONFIG_GPIO_BT8XX is not set | 1019 | # CONFIG_GPIO_BT8XX is not set |
1020 | # CONFIG_GPIO_LANGWELL is not set | ||
1006 | 1021 | ||
1007 | # | 1022 | # |
1008 | # SPI GPIO expanders: | 1023 | # SPI GPIO expanders: |
1009 | # | 1024 | # |
1025 | |||
1026 | # | ||
1027 | # AC97 GPIO expanders: | ||
1028 | # | ||
1010 | # CONFIG_W1 is not set | 1029 | # CONFIG_W1 is not set |
1011 | # CONFIG_POWER_SUPPLY is not set | 1030 | # CONFIG_POWER_SUPPLY is not set |
1012 | CONFIG_HWMON=y | 1031 | CONFIG_HWMON=y |
1013 | # CONFIG_HWMON_VID is not set | 1032 | # CONFIG_HWMON_VID is not set |
1033 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1034 | |||
1035 | # | ||
1036 | # Native drivers | ||
1037 | # | ||
1014 | # CONFIG_SENSORS_AD7414 is not set | 1038 | # CONFIG_SENSORS_AD7414 is not set |
1015 | # CONFIG_SENSORS_AD7418 is not set | 1039 | # CONFIG_SENSORS_AD7418 is not set |
1016 | # CONFIG_SENSORS_ADM1021 is not set | 1040 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1061,6 +1085,7 @@ CONFIG_HWMON=y | |||
1061 | # CONFIG_SENSORS_ADS7828 is not set | 1085 | # CONFIG_SENSORS_ADS7828 is not set |
1062 | # CONFIG_SENSORS_THMC50 is not set | 1086 | # CONFIG_SENSORS_THMC50 is not set |
1063 | # CONFIG_SENSORS_TMP401 is not set | 1087 | # CONFIG_SENSORS_TMP401 is not set |
1088 | # CONFIG_SENSORS_TMP421 is not set | ||
1064 | # CONFIG_SENSORS_VIA686A is not set | 1089 | # CONFIG_SENSORS_VIA686A is not set |
1065 | # CONFIG_SENSORS_VT1211 is not set | 1090 | # CONFIG_SENSORS_VT1211 is not set |
1066 | # CONFIG_SENSORS_VT8231 is not set | 1091 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1072,9 +1097,7 @@ CONFIG_HWMON=y | |||
1072 | # CONFIG_SENSORS_W83L786NG is not set | 1097 | # CONFIG_SENSORS_W83L786NG is not set |
1073 | # CONFIG_SENSORS_W83627HF is not set | 1098 | # CONFIG_SENSORS_W83627HF is not set |
1074 | # CONFIG_SENSORS_W83627EHF is not set | 1099 | # CONFIG_SENSORS_W83627EHF is not set |
1075 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1076 | # CONFIG_THERMAL is not set | 1100 | # CONFIG_THERMAL is not set |
1077 | # CONFIG_THERMAL_HWMON is not set | ||
1078 | # CONFIG_WATCHDOG is not set | 1101 | # CONFIG_WATCHDOG is not set |
1079 | CONFIG_SSB_POSSIBLE=y | 1102 | CONFIG_SSB_POSSIBLE=y |
1080 | 1103 | ||
@@ -1092,6 +1115,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1092 | # CONFIG_TPS65010 is not set | 1115 | # CONFIG_TPS65010 is not set |
1093 | # CONFIG_MFD_TMIO is not set | 1116 | # CONFIG_MFD_TMIO is not set |
1094 | # CONFIG_MFD_WM8400 is not set | 1117 | # CONFIG_MFD_WM8400 is not set |
1118 | # CONFIG_MFD_WM831X is not set | ||
1095 | # CONFIG_MFD_WM8350_I2C is not set | 1119 | # CONFIG_MFD_WM8350_I2C is not set |
1096 | # CONFIG_MFD_PCF50633 is not set | 1120 | # CONFIG_MFD_PCF50633 is not set |
1097 | # CONFIG_AB3100_CORE is not set | 1121 | # CONFIG_AB3100_CORE is not set |
@@ -1102,6 +1126,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1102 | # Graphics support | 1126 | # Graphics support |
1103 | # | 1127 | # |
1104 | CONFIG_AGP=m | 1128 | CONFIG_AGP=m |
1129 | CONFIG_VGA_ARB=y | ||
1105 | CONFIG_DRM=m | 1130 | CONFIG_DRM=m |
1106 | # CONFIG_DRM_TDFX is not set | 1131 | # CONFIG_DRM_TDFX is not set |
1107 | # CONFIG_DRM_R128 is not set | 1132 | # CONFIG_DRM_R128 is not set |
@@ -1125,7 +1150,6 @@ CONFIG_SOUND=m | |||
1125 | # CONFIG_SOUND_PRIME is not set | 1150 | # CONFIG_SOUND_PRIME is not set |
1126 | CONFIG_HID_SUPPORT=y | 1151 | CONFIG_HID_SUPPORT=y |
1127 | CONFIG_HID=y | 1152 | CONFIG_HID=y |
1128 | # CONFIG_HID_DEBUG is not set | ||
1129 | # CONFIG_HIDRAW is not set | 1153 | # CONFIG_HIDRAW is not set |
1130 | # CONFIG_HID_PID is not set | 1154 | # CONFIG_HID_PID is not set |
1131 | 1155 | ||
@@ -1190,6 +1214,7 @@ CONFIG_FS_MBCACHE=y | |||
1190 | # CONFIG_GFS2_FS is not set | 1214 | # CONFIG_GFS2_FS is not set |
1191 | # CONFIG_OCFS2_FS is not set | 1215 | # CONFIG_OCFS2_FS is not set |
1192 | # CONFIG_BTRFS_FS is not set | 1216 | # CONFIG_BTRFS_FS is not set |
1217 | # CONFIG_NILFS2_FS is not set | ||
1193 | CONFIG_FILE_LOCKING=y | 1218 | CONFIG_FILE_LOCKING=y |
1194 | CONFIG_FSNOTIFY=y | 1219 | CONFIG_FSNOTIFY=y |
1195 | CONFIG_DNOTIFY=y | 1220 | CONFIG_DNOTIFY=y |
@@ -1254,7 +1279,6 @@ CONFIG_CRAMFS=m | |||
1254 | # CONFIG_ROMFS_FS is not set | 1279 | # CONFIG_ROMFS_FS is not set |
1255 | # CONFIG_SYSV_FS is not set | 1280 | # CONFIG_SYSV_FS is not set |
1256 | # CONFIG_UFS_FS is not set | 1281 | # CONFIG_UFS_FS is not set |
1257 | # CONFIG_NILFS2_FS is not set | ||
1258 | CONFIG_NETWORK_FILESYSTEMS=y | 1282 | CONFIG_NETWORK_FILESYSTEMS=y |
1259 | CONFIG_NFS_FS=y | 1283 | CONFIG_NFS_FS=y |
1260 | CONFIG_NFS_V3=y | 1284 | CONFIG_NFS_V3=y |
@@ -1352,6 +1376,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1352 | CONFIG_ENABLE_MUST_CHECK=y | 1376 | CONFIG_ENABLE_MUST_CHECK=y |
1353 | CONFIG_FRAME_WARN=1024 | 1377 | CONFIG_FRAME_WARN=1024 |
1354 | # CONFIG_MAGIC_SYSRQ is not set | 1378 | # CONFIG_MAGIC_SYSRQ is not set |
1379 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1355 | # CONFIG_UNUSED_SYMBOLS is not set | 1380 | # CONFIG_UNUSED_SYMBOLS is not set |
1356 | # CONFIG_DEBUG_FS is not set | 1381 | # CONFIG_DEBUG_FS is not set |
1357 | # CONFIG_HEADERS_CHECK is not set | 1382 | # CONFIG_HEADERS_CHECK is not set |
@@ -1369,6 +1394,7 @@ CONFIG_SCHED_DEBUG=y | |||
1369 | # CONFIG_DEBUG_OBJECTS is not set | 1394 | # CONFIG_DEBUG_OBJECTS is not set |
1370 | # CONFIG_SLUB_DEBUG_ON is not set | 1395 | # CONFIG_SLUB_DEBUG_ON is not set |
1371 | # CONFIG_SLUB_STATS is not set | 1396 | # CONFIG_SLUB_STATS is not set |
1397 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1372 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1398 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1373 | # CONFIG_RT_MUTEX_TESTER is not set | 1399 | # CONFIG_RT_MUTEX_TESTER is not set |
1374 | # CONFIG_DEBUG_SPINLOCK is not set | 1400 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1388,10 +1414,12 @@ CONFIG_SCHED_DEBUG=y | |||
1388 | # CONFIG_DEBUG_LIST is not set | 1414 | # CONFIG_DEBUG_LIST is not set |
1389 | # CONFIG_DEBUG_SG is not set | 1415 | # CONFIG_DEBUG_SG is not set |
1390 | # CONFIG_DEBUG_NOTIFIERS is not set | 1416 | # CONFIG_DEBUG_NOTIFIERS is not set |
1417 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1391 | # CONFIG_RCU_TORTURE_TEST is not set | 1418 | # CONFIG_RCU_TORTURE_TEST is not set |
1392 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1419 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1393 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1420 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1394 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1421 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1422 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1395 | # CONFIG_FAULT_INJECTION is not set | 1423 | # CONFIG_FAULT_INJECTION is not set |
1396 | # CONFIG_LATENCYTOP is not set | 1424 | # CONFIG_LATENCYTOP is not set |
1397 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1425 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1414,10 +1442,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1414 | # CONFIG_KMEMTRACE is not set | 1442 | # CONFIG_KMEMTRACE is not set |
1415 | # CONFIG_WORKQUEUE_TRACER is not set | 1443 | # CONFIG_WORKQUEUE_TRACER is not set |
1416 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1444 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1445 | # CONFIG_DMA_API_DEBUG is not set | ||
1417 | # CONFIG_SAMPLES is not set | 1446 | # CONFIG_SAMPLES is not set |
1418 | CONFIG_HAVE_ARCH_KGDB=y | 1447 | CONFIG_HAVE_ARCH_KGDB=y |
1419 | # CONFIG_KGDB is not set | 1448 | # CONFIG_KGDB is not set |
1420 | # CONFIG_KMEMCHECK is not set | ||
1421 | # CONFIG_PPC_DISABLE_WERROR is not set | 1449 | # CONFIG_PPC_DISABLE_WERROR is not set |
1422 | CONFIG_PPC_WERROR=y | 1450 | CONFIG_PPC_WERROR=y |
1423 | CONFIG_PRINT_STACK_DEPTH=64 | 1451 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1443,7 +1471,6 @@ CONFIG_CRYPTO=y | |||
1443 | # | 1471 | # |
1444 | # Crypto core or helper | 1472 | # Crypto core or helper |
1445 | # | 1473 | # |
1446 | # CONFIG_CRYPTO_FIPS is not set | ||
1447 | # CONFIG_CRYPTO_MANAGER is not set | 1474 | # CONFIG_CRYPTO_MANAGER is not set |
1448 | # CONFIG_CRYPTO_MANAGER2 is not set | 1475 | # CONFIG_CRYPTO_MANAGER2 is not set |
1449 | # CONFIG_CRYPTO_GF128MUL is not set | 1476 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1475,11 +1502,13 @@ CONFIG_CRYPTO=y | |||
1475 | # | 1502 | # |
1476 | # CONFIG_CRYPTO_HMAC is not set | 1503 | # CONFIG_CRYPTO_HMAC is not set |
1477 | # CONFIG_CRYPTO_XCBC is not set | 1504 | # CONFIG_CRYPTO_XCBC is not set |
1505 | # CONFIG_CRYPTO_VMAC is not set | ||
1478 | 1506 | ||
1479 | # | 1507 | # |
1480 | # Digest | 1508 | # Digest |
1481 | # | 1509 | # |
1482 | # CONFIG_CRYPTO_CRC32C is not set | 1510 | # CONFIG_CRYPTO_CRC32C is not set |
1511 | # CONFIG_CRYPTO_GHASH is not set | ||
1483 | # CONFIG_CRYPTO_MD4 is not set | 1512 | # CONFIG_CRYPTO_MD4 is not set |
1484 | # CONFIG_CRYPTO_MD5 is not set | 1513 | # CONFIG_CRYPTO_MD5 is not set |
1485 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1514 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/tqm8540_defconfig b/arch/powerpc/configs/85xx/tqm8540_defconfig index 2c407523aad2..82563703d5e3 100644 --- a/arch/powerpc/configs/85xx/tqm8540_defconfig +++ b/arch/powerpc/configs/85xx/tqm8540_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:21 2009 | 4 | # Thu Nov 5 08:20:39 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -124,28 +127,29 @@ CONFIG_TIMERFD=y | |||
124 | CONFIG_EVENTFD=y | 127 | CONFIG_EVENTFD=y |
125 | CONFIG_SHMEM=y | 128 | CONFIG_SHMEM=y |
126 | CONFIG_AIO=y | 129 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_COUNTERS=y | 130 | CONFIG_HAVE_PERF_EVENTS=y |
128 | 131 | ||
129 | # | 132 | # |
130 | # Performance Counters | 133 | # Kernel Performance Events And Counters |
131 | # | 134 | # |
135 | # CONFIG_PERF_EVENTS is not set | ||
132 | # CONFIG_PERF_COUNTERS is not set | 136 | # CONFIG_PERF_COUNTERS is not set |
133 | CONFIG_VM_EVENT_COUNTERS=y | 137 | CONFIG_VM_EVENT_COUNTERS=y |
134 | CONFIG_PCI_QUIRKS=y | 138 | CONFIG_PCI_QUIRKS=y |
135 | CONFIG_SLUB_DEBUG=y | 139 | CONFIG_SLUB_DEBUG=y |
136 | # CONFIG_STRIP_ASM_SYMS is not set | ||
137 | CONFIG_COMPAT_BRK=y | 140 | CONFIG_COMPAT_BRK=y |
138 | # CONFIG_SLAB is not set | 141 | # CONFIG_SLAB is not set |
139 | CONFIG_SLUB=y | 142 | CONFIG_SLUB=y |
140 | # CONFIG_SLOB is not set | 143 | # CONFIG_SLOB is not set |
141 | # CONFIG_PROFILING is not set | 144 | # CONFIG_PROFILING is not set |
142 | # CONFIG_MARKERS is not set | ||
143 | CONFIG_HAVE_OPROFILE=y | 145 | CONFIG_HAVE_OPROFILE=y |
144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 146 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
145 | CONFIG_HAVE_IOREMAP_PROT=y | 147 | CONFIG_HAVE_IOREMAP_PROT=y |
146 | CONFIG_HAVE_KPROBES=y | 148 | CONFIG_HAVE_KPROBES=y |
147 | CONFIG_HAVE_KRETPROBES=y | 149 | CONFIG_HAVE_KRETPROBES=y |
148 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 150 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
151 | CONFIG_HAVE_DMA_ATTRS=y | ||
152 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | 153 | ||
150 | # | 154 | # |
151 | # GCOV-based kernel profiling | 155 | # GCOV-based kernel profiling |
@@ -188,6 +192,7 @@ CONFIG_MPC85xx=y | |||
188 | # CONFIG_MPC85xx_MDS is not set | 192 | # CONFIG_MPC85xx_MDS is not set |
189 | # CONFIG_MPC8536_DS is not set | 193 | # CONFIG_MPC8536_DS is not set |
190 | # CONFIG_MPC85xx_DS is not set | 194 | # CONFIG_MPC85xx_DS is not set |
195 | # CONFIG_MPC85xx_RDB is not set | ||
191 | # CONFIG_SOCRATES is not set | 196 | # CONFIG_SOCRATES is not set |
192 | # CONFIG_KSI8560 is not set | 197 | # CONFIG_KSI8560 is not set |
193 | # CONFIG_XES_MPC85xx is not set | 198 | # CONFIG_XES_MPC85xx is not set |
@@ -243,6 +248,7 @@ CONFIG_MATH_EMULATION=y | |||
243 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 248 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
244 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 249 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
245 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
251 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
246 | CONFIG_ARCH_FLATMEM_ENABLE=y | 252 | CONFIG_ARCH_FLATMEM_ENABLE=y |
247 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 253 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
248 | CONFIG_SELECT_MEMORY_MODEL=y | 254 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -260,6 +266,7 @@ CONFIG_BOUNCE=y | |||
260 | CONFIG_VIRT_TO_BUS=y | 266 | CONFIG_VIRT_TO_BUS=y |
261 | CONFIG_HAVE_MLOCK=y | 267 | CONFIG_HAVE_MLOCK=y |
262 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 268 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
269 | # CONFIG_KSM is not set | ||
263 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 270 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
264 | CONFIG_PPC_4K_PAGES=y | 271 | CONFIG_PPC_4K_PAGES=y |
265 | # CONFIG_PPC_16K_PAGES is not set | 272 | # CONFIG_PPC_16K_PAGES is not set |
@@ -354,6 +361,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
354 | # CONFIG_NETFILTER is not set | 361 | # CONFIG_NETFILTER is not set |
355 | # CONFIG_IP_DCCP is not set | 362 | # CONFIG_IP_DCCP is not set |
356 | # CONFIG_IP_SCTP is not set | 363 | # CONFIG_IP_SCTP is not set |
364 | # CONFIG_RDS is not set | ||
357 | # CONFIG_TIPC is not set | 365 | # CONFIG_TIPC is not set |
358 | # CONFIG_ATM is not set | 366 | # CONFIG_ATM is not set |
359 | # CONFIG_BRIDGE is not set | 367 | # CONFIG_BRIDGE is not set |
@@ -383,6 +391,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
383 | # CONFIG_AF_RXRPC is not set | 391 | # CONFIG_AF_RXRPC is not set |
384 | CONFIG_WIRELESS=y | 392 | CONFIG_WIRELESS=y |
385 | # CONFIG_CFG80211 is not set | 393 | # CONFIG_CFG80211 is not set |
394 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
386 | CONFIG_WIRELESS_OLD_REGULATORY=y | 395 | CONFIG_WIRELESS_OLD_REGULATORY=y |
387 | # CONFIG_WIRELESS_EXT is not set | 396 | # CONFIG_WIRELESS_EXT is not set |
388 | # CONFIG_LIB80211 is not set | 397 | # CONFIG_LIB80211 is not set |
@@ -390,7 +399,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
390 | # | 399 | # |
391 | # CFG80211 needs to be enabled for MAC80211 | 400 | # CFG80211 needs to be enabled for MAC80211 |
392 | # | 401 | # |
393 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
394 | # CONFIG_WIMAX is not set | 402 | # CONFIG_WIMAX is not set |
395 | # CONFIG_RFKILL is not set | 403 | # CONFIG_RFKILL is not set |
396 | # CONFIG_NET_9P is not set | 404 | # CONFIG_NET_9P is not set |
@@ -677,9 +685,11 @@ CONFIG_E100=y | |||
677 | # CONFIG_SUNDANCE is not set | 685 | # CONFIG_SUNDANCE is not set |
678 | # CONFIG_TLAN is not set | 686 | # CONFIG_TLAN is not set |
679 | # CONFIG_KS8842 is not set | 687 | # CONFIG_KS8842 is not set |
688 | # CONFIG_KS8851_MLL is not set | ||
680 | # CONFIG_VIA_RHINE is not set | 689 | # CONFIG_VIA_RHINE is not set |
681 | # CONFIG_SC92031 is not set | 690 | # CONFIG_SC92031 is not set |
682 | # CONFIG_ATL2 is not set | 691 | # CONFIG_ATL2 is not set |
692 | # CONFIG_XILINX_EMACLITE is not set | ||
683 | CONFIG_NETDEV_1000=y | 693 | CONFIG_NETDEV_1000=y |
684 | # CONFIG_ACENIC is not set | 694 | # CONFIG_ACENIC is not set |
685 | # CONFIG_DL2K is not set | 695 | # CONFIG_DL2K is not set |
@@ -727,10 +737,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
727 | # CONFIG_SFC is not set | 737 | # CONFIG_SFC is not set |
728 | # CONFIG_BE2NET is not set | 738 | # CONFIG_BE2NET is not set |
729 | # CONFIG_TR is not set | 739 | # CONFIG_TR is not set |
730 | 740 | CONFIG_WLAN=y | |
731 | # | ||
732 | # Wireless LAN | ||
733 | # | ||
734 | # CONFIG_WLAN_PRE80211 is not set | 741 | # CONFIG_WLAN_PRE80211 is not set |
735 | # CONFIG_WLAN_80211 is not set | 742 | # CONFIG_WLAN_80211 is not set |
736 | 743 | ||
@@ -824,6 +831,7 @@ CONFIG_GEN_RTC=y | |||
824 | CONFIG_DEVPORT=y | 831 | CONFIG_DEVPORT=y |
825 | CONFIG_I2C=y | 832 | CONFIG_I2C=y |
826 | CONFIG_I2C_BOARDINFO=y | 833 | CONFIG_I2C_BOARDINFO=y |
834 | CONFIG_I2C_COMPAT=y | ||
827 | CONFIG_I2C_CHARDEV=y | 835 | CONFIG_I2C_CHARDEV=y |
828 | CONFIG_I2C_HELPER_AUTO=y | 836 | CONFIG_I2C_HELPER_AUTO=y |
829 | 837 | ||
@@ -876,9 +884,6 @@ CONFIG_I2C_MPC=y | |||
876 | # Miscellaneous I2C Chip support | 884 | # Miscellaneous I2C Chip support |
877 | # | 885 | # |
878 | # CONFIG_DS1682 is not set | 886 | # CONFIG_DS1682 is not set |
879 | # CONFIG_SENSORS_PCF8574 is not set | ||
880 | # CONFIG_PCF8575 is not set | ||
881 | # CONFIG_SENSORS_PCA9539 is not set | ||
882 | # CONFIG_SENSORS_TSL2550 is not set | 887 | # CONFIG_SENSORS_TSL2550 is not set |
883 | # CONFIG_I2C_DEBUG_CORE is not set | 888 | # CONFIG_I2C_DEBUG_CORE is not set |
884 | # CONFIG_I2C_DEBUG_ALGO is not set | 889 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -896,6 +901,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
896 | # CONFIG_POWER_SUPPLY is not set | 901 | # CONFIG_POWER_SUPPLY is not set |
897 | CONFIG_HWMON=y | 902 | CONFIG_HWMON=y |
898 | # CONFIG_HWMON_VID is not set | 903 | # CONFIG_HWMON_VID is not set |
904 | CONFIG_HWMON_DEBUG_CHIP=y | ||
905 | |||
906 | # | ||
907 | # Native drivers | ||
908 | # | ||
899 | # CONFIG_SENSORS_AD7414 is not set | 909 | # CONFIG_SENSORS_AD7414 is not set |
900 | # CONFIG_SENSORS_AD7418 is not set | 910 | # CONFIG_SENSORS_AD7418 is not set |
901 | # CONFIG_SENSORS_ADM1021 is not set | 911 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -945,6 +955,7 @@ CONFIG_SENSORS_LM75=y | |||
945 | # CONFIG_SENSORS_ADS7828 is not set | 955 | # CONFIG_SENSORS_ADS7828 is not set |
946 | # CONFIG_SENSORS_THMC50 is not set | 956 | # CONFIG_SENSORS_THMC50 is not set |
947 | # CONFIG_SENSORS_TMP401 is not set | 957 | # CONFIG_SENSORS_TMP401 is not set |
958 | # CONFIG_SENSORS_TMP421 is not set | ||
948 | # CONFIG_SENSORS_VIA686A is not set | 959 | # CONFIG_SENSORS_VIA686A is not set |
949 | # CONFIG_SENSORS_VT1211 is not set | 960 | # CONFIG_SENSORS_VT1211 is not set |
950 | # CONFIG_SENSORS_VT8231 is not set | 961 | # CONFIG_SENSORS_VT8231 is not set |
@@ -956,9 +967,7 @@ CONFIG_SENSORS_LM75=y | |||
956 | # CONFIG_SENSORS_W83L786NG is not set | 967 | # CONFIG_SENSORS_W83L786NG is not set |
957 | # CONFIG_SENSORS_W83627HF is not set | 968 | # CONFIG_SENSORS_W83627HF is not set |
958 | # CONFIG_SENSORS_W83627EHF is not set | 969 | # CONFIG_SENSORS_W83627EHF is not set |
959 | CONFIG_HWMON_DEBUG_CHIP=y | ||
960 | # CONFIG_THERMAL is not set | 970 | # CONFIG_THERMAL is not set |
961 | # CONFIG_THERMAL_HWMON is not set | ||
962 | # CONFIG_WATCHDOG is not set | 971 | # CONFIG_WATCHDOG is not set |
963 | CONFIG_SSB_POSSIBLE=y | 972 | CONFIG_SSB_POSSIBLE=y |
964 | 973 | ||
@@ -977,6 +986,7 @@ CONFIG_SSB_POSSIBLE=y | |||
977 | # CONFIG_MFD_TMIO is not set | 986 | # CONFIG_MFD_TMIO is not set |
978 | # CONFIG_PMIC_DA903X is not set | 987 | # CONFIG_PMIC_DA903X is not set |
979 | # CONFIG_MFD_WM8400 is not set | 988 | # CONFIG_MFD_WM8400 is not set |
989 | # CONFIG_MFD_WM831X is not set | ||
980 | # CONFIG_MFD_WM8350_I2C is not set | 990 | # CONFIG_MFD_WM8350_I2C is not set |
981 | # CONFIG_MFD_PCF50633 is not set | 991 | # CONFIG_MFD_PCF50633 is not set |
982 | # CONFIG_AB3100_CORE is not set | 992 | # CONFIG_AB3100_CORE is not set |
@@ -987,6 +997,7 @@ CONFIG_SSB_POSSIBLE=y | |||
987 | # Graphics support | 997 | # Graphics support |
988 | # | 998 | # |
989 | # CONFIG_AGP is not set | 999 | # CONFIG_AGP is not set |
1000 | CONFIG_VGA_ARB=y | ||
990 | # CONFIG_DRM is not set | 1001 | # CONFIG_DRM is not set |
991 | # CONFIG_VGASTATE is not set | 1002 | # CONFIG_VGASTATE is not set |
992 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1003 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1000,7 +1011,6 @@ CONFIG_SSB_POSSIBLE=y | |||
1000 | # CONFIG_SOUND is not set | 1011 | # CONFIG_SOUND is not set |
1001 | CONFIG_HID_SUPPORT=y | 1012 | CONFIG_HID_SUPPORT=y |
1002 | CONFIG_HID=y | 1013 | CONFIG_HID=y |
1003 | # CONFIG_HID_DEBUG is not set | ||
1004 | # CONFIG_HIDRAW is not set | 1014 | # CONFIG_HIDRAW is not set |
1005 | # CONFIG_HID_PID is not set | 1015 | # CONFIG_HID_PID is not set |
1006 | 1016 | ||
@@ -1065,6 +1075,7 @@ CONFIG_FS_MBCACHE=y | |||
1065 | # CONFIG_GFS2_FS is not set | 1075 | # CONFIG_GFS2_FS is not set |
1066 | # CONFIG_OCFS2_FS is not set | 1076 | # CONFIG_OCFS2_FS is not set |
1067 | # CONFIG_BTRFS_FS is not set | 1077 | # CONFIG_BTRFS_FS is not set |
1078 | # CONFIG_NILFS2_FS is not set | ||
1068 | CONFIG_FILE_LOCKING=y | 1079 | CONFIG_FILE_LOCKING=y |
1069 | CONFIG_FSNOTIFY=y | 1080 | CONFIG_FSNOTIFY=y |
1070 | CONFIG_DNOTIFY=y | 1081 | CONFIG_DNOTIFY=y |
@@ -1134,7 +1145,6 @@ CONFIG_CRAMFS=y | |||
1134 | # CONFIG_ROMFS_FS is not set | 1145 | # CONFIG_ROMFS_FS is not set |
1135 | # CONFIG_SYSV_FS is not set | 1146 | # CONFIG_SYSV_FS is not set |
1136 | # CONFIG_UFS_FS is not set | 1147 | # CONFIG_UFS_FS is not set |
1137 | # CONFIG_NILFS2_FS is not set | ||
1138 | CONFIG_NETWORK_FILESYSTEMS=y | 1148 | CONFIG_NETWORK_FILESYSTEMS=y |
1139 | CONFIG_NFS_FS=y | 1149 | CONFIG_NFS_FS=y |
1140 | # CONFIG_NFS_V3 is not set | 1150 | # CONFIG_NFS_V3 is not set |
@@ -1203,6 +1213,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1203 | CONFIG_ENABLE_MUST_CHECK=y | 1213 | CONFIG_ENABLE_MUST_CHECK=y |
1204 | CONFIG_FRAME_WARN=1024 | 1214 | CONFIG_FRAME_WARN=1024 |
1205 | # CONFIG_MAGIC_SYSRQ is not set | 1215 | # CONFIG_MAGIC_SYSRQ is not set |
1216 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1206 | # CONFIG_UNUSED_SYMBOLS is not set | 1217 | # CONFIG_UNUSED_SYMBOLS is not set |
1207 | # CONFIG_DEBUG_FS is not set | 1218 | # CONFIG_DEBUG_FS is not set |
1208 | # CONFIG_HEADERS_CHECK is not set | 1219 | # CONFIG_HEADERS_CHECK is not set |
@@ -1220,6 +1231,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1220 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1231 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1221 | CONFIG_TRACING_SUPPORT=y | 1232 | CONFIG_TRACING_SUPPORT=y |
1222 | # CONFIG_FTRACE is not set | 1233 | # CONFIG_FTRACE is not set |
1234 | # CONFIG_DMA_API_DEBUG is not set | ||
1223 | # CONFIG_SAMPLES is not set | 1235 | # CONFIG_SAMPLES is not set |
1224 | CONFIG_HAVE_ARCH_KGDB=y | 1236 | CONFIG_HAVE_ARCH_KGDB=y |
1225 | # CONFIG_PPC_DISABLE_WERROR is not set | 1237 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1240,7 +1252,6 @@ CONFIG_CRYPTO=y | |||
1240 | # | 1252 | # |
1241 | # Crypto core or helper | 1253 | # Crypto core or helper |
1242 | # | 1254 | # |
1243 | # CONFIG_CRYPTO_FIPS is not set | ||
1244 | # CONFIG_CRYPTO_MANAGER is not set | 1255 | # CONFIG_CRYPTO_MANAGER is not set |
1245 | # CONFIG_CRYPTO_MANAGER2 is not set | 1256 | # CONFIG_CRYPTO_MANAGER2 is not set |
1246 | # CONFIG_CRYPTO_GF128MUL is not set | 1257 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1271,11 +1282,13 @@ CONFIG_CRYPTO=y | |||
1271 | # | 1282 | # |
1272 | # CONFIG_CRYPTO_HMAC is not set | 1283 | # CONFIG_CRYPTO_HMAC is not set |
1273 | # CONFIG_CRYPTO_XCBC is not set | 1284 | # CONFIG_CRYPTO_XCBC is not set |
1285 | # CONFIG_CRYPTO_VMAC is not set | ||
1274 | 1286 | ||
1275 | # | 1287 | # |
1276 | # Digest | 1288 | # Digest |
1277 | # | 1289 | # |
1278 | # CONFIG_CRYPTO_CRC32C is not set | 1290 | # CONFIG_CRYPTO_CRC32C is not set |
1291 | # CONFIG_CRYPTO_GHASH is not set | ||
1279 | # CONFIG_CRYPTO_MD4 is not set | 1292 | # CONFIG_CRYPTO_MD4 is not set |
1280 | # CONFIG_CRYPTO_MD5 is not set | 1293 | # CONFIG_CRYPTO_MD5 is not set |
1281 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1294 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/tqm8541_defconfig b/arch/powerpc/configs/85xx/tqm8541_defconfig index 845731dc51c6..91d85d733827 100644 --- a/arch/powerpc/configs/85xx/tqm8541_defconfig +++ b/arch/powerpc/configs/85xx/tqm8541_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:22 2009 | 4 | # Thu Nov 5 08:20:40 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -125,29 +128,30 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 128 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 129 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 130 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 131 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 132 | ||
130 | # | 133 | # |
131 | # Performance Counters | 134 | # Kernel Performance Events And Counters |
132 | # | 135 | # |
136 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 137 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 138 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 139 | CONFIG_PCI_QUIRKS=y |
136 | CONFIG_SLUB_DEBUG=y | 140 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 142 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 143 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 148 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 149 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 150 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 151 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
152 | CONFIG_HAVE_DMA_ATTRS=y | ||
150 | CONFIG_HAVE_CLK=y | 153 | CONFIG_HAVE_CLK=y |
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
151 | 155 | ||
152 | # | 156 | # |
153 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -190,6 +194,7 @@ CONFIG_MPC85xx=y | |||
190 | # CONFIG_MPC85xx_MDS is not set | 194 | # CONFIG_MPC85xx_MDS is not set |
191 | # CONFIG_MPC8536_DS is not set | 195 | # CONFIG_MPC8536_DS is not set |
192 | # CONFIG_MPC85xx_DS is not set | 196 | # CONFIG_MPC85xx_DS is not set |
197 | # CONFIG_MPC85xx_RDB is not set | ||
193 | # CONFIG_SOCRATES is not set | 198 | # CONFIG_SOCRATES is not set |
194 | # CONFIG_KSI8560 is not set | 199 | # CONFIG_KSI8560 is not set |
195 | # CONFIG_XES_MPC85xx is not set | 200 | # CONFIG_XES_MPC85xx is not set |
@@ -246,6 +251,7 @@ CONFIG_MATH_EMULATION=y | |||
246 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
247 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 252 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
248 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 253 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
254 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
249 | CONFIG_ARCH_FLATMEM_ENABLE=y | 255 | CONFIG_ARCH_FLATMEM_ENABLE=y |
250 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 256 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
251 | CONFIG_SELECT_MEMORY_MODEL=y | 257 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -263,6 +269,7 @@ CONFIG_BOUNCE=y | |||
263 | CONFIG_VIRT_TO_BUS=y | 269 | CONFIG_VIRT_TO_BUS=y |
264 | CONFIG_HAVE_MLOCK=y | 270 | CONFIG_HAVE_MLOCK=y |
265 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
272 | # CONFIG_KSM is not set | ||
266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 273 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
267 | CONFIG_PPC_4K_PAGES=y | 274 | CONFIG_PPC_4K_PAGES=y |
268 | # CONFIG_PPC_16K_PAGES is not set | 275 | # CONFIG_PPC_16K_PAGES is not set |
@@ -357,6 +364,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
357 | # CONFIG_NETFILTER is not set | 364 | # CONFIG_NETFILTER is not set |
358 | # CONFIG_IP_DCCP is not set | 365 | # CONFIG_IP_DCCP is not set |
359 | # CONFIG_IP_SCTP is not set | 366 | # CONFIG_IP_SCTP is not set |
367 | # CONFIG_RDS is not set | ||
360 | # CONFIG_TIPC is not set | 368 | # CONFIG_TIPC is not set |
361 | # CONFIG_ATM is not set | 369 | # CONFIG_ATM is not set |
362 | # CONFIG_BRIDGE is not set | 370 | # CONFIG_BRIDGE is not set |
@@ -386,6 +394,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
386 | # CONFIG_AF_RXRPC is not set | 394 | # CONFIG_AF_RXRPC is not set |
387 | CONFIG_WIRELESS=y | 395 | CONFIG_WIRELESS=y |
388 | # CONFIG_CFG80211 is not set | 396 | # CONFIG_CFG80211 is not set |
397 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
389 | CONFIG_WIRELESS_OLD_REGULATORY=y | 398 | CONFIG_WIRELESS_OLD_REGULATORY=y |
390 | # CONFIG_WIRELESS_EXT is not set | 399 | # CONFIG_WIRELESS_EXT is not set |
391 | # CONFIG_LIB80211 is not set | 400 | # CONFIG_LIB80211 is not set |
@@ -393,7 +402,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
393 | # | 402 | # |
394 | # CFG80211 needs to be enabled for MAC80211 | 403 | # CFG80211 needs to be enabled for MAC80211 |
395 | # | 404 | # |
396 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
397 | # CONFIG_WIMAX is not set | 405 | # CONFIG_WIMAX is not set |
398 | # CONFIG_RFKILL is not set | 406 | # CONFIG_RFKILL is not set |
399 | # CONFIG_NET_9P is not set | 407 | # CONFIG_NET_9P is not set |
@@ -681,9 +689,11 @@ CONFIG_E100=y | |||
681 | # CONFIG_SUNDANCE is not set | 689 | # CONFIG_SUNDANCE is not set |
682 | # CONFIG_TLAN is not set | 690 | # CONFIG_TLAN is not set |
683 | # CONFIG_KS8842 is not set | 691 | # CONFIG_KS8842 is not set |
692 | # CONFIG_KS8851_MLL is not set | ||
684 | # CONFIG_VIA_RHINE is not set | 693 | # CONFIG_VIA_RHINE is not set |
685 | # CONFIG_SC92031 is not set | 694 | # CONFIG_SC92031 is not set |
686 | # CONFIG_ATL2 is not set | 695 | # CONFIG_ATL2 is not set |
696 | # CONFIG_XILINX_EMACLITE is not set | ||
687 | # CONFIG_FS_ENET is not set | 697 | # CONFIG_FS_ENET is not set |
688 | CONFIG_NETDEV_1000=y | 698 | CONFIG_NETDEV_1000=y |
689 | # CONFIG_ACENIC is not set | 699 | # CONFIG_ACENIC is not set |
@@ -732,10 +742,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
732 | # CONFIG_SFC is not set | 742 | # CONFIG_SFC is not set |
733 | # CONFIG_BE2NET is not set | 743 | # CONFIG_BE2NET is not set |
734 | # CONFIG_TR is not set | 744 | # CONFIG_TR is not set |
735 | 745 | CONFIG_WLAN=y | |
736 | # | ||
737 | # Wireless LAN | ||
738 | # | ||
739 | # CONFIG_WLAN_PRE80211 is not set | 746 | # CONFIG_WLAN_PRE80211 is not set |
740 | # CONFIG_WLAN_80211 is not set | 747 | # CONFIG_WLAN_80211 is not set |
741 | 748 | ||
@@ -831,6 +838,7 @@ CONFIG_GEN_RTC=y | |||
831 | CONFIG_DEVPORT=y | 838 | CONFIG_DEVPORT=y |
832 | CONFIG_I2C=y | 839 | CONFIG_I2C=y |
833 | CONFIG_I2C_BOARDINFO=y | 840 | CONFIG_I2C_BOARDINFO=y |
841 | CONFIG_I2C_COMPAT=y | ||
834 | CONFIG_I2C_CHARDEV=y | 842 | CONFIG_I2C_CHARDEV=y |
835 | CONFIG_I2C_HELPER_AUTO=y | 843 | CONFIG_I2C_HELPER_AUTO=y |
836 | 844 | ||
@@ -886,9 +894,6 @@ CONFIG_I2C_MPC=y | |||
886 | # Miscellaneous I2C Chip support | 894 | # Miscellaneous I2C Chip support |
887 | # | 895 | # |
888 | # CONFIG_DS1682 is not set | 896 | # CONFIG_DS1682 is not set |
889 | # CONFIG_SENSORS_PCF8574 is not set | ||
890 | # CONFIG_PCF8575 is not set | ||
891 | # CONFIG_SENSORS_PCA9539 is not set | ||
892 | # CONFIG_SENSORS_TSL2550 is not set | 897 | # CONFIG_SENSORS_TSL2550 is not set |
893 | # CONFIG_I2C_DEBUG_CORE is not set | 898 | # CONFIG_I2C_DEBUG_CORE is not set |
894 | # CONFIG_I2C_DEBUG_ALGO is not set | 899 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -921,14 +926,24 @@ CONFIG_GPIOLIB=y | |||
921 | # PCI GPIO expanders: | 926 | # PCI GPIO expanders: |
922 | # | 927 | # |
923 | # CONFIG_GPIO_BT8XX is not set | 928 | # CONFIG_GPIO_BT8XX is not set |
929 | # CONFIG_GPIO_LANGWELL is not set | ||
924 | 930 | ||
925 | # | 931 | # |
926 | # SPI GPIO expanders: | 932 | # SPI GPIO expanders: |
927 | # | 933 | # |
934 | |||
935 | # | ||
936 | # AC97 GPIO expanders: | ||
937 | # | ||
928 | # CONFIG_W1 is not set | 938 | # CONFIG_W1 is not set |
929 | # CONFIG_POWER_SUPPLY is not set | 939 | # CONFIG_POWER_SUPPLY is not set |
930 | CONFIG_HWMON=y | 940 | CONFIG_HWMON=y |
931 | # CONFIG_HWMON_VID is not set | 941 | # CONFIG_HWMON_VID is not set |
942 | CONFIG_HWMON_DEBUG_CHIP=y | ||
943 | |||
944 | # | ||
945 | # Native drivers | ||
946 | # | ||
932 | # CONFIG_SENSORS_AD7414 is not set | 947 | # CONFIG_SENSORS_AD7414 is not set |
933 | # CONFIG_SENSORS_AD7418 is not set | 948 | # CONFIG_SENSORS_AD7418 is not set |
934 | # CONFIG_SENSORS_ADM1021 is not set | 949 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -979,6 +994,7 @@ CONFIG_SENSORS_LM75=y | |||
979 | # CONFIG_SENSORS_ADS7828 is not set | 994 | # CONFIG_SENSORS_ADS7828 is not set |
980 | # CONFIG_SENSORS_THMC50 is not set | 995 | # CONFIG_SENSORS_THMC50 is not set |
981 | # CONFIG_SENSORS_TMP401 is not set | 996 | # CONFIG_SENSORS_TMP401 is not set |
997 | # CONFIG_SENSORS_TMP421 is not set | ||
982 | # CONFIG_SENSORS_VIA686A is not set | 998 | # CONFIG_SENSORS_VIA686A is not set |
983 | # CONFIG_SENSORS_VT1211 is not set | 999 | # CONFIG_SENSORS_VT1211 is not set |
984 | # CONFIG_SENSORS_VT8231 is not set | 1000 | # CONFIG_SENSORS_VT8231 is not set |
@@ -990,9 +1006,7 @@ CONFIG_SENSORS_LM75=y | |||
990 | # CONFIG_SENSORS_W83L786NG is not set | 1006 | # CONFIG_SENSORS_W83L786NG is not set |
991 | # CONFIG_SENSORS_W83627HF is not set | 1007 | # CONFIG_SENSORS_W83627HF is not set |
992 | # CONFIG_SENSORS_W83627EHF is not set | 1008 | # CONFIG_SENSORS_W83627EHF is not set |
993 | CONFIG_HWMON_DEBUG_CHIP=y | ||
994 | # CONFIG_THERMAL is not set | 1009 | # CONFIG_THERMAL is not set |
995 | # CONFIG_THERMAL_HWMON is not set | ||
996 | # CONFIG_WATCHDOG is not set | 1010 | # CONFIG_WATCHDOG is not set |
997 | CONFIG_SSB_POSSIBLE=y | 1011 | CONFIG_SSB_POSSIBLE=y |
998 | 1012 | ||
@@ -1012,6 +1026,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1012 | # CONFIG_MFD_TMIO is not set | 1026 | # CONFIG_MFD_TMIO is not set |
1013 | # CONFIG_PMIC_DA903X is not set | 1027 | # CONFIG_PMIC_DA903X is not set |
1014 | # CONFIG_MFD_WM8400 is not set | 1028 | # CONFIG_MFD_WM8400 is not set |
1029 | # CONFIG_MFD_WM831X is not set | ||
1015 | # CONFIG_MFD_WM8350_I2C is not set | 1030 | # CONFIG_MFD_WM8350_I2C is not set |
1016 | # CONFIG_MFD_PCF50633 is not set | 1031 | # CONFIG_MFD_PCF50633 is not set |
1017 | # CONFIG_AB3100_CORE is not set | 1032 | # CONFIG_AB3100_CORE is not set |
@@ -1022,6 +1037,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1022 | # Graphics support | 1037 | # Graphics support |
1023 | # | 1038 | # |
1024 | # CONFIG_AGP is not set | 1039 | # CONFIG_AGP is not set |
1040 | CONFIG_VGA_ARB=y | ||
1025 | # CONFIG_DRM is not set | 1041 | # CONFIG_DRM is not set |
1026 | # CONFIG_VGASTATE is not set | 1042 | # CONFIG_VGASTATE is not set |
1027 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1043 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1035,7 +1051,6 @@ CONFIG_SSB_POSSIBLE=y | |||
1035 | # CONFIG_SOUND is not set | 1051 | # CONFIG_SOUND is not set |
1036 | CONFIG_HID_SUPPORT=y | 1052 | CONFIG_HID_SUPPORT=y |
1037 | CONFIG_HID=y | 1053 | CONFIG_HID=y |
1038 | # CONFIG_HID_DEBUG is not set | ||
1039 | # CONFIG_HIDRAW is not set | 1054 | # CONFIG_HIDRAW is not set |
1040 | # CONFIG_HID_PID is not set | 1055 | # CONFIG_HID_PID is not set |
1041 | 1056 | ||
@@ -1100,6 +1115,7 @@ CONFIG_FS_MBCACHE=y | |||
1100 | # CONFIG_GFS2_FS is not set | 1115 | # CONFIG_GFS2_FS is not set |
1101 | # CONFIG_OCFS2_FS is not set | 1116 | # CONFIG_OCFS2_FS is not set |
1102 | # CONFIG_BTRFS_FS is not set | 1117 | # CONFIG_BTRFS_FS is not set |
1118 | # CONFIG_NILFS2_FS is not set | ||
1103 | CONFIG_FILE_LOCKING=y | 1119 | CONFIG_FILE_LOCKING=y |
1104 | CONFIG_FSNOTIFY=y | 1120 | CONFIG_FSNOTIFY=y |
1105 | CONFIG_DNOTIFY=y | 1121 | CONFIG_DNOTIFY=y |
@@ -1169,7 +1185,6 @@ CONFIG_CRAMFS=y | |||
1169 | # CONFIG_ROMFS_FS is not set | 1185 | # CONFIG_ROMFS_FS is not set |
1170 | # CONFIG_SYSV_FS is not set | 1186 | # CONFIG_SYSV_FS is not set |
1171 | # CONFIG_UFS_FS is not set | 1187 | # CONFIG_UFS_FS is not set |
1172 | # CONFIG_NILFS2_FS is not set | ||
1173 | CONFIG_NETWORK_FILESYSTEMS=y | 1188 | CONFIG_NETWORK_FILESYSTEMS=y |
1174 | CONFIG_NFS_FS=y | 1189 | CONFIG_NFS_FS=y |
1175 | # CONFIG_NFS_V3 is not set | 1190 | # CONFIG_NFS_V3 is not set |
@@ -1238,6 +1253,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1238 | CONFIG_ENABLE_MUST_CHECK=y | 1253 | CONFIG_ENABLE_MUST_CHECK=y |
1239 | CONFIG_FRAME_WARN=1024 | 1254 | CONFIG_FRAME_WARN=1024 |
1240 | # CONFIG_MAGIC_SYSRQ is not set | 1255 | # CONFIG_MAGIC_SYSRQ is not set |
1256 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1241 | # CONFIG_UNUSED_SYMBOLS is not set | 1257 | # CONFIG_UNUSED_SYMBOLS is not set |
1242 | # CONFIG_DEBUG_FS is not set | 1258 | # CONFIG_DEBUG_FS is not set |
1243 | # CONFIG_HEADERS_CHECK is not set | 1259 | # CONFIG_HEADERS_CHECK is not set |
@@ -1255,6 +1271,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1255 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1271 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1256 | CONFIG_TRACING_SUPPORT=y | 1272 | CONFIG_TRACING_SUPPORT=y |
1257 | # CONFIG_FTRACE is not set | 1273 | # CONFIG_FTRACE is not set |
1274 | # CONFIG_DMA_API_DEBUG is not set | ||
1258 | # CONFIG_SAMPLES is not set | 1275 | # CONFIG_SAMPLES is not set |
1259 | CONFIG_HAVE_ARCH_KGDB=y | 1276 | CONFIG_HAVE_ARCH_KGDB=y |
1260 | # CONFIG_PPC_DISABLE_WERROR is not set | 1277 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1275,7 +1292,6 @@ CONFIG_CRYPTO=y | |||
1275 | # | 1292 | # |
1276 | # Crypto core or helper | 1293 | # Crypto core or helper |
1277 | # | 1294 | # |
1278 | # CONFIG_CRYPTO_FIPS is not set | ||
1279 | # CONFIG_CRYPTO_MANAGER is not set | 1295 | # CONFIG_CRYPTO_MANAGER is not set |
1280 | # CONFIG_CRYPTO_MANAGER2 is not set | 1296 | # CONFIG_CRYPTO_MANAGER2 is not set |
1281 | # CONFIG_CRYPTO_GF128MUL is not set | 1297 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1306,11 +1322,13 @@ CONFIG_CRYPTO=y | |||
1306 | # | 1322 | # |
1307 | # CONFIG_CRYPTO_HMAC is not set | 1323 | # CONFIG_CRYPTO_HMAC is not set |
1308 | # CONFIG_CRYPTO_XCBC is not set | 1324 | # CONFIG_CRYPTO_XCBC is not set |
1325 | # CONFIG_CRYPTO_VMAC is not set | ||
1309 | 1326 | ||
1310 | # | 1327 | # |
1311 | # Digest | 1328 | # Digest |
1312 | # | 1329 | # |
1313 | # CONFIG_CRYPTO_CRC32C is not set | 1330 | # CONFIG_CRYPTO_CRC32C is not set |
1331 | # CONFIG_CRYPTO_GHASH is not set | ||
1314 | # CONFIG_CRYPTO_MD4 is not set | 1332 | # CONFIG_CRYPTO_MD4 is not set |
1315 | # CONFIG_CRYPTO_MD5 is not set | 1333 | # CONFIG_CRYPTO_MD5 is not set |
1316 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1334 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/tqm8548_defconfig b/arch/powerpc/configs/85xx/tqm8548_defconfig index 4f228a905274..debe268f43d1 100644 --- a/arch/powerpc/configs/85xx/tqm8548_defconfig +++ b/arch/powerpc/configs/85xx/tqm8548_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:23 2009 | 4 | # Thu Nov 5 08:20:41 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +86,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 86 | # |
85 | # RCU Subsystem | 87 | # RCU Subsystem |
86 | # | 88 | # |
87 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
93 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
94 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -126,22 +129,21 @@ CONFIG_TIMERFD=y | |||
126 | CONFIG_EVENTFD=y | 129 | CONFIG_EVENTFD=y |
127 | CONFIG_SHMEM=y | 130 | CONFIG_SHMEM=y |
128 | CONFIG_AIO=y | 131 | CONFIG_AIO=y |
129 | CONFIG_HAVE_PERF_COUNTERS=y | 132 | CONFIG_HAVE_PERF_EVENTS=y |
130 | 133 | ||
131 | # | 134 | # |
132 | # Performance Counters | 135 | # Kernel Performance Events And Counters |
133 | # | 136 | # |
137 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | 138 | # CONFIG_PERF_COUNTERS is not set |
135 | CONFIG_VM_EVENT_COUNTERS=y | 139 | CONFIG_VM_EVENT_COUNTERS=y |
136 | CONFIG_PCI_QUIRKS=y | 140 | CONFIG_PCI_QUIRKS=y |
137 | CONFIG_SLUB_DEBUG=y | 141 | CONFIG_SLUB_DEBUG=y |
138 | # CONFIG_STRIP_ASM_SYMS is not set | ||
139 | CONFIG_COMPAT_BRK=y | 142 | CONFIG_COMPAT_BRK=y |
140 | # CONFIG_SLAB is not set | 143 | # CONFIG_SLAB is not set |
141 | CONFIG_SLUB=y | 144 | CONFIG_SLUB=y |
142 | # CONFIG_SLOB is not set | 145 | # CONFIG_SLOB is not set |
143 | # CONFIG_PROFILING is not set | 146 | # CONFIG_PROFILING is not set |
144 | # CONFIG_MARKERS is not set | ||
145 | CONFIG_HAVE_OPROFILE=y | 147 | CONFIG_HAVE_OPROFILE=y |
146 | # CONFIG_KPROBES is not set | 148 | # CONFIG_KPROBES is not set |
147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 149 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -149,6 +151,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
149 | CONFIG_HAVE_KPROBES=y | 151 | CONFIG_HAVE_KPROBES=y |
150 | CONFIG_HAVE_KRETPROBES=y | 152 | CONFIG_HAVE_KRETPROBES=y |
151 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 153 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
154 | CONFIG_HAVE_DMA_ATTRS=y | ||
155 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
152 | 156 | ||
153 | # | 157 | # |
154 | # GCOV-based kernel profiling | 158 | # GCOV-based kernel profiling |
@@ -196,6 +200,7 @@ CONFIG_MPC85xx=y | |||
196 | # CONFIG_MPC85xx_MDS is not set | 200 | # CONFIG_MPC85xx_MDS is not set |
197 | # CONFIG_MPC8536_DS is not set | 201 | # CONFIG_MPC8536_DS is not set |
198 | # CONFIG_MPC85xx_DS is not set | 202 | # CONFIG_MPC85xx_DS is not set |
203 | # CONFIG_MPC85xx_RDB is not set | ||
199 | # CONFIG_SOCRATES is not set | 204 | # CONFIG_SOCRATES is not set |
200 | # CONFIG_KSI8560 is not set | 205 | # CONFIG_KSI8560 is not set |
201 | # CONFIG_XES_MPC85xx is not set | 206 | # CONFIG_XES_MPC85xx is not set |
@@ -252,6 +257,7 @@ CONFIG_MATH_EMULATION=y | |||
252 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 257 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
253 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 258 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
260 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
255 | CONFIG_ARCH_FLATMEM_ENABLE=y | 261 | CONFIG_ARCH_FLATMEM_ENABLE=y |
256 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 262 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
257 | CONFIG_SELECT_MEMORY_MODEL=y | 263 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -269,6 +275,7 @@ CONFIG_BOUNCE=y | |||
269 | CONFIG_VIRT_TO_BUS=y | 275 | CONFIG_VIRT_TO_BUS=y |
270 | CONFIG_HAVE_MLOCK=y | 276 | CONFIG_HAVE_MLOCK=y |
271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
278 | # CONFIG_KSM is not set | ||
272 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 279 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
273 | CONFIG_PPC_4K_PAGES=y | 280 | CONFIG_PPC_4K_PAGES=y |
274 | # CONFIG_PPC_16K_PAGES is not set | 281 | # CONFIG_PPC_16K_PAGES is not set |
@@ -371,6 +378,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
371 | # CONFIG_NETFILTER is not set | 378 | # CONFIG_NETFILTER is not set |
372 | # CONFIG_IP_DCCP is not set | 379 | # CONFIG_IP_DCCP is not set |
373 | # CONFIG_IP_SCTP is not set | 380 | # CONFIG_IP_SCTP is not set |
381 | # CONFIG_RDS is not set | ||
374 | # CONFIG_TIPC is not set | 382 | # CONFIG_TIPC is not set |
375 | # CONFIG_ATM is not set | 383 | # CONFIG_ATM is not set |
376 | # CONFIG_BRIDGE is not set | 384 | # CONFIG_BRIDGE is not set |
@@ -411,6 +419,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
411 | # Generic Driver Options | 419 | # Generic Driver Options |
412 | # | 420 | # |
413 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 421 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
422 | # CONFIG_DEVTMPFS is not set | ||
414 | CONFIG_STANDALONE=y | 423 | CONFIG_STANDALONE=y |
415 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 424 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
416 | # CONFIG_FW_LOADER is not set | 425 | # CONFIG_FW_LOADER is not set |
@@ -420,9 +429,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
420 | # CONFIG_CONNECTOR is not set | 429 | # CONFIG_CONNECTOR is not set |
421 | CONFIG_MTD=y | 430 | CONFIG_MTD=y |
422 | # CONFIG_MTD_DEBUG is not set | 431 | # CONFIG_MTD_DEBUG is not set |
432 | # CONFIG_MTD_TESTS is not set | ||
423 | # CONFIG_MTD_CONCAT is not set | 433 | # CONFIG_MTD_CONCAT is not set |
424 | CONFIG_MTD_PARTITIONS=y | 434 | CONFIG_MTD_PARTITIONS=y |
425 | # CONFIG_MTD_TESTS is not set | ||
426 | # CONFIG_MTD_REDBOOT_PARTS is not set | 435 | # CONFIG_MTD_REDBOOT_PARTS is not set |
427 | # CONFIG_MTD_CMDLINE_PARTS is not set | 436 | # CONFIG_MTD_CMDLINE_PARTS is not set |
428 | CONFIG_MTD_OF_PARTS=y | 437 | CONFIG_MTD_OF_PARTS=y |
@@ -630,7 +639,9 @@ CONFIG_MII=y | |||
630 | # CONFIG_NET_PCI is not set | 639 | # CONFIG_NET_PCI is not set |
631 | # CONFIG_B44 is not set | 640 | # CONFIG_B44 is not set |
632 | # CONFIG_KS8842 is not set | 641 | # CONFIG_KS8842 is not set |
642 | # CONFIG_KS8851_MLL is not set | ||
633 | # CONFIG_ATL2 is not set | 643 | # CONFIG_ATL2 is not set |
644 | # CONFIG_XILINX_EMACLITE is not set | ||
634 | CONFIG_NETDEV_1000=y | 645 | CONFIG_NETDEV_1000=y |
635 | # CONFIG_ACENIC is not set | 646 | # CONFIG_ACENIC is not set |
636 | # CONFIG_DL2K is not set | 647 | # CONFIG_DL2K is not set |
@@ -678,10 +689,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
678 | # CONFIG_SFC is not set | 689 | # CONFIG_SFC is not set |
679 | # CONFIG_BE2NET is not set | 690 | # CONFIG_BE2NET is not set |
680 | # CONFIG_TR is not set | 691 | # CONFIG_TR is not set |
681 | 692 | CONFIG_WLAN=y | |
682 | # | ||
683 | # Wireless LAN | ||
684 | # | ||
685 | # CONFIG_WLAN_PRE80211 is not set | 693 | # CONFIG_WLAN_PRE80211 is not set |
686 | # CONFIG_WLAN_80211 is not set | 694 | # CONFIG_WLAN_80211 is not set |
687 | 695 | ||
@@ -772,6 +780,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
772 | CONFIG_DEVPORT=y | 780 | CONFIG_DEVPORT=y |
773 | CONFIG_I2C=y | 781 | CONFIG_I2C=y |
774 | CONFIG_I2C_BOARDINFO=y | 782 | CONFIG_I2C_BOARDINFO=y |
783 | CONFIG_I2C_COMPAT=y | ||
775 | CONFIG_I2C_CHARDEV=y | 784 | CONFIG_I2C_CHARDEV=y |
776 | CONFIG_I2C_HELPER_AUTO=y | 785 | CONFIG_I2C_HELPER_AUTO=y |
777 | 786 | ||
@@ -825,9 +834,6 @@ CONFIG_I2C_MPC=y | |||
825 | # Miscellaneous I2C Chip support | 834 | # Miscellaneous I2C Chip support |
826 | # | 835 | # |
827 | # CONFIG_DS1682 is not set | 836 | # CONFIG_DS1682 is not set |
828 | # CONFIG_SENSORS_PCF8574 is not set | ||
829 | # CONFIG_PCF8575 is not set | ||
830 | # CONFIG_SENSORS_PCA9539 is not set | ||
831 | # CONFIG_SENSORS_TSL2550 is not set | 837 | # CONFIG_SENSORS_TSL2550 is not set |
832 | # CONFIG_I2C_DEBUG_CORE is not set | 838 | # CONFIG_I2C_DEBUG_CORE is not set |
833 | # CONFIG_I2C_DEBUG_ALGO is not set | 839 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -845,6 +851,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
845 | # CONFIG_POWER_SUPPLY is not set | 851 | # CONFIG_POWER_SUPPLY is not set |
846 | CONFIG_HWMON=y | 852 | CONFIG_HWMON=y |
847 | # CONFIG_HWMON_VID is not set | 853 | # CONFIG_HWMON_VID is not set |
854 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
855 | |||
856 | # | ||
857 | # Native drivers | ||
858 | # | ||
848 | # CONFIG_SENSORS_AD7414 is not set | 859 | # CONFIG_SENSORS_AD7414 is not set |
849 | # CONFIG_SENSORS_AD7418 is not set | 860 | # CONFIG_SENSORS_AD7418 is not set |
850 | # CONFIG_SENSORS_ADM1021 is not set | 861 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -894,6 +905,7 @@ CONFIG_SENSORS_LM75=y | |||
894 | # CONFIG_SENSORS_ADS7828 is not set | 905 | # CONFIG_SENSORS_ADS7828 is not set |
895 | # CONFIG_SENSORS_THMC50 is not set | 906 | # CONFIG_SENSORS_THMC50 is not set |
896 | # CONFIG_SENSORS_TMP401 is not set | 907 | # CONFIG_SENSORS_TMP401 is not set |
908 | # CONFIG_SENSORS_TMP421 is not set | ||
897 | # CONFIG_SENSORS_VIA686A is not set | 909 | # CONFIG_SENSORS_VIA686A is not set |
898 | # CONFIG_SENSORS_VT1211 is not set | 910 | # CONFIG_SENSORS_VT1211 is not set |
899 | # CONFIG_SENSORS_VT8231 is not set | 911 | # CONFIG_SENSORS_VT8231 is not set |
@@ -905,9 +917,7 @@ CONFIG_SENSORS_LM75=y | |||
905 | # CONFIG_SENSORS_W83L786NG is not set | 917 | # CONFIG_SENSORS_W83L786NG is not set |
906 | # CONFIG_SENSORS_W83627HF is not set | 918 | # CONFIG_SENSORS_W83627HF is not set |
907 | # CONFIG_SENSORS_W83627EHF is not set | 919 | # CONFIG_SENSORS_W83627EHF is not set |
908 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
909 | # CONFIG_THERMAL is not set | 920 | # CONFIG_THERMAL is not set |
910 | # CONFIG_THERMAL_HWMON is not set | ||
911 | # CONFIG_WATCHDOG is not set | 921 | # CONFIG_WATCHDOG is not set |
912 | CONFIG_SSB_POSSIBLE=y | 922 | CONFIG_SSB_POSSIBLE=y |
913 | 923 | ||
@@ -926,6 +936,7 @@ CONFIG_SSB_POSSIBLE=y | |||
926 | # CONFIG_MFD_TMIO is not set | 936 | # CONFIG_MFD_TMIO is not set |
927 | # CONFIG_PMIC_DA903X is not set | 937 | # CONFIG_PMIC_DA903X is not set |
928 | # CONFIG_MFD_WM8400 is not set | 938 | # CONFIG_MFD_WM8400 is not set |
939 | # CONFIG_MFD_WM831X is not set | ||
929 | # CONFIG_MFD_WM8350_I2C is not set | 940 | # CONFIG_MFD_WM8350_I2C is not set |
930 | # CONFIG_MFD_PCF50633 is not set | 941 | # CONFIG_MFD_PCF50633 is not set |
931 | # CONFIG_AB3100_CORE is not set | 942 | # CONFIG_AB3100_CORE is not set |
@@ -936,6 +947,7 @@ CONFIG_SSB_POSSIBLE=y | |||
936 | # Graphics support | 947 | # Graphics support |
937 | # | 948 | # |
938 | # CONFIG_AGP is not set | 949 | # CONFIG_AGP is not set |
950 | CONFIG_VGA_ARB=y | ||
939 | # CONFIG_DRM is not set | 951 | # CONFIG_DRM is not set |
940 | # CONFIG_VGASTATE is not set | 952 | # CONFIG_VGASTATE is not set |
941 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 953 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -949,7 +961,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
949 | # CONFIG_SOUND is not set | 961 | # CONFIG_SOUND is not set |
950 | CONFIG_HID_SUPPORT=y | 962 | CONFIG_HID_SUPPORT=y |
951 | CONFIG_HID=y | 963 | CONFIG_HID=y |
952 | # CONFIG_HID_DEBUG is not set | ||
953 | # CONFIG_HIDRAW is not set | 964 | # CONFIG_HIDRAW is not set |
954 | # CONFIG_HID_PID is not set | 965 | # CONFIG_HID_PID is not set |
955 | 966 | ||
@@ -1042,6 +1053,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1042 | # CONFIG_GFS2_FS is not set | 1053 | # CONFIG_GFS2_FS is not set |
1043 | # CONFIG_OCFS2_FS is not set | 1054 | # CONFIG_OCFS2_FS is not set |
1044 | # CONFIG_BTRFS_FS is not set | 1055 | # CONFIG_BTRFS_FS is not set |
1056 | # CONFIG_NILFS2_FS is not set | ||
1045 | CONFIG_FILE_LOCKING=y | 1057 | CONFIG_FILE_LOCKING=y |
1046 | CONFIG_FSNOTIFY=y | 1058 | CONFIG_FSNOTIFY=y |
1047 | CONFIG_DNOTIFY=y | 1059 | CONFIG_DNOTIFY=y |
@@ -1111,7 +1123,6 @@ CONFIG_JFFS2_RTIME=y | |||
1111 | # CONFIG_ROMFS_FS is not set | 1123 | # CONFIG_ROMFS_FS is not set |
1112 | # CONFIG_SYSV_FS is not set | 1124 | # CONFIG_SYSV_FS is not set |
1113 | # CONFIG_UFS_FS is not set | 1125 | # CONFIG_UFS_FS is not set |
1114 | # CONFIG_NILFS2_FS is not set | ||
1115 | CONFIG_NETWORK_FILESYSTEMS=y | 1126 | CONFIG_NETWORK_FILESYSTEMS=y |
1116 | CONFIG_NFS_FS=y | 1127 | CONFIG_NFS_FS=y |
1117 | # CONFIG_NFS_V3 is not set | 1128 | # CONFIG_NFS_V3 is not set |
@@ -1180,6 +1191,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1180 | CONFIG_ENABLE_MUST_CHECK=y | 1191 | CONFIG_ENABLE_MUST_CHECK=y |
1181 | CONFIG_FRAME_WARN=1024 | 1192 | CONFIG_FRAME_WARN=1024 |
1182 | # CONFIG_MAGIC_SYSRQ is not set | 1193 | # CONFIG_MAGIC_SYSRQ is not set |
1194 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1183 | # CONFIG_UNUSED_SYMBOLS is not set | 1195 | # CONFIG_UNUSED_SYMBOLS is not set |
1184 | # CONFIG_DEBUG_FS is not set | 1196 | # CONFIG_DEBUG_FS is not set |
1185 | # CONFIG_HEADERS_CHECK is not set | 1197 | # CONFIG_HEADERS_CHECK is not set |
@@ -1197,6 +1209,7 @@ CONFIG_SCHED_DEBUG=y | |||
1197 | # CONFIG_DEBUG_OBJECTS is not set | 1209 | # CONFIG_DEBUG_OBJECTS is not set |
1198 | # CONFIG_SLUB_DEBUG_ON is not set | 1210 | # CONFIG_SLUB_DEBUG_ON is not set |
1199 | # CONFIG_SLUB_STATS is not set | 1211 | # CONFIG_SLUB_STATS is not set |
1212 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1200 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1213 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1201 | # CONFIG_RT_MUTEX_TESTER is not set | 1214 | # CONFIG_RT_MUTEX_TESTER is not set |
1202 | # CONFIG_DEBUG_SPINLOCK is not set | 1215 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1216,10 +1229,12 @@ CONFIG_DEBUG_MUTEXES=y | |||
1216 | # CONFIG_DEBUG_LIST is not set | 1229 | # CONFIG_DEBUG_LIST is not set |
1217 | # CONFIG_DEBUG_SG is not set | 1230 | # CONFIG_DEBUG_SG is not set |
1218 | # CONFIG_DEBUG_NOTIFIERS is not set | 1231 | # CONFIG_DEBUG_NOTIFIERS is not set |
1232 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1219 | # CONFIG_RCU_TORTURE_TEST is not set | 1233 | # CONFIG_RCU_TORTURE_TEST is not set |
1220 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1234 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1221 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1235 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1222 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1236 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1237 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1223 | # CONFIG_FAULT_INJECTION is not set | 1238 | # CONFIG_FAULT_INJECTION is not set |
1224 | # CONFIG_LATENCYTOP is not set | 1239 | # CONFIG_LATENCYTOP is not set |
1225 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1240 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1242,10 +1257,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1242 | # CONFIG_KMEMTRACE is not set | 1257 | # CONFIG_KMEMTRACE is not set |
1243 | # CONFIG_WORKQUEUE_TRACER is not set | 1258 | # CONFIG_WORKQUEUE_TRACER is not set |
1244 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1259 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1260 | # CONFIG_DMA_API_DEBUG is not set | ||
1245 | # CONFIG_SAMPLES is not set | 1261 | # CONFIG_SAMPLES is not set |
1246 | CONFIG_HAVE_ARCH_KGDB=y | 1262 | CONFIG_HAVE_ARCH_KGDB=y |
1247 | # CONFIG_KGDB is not set | 1263 | # CONFIG_KGDB is not set |
1248 | # CONFIG_KMEMCHECK is not set | ||
1249 | # CONFIG_PPC_DISABLE_WERROR is not set | 1264 | # CONFIG_PPC_DISABLE_WERROR is not set |
1250 | CONFIG_PPC_WERROR=y | 1265 | CONFIG_PPC_WERROR=y |
1251 | CONFIG_PRINT_STACK_DEPTH=64 | 1266 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1271,7 +1286,6 @@ CONFIG_CRYPTO=y | |||
1271 | # | 1286 | # |
1272 | # Crypto core or helper | 1287 | # Crypto core or helper |
1273 | # | 1288 | # |
1274 | # CONFIG_CRYPTO_FIPS is not set | ||
1275 | # CONFIG_CRYPTO_MANAGER is not set | 1289 | # CONFIG_CRYPTO_MANAGER is not set |
1276 | # CONFIG_CRYPTO_MANAGER2 is not set | 1290 | # CONFIG_CRYPTO_MANAGER2 is not set |
1277 | # CONFIG_CRYPTO_GF128MUL is not set | 1291 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1303,11 +1317,13 @@ CONFIG_CRYPTO=y | |||
1303 | # | 1317 | # |
1304 | # CONFIG_CRYPTO_HMAC is not set | 1318 | # CONFIG_CRYPTO_HMAC is not set |
1305 | # CONFIG_CRYPTO_XCBC is not set | 1319 | # CONFIG_CRYPTO_XCBC is not set |
1320 | # CONFIG_CRYPTO_VMAC is not set | ||
1306 | 1321 | ||
1307 | # | 1322 | # |
1308 | # Digest | 1323 | # Digest |
1309 | # | 1324 | # |
1310 | # CONFIG_CRYPTO_CRC32C is not set | 1325 | # CONFIG_CRYPTO_CRC32C is not set |
1326 | # CONFIG_CRYPTO_GHASH is not set | ||
1311 | # CONFIG_CRYPTO_MD4 is not set | 1327 | # CONFIG_CRYPTO_MD4 is not set |
1312 | # CONFIG_CRYPTO_MD5 is not set | 1328 | # CONFIG_CRYPTO_MD5 is not set |
1313 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1329 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/tqm8555_defconfig b/arch/powerpc/configs/85xx/tqm8555_defconfig index 9196724bebc7..74515501f5b7 100644 --- a/arch/powerpc/configs/85xx/tqm8555_defconfig +++ b/arch/powerpc/configs/85xx/tqm8555_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:24 2009 | 4 | # Thu Nov 5 08:20:42 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -125,29 +128,30 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 128 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 129 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 130 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 131 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 132 | ||
130 | # | 133 | # |
131 | # Performance Counters | 134 | # Kernel Performance Events And Counters |
132 | # | 135 | # |
136 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 137 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 138 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 139 | CONFIG_PCI_QUIRKS=y |
136 | CONFIG_SLUB_DEBUG=y | 140 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 142 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 143 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 148 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 149 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 150 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 151 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
152 | CONFIG_HAVE_DMA_ATTRS=y | ||
150 | CONFIG_HAVE_CLK=y | 153 | CONFIG_HAVE_CLK=y |
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
151 | 155 | ||
152 | # | 156 | # |
153 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -190,6 +194,7 @@ CONFIG_MPC85xx=y | |||
190 | # CONFIG_MPC85xx_MDS is not set | 194 | # CONFIG_MPC85xx_MDS is not set |
191 | # CONFIG_MPC8536_DS is not set | 195 | # CONFIG_MPC8536_DS is not set |
192 | # CONFIG_MPC85xx_DS is not set | 196 | # CONFIG_MPC85xx_DS is not set |
197 | # CONFIG_MPC85xx_RDB is not set | ||
193 | # CONFIG_SOCRATES is not set | 198 | # CONFIG_SOCRATES is not set |
194 | # CONFIG_KSI8560 is not set | 199 | # CONFIG_KSI8560 is not set |
195 | # CONFIG_XES_MPC85xx is not set | 200 | # CONFIG_XES_MPC85xx is not set |
@@ -246,6 +251,7 @@ CONFIG_MATH_EMULATION=y | |||
246 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
247 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 252 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
248 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 253 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
254 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
249 | CONFIG_ARCH_FLATMEM_ENABLE=y | 255 | CONFIG_ARCH_FLATMEM_ENABLE=y |
250 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 256 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
251 | CONFIG_SELECT_MEMORY_MODEL=y | 257 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -263,6 +269,7 @@ CONFIG_BOUNCE=y | |||
263 | CONFIG_VIRT_TO_BUS=y | 269 | CONFIG_VIRT_TO_BUS=y |
264 | CONFIG_HAVE_MLOCK=y | 270 | CONFIG_HAVE_MLOCK=y |
265 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
272 | # CONFIG_KSM is not set | ||
266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 273 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
267 | CONFIG_PPC_4K_PAGES=y | 274 | CONFIG_PPC_4K_PAGES=y |
268 | # CONFIG_PPC_16K_PAGES is not set | 275 | # CONFIG_PPC_16K_PAGES is not set |
@@ -357,6 +364,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
357 | # CONFIG_NETFILTER is not set | 364 | # CONFIG_NETFILTER is not set |
358 | # CONFIG_IP_DCCP is not set | 365 | # CONFIG_IP_DCCP is not set |
359 | # CONFIG_IP_SCTP is not set | 366 | # CONFIG_IP_SCTP is not set |
367 | # CONFIG_RDS is not set | ||
360 | # CONFIG_TIPC is not set | 368 | # CONFIG_TIPC is not set |
361 | # CONFIG_ATM is not set | 369 | # CONFIG_ATM is not set |
362 | # CONFIG_BRIDGE is not set | 370 | # CONFIG_BRIDGE is not set |
@@ -386,6 +394,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
386 | # CONFIG_AF_RXRPC is not set | 394 | # CONFIG_AF_RXRPC is not set |
387 | CONFIG_WIRELESS=y | 395 | CONFIG_WIRELESS=y |
388 | # CONFIG_CFG80211 is not set | 396 | # CONFIG_CFG80211 is not set |
397 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
389 | CONFIG_WIRELESS_OLD_REGULATORY=y | 398 | CONFIG_WIRELESS_OLD_REGULATORY=y |
390 | # CONFIG_WIRELESS_EXT is not set | 399 | # CONFIG_WIRELESS_EXT is not set |
391 | # CONFIG_LIB80211 is not set | 400 | # CONFIG_LIB80211 is not set |
@@ -393,7 +402,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
393 | # | 402 | # |
394 | # CFG80211 needs to be enabled for MAC80211 | 403 | # CFG80211 needs to be enabled for MAC80211 |
395 | # | 404 | # |
396 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
397 | # CONFIG_WIMAX is not set | 405 | # CONFIG_WIMAX is not set |
398 | # CONFIG_RFKILL is not set | 406 | # CONFIG_RFKILL is not set |
399 | # CONFIG_NET_9P is not set | 407 | # CONFIG_NET_9P is not set |
@@ -681,9 +689,11 @@ CONFIG_E100=y | |||
681 | # CONFIG_SUNDANCE is not set | 689 | # CONFIG_SUNDANCE is not set |
682 | # CONFIG_TLAN is not set | 690 | # CONFIG_TLAN is not set |
683 | # CONFIG_KS8842 is not set | 691 | # CONFIG_KS8842 is not set |
692 | # CONFIG_KS8851_MLL is not set | ||
684 | # CONFIG_VIA_RHINE is not set | 693 | # CONFIG_VIA_RHINE is not set |
685 | # CONFIG_SC92031 is not set | 694 | # CONFIG_SC92031 is not set |
686 | # CONFIG_ATL2 is not set | 695 | # CONFIG_ATL2 is not set |
696 | # CONFIG_XILINX_EMACLITE is not set | ||
687 | # CONFIG_FS_ENET is not set | 697 | # CONFIG_FS_ENET is not set |
688 | CONFIG_NETDEV_1000=y | 698 | CONFIG_NETDEV_1000=y |
689 | # CONFIG_ACENIC is not set | 699 | # CONFIG_ACENIC is not set |
@@ -732,10 +742,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
732 | # CONFIG_SFC is not set | 742 | # CONFIG_SFC is not set |
733 | # CONFIG_BE2NET is not set | 743 | # CONFIG_BE2NET is not set |
734 | # CONFIG_TR is not set | 744 | # CONFIG_TR is not set |
735 | 745 | CONFIG_WLAN=y | |
736 | # | ||
737 | # Wireless LAN | ||
738 | # | ||
739 | # CONFIG_WLAN_PRE80211 is not set | 746 | # CONFIG_WLAN_PRE80211 is not set |
740 | # CONFIG_WLAN_80211 is not set | 747 | # CONFIG_WLAN_80211 is not set |
741 | 748 | ||
@@ -831,6 +838,7 @@ CONFIG_GEN_RTC=y | |||
831 | CONFIG_DEVPORT=y | 838 | CONFIG_DEVPORT=y |
832 | CONFIG_I2C=y | 839 | CONFIG_I2C=y |
833 | CONFIG_I2C_BOARDINFO=y | 840 | CONFIG_I2C_BOARDINFO=y |
841 | CONFIG_I2C_COMPAT=y | ||
834 | CONFIG_I2C_CHARDEV=y | 842 | CONFIG_I2C_CHARDEV=y |
835 | CONFIG_I2C_HELPER_AUTO=y | 843 | CONFIG_I2C_HELPER_AUTO=y |
836 | 844 | ||
@@ -886,9 +894,6 @@ CONFIG_I2C_MPC=y | |||
886 | # Miscellaneous I2C Chip support | 894 | # Miscellaneous I2C Chip support |
887 | # | 895 | # |
888 | # CONFIG_DS1682 is not set | 896 | # CONFIG_DS1682 is not set |
889 | # CONFIG_SENSORS_PCF8574 is not set | ||
890 | # CONFIG_PCF8575 is not set | ||
891 | # CONFIG_SENSORS_PCA9539 is not set | ||
892 | # CONFIG_SENSORS_TSL2550 is not set | 897 | # CONFIG_SENSORS_TSL2550 is not set |
893 | # CONFIG_I2C_DEBUG_CORE is not set | 898 | # CONFIG_I2C_DEBUG_CORE is not set |
894 | # CONFIG_I2C_DEBUG_ALGO is not set | 899 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -921,14 +926,24 @@ CONFIG_GPIOLIB=y | |||
921 | # PCI GPIO expanders: | 926 | # PCI GPIO expanders: |
922 | # | 927 | # |
923 | # CONFIG_GPIO_BT8XX is not set | 928 | # CONFIG_GPIO_BT8XX is not set |
929 | # CONFIG_GPIO_LANGWELL is not set | ||
924 | 930 | ||
925 | # | 931 | # |
926 | # SPI GPIO expanders: | 932 | # SPI GPIO expanders: |
927 | # | 933 | # |
934 | |||
935 | # | ||
936 | # AC97 GPIO expanders: | ||
937 | # | ||
928 | # CONFIG_W1 is not set | 938 | # CONFIG_W1 is not set |
929 | # CONFIG_POWER_SUPPLY is not set | 939 | # CONFIG_POWER_SUPPLY is not set |
930 | CONFIG_HWMON=y | 940 | CONFIG_HWMON=y |
931 | # CONFIG_HWMON_VID is not set | 941 | # CONFIG_HWMON_VID is not set |
942 | CONFIG_HWMON_DEBUG_CHIP=y | ||
943 | |||
944 | # | ||
945 | # Native drivers | ||
946 | # | ||
932 | # CONFIG_SENSORS_AD7414 is not set | 947 | # CONFIG_SENSORS_AD7414 is not set |
933 | # CONFIG_SENSORS_AD7418 is not set | 948 | # CONFIG_SENSORS_AD7418 is not set |
934 | # CONFIG_SENSORS_ADM1021 is not set | 949 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -979,6 +994,7 @@ CONFIG_SENSORS_LM75=y | |||
979 | # CONFIG_SENSORS_ADS7828 is not set | 994 | # CONFIG_SENSORS_ADS7828 is not set |
980 | # CONFIG_SENSORS_THMC50 is not set | 995 | # CONFIG_SENSORS_THMC50 is not set |
981 | # CONFIG_SENSORS_TMP401 is not set | 996 | # CONFIG_SENSORS_TMP401 is not set |
997 | # CONFIG_SENSORS_TMP421 is not set | ||
982 | # CONFIG_SENSORS_VIA686A is not set | 998 | # CONFIG_SENSORS_VIA686A is not set |
983 | # CONFIG_SENSORS_VT1211 is not set | 999 | # CONFIG_SENSORS_VT1211 is not set |
984 | # CONFIG_SENSORS_VT8231 is not set | 1000 | # CONFIG_SENSORS_VT8231 is not set |
@@ -990,9 +1006,7 @@ CONFIG_SENSORS_LM75=y | |||
990 | # CONFIG_SENSORS_W83L786NG is not set | 1006 | # CONFIG_SENSORS_W83L786NG is not set |
991 | # CONFIG_SENSORS_W83627HF is not set | 1007 | # CONFIG_SENSORS_W83627HF is not set |
992 | # CONFIG_SENSORS_W83627EHF is not set | 1008 | # CONFIG_SENSORS_W83627EHF is not set |
993 | CONFIG_HWMON_DEBUG_CHIP=y | ||
994 | # CONFIG_THERMAL is not set | 1009 | # CONFIG_THERMAL is not set |
995 | # CONFIG_THERMAL_HWMON is not set | ||
996 | # CONFIG_WATCHDOG is not set | 1010 | # CONFIG_WATCHDOG is not set |
997 | CONFIG_SSB_POSSIBLE=y | 1011 | CONFIG_SSB_POSSIBLE=y |
998 | 1012 | ||
@@ -1012,6 +1026,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1012 | # CONFIG_MFD_TMIO is not set | 1026 | # CONFIG_MFD_TMIO is not set |
1013 | # CONFIG_PMIC_DA903X is not set | 1027 | # CONFIG_PMIC_DA903X is not set |
1014 | # CONFIG_MFD_WM8400 is not set | 1028 | # CONFIG_MFD_WM8400 is not set |
1029 | # CONFIG_MFD_WM831X is not set | ||
1015 | # CONFIG_MFD_WM8350_I2C is not set | 1030 | # CONFIG_MFD_WM8350_I2C is not set |
1016 | # CONFIG_MFD_PCF50633 is not set | 1031 | # CONFIG_MFD_PCF50633 is not set |
1017 | # CONFIG_AB3100_CORE is not set | 1032 | # CONFIG_AB3100_CORE is not set |
@@ -1022,6 +1037,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1022 | # Graphics support | 1037 | # Graphics support |
1023 | # | 1038 | # |
1024 | # CONFIG_AGP is not set | 1039 | # CONFIG_AGP is not set |
1040 | CONFIG_VGA_ARB=y | ||
1025 | # CONFIG_DRM is not set | 1041 | # CONFIG_DRM is not set |
1026 | # CONFIG_VGASTATE is not set | 1042 | # CONFIG_VGASTATE is not set |
1027 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1043 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1035,7 +1051,6 @@ CONFIG_SSB_POSSIBLE=y | |||
1035 | # CONFIG_SOUND is not set | 1051 | # CONFIG_SOUND is not set |
1036 | CONFIG_HID_SUPPORT=y | 1052 | CONFIG_HID_SUPPORT=y |
1037 | CONFIG_HID=y | 1053 | CONFIG_HID=y |
1038 | # CONFIG_HID_DEBUG is not set | ||
1039 | # CONFIG_HIDRAW is not set | 1054 | # CONFIG_HIDRAW is not set |
1040 | # CONFIG_HID_PID is not set | 1055 | # CONFIG_HID_PID is not set |
1041 | 1056 | ||
@@ -1100,6 +1115,7 @@ CONFIG_FS_MBCACHE=y | |||
1100 | # CONFIG_GFS2_FS is not set | 1115 | # CONFIG_GFS2_FS is not set |
1101 | # CONFIG_OCFS2_FS is not set | 1116 | # CONFIG_OCFS2_FS is not set |
1102 | # CONFIG_BTRFS_FS is not set | 1117 | # CONFIG_BTRFS_FS is not set |
1118 | # CONFIG_NILFS2_FS is not set | ||
1103 | CONFIG_FILE_LOCKING=y | 1119 | CONFIG_FILE_LOCKING=y |
1104 | CONFIG_FSNOTIFY=y | 1120 | CONFIG_FSNOTIFY=y |
1105 | CONFIG_DNOTIFY=y | 1121 | CONFIG_DNOTIFY=y |
@@ -1169,7 +1185,6 @@ CONFIG_CRAMFS=y | |||
1169 | # CONFIG_ROMFS_FS is not set | 1185 | # CONFIG_ROMFS_FS is not set |
1170 | # CONFIG_SYSV_FS is not set | 1186 | # CONFIG_SYSV_FS is not set |
1171 | # CONFIG_UFS_FS is not set | 1187 | # CONFIG_UFS_FS is not set |
1172 | # CONFIG_NILFS2_FS is not set | ||
1173 | CONFIG_NETWORK_FILESYSTEMS=y | 1188 | CONFIG_NETWORK_FILESYSTEMS=y |
1174 | CONFIG_NFS_FS=y | 1189 | CONFIG_NFS_FS=y |
1175 | # CONFIG_NFS_V3 is not set | 1190 | # CONFIG_NFS_V3 is not set |
@@ -1238,6 +1253,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1238 | CONFIG_ENABLE_MUST_CHECK=y | 1253 | CONFIG_ENABLE_MUST_CHECK=y |
1239 | CONFIG_FRAME_WARN=1024 | 1254 | CONFIG_FRAME_WARN=1024 |
1240 | # CONFIG_MAGIC_SYSRQ is not set | 1255 | # CONFIG_MAGIC_SYSRQ is not set |
1256 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1241 | # CONFIG_UNUSED_SYMBOLS is not set | 1257 | # CONFIG_UNUSED_SYMBOLS is not set |
1242 | # CONFIG_DEBUG_FS is not set | 1258 | # CONFIG_DEBUG_FS is not set |
1243 | # CONFIG_HEADERS_CHECK is not set | 1259 | # CONFIG_HEADERS_CHECK is not set |
@@ -1255,6 +1271,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1255 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1271 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1256 | CONFIG_TRACING_SUPPORT=y | 1272 | CONFIG_TRACING_SUPPORT=y |
1257 | # CONFIG_FTRACE is not set | 1273 | # CONFIG_FTRACE is not set |
1274 | # CONFIG_DMA_API_DEBUG is not set | ||
1258 | # CONFIG_SAMPLES is not set | 1275 | # CONFIG_SAMPLES is not set |
1259 | CONFIG_HAVE_ARCH_KGDB=y | 1276 | CONFIG_HAVE_ARCH_KGDB=y |
1260 | # CONFIG_PPC_DISABLE_WERROR is not set | 1277 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1275,7 +1292,6 @@ CONFIG_CRYPTO=y | |||
1275 | # | 1292 | # |
1276 | # Crypto core or helper | 1293 | # Crypto core or helper |
1277 | # | 1294 | # |
1278 | # CONFIG_CRYPTO_FIPS is not set | ||
1279 | # CONFIG_CRYPTO_MANAGER is not set | 1295 | # CONFIG_CRYPTO_MANAGER is not set |
1280 | # CONFIG_CRYPTO_MANAGER2 is not set | 1296 | # CONFIG_CRYPTO_MANAGER2 is not set |
1281 | # CONFIG_CRYPTO_GF128MUL is not set | 1297 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1306,11 +1322,13 @@ CONFIG_CRYPTO=y | |||
1306 | # | 1322 | # |
1307 | # CONFIG_CRYPTO_HMAC is not set | 1323 | # CONFIG_CRYPTO_HMAC is not set |
1308 | # CONFIG_CRYPTO_XCBC is not set | 1324 | # CONFIG_CRYPTO_XCBC is not set |
1325 | # CONFIG_CRYPTO_VMAC is not set | ||
1309 | 1326 | ||
1310 | # | 1327 | # |
1311 | # Digest | 1328 | # Digest |
1312 | # | 1329 | # |
1313 | # CONFIG_CRYPTO_CRC32C is not set | 1330 | # CONFIG_CRYPTO_CRC32C is not set |
1331 | # CONFIG_CRYPTO_GHASH is not set | ||
1314 | # CONFIG_CRYPTO_MD4 is not set | 1332 | # CONFIG_CRYPTO_MD4 is not set |
1315 | # CONFIG_CRYPTO_MD5 is not set | 1333 | # CONFIG_CRYPTO_MD5 is not set |
1316 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1334 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/tqm8560_defconfig b/arch/powerpc/configs/85xx/tqm8560_defconfig index 2e49a6e9faf2..631d92b4d4e6 100644 --- a/arch/powerpc/configs/85xx/tqm8560_defconfig +++ b/arch/powerpc/configs/85xx/tqm8560_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:25 2009 | 4 | # Thu Nov 5 08:20:43 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
85 | # | 87 | # |
86 | # RCU Subsystem | 88 | # RCU Subsystem |
87 | # | 89 | # |
88 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -125,29 +128,30 @@ CONFIG_TIMERFD=y | |||
125 | CONFIG_EVENTFD=y | 128 | CONFIG_EVENTFD=y |
126 | CONFIG_SHMEM=y | 129 | CONFIG_SHMEM=y |
127 | CONFIG_AIO=y | 130 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_COUNTERS=y | 131 | CONFIG_HAVE_PERF_EVENTS=y |
129 | 132 | ||
130 | # | 133 | # |
131 | # Performance Counters | 134 | # Kernel Performance Events And Counters |
132 | # | 135 | # |
136 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | 137 | # CONFIG_PERF_COUNTERS is not set |
134 | CONFIG_VM_EVENT_COUNTERS=y | 138 | CONFIG_VM_EVENT_COUNTERS=y |
135 | CONFIG_PCI_QUIRKS=y | 139 | CONFIG_PCI_QUIRKS=y |
136 | CONFIG_SLUB_DEBUG=y | 140 | CONFIG_SLUB_DEBUG=y |
137 | # CONFIG_STRIP_ASM_SYMS is not set | ||
138 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
139 | # CONFIG_SLAB is not set | 142 | # CONFIG_SLAB is not set |
140 | CONFIG_SLUB=y | 143 | CONFIG_SLUB=y |
141 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
142 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
143 | # CONFIG_MARKERS is not set | ||
144 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
145 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
146 | CONFIG_HAVE_IOREMAP_PROT=y | 148 | CONFIG_HAVE_IOREMAP_PROT=y |
147 | CONFIG_HAVE_KPROBES=y | 149 | CONFIG_HAVE_KPROBES=y |
148 | CONFIG_HAVE_KRETPROBES=y | 150 | CONFIG_HAVE_KRETPROBES=y |
149 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 151 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
152 | CONFIG_HAVE_DMA_ATTRS=y | ||
150 | CONFIG_HAVE_CLK=y | 153 | CONFIG_HAVE_CLK=y |
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
151 | 155 | ||
152 | # | 156 | # |
153 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -190,6 +194,7 @@ CONFIG_MPC85xx=y | |||
190 | # CONFIG_MPC85xx_MDS is not set | 194 | # CONFIG_MPC85xx_MDS is not set |
191 | # CONFIG_MPC8536_DS is not set | 195 | # CONFIG_MPC8536_DS is not set |
192 | # CONFIG_MPC85xx_DS is not set | 196 | # CONFIG_MPC85xx_DS is not set |
197 | # CONFIG_MPC85xx_RDB is not set | ||
193 | # CONFIG_SOCRATES is not set | 198 | # CONFIG_SOCRATES is not set |
194 | # CONFIG_KSI8560 is not set | 199 | # CONFIG_KSI8560 is not set |
195 | # CONFIG_XES_MPC85xx is not set | 200 | # CONFIG_XES_MPC85xx is not set |
@@ -246,6 +251,7 @@ CONFIG_MATH_EMULATION=y | |||
246 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
247 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 252 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
248 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 253 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
254 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
249 | CONFIG_ARCH_FLATMEM_ENABLE=y | 255 | CONFIG_ARCH_FLATMEM_ENABLE=y |
250 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 256 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
251 | CONFIG_SELECT_MEMORY_MODEL=y | 257 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -263,6 +269,7 @@ CONFIG_BOUNCE=y | |||
263 | CONFIG_VIRT_TO_BUS=y | 269 | CONFIG_VIRT_TO_BUS=y |
264 | CONFIG_HAVE_MLOCK=y | 270 | CONFIG_HAVE_MLOCK=y |
265 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
272 | # CONFIG_KSM is not set | ||
266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 273 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
267 | CONFIG_PPC_4K_PAGES=y | 274 | CONFIG_PPC_4K_PAGES=y |
268 | # CONFIG_PPC_16K_PAGES is not set | 275 | # CONFIG_PPC_16K_PAGES is not set |
@@ -357,6 +364,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
357 | # CONFIG_NETFILTER is not set | 364 | # CONFIG_NETFILTER is not set |
358 | # CONFIG_IP_DCCP is not set | 365 | # CONFIG_IP_DCCP is not set |
359 | # CONFIG_IP_SCTP is not set | 366 | # CONFIG_IP_SCTP is not set |
367 | # CONFIG_RDS is not set | ||
360 | # CONFIG_TIPC is not set | 368 | # CONFIG_TIPC is not set |
361 | # CONFIG_ATM is not set | 369 | # CONFIG_ATM is not set |
362 | # CONFIG_BRIDGE is not set | 370 | # CONFIG_BRIDGE is not set |
@@ -386,6 +394,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
386 | # CONFIG_AF_RXRPC is not set | 394 | # CONFIG_AF_RXRPC is not set |
387 | CONFIG_WIRELESS=y | 395 | CONFIG_WIRELESS=y |
388 | # CONFIG_CFG80211 is not set | 396 | # CONFIG_CFG80211 is not set |
397 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
389 | CONFIG_WIRELESS_OLD_REGULATORY=y | 398 | CONFIG_WIRELESS_OLD_REGULATORY=y |
390 | # CONFIG_WIRELESS_EXT is not set | 399 | # CONFIG_WIRELESS_EXT is not set |
391 | # CONFIG_LIB80211 is not set | 400 | # CONFIG_LIB80211 is not set |
@@ -393,7 +402,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
393 | # | 402 | # |
394 | # CFG80211 needs to be enabled for MAC80211 | 403 | # CFG80211 needs to be enabled for MAC80211 |
395 | # | 404 | # |
396 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
397 | # CONFIG_WIMAX is not set | 405 | # CONFIG_WIMAX is not set |
398 | # CONFIG_RFKILL is not set | 406 | # CONFIG_RFKILL is not set |
399 | # CONFIG_NET_9P is not set | 407 | # CONFIG_NET_9P is not set |
@@ -681,9 +689,11 @@ CONFIG_E100=y | |||
681 | # CONFIG_SUNDANCE is not set | 689 | # CONFIG_SUNDANCE is not set |
682 | # CONFIG_TLAN is not set | 690 | # CONFIG_TLAN is not set |
683 | # CONFIG_KS8842 is not set | 691 | # CONFIG_KS8842 is not set |
692 | # CONFIG_KS8851_MLL is not set | ||
684 | # CONFIG_VIA_RHINE is not set | 693 | # CONFIG_VIA_RHINE is not set |
685 | # CONFIG_SC92031 is not set | 694 | # CONFIG_SC92031 is not set |
686 | # CONFIG_ATL2 is not set | 695 | # CONFIG_ATL2 is not set |
696 | # CONFIG_XILINX_EMACLITE is not set | ||
687 | # CONFIG_FS_ENET is not set | 697 | # CONFIG_FS_ENET is not set |
688 | CONFIG_NETDEV_1000=y | 698 | CONFIG_NETDEV_1000=y |
689 | # CONFIG_ACENIC is not set | 699 | # CONFIG_ACENIC is not set |
@@ -732,10 +742,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
732 | # CONFIG_SFC is not set | 742 | # CONFIG_SFC is not set |
733 | # CONFIG_BE2NET is not set | 743 | # CONFIG_BE2NET is not set |
734 | # CONFIG_TR is not set | 744 | # CONFIG_TR is not set |
735 | 745 | CONFIG_WLAN=y | |
736 | # | ||
737 | # Wireless LAN | ||
738 | # | ||
739 | # CONFIG_WLAN_PRE80211 is not set | 746 | # CONFIG_WLAN_PRE80211 is not set |
740 | # CONFIG_WLAN_80211 is not set | 747 | # CONFIG_WLAN_80211 is not set |
741 | 748 | ||
@@ -831,6 +838,7 @@ CONFIG_GEN_RTC=y | |||
831 | CONFIG_DEVPORT=y | 838 | CONFIG_DEVPORT=y |
832 | CONFIG_I2C=y | 839 | CONFIG_I2C=y |
833 | CONFIG_I2C_BOARDINFO=y | 840 | CONFIG_I2C_BOARDINFO=y |
841 | CONFIG_I2C_COMPAT=y | ||
834 | CONFIG_I2C_CHARDEV=y | 842 | CONFIG_I2C_CHARDEV=y |
835 | CONFIG_I2C_HELPER_AUTO=y | 843 | CONFIG_I2C_HELPER_AUTO=y |
836 | 844 | ||
@@ -886,9 +894,6 @@ CONFIG_I2C_MPC=y | |||
886 | # Miscellaneous I2C Chip support | 894 | # Miscellaneous I2C Chip support |
887 | # | 895 | # |
888 | # CONFIG_DS1682 is not set | 896 | # CONFIG_DS1682 is not set |
889 | # CONFIG_SENSORS_PCF8574 is not set | ||
890 | # CONFIG_PCF8575 is not set | ||
891 | # CONFIG_SENSORS_PCA9539 is not set | ||
892 | # CONFIG_SENSORS_TSL2550 is not set | 897 | # CONFIG_SENSORS_TSL2550 is not set |
893 | # CONFIG_I2C_DEBUG_CORE is not set | 898 | # CONFIG_I2C_DEBUG_CORE is not set |
894 | # CONFIG_I2C_DEBUG_ALGO is not set | 899 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -921,14 +926,24 @@ CONFIG_GPIOLIB=y | |||
921 | # PCI GPIO expanders: | 926 | # PCI GPIO expanders: |
922 | # | 927 | # |
923 | # CONFIG_GPIO_BT8XX is not set | 928 | # CONFIG_GPIO_BT8XX is not set |
929 | # CONFIG_GPIO_LANGWELL is not set | ||
924 | 930 | ||
925 | # | 931 | # |
926 | # SPI GPIO expanders: | 932 | # SPI GPIO expanders: |
927 | # | 933 | # |
934 | |||
935 | # | ||
936 | # AC97 GPIO expanders: | ||
937 | # | ||
928 | # CONFIG_W1 is not set | 938 | # CONFIG_W1 is not set |
929 | # CONFIG_POWER_SUPPLY is not set | 939 | # CONFIG_POWER_SUPPLY is not set |
930 | CONFIG_HWMON=y | 940 | CONFIG_HWMON=y |
931 | # CONFIG_HWMON_VID is not set | 941 | # CONFIG_HWMON_VID is not set |
942 | CONFIG_HWMON_DEBUG_CHIP=y | ||
943 | |||
944 | # | ||
945 | # Native drivers | ||
946 | # | ||
932 | # CONFIG_SENSORS_AD7414 is not set | 947 | # CONFIG_SENSORS_AD7414 is not set |
933 | # CONFIG_SENSORS_AD7418 is not set | 948 | # CONFIG_SENSORS_AD7418 is not set |
934 | # CONFIG_SENSORS_ADM1021 is not set | 949 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -979,6 +994,7 @@ CONFIG_SENSORS_LM75=y | |||
979 | # CONFIG_SENSORS_ADS7828 is not set | 994 | # CONFIG_SENSORS_ADS7828 is not set |
980 | # CONFIG_SENSORS_THMC50 is not set | 995 | # CONFIG_SENSORS_THMC50 is not set |
981 | # CONFIG_SENSORS_TMP401 is not set | 996 | # CONFIG_SENSORS_TMP401 is not set |
997 | # CONFIG_SENSORS_TMP421 is not set | ||
982 | # CONFIG_SENSORS_VIA686A is not set | 998 | # CONFIG_SENSORS_VIA686A is not set |
983 | # CONFIG_SENSORS_VT1211 is not set | 999 | # CONFIG_SENSORS_VT1211 is not set |
984 | # CONFIG_SENSORS_VT8231 is not set | 1000 | # CONFIG_SENSORS_VT8231 is not set |
@@ -990,9 +1006,7 @@ CONFIG_SENSORS_LM75=y | |||
990 | # CONFIG_SENSORS_W83L786NG is not set | 1006 | # CONFIG_SENSORS_W83L786NG is not set |
991 | # CONFIG_SENSORS_W83627HF is not set | 1007 | # CONFIG_SENSORS_W83627HF is not set |
992 | # CONFIG_SENSORS_W83627EHF is not set | 1008 | # CONFIG_SENSORS_W83627EHF is not set |
993 | CONFIG_HWMON_DEBUG_CHIP=y | ||
994 | # CONFIG_THERMAL is not set | 1009 | # CONFIG_THERMAL is not set |
995 | # CONFIG_THERMAL_HWMON is not set | ||
996 | # CONFIG_WATCHDOG is not set | 1010 | # CONFIG_WATCHDOG is not set |
997 | CONFIG_SSB_POSSIBLE=y | 1011 | CONFIG_SSB_POSSIBLE=y |
998 | 1012 | ||
@@ -1012,6 +1026,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1012 | # CONFIG_MFD_TMIO is not set | 1026 | # CONFIG_MFD_TMIO is not set |
1013 | # CONFIG_PMIC_DA903X is not set | 1027 | # CONFIG_PMIC_DA903X is not set |
1014 | # CONFIG_MFD_WM8400 is not set | 1028 | # CONFIG_MFD_WM8400 is not set |
1029 | # CONFIG_MFD_WM831X is not set | ||
1015 | # CONFIG_MFD_WM8350_I2C is not set | 1030 | # CONFIG_MFD_WM8350_I2C is not set |
1016 | # CONFIG_MFD_PCF50633 is not set | 1031 | # CONFIG_MFD_PCF50633 is not set |
1017 | # CONFIG_AB3100_CORE is not set | 1032 | # CONFIG_AB3100_CORE is not set |
@@ -1022,6 +1037,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1022 | # Graphics support | 1037 | # Graphics support |
1023 | # | 1038 | # |
1024 | # CONFIG_AGP is not set | 1039 | # CONFIG_AGP is not set |
1040 | CONFIG_VGA_ARB=y | ||
1025 | # CONFIG_DRM is not set | 1041 | # CONFIG_DRM is not set |
1026 | # CONFIG_VGASTATE is not set | 1042 | # CONFIG_VGASTATE is not set |
1027 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1043 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1035,7 +1051,6 @@ CONFIG_SSB_POSSIBLE=y | |||
1035 | # CONFIG_SOUND is not set | 1051 | # CONFIG_SOUND is not set |
1036 | CONFIG_HID_SUPPORT=y | 1052 | CONFIG_HID_SUPPORT=y |
1037 | CONFIG_HID=y | 1053 | CONFIG_HID=y |
1038 | # CONFIG_HID_DEBUG is not set | ||
1039 | # CONFIG_HIDRAW is not set | 1054 | # CONFIG_HIDRAW is not set |
1040 | # CONFIG_HID_PID is not set | 1055 | # CONFIG_HID_PID is not set |
1041 | 1056 | ||
@@ -1100,6 +1115,7 @@ CONFIG_FS_MBCACHE=y | |||
1100 | # CONFIG_GFS2_FS is not set | 1115 | # CONFIG_GFS2_FS is not set |
1101 | # CONFIG_OCFS2_FS is not set | 1116 | # CONFIG_OCFS2_FS is not set |
1102 | # CONFIG_BTRFS_FS is not set | 1117 | # CONFIG_BTRFS_FS is not set |
1118 | # CONFIG_NILFS2_FS is not set | ||
1103 | CONFIG_FILE_LOCKING=y | 1119 | CONFIG_FILE_LOCKING=y |
1104 | CONFIG_FSNOTIFY=y | 1120 | CONFIG_FSNOTIFY=y |
1105 | CONFIG_DNOTIFY=y | 1121 | CONFIG_DNOTIFY=y |
@@ -1169,7 +1185,6 @@ CONFIG_CRAMFS=y | |||
1169 | # CONFIG_ROMFS_FS is not set | 1185 | # CONFIG_ROMFS_FS is not set |
1170 | # CONFIG_SYSV_FS is not set | 1186 | # CONFIG_SYSV_FS is not set |
1171 | # CONFIG_UFS_FS is not set | 1187 | # CONFIG_UFS_FS is not set |
1172 | # CONFIG_NILFS2_FS is not set | ||
1173 | CONFIG_NETWORK_FILESYSTEMS=y | 1188 | CONFIG_NETWORK_FILESYSTEMS=y |
1174 | CONFIG_NFS_FS=y | 1189 | CONFIG_NFS_FS=y |
1175 | # CONFIG_NFS_V3 is not set | 1190 | # CONFIG_NFS_V3 is not set |
@@ -1238,6 +1253,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1238 | CONFIG_ENABLE_MUST_CHECK=y | 1253 | CONFIG_ENABLE_MUST_CHECK=y |
1239 | CONFIG_FRAME_WARN=1024 | 1254 | CONFIG_FRAME_WARN=1024 |
1240 | # CONFIG_MAGIC_SYSRQ is not set | 1255 | # CONFIG_MAGIC_SYSRQ is not set |
1256 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1241 | # CONFIG_UNUSED_SYMBOLS is not set | 1257 | # CONFIG_UNUSED_SYMBOLS is not set |
1242 | # CONFIG_DEBUG_FS is not set | 1258 | # CONFIG_DEBUG_FS is not set |
1243 | # CONFIG_HEADERS_CHECK is not set | 1259 | # CONFIG_HEADERS_CHECK is not set |
@@ -1255,6 +1271,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1255 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1271 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1256 | CONFIG_TRACING_SUPPORT=y | 1272 | CONFIG_TRACING_SUPPORT=y |
1257 | # CONFIG_FTRACE is not set | 1273 | # CONFIG_FTRACE is not set |
1274 | # CONFIG_DMA_API_DEBUG is not set | ||
1258 | # CONFIG_SAMPLES is not set | 1275 | # CONFIG_SAMPLES is not set |
1259 | CONFIG_HAVE_ARCH_KGDB=y | 1276 | CONFIG_HAVE_ARCH_KGDB=y |
1260 | # CONFIG_PPC_DISABLE_WERROR is not set | 1277 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1275,7 +1292,6 @@ CONFIG_CRYPTO=y | |||
1275 | # | 1292 | # |
1276 | # Crypto core or helper | 1293 | # Crypto core or helper |
1277 | # | 1294 | # |
1278 | # CONFIG_CRYPTO_FIPS is not set | ||
1279 | # CONFIG_CRYPTO_MANAGER is not set | 1295 | # CONFIG_CRYPTO_MANAGER is not set |
1280 | # CONFIG_CRYPTO_MANAGER2 is not set | 1296 | # CONFIG_CRYPTO_MANAGER2 is not set |
1281 | # CONFIG_CRYPTO_GF128MUL is not set | 1297 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1306,11 +1322,13 @@ CONFIG_CRYPTO=y | |||
1306 | # | 1322 | # |
1307 | # CONFIG_CRYPTO_HMAC is not set | 1323 | # CONFIG_CRYPTO_HMAC is not set |
1308 | # CONFIG_CRYPTO_XCBC is not set | 1324 | # CONFIG_CRYPTO_XCBC is not set |
1325 | # CONFIG_CRYPTO_VMAC is not set | ||
1309 | 1326 | ||
1310 | # | 1327 | # |
1311 | # Digest | 1328 | # Digest |
1312 | # | 1329 | # |
1313 | # CONFIG_CRYPTO_CRC32C is not set | 1330 | # CONFIG_CRYPTO_CRC32C is not set |
1331 | # CONFIG_CRYPTO_GHASH is not set | ||
1314 | # CONFIG_CRYPTO_MD4 is not set | 1332 | # CONFIG_CRYPTO_MD4 is not set |
1315 | # CONFIG_CRYPTO_MD5 is not set | 1333 | # CONFIG_CRYPTO_MD5 is not set |
1316 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1334 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/85xx/xes_mpc85xx_defconfig b/arch/powerpc/configs/85xx/xes_mpc85xx_defconfig index 1025da2bf069..52acbac0c4fe 100644 --- a/arch/powerpc/configs/85xx/xes_mpc85xx_defconfig +++ b/arch/powerpc/configs/85xx/xes_mpc85xx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:25 2009 | 4 | # Thu Nov 5 08:20:44 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | CONFIG_SMP=y | 28 | CONFIG_SMP=y |
@@ -37,6 +38,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
37 | CONFIG_GENERIC_HARDIRQS=y | 38 | CONFIG_GENERIC_HARDIRQS=y |
38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 39 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 40 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
41 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
40 | CONFIG_IRQ_PER_CPU=y | 42 | CONFIG_IRQ_PER_CPU=y |
41 | CONFIG_STACKTRACE_SUPPORT=y | 43 | CONFIG_STACKTRACE_SUPPORT=y |
42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 44 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -89,11 +91,12 @@ CONFIG_AUDIT=y | |||
89 | # | 91 | # |
90 | # RCU Subsystem | 92 | # RCU Subsystem |
91 | # | 93 | # |
92 | CONFIG_CLASSIC_RCU=y | 94 | CONFIG_TREE_RCU=y |
93 | # CONFIG_TREE_RCU is not set | 95 | # CONFIG_TREE_PREEMPT_RCU is not set |
94 | # CONFIG_PREEMPT_RCU is not set | 96 | # CONFIG_RCU_TRACE is not set |
97 | CONFIG_RCU_FANOUT=32 | ||
98 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
95 | # CONFIG_TREE_RCU_TRACE is not set | 99 | # CONFIG_TREE_RCU_TRACE is not set |
96 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
97 | CONFIG_IKCONFIG=y | 100 | CONFIG_IKCONFIG=y |
98 | CONFIG_IKCONFIG_PROC=y | 101 | CONFIG_IKCONFIG_PROC=y |
99 | CONFIG_LOG_BUF_SHIFT=14 | 102 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -128,22 +131,21 @@ CONFIG_TIMERFD=y | |||
128 | CONFIG_EVENTFD=y | 131 | CONFIG_EVENTFD=y |
129 | CONFIG_SHMEM=y | 132 | CONFIG_SHMEM=y |
130 | CONFIG_AIO=y | 133 | CONFIG_AIO=y |
131 | CONFIG_HAVE_PERF_COUNTERS=y | 134 | CONFIG_HAVE_PERF_EVENTS=y |
132 | 135 | ||
133 | # | 136 | # |
134 | # Performance Counters | 137 | # Kernel Performance Events And Counters |
135 | # | 138 | # |
139 | # CONFIG_PERF_EVENTS is not set | ||
136 | # CONFIG_PERF_COUNTERS is not set | 140 | # CONFIG_PERF_COUNTERS is not set |
137 | CONFIG_VM_EVENT_COUNTERS=y | 141 | CONFIG_VM_EVENT_COUNTERS=y |
138 | CONFIG_PCI_QUIRKS=y | 142 | CONFIG_PCI_QUIRKS=y |
139 | CONFIG_SLUB_DEBUG=y | 143 | CONFIG_SLUB_DEBUG=y |
140 | # CONFIG_STRIP_ASM_SYMS is not set | ||
141 | CONFIG_COMPAT_BRK=y | 144 | CONFIG_COMPAT_BRK=y |
142 | # CONFIG_SLAB is not set | 145 | # CONFIG_SLAB is not set |
143 | CONFIG_SLUB=y | 146 | CONFIG_SLUB=y |
144 | # CONFIG_SLOB is not set | 147 | # CONFIG_SLOB is not set |
145 | # CONFIG_PROFILING is not set | 148 | # CONFIG_PROFILING is not set |
146 | # CONFIG_MARKERS is not set | ||
147 | CONFIG_HAVE_OPROFILE=y | 149 | CONFIG_HAVE_OPROFILE=y |
148 | # CONFIG_KPROBES is not set | 150 | # CONFIG_KPROBES is not set |
149 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -151,7 +153,9 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
151 | CONFIG_HAVE_KPROBES=y | 153 | CONFIG_HAVE_KPROBES=y |
152 | CONFIG_HAVE_KRETPROBES=y | 154 | CONFIG_HAVE_KRETPROBES=y |
153 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 155 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
156 | CONFIG_HAVE_DMA_ATTRS=y | ||
154 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 157 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
158 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
155 | 159 | ||
156 | # | 160 | # |
157 | # GCOV-based kernel profiling | 161 | # GCOV-based kernel profiling |
@@ -201,6 +205,7 @@ CONFIG_MPC85xx=y | |||
201 | # CONFIG_MPC85xx_MDS is not set | 205 | # CONFIG_MPC85xx_MDS is not set |
202 | # CONFIG_MPC8536_DS is not set | 206 | # CONFIG_MPC8536_DS is not set |
203 | # CONFIG_MPC85xx_DS is not set | 207 | # CONFIG_MPC85xx_DS is not set |
208 | # CONFIG_MPC85xx_RDB is not set | ||
204 | # CONFIG_SOCRATES is not set | 209 | # CONFIG_SOCRATES is not set |
205 | # CONFIG_KSI8560 is not set | 210 | # CONFIG_KSI8560 is not set |
206 | CONFIG_XES_MPC85xx=y | 211 | CONFIG_XES_MPC85xx=y |
@@ -256,6 +261,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | |||
256 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 261 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 262 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
258 | # CONFIG_IRQ_ALL_CPUS is not set | 263 | # CONFIG_IRQ_ALL_CPUS is not set |
264 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 265 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 266 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 267 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +279,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 279 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 280 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 281 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
282 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 283 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 284 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 285 | # CONFIG_PPC_16K_PAGES is not set |
@@ -405,6 +412,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y | |||
405 | # CONFIG_NETFILTER is not set | 412 | # CONFIG_NETFILTER is not set |
406 | # CONFIG_IP_DCCP is not set | 413 | # CONFIG_IP_DCCP is not set |
407 | # CONFIG_IP_SCTP is not set | 414 | # CONFIG_IP_SCTP is not set |
415 | # CONFIG_RDS is not set | ||
408 | # CONFIG_TIPC is not set | 416 | # CONFIG_TIPC is not set |
409 | # CONFIG_ATM is not set | 417 | # CONFIG_ATM is not set |
410 | # CONFIG_BRIDGE is not set | 418 | # CONFIG_BRIDGE is not set |
@@ -446,6 +454,7 @@ CONFIG_FIB_RULES=y | |||
446 | # Generic Driver Options | 454 | # Generic Driver Options |
447 | # | 455 | # |
448 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 456 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
457 | # CONFIG_DEVTMPFS is not set | ||
449 | CONFIG_STANDALONE=y | 458 | CONFIG_STANDALONE=y |
450 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 459 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
451 | CONFIG_FW_LOADER=y | 460 | CONFIG_FW_LOADER=y |
@@ -457,9 +466,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
457 | # CONFIG_CONNECTOR is not set | 466 | # CONFIG_CONNECTOR is not set |
458 | CONFIG_MTD=y | 467 | CONFIG_MTD=y |
459 | # CONFIG_MTD_DEBUG is not set | 468 | # CONFIG_MTD_DEBUG is not set |
469 | # CONFIG_MTD_TESTS is not set | ||
460 | # CONFIG_MTD_CONCAT is not set | 470 | # CONFIG_MTD_CONCAT is not set |
461 | CONFIG_MTD_PARTITIONS=y | 471 | CONFIG_MTD_PARTITIONS=y |
462 | # CONFIG_MTD_TESTS is not set | ||
463 | CONFIG_MTD_REDBOOT_PARTS=y | 472 | CONFIG_MTD_REDBOOT_PARTS=y |
464 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | 473 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 |
465 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | 474 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set |
@@ -635,6 +644,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
635 | CONFIG_SCSI_LOWLEVEL=y | 644 | CONFIG_SCSI_LOWLEVEL=y |
636 | # CONFIG_ISCSI_TCP is not set | 645 | # CONFIG_ISCSI_TCP is not set |
637 | # CONFIG_SCSI_BNX2_ISCSI is not set | 646 | # CONFIG_SCSI_BNX2_ISCSI is not set |
647 | # CONFIG_BE2ISCSI is not set | ||
638 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 648 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
639 | # CONFIG_SCSI_3W_9XXX is not set | 649 | # CONFIG_SCSI_3W_9XXX is not set |
640 | # CONFIG_SCSI_ACARD is not set | 650 | # CONFIG_SCSI_ACARD is not set |
@@ -674,11 +684,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
674 | # CONFIG_SCSI_DC390T is not set | 684 | # CONFIG_SCSI_DC390T is not set |
675 | # CONFIG_SCSI_NSP32 is not set | 685 | # CONFIG_SCSI_NSP32 is not set |
676 | # CONFIG_SCSI_DEBUG is not set | 686 | # CONFIG_SCSI_DEBUG is not set |
687 | # CONFIG_SCSI_PMCRAID is not set | ||
677 | # CONFIG_SCSI_SRP is not set | 688 | # CONFIG_SCSI_SRP is not set |
689 | # CONFIG_SCSI_BFA_FC is not set | ||
678 | # CONFIG_SCSI_DH is not set | 690 | # CONFIG_SCSI_DH is not set |
679 | # CONFIG_SCSI_OSD_INITIATOR is not set | 691 | # CONFIG_SCSI_OSD_INITIATOR is not set |
680 | CONFIG_ATA=y | 692 | CONFIG_ATA=y |
681 | # CONFIG_ATA_NONSTANDARD is not set | 693 | # CONFIG_ATA_NONSTANDARD is not set |
694 | CONFIG_ATA_VERBOSE_ERROR=y | ||
682 | CONFIG_SATA_PMP=y | 695 | CONFIG_SATA_PMP=y |
683 | CONFIG_SATA_AHCI=y | 696 | CONFIG_SATA_AHCI=y |
684 | # CONFIG_SATA_SIL24 is not set | 697 | # CONFIG_SATA_SIL24 is not set |
@@ -701,6 +714,7 @@ CONFIG_ATA_SFF=y | |||
701 | CONFIG_PATA_ALI=y | 714 | CONFIG_PATA_ALI=y |
702 | # CONFIG_PATA_AMD is not set | 715 | # CONFIG_PATA_AMD is not set |
703 | # CONFIG_PATA_ARTOP is not set | 716 | # CONFIG_PATA_ARTOP is not set |
717 | # CONFIG_PATA_ATP867X is not set | ||
704 | # CONFIG_PATA_ATIIXP is not set | 718 | # CONFIG_PATA_ATIIXP is not set |
705 | # CONFIG_PATA_CMD640_PCI is not set | 719 | # CONFIG_PATA_CMD640_PCI is not set |
706 | # CONFIG_PATA_CMD64X is not set | 720 | # CONFIG_PATA_CMD64X is not set |
@@ -728,6 +742,7 @@ CONFIG_PATA_ALI=y | |||
728 | # CONFIG_PATA_OPTIDMA is not set | 742 | # CONFIG_PATA_OPTIDMA is not set |
729 | # CONFIG_PATA_PDC_OLD is not set | 743 | # CONFIG_PATA_PDC_OLD is not set |
730 | # CONFIG_PATA_RADISYS is not set | 744 | # CONFIG_PATA_RADISYS is not set |
745 | # CONFIG_PATA_RDC is not set | ||
731 | # CONFIG_PATA_RZ1000 is not set | 746 | # CONFIG_PATA_RZ1000 is not set |
732 | # CONFIG_PATA_SC1200 is not set | 747 | # CONFIG_PATA_SC1200 is not set |
733 | # CONFIG_PATA_SERVERWORKS is not set | 748 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -804,7 +819,9 @@ CONFIG_MII=y | |||
804 | # CONFIG_NET_PCI is not set | 819 | # CONFIG_NET_PCI is not set |
805 | # CONFIG_B44 is not set | 820 | # CONFIG_B44 is not set |
806 | # CONFIG_KS8842 is not set | 821 | # CONFIG_KS8842 is not set |
822 | # CONFIG_KS8851_MLL is not set | ||
807 | # CONFIG_ATL2 is not set | 823 | # CONFIG_ATL2 is not set |
824 | # CONFIG_XILINX_EMACLITE is not set | ||
808 | CONFIG_NETDEV_1000=y | 825 | CONFIG_NETDEV_1000=y |
809 | # CONFIG_ACENIC is not set | 826 | # CONFIG_ACENIC is not set |
810 | # CONFIG_DL2K is not set | 827 | # CONFIG_DL2K is not set |
@@ -834,10 +851,7 @@ CONFIG_GIANFAR=y | |||
834 | # CONFIG_JME is not set | 851 | # CONFIG_JME is not set |
835 | # CONFIG_NETDEV_10000 is not set | 852 | # CONFIG_NETDEV_10000 is not set |
836 | # CONFIG_TR is not set | 853 | # CONFIG_TR is not set |
837 | 854 | CONFIG_WLAN=y | |
838 | # | ||
839 | # Wireless LAN | ||
840 | # | ||
841 | # CONFIG_WLAN_PRE80211 is not set | 855 | # CONFIG_WLAN_PRE80211 is not set |
842 | # CONFIG_WLAN_80211 is not set | 856 | # CONFIG_WLAN_80211 is not set |
843 | 857 | ||
@@ -951,6 +965,7 @@ CONFIG_NVRAM=y | |||
951 | CONFIG_DEVPORT=y | 965 | CONFIG_DEVPORT=y |
952 | CONFIG_I2C=y | 966 | CONFIG_I2C=y |
953 | CONFIG_I2C_BOARDINFO=y | 967 | CONFIG_I2C_BOARDINFO=y |
968 | CONFIG_I2C_COMPAT=y | ||
954 | CONFIG_I2C_CHARDEV=y | 969 | CONFIG_I2C_CHARDEV=y |
955 | CONFIG_I2C_HELPER_AUTO=y | 970 | CONFIG_I2C_HELPER_AUTO=y |
956 | 971 | ||
@@ -1006,8 +1021,6 @@ CONFIG_I2C_MPC=y | |||
1006 | # Miscellaneous I2C Chip support | 1021 | # Miscellaneous I2C Chip support |
1007 | # | 1022 | # |
1008 | # CONFIG_DS1682 is not set | 1023 | # CONFIG_DS1682 is not set |
1009 | # CONFIG_SENSORS_PCF8574 is not set | ||
1010 | # CONFIG_PCF8575 is not set | ||
1011 | # CONFIG_SENSORS_TSL2550 is not set | 1024 | # CONFIG_SENSORS_TSL2550 is not set |
1012 | # CONFIG_I2C_DEBUG_CORE is not set | 1025 | # CONFIG_I2C_DEBUG_CORE is not set |
1013 | # CONFIG_I2C_DEBUG_ALGO is not set | 1026 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1041,14 +1054,24 @@ CONFIG_GPIO_PCA953X=y | |||
1041 | # PCI GPIO expanders: | 1054 | # PCI GPIO expanders: |
1042 | # | 1055 | # |
1043 | # CONFIG_GPIO_BT8XX is not set | 1056 | # CONFIG_GPIO_BT8XX is not set |
1057 | # CONFIG_GPIO_LANGWELL is not set | ||
1044 | 1058 | ||
1045 | # | 1059 | # |
1046 | # SPI GPIO expanders: | 1060 | # SPI GPIO expanders: |
1047 | # | 1061 | # |
1062 | |||
1063 | # | ||
1064 | # AC97 GPIO expanders: | ||
1065 | # | ||
1048 | # CONFIG_W1 is not set | 1066 | # CONFIG_W1 is not set |
1049 | # CONFIG_POWER_SUPPLY is not set | 1067 | # CONFIG_POWER_SUPPLY is not set |
1050 | CONFIG_HWMON=y | 1068 | CONFIG_HWMON=y |
1051 | # CONFIG_HWMON_VID is not set | 1069 | # CONFIG_HWMON_VID is not set |
1070 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1071 | |||
1072 | # | ||
1073 | # Native drivers | ||
1074 | # | ||
1052 | # CONFIG_SENSORS_AD7414 is not set | 1075 | # CONFIG_SENSORS_AD7414 is not set |
1053 | # CONFIG_SENSORS_AD7418 is not set | 1076 | # CONFIG_SENSORS_AD7418 is not set |
1054 | # CONFIG_SENSORS_ADM1021 is not set | 1077 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1099,6 +1122,7 @@ CONFIG_SENSORS_LM90=y | |||
1099 | # CONFIG_SENSORS_ADS7828 is not set | 1122 | # CONFIG_SENSORS_ADS7828 is not set |
1100 | # CONFIG_SENSORS_THMC50 is not set | 1123 | # CONFIG_SENSORS_THMC50 is not set |
1101 | # CONFIG_SENSORS_TMP401 is not set | 1124 | # CONFIG_SENSORS_TMP401 is not set |
1125 | # CONFIG_SENSORS_TMP421 is not set | ||
1102 | # CONFIG_SENSORS_VIA686A is not set | 1126 | # CONFIG_SENSORS_VIA686A is not set |
1103 | # CONFIG_SENSORS_VT1211 is not set | 1127 | # CONFIG_SENSORS_VT1211 is not set |
1104 | # CONFIG_SENSORS_VT8231 is not set | 1128 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1110,9 +1134,7 @@ CONFIG_SENSORS_LM90=y | |||
1110 | # CONFIG_SENSORS_W83L786NG is not set | 1134 | # CONFIG_SENSORS_W83L786NG is not set |
1111 | # CONFIG_SENSORS_W83627HF is not set | 1135 | # CONFIG_SENSORS_W83627HF is not set |
1112 | # CONFIG_SENSORS_W83627EHF is not set | 1136 | # CONFIG_SENSORS_W83627EHF is not set |
1113 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1114 | # CONFIG_THERMAL is not set | 1137 | # CONFIG_THERMAL is not set |
1115 | # CONFIG_THERMAL_HWMON is not set | ||
1116 | CONFIG_WATCHDOG=y | 1138 | CONFIG_WATCHDOG=y |
1117 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1139 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1118 | 1140 | ||
@@ -1151,6 +1173,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1151 | # CONFIG_MFD_TMIO is not set | 1173 | # CONFIG_MFD_TMIO is not set |
1152 | # CONFIG_PMIC_DA903X is not set | 1174 | # CONFIG_PMIC_DA903X is not set |
1153 | # CONFIG_MFD_WM8400 is not set | 1175 | # CONFIG_MFD_WM8400 is not set |
1176 | # CONFIG_MFD_WM831X is not set | ||
1154 | # CONFIG_MFD_WM8350_I2C is not set | 1177 | # CONFIG_MFD_WM8350_I2C is not set |
1155 | # CONFIG_MFD_PCF50633 is not set | 1178 | # CONFIG_MFD_PCF50633 is not set |
1156 | # CONFIG_AB3100_CORE is not set | 1179 | # CONFIG_AB3100_CORE is not set |
@@ -1161,6 +1184,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1161 | # Graphics support | 1184 | # Graphics support |
1162 | # | 1185 | # |
1163 | # CONFIG_AGP is not set | 1186 | # CONFIG_AGP is not set |
1187 | CONFIG_VGA_ARB=y | ||
1164 | # CONFIG_DRM is not set | 1188 | # CONFIG_DRM is not set |
1165 | # CONFIG_VGASTATE is not set | 1189 | # CONFIG_VGASTATE is not set |
1166 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1190 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1181,7 +1205,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1181 | # CONFIG_SOUND is not set | 1205 | # CONFIG_SOUND is not set |
1182 | CONFIG_HID_SUPPORT=y | 1206 | CONFIG_HID_SUPPORT=y |
1183 | CONFIG_HID=y | 1207 | CONFIG_HID=y |
1184 | # CONFIG_HID_DEBUG is not set | ||
1185 | # CONFIG_HIDRAW is not set | 1208 | # CONFIG_HIDRAW is not set |
1186 | 1209 | ||
1187 | # | 1210 | # |
@@ -1204,6 +1227,7 @@ CONFIG_USB_HID=y | |||
1204 | # CONFIG_HID_EZKEY is not set | 1227 | # CONFIG_HID_EZKEY is not set |
1205 | # CONFIG_HID_KYE is not set | 1228 | # CONFIG_HID_KYE is not set |
1206 | # CONFIG_HID_GYRATION is not set | 1229 | # CONFIG_HID_GYRATION is not set |
1230 | # CONFIG_HID_TWINHAN is not set | ||
1207 | # CONFIG_HID_KENSINGTON is not set | 1231 | # CONFIG_HID_KENSINGTON is not set |
1208 | # CONFIG_HID_LOGITECH is not set | 1232 | # CONFIG_HID_LOGITECH is not set |
1209 | # CONFIG_HID_MICROSOFT is not set | 1233 | # CONFIG_HID_MICROSOFT is not set |
@@ -1249,6 +1273,7 @@ CONFIG_USB_MON=y | |||
1249 | # CONFIG_USB_OXU210HP_HCD is not set | 1273 | # CONFIG_USB_OXU210HP_HCD is not set |
1250 | # CONFIG_USB_ISP116X_HCD is not set | 1274 | # CONFIG_USB_ISP116X_HCD is not set |
1251 | CONFIG_USB_ISP1760_HCD=y | 1275 | CONFIG_USB_ISP1760_HCD=y |
1276 | # CONFIG_USB_ISP1362_HCD is not set | ||
1252 | # CONFIG_USB_OHCI_HCD is not set | 1277 | # CONFIG_USB_OHCI_HCD is not set |
1253 | # CONFIG_USB_UHCI_HCD is not set | 1278 | # CONFIG_USB_UHCI_HCD is not set |
1254 | # CONFIG_USB_SL811_HCD is not set | 1279 | # CONFIG_USB_SL811_HCD is not set |
@@ -1466,6 +1491,7 @@ CONFIG_FS_MBCACHE=y | |||
1466 | # CONFIG_GFS2_FS is not set | 1491 | # CONFIG_GFS2_FS is not set |
1467 | # CONFIG_OCFS2_FS is not set | 1492 | # CONFIG_OCFS2_FS is not set |
1468 | # CONFIG_BTRFS_FS is not set | 1493 | # CONFIG_BTRFS_FS is not set |
1494 | # CONFIG_NILFS2_FS is not set | ||
1469 | CONFIG_FILE_LOCKING=y | 1495 | CONFIG_FILE_LOCKING=y |
1470 | CONFIG_FSNOTIFY=y | 1496 | CONFIG_FSNOTIFY=y |
1471 | CONFIG_DNOTIFY=y | 1497 | CONFIG_DNOTIFY=y |
@@ -1541,7 +1567,6 @@ CONFIG_JFFS2_RTIME=y | |||
1541 | # CONFIG_ROMFS_FS is not set | 1567 | # CONFIG_ROMFS_FS is not set |
1542 | # CONFIG_SYSV_FS is not set | 1568 | # CONFIG_SYSV_FS is not set |
1543 | # CONFIG_UFS_FS is not set | 1569 | # CONFIG_UFS_FS is not set |
1544 | # CONFIG_NILFS2_FS is not set | ||
1545 | CONFIG_NETWORK_FILESYSTEMS=y | 1570 | CONFIG_NETWORK_FILESYSTEMS=y |
1546 | CONFIG_NFS_FS=y | 1571 | CONFIG_NFS_FS=y |
1547 | CONFIG_NFS_V3=y | 1572 | CONFIG_NFS_V3=y |
@@ -1658,6 +1683,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1658 | CONFIG_ENABLE_MUST_CHECK=y | 1683 | CONFIG_ENABLE_MUST_CHECK=y |
1659 | CONFIG_FRAME_WARN=1024 | 1684 | CONFIG_FRAME_WARN=1024 |
1660 | # CONFIG_MAGIC_SYSRQ is not set | 1685 | # CONFIG_MAGIC_SYSRQ is not set |
1686 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1661 | # CONFIG_UNUSED_SYMBOLS is not set | 1687 | # CONFIG_UNUSED_SYMBOLS is not set |
1662 | # CONFIG_DEBUG_FS is not set | 1688 | # CONFIG_DEBUG_FS is not set |
1663 | # CONFIG_HEADERS_CHECK is not set | 1689 | # CONFIG_HEADERS_CHECK is not set |
@@ -1675,6 +1701,7 @@ CONFIG_SCHED_DEBUG=y | |||
1675 | # CONFIG_DEBUG_OBJECTS is not set | 1701 | # CONFIG_DEBUG_OBJECTS is not set |
1676 | # CONFIG_SLUB_DEBUG_ON is not set | 1702 | # CONFIG_SLUB_DEBUG_ON is not set |
1677 | # CONFIG_SLUB_STATS is not set | 1703 | # CONFIG_SLUB_STATS is not set |
1704 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1678 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1705 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1679 | # CONFIG_RT_MUTEX_TESTER is not set | 1706 | # CONFIG_RT_MUTEX_TESTER is not set |
1680 | # CONFIG_DEBUG_SPINLOCK is not set | 1707 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1694,10 +1721,12 @@ CONFIG_SCHED_DEBUG=y | |||
1694 | # CONFIG_DEBUG_LIST is not set | 1721 | # CONFIG_DEBUG_LIST is not set |
1695 | # CONFIG_DEBUG_SG is not set | 1722 | # CONFIG_DEBUG_SG is not set |
1696 | # CONFIG_DEBUG_NOTIFIERS is not set | 1723 | # CONFIG_DEBUG_NOTIFIERS is not set |
1724 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1697 | # CONFIG_RCU_TORTURE_TEST is not set | 1725 | # CONFIG_RCU_TORTURE_TEST is not set |
1698 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1726 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1699 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1727 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1700 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1728 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1729 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1701 | # CONFIG_FAULT_INJECTION is not set | 1730 | # CONFIG_FAULT_INJECTION is not set |
1702 | # CONFIG_LATENCYTOP is not set | 1731 | # CONFIG_LATENCYTOP is not set |
1703 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | 1732 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set |
@@ -1720,10 +1749,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1720 | # CONFIG_KMEMTRACE is not set | 1749 | # CONFIG_KMEMTRACE is not set |
1721 | # CONFIG_WORKQUEUE_TRACER is not set | 1750 | # CONFIG_WORKQUEUE_TRACER is not set |
1722 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1751 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1752 | # CONFIG_DMA_API_DEBUG is not set | ||
1723 | # CONFIG_SAMPLES is not set | 1753 | # CONFIG_SAMPLES is not set |
1724 | CONFIG_HAVE_ARCH_KGDB=y | 1754 | CONFIG_HAVE_ARCH_KGDB=y |
1725 | # CONFIG_KGDB is not set | 1755 | # CONFIG_KGDB is not set |
1726 | # CONFIG_KMEMCHECK is not set | ||
1727 | # CONFIG_PPC_DISABLE_WERROR is not set | 1756 | # CONFIG_PPC_DISABLE_WERROR is not set |
1728 | CONFIG_PPC_WERROR=y | 1757 | CONFIG_PPC_WERROR=y |
1729 | CONFIG_PRINT_STACK_DEPTH=64 | 1758 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1749,7 +1778,6 @@ CONFIG_CRYPTO=y | |||
1749 | # | 1778 | # |
1750 | # Crypto core or helper | 1779 | # Crypto core or helper |
1751 | # | 1780 | # |
1752 | # CONFIG_CRYPTO_FIPS is not set | ||
1753 | CONFIG_CRYPTO_ALGAPI=y | 1781 | CONFIG_CRYPTO_ALGAPI=y |
1754 | CONFIG_CRYPTO_ALGAPI2=y | 1782 | CONFIG_CRYPTO_ALGAPI2=y |
1755 | CONFIG_CRYPTO_AEAD2=y | 1783 | CONFIG_CRYPTO_AEAD2=y |
@@ -1790,11 +1818,13 @@ CONFIG_CRYPTO_WORKQUEUE=y | |||
1790 | # | 1818 | # |
1791 | CONFIG_CRYPTO_HMAC=y | 1819 | CONFIG_CRYPTO_HMAC=y |
1792 | # CONFIG_CRYPTO_XCBC is not set | 1820 | # CONFIG_CRYPTO_XCBC is not set |
1821 | # CONFIG_CRYPTO_VMAC is not set | ||
1793 | 1822 | ||
1794 | # | 1823 | # |
1795 | # Digest | 1824 | # Digest |
1796 | # | 1825 | # |
1797 | # CONFIG_CRYPTO_CRC32C is not set | 1826 | # CONFIG_CRYPTO_CRC32C is not set |
1827 | # CONFIG_CRYPTO_GHASH is not set | ||
1798 | # CONFIG_CRYPTO_MD4 is not set | 1828 | # CONFIG_CRYPTO_MD4 is not set |
1799 | CONFIG_CRYPTO_MD5=y | 1829 | CONFIG_CRYPTO_MD5=y |
1800 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1830 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/86xx/gef_ppc9a_defconfig b/arch/powerpc/configs/86xx/gef_ppc9a_defconfig index 527ad1a5e802..28980738776c 100644 --- a/arch/powerpc/configs/86xx/gef_ppc9a_defconfig +++ b/arch/powerpc/configs/86xx/gef_ppc9a_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:31 2009 | 4 | # Thu Nov 5 08:20:49 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +89,12 @@ CONFIG_BSD_PROCESS_ACCT_V3=y | |||
88 | # | 89 | # |
89 | # RCU Subsystem | 90 | # RCU Subsystem |
90 | # | 91 | # |
91 | CONFIG_CLASSIC_RCU=y | 92 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 93 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 94 | # CONFIG_RCU_TRACE is not set |
95 | CONFIG_RCU_FANOUT=32 | ||
96 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 97 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | CONFIG_IKCONFIG=y | 98 | CONFIG_IKCONFIG=y |
97 | CONFIG_IKCONFIG_PROC=y | 99 | CONFIG_IKCONFIG_PROC=y |
98 | CONFIG_LOG_BUF_SHIFT=14 | 100 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -130,21 +132,20 @@ CONFIG_TIMERFD=y | |||
130 | CONFIG_EVENTFD=y | 132 | CONFIG_EVENTFD=y |
131 | CONFIG_SHMEM=y | 133 | CONFIG_SHMEM=y |
132 | CONFIG_AIO=y | 134 | CONFIG_AIO=y |
133 | CONFIG_HAVE_PERF_COUNTERS=y | 135 | CONFIG_HAVE_PERF_EVENTS=y |
134 | 136 | ||
135 | # | 137 | # |
136 | # Performance Counters | 138 | # Kernel Performance Events And Counters |
137 | # | 139 | # |
140 | # CONFIG_PERF_EVENTS is not set | ||
138 | # CONFIG_PERF_COUNTERS is not set | 141 | # CONFIG_PERF_COUNTERS is not set |
139 | CONFIG_VM_EVENT_COUNTERS=y | 142 | CONFIG_VM_EVENT_COUNTERS=y |
140 | CONFIG_PCI_QUIRKS=y | 143 | CONFIG_PCI_QUIRKS=y |
141 | # CONFIG_STRIP_ASM_SYMS is not set | ||
142 | CONFIG_COMPAT_BRK=y | 144 | CONFIG_COMPAT_BRK=y |
143 | CONFIG_SLAB=y | 145 | CONFIG_SLAB=y |
144 | # CONFIG_SLUB is not set | 146 | # CONFIG_SLUB is not set |
145 | # CONFIG_SLOB is not set | 147 | # CONFIG_SLOB is not set |
146 | # CONFIG_PROFILING is not set | 148 | # CONFIG_PROFILING is not set |
147 | # CONFIG_MARKERS is not set | ||
148 | CONFIG_HAVE_OPROFILE=y | 149 | CONFIG_HAVE_OPROFILE=y |
149 | # CONFIG_KPROBES is not set | 150 | # CONFIG_KPROBES is not set |
150 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -152,12 +153,14 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
152 | CONFIG_HAVE_KPROBES=y | 153 | CONFIG_HAVE_KPROBES=y |
153 | CONFIG_HAVE_KRETPROBES=y | 154 | CONFIG_HAVE_KRETPROBES=y |
154 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 155 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
156 | CONFIG_HAVE_DMA_ATTRS=y | ||
155 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 157 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
158 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
156 | 159 | ||
157 | # | 160 | # |
158 | # GCOV-based kernel profiling | 161 | # GCOV-based kernel profiling |
159 | # | 162 | # |
160 | # CONFIG_SLOW_WORK is not set | 163 | CONFIG_SLOW_WORK=y |
161 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 164 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
162 | CONFIG_SLABINFO=y | 165 | CONFIG_SLABINFO=y |
163 | CONFIG_RT_MUTEXES=y | 166 | CONFIG_RT_MUTEXES=y |
@@ -256,6 +259,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | |||
256 | # CONFIG_KEXEC is not set | 259 | # CONFIG_KEXEC is not set |
257 | # CONFIG_CRASH_DUMP is not set | 260 | # CONFIG_CRASH_DUMP is not set |
258 | CONFIG_IRQ_ALL_CPUS=y | 261 | CONFIG_IRQ_ALL_CPUS=y |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -417,6 +422,7 @@ CONFIG_IPV6_TUNNEL=m | |||
417 | # CONFIG_NETFILTER is not set | 422 | # CONFIG_NETFILTER is not set |
418 | # CONFIG_IP_DCCP is not set | 423 | # CONFIG_IP_DCCP is not set |
419 | # CONFIG_IP_SCTP is not set | 424 | # CONFIG_IP_SCTP is not set |
425 | # CONFIG_RDS is not set | ||
420 | # CONFIG_TIPC is not set | 426 | # CONFIG_TIPC is not set |
421 | # CONFIG_ATM is not set | 427 | # CONFIG_ATM is not set |
422 | # CONFIG_BRIDGE is not set | 428 | # CONFIG_BRIDGE is not set |
@@ -458,6 +464,7 @@ CONFIG_FIB_RULES=y | |||
458 | # Generic Driver Options | 464 | # Generic Driver Options |
459 | # | 465 | # |
460 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 466 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
467 | # CONFIG_DEVTMPFS is not set | ||
461 | CONFIG_STANDALONE=y | 468 | CONFIG_STANDALONE=y |
462 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 469 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
463 | CONFIG_FW_LOADER=y | 470 | CONFIG_FW_LOADER=y |
@@ -467,9 +474,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
467 | # CONFIG_CONNECTOR is not set | 474 | # CONFIG_CONNECTOR is not set |
468 | CONFIG_MTD=y | 475 | CONFIG_MTD=y |
469 | # CONFIG_MTD_DEBUG is not set | 476 | # CONFIG_MTD_DEBUG is not set |
477 | # CONFIG_MTD_TESTS is not set | ||
470 | CONFIG_MTD_CONCAT=y | 478 | CONFIG_MTD_CONCAT=y |
471 | CONFIG_MTD_PARTITIONS=y | 479 | CONFIG_MTD_PARTITIONS=y |
472 | # CONFIG_MTD_TESTS is not set | ||
473 | # CONFIG_MTD_REDBOOT_PARTS is not set | 480 | # CONFIG_MTD_REDBOOT_PARTS is not set |
474 | # CONFIG_MTD_CMDLINE_PARTS is not set | 481 | # CONFIG_MTD_CMDLINE_PARTS is not set |
475 | CONFIG_MTD_OF_PARTS=y | 482 | CONFIG_MTD_OF_PARTS=y |
@@ -680,6 +687,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
680 | CONFIG_SCSI_LOWLEVEL=y | 687 | CONFIG_SCSI_LOWLEVEL=y |
681 | # CONFIG_ISCSI_TCP is not set | 688 | # CONFIG_ISCSI_TCP is not set |
682 | # CONFIG_SCSI_BNX2_ISCSI is not set | 689 | # CONFIG_SCSI_BNX2_ISCSI is not set |
690 | # CONFIG_BE2ISCSI is not set | ||
683 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 691 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
684 | # CONFIG_SCSI_3W_9XXX is not set | 692 | # CONFIG_SCSI_3W_9XXX is not set |
685 | # CONFIG_SCSI_ACARD is not set | 693 | # CONFIG_SCSI_ACARD is not set |
@@ -719,12 +727,15 @@ CONFIG_SCSI_LOWLEVEL=y | |||
719 | # CONFIG_SCSI_DC390T is not set | 727 | # CONFIG_SCSI_DC390T is not set |
720 | # CONFIG_SCSI_NSP32 is not set | 728 | # CONFIG_SCSI_NSP32 is not set |
721 | # CONFIG_SCSI_DEBUG is not set | 729 | # CONFIG_SCSI_DEBUG is not set |
730 | # CONFIG_SCSI_PMCRAID is not set | ||
722 | # CONFIG_SCSI_SRP is not set | 731 | # CONFIG_SCSI_SRP is not set |
732 | # CONFIG_SCSI_BFA_FC is not set | ||
723 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set | 733 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set |
724 | # CONFIG_SCSI_DH is not set | 734 | # CONFIG_SCSI_DH is not set |
725 | # CONFIG_SCSI_OSD_INITIATOR is not set | 735 | # CONFIG_SCSI_OSD_INITIATOR is not set |
726 | CONFIG_ATA=y | 736 | CONFIG_ATA=y |
727 | # CONFIG_ATA_NONSTANDARD is not set | 737 | # CONFIG_ATA_NONSTANDARD is not set |
738 | CONFIG_ATA_VERBOSE_ERROR=y | ||
728 | CONFIG_SATA_PMP=y | 739 | CONFIG_SATA_PMP=y |
729 | # CONFIG_SATA_AHCI is not set | 740 | # CONFIG_SATA_AHCI is not set |
730 | # CONFIG_SATA_SIL24 is not set | 741 | # CONFIG_SATA_SIL24 is not set |
@@ -747,6 +758,7 @@ CONFIG_SATA_SIL=y | |||
747 | # CONFIG_PATA_ALI is not set | 758 | # CONFIG_PATA_ALI is not set |
748 | # CONFIG_PATA_AMD is not set | 759 | # CONFIG_PATA_AMD is not set |
749 | # CONFIG_PATA_ARTOP is not set | 760 | # CONFIG_PATA_ARTOP is not set |
761 | # CONFIG_PATA_ATP867X is not set | ||
750 | # CONFIG_PATA_ATIIXP is not set | 762 | # CONFIG_PATA_ATIIXP is not set |
751 | # CONFIG_PATA_CMD640_PCI is not set | 763 | # CONFIG_PATA_CMD640_PCI is not set |
752 | # CONFIG_PATA_CMD64X is not set | 764 | # CONFIG_PATA_CMD64X is not set |
@@ -775,6 +787,7 @@ CONFIG_SATA_SIL=y | |||
775 | # CONFIG_PATA_PCMCIA is not set | 787 | # CONFIG_PATA_PCMCIA is not set |
776 | # CONFIG_PATA_PDC_OLD is not set | 788 | # CONFIG_PATA_PDC_OLD is not set |
777 | # CONFIG_PATA_RADISYS is not set | 789 | # CONFIG_PATA_RADISYS is not set |
790 | # CONFIG_PATA_RDC is not set | ||
778 | # CONFIG_PATA_RZ1000 is not set | 791 | # CONFIG_PATA_RZ1000 is not set |
779 | # CONFIG_PATA_SC1200 is not set | 792 | # CONFIG_PATA_SC1200 is not set |
780 | # CONFIG_PATA_SERVERWORKS is not set | 793 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -851,7 +864,9 @@ CONFIG_MII=y | |||
851 | # CONFIG_NET_PCI is not set | 864 | # CONFIG_NET_PCI is not set |
852 | # CONFIG_B44 is not set | 865 | # CONFIG_B44 is not set |
853 | # CONFIG_KS8842 is not set | 866 | # CONFIG_KS8842 is not set |
867 | # CONFIG_KS8851_MLL is not set | ||
854 | # CONFIG_ATL2 is not set | 868 | # CONFIG_ATL2 is not set |
869 | # CONFIG_XILINX_EMACLITE is not set | ||
855 | CONFIG_NETDEV_1000=y | 870 | CONFIG_NETDEV_1000=y |
856 | # CONFIG_ACENIC is not set | 871 | # CONFIG_ACENIC is not set |
857 | # CONFIG_DL2K is not set | 872 | # CONFIG_DL2K is not set |
@@ -881,10 +896,7 @@ CONFIG_GIANFAR=y | |||
881 | # CONFIG_JME is not set | 896 | # CONFIG_JME is not set |
882 | # CONFIG_NETDEV_10000 is not set | 897 | # CONFIG_NETDEV_10000 is not set |
883 | # CONFIG_TR is not set | 898 | # CONFIG_TR is not set |
884 | 899 | CONFIG_WLAN=y | |
885 | # | ||
886 | # Wireless LAN | ||
887 | # | ||
888 | # CONFIG_WLAN_PRE80211 is not set | 900 | # CONFIG_WLAN_PRE80211 is not set |
889 | # CONFIG_WLAN_80211 is not set | 901 | # CONFIG_WLAN_80211 is not set |
890 | 902 | ||
@@ -1016,6 +1028,7 @@ CONFIG_NVRAM=y | |||
1016 | CONFIG_DEVPORT=y | 1028 | CONFIG_DEVPORT=y |
1017 | CONFIG_I2C=y | 1029 | CONFIG_I2C=y |
1018 | CONFIG_I2C_BOARDINFO=y | 1030 | CONFIG_I2C_BOARDINFO=y |
1031 | CONFIG_I2C_COMPAT=y | ||
1019 | CONFIG_I2C_CHARDEV=y | 1032 | CONFIG_I2C_CHARDEV=y |
1020 | CONFIG_I2C_HELPER_AUTO=y | 1033 | CONFIG_I2C_HELPER_AUTO=y |
1021 | 1034 | ||
@@ -1071,9 +1084,6 @@ CONFIG_I2C_MPC=y | |||
1071 | # Miscellaneous I2C Chip support | 1084 | # Miscellaneous I2C Chip support |
1072 | # | 1085 | # |
1073 | CONFIG_DS1682=y | 1086 | CONFIG_DS1682=y |
1074 | # CONFIG_SENSORS_PCF8574 is not set | ||
1075 | # CONFIG_PCF8575 is not set | ||
1076 | # CONFIG_SENSORS_PCA9539 is not set | ||
1077 | # CONFIG_SENSORS_TSL2550 is not set | 1087 | # CONFIG_SENSORS_TSL2550 is not set |
1078 | # CONFIG_I2C_DEBUG_CORE is not set | 1088 | # CONFIG_I2C_DEBUG_CORE is not set |
1079 | # CONFIG_I2C_DEBUG_ALGO is not set | 1089 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1106,14 +1116,24 @@ CONFIG_GPIO_SYSFS=y | |||
1106 | # PCI GPIO expanders: | 1116 | # PCI GPIO expanders: |
1107 | # | 1117 | # |
1108 | # CONFIG_GPIO_BT8XX is not set | 1118 | # CONFIG_GPIO_BT8XX is not set |
1119 | # CONFIG_GPIO_LANGWELL is not set | ||
1109 | 1120 | ||
1110 | # | 1121 | # |
1111 | # SPI GPIO expanders: | 1122 | # SPI GPIO expanders: |
1112 | # | 1123 | # |
1124 | |||
1125 | # | ||
1126 | # AC97 GPIO expanders: | ||
1127 | # | ||
1113 | # CONFIG_W1 is not set | 1128 | # CONFIG_W1 is not set |
1114 | # CONFIG_POWER_SUPPLY is not set | 1129 | # CONFIG_POWER_SUPPLY is not set |
1115 | CONFIG_HWMON=y | 1130 | CONFIG_HWMON=y |
1116 | # CONFIG_HWMON_VID is not set | 1131 | # CONFIG_HWMON_VID is not set |
1132 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1133 | |||
1134 | # | ||
1135 | # Native drivers | ||
1136 | # | ||
1117 | # CONFIG_SENSORS_AD7414 is not set | 1137 | # CONFIG_SENSORS_AD7414 is not set |
1118 | # CONFIG_SENSORS_AD7418 is not set | 1138 | # CONFIG_SENSORS_AD7418 is not set |
1119 | # CONFIG_SENSORS_ADM1021 is not set | 1139 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1164,6 +1184,7 @@ CONFIG_SENSORS_LM92=y | |||
1164 | # CONFIG_SENSORS_ADS7828 is not set | 1184 | # CONFIG_SENSORS_ADS7828 is not set |
1165 | # CONFIG_SENSORS_THMC50 is not set | 1185 | # CONFIG_SENSORS_THMC50 is not set |
1166 | # CONFIG_SENSORS_TMP401 is not set | 1186 | # CONFIG_SENSORS_TMP401 is not set |
1187 | # CONFIG_SENSORS_TMP421 is not set | ||
1167 | # CONFIG_SENSORS_VIA686A is not set | 1188 | # CONFIG_SENSORS_VIA686A is not set |
1168 | # CONFIG_SENSORS_VT1211 is not set | 1189 | # CONFIG_SENSORS_VT1211 is not set |
1169 | # CONFIG_SENSORS_VT8231 is not set | 1190 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1175,9 +1196,7 @@ CONFIG_SENSORS_LM92=y | |||
1175 | # CONFIG_SENSORS_W83L786NG is not set | 1196 | # CONFIG_SENSORS_W83L786NG is not set |
1176 | # CONFIG_SENSORS_W83627HF is not set | 1197 | # CONFIG_SENSORS_W83627HF is not set |
1177 | # CONFIG_SENSORS_W83627EHF is not set | 1198 | # CONFIG_SENSORS_W83627EHF is not set |
1178 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1179 | # CONFIG_THERMAL is not set | 1199 | # CONFIG_THERMAL is not set |
1180 | # CONFIG_THERMAL_HWMON is not set | ||
1181 | CONFIG_WATCHDOG=y | 1200 | CONFIG_WATCHDOG=y |
1182 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1201 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1183 | 1202 | ||
@@ -1217,6 +1236,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1217 | # CONFIG_MFD_TMIO is not set | 1236 | # CONFIG_MFD_TMIO is not set |
1218 | # CONFIG_PMIC_DA903X is not set | 1237 | # CONFIG_PMIC_DA903X is not set |
1219 | # CONFIG_MFD_WM8400 is not set | 1238 | # CONFIG_MFD_WM8400 is not set |
1239 | # CONFIG_MFD_WM831X is not set | ||
1220 | # CONFIG_MFD_WM8350_I2C is not set | 1240 | # CONFIG_MFD_WM8350_I2C is not set |
1221 | # CONFIG_MFD_PCF50633 is not set | 1241 | # CONFIG_MFD_PCF50633 is not set |
1222 | # CONFIG_AB3100_CORE is not set | 1242 | # CONFIG_AB3100_CORE is not set |
@@ -1227,6 +1247,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1227 | # Graphics support | 1247 | # Graphics support |
1228 | # | 1248 | # |
1229 | # CONFIG_AGP is not set | 1249 | # CONFIG_AGP is not set |
1250 | CONFIG_VGA_ARB=y | ||
1230 | # CONFIG_DRM is not set | 1251 | # CONFIG_DRM is not set |
1231 | # CONFIG_VGASTATE is not set | 1252 | # CONFIG_VGASTATE is not set |
1232 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1253 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1247,7 +1268,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1247 | # CONFIG_SOUND is not set | 1268 | # CONFIG_SOUND is not set |
1248 | CONFIG_HID_SUPPORT=y | 1269 | CONFIG_HID_SUPPORT=y |
1249 | CONFIG_HID=y | 1270 | CONFIG_HID=y |
1250 | # CONFIG_HID_DEBUG is not set | ||
1251 | # CONFIG_HIDRAW is not set | 1271 | # CONFIG_HIDRAW is not set |
1252 | 1272 | ||
1253 | # | 1273 | # |
@@ -1270,6 +1290,7 @@ CONFIG_HID_CYPRESS=y | |||
1270 | CONFIG_HID_EZKEY=y | 1290 | CONFIG_HID_EZKEY=y |
1271 | # CONFIG_HID_KYE is not set | 1291 | # CONFIG_HID_KYE is not set |
1272 | CONFIG_HID_GYRATION=y | 1292 | CONFIG_HID_GYRATION=y |
1293 | # CONFIG_HID_TWINHAN is not set | ||
1273 | # CONFIG_HID_KENSINGTON is not set | 1294 | # CONFIG_HID_KENSINGTON is not set |
1274 | CONFIG_HID_LOGITECH=y | 1295 | CONFIG_HID_LOGITECH=y |
1275 | # CONFIG_LOGITECH_FF is not set | 1296 | # CONFIG_LOGITECH_FF is not set |
@@ -1322,6 +1343,7 @@ CONFIG_USB_EHCI_HCD=y | |||
1322 | # CONFIG_USB_OXU210HP_HCD is not set | 1343 | # CONFIG_USB_OXU210HP_HCD is not set |
1323 | # CONFIG_USB_ISP116X_HCD is not set | 1344 | # CONFIG_USB_ISP116X_HCD is not set |
1324 | # CONFIG_USB_ISP1760_HCD is not set | 1345 | # CONFIG_USB_ISP1760_HCD is not set |
1346 | # CONFIG_USB_ISP1362_HCD is not set | ||
1325 | CONFIG_USB_OHCI_HCD=y | 1347 | CONFIG_USB_OHCI_HCD=y |
1326 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | 1348 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set |
1327 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1349 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1397,6 +1419,7 @@ CONFIG_USB_STORAGE=y | |||
1397 | # CONFIG_USB_LD is not set | 1419 | # CONFIG_USB_LD is not set |
1398 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1420 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1399 | # CONFIG_USB_IOWARRIOR is not set | 1421 | # CONFIG_USB_IOWARRIOR is not set |
1422 | # CONFIG_USB_TEST is not set | ||
1400 | # CONFIG_USB_ISIGHTFW is not set | 1423 | # CONFIG_USB_ISIGHTFW is not set |
1401 | # CONFIG_USB_VST is not set | 1424 | # CONFIG_USB_VST is not set |
1402 | # CONFIG_USB_GADGET is not set | 1425 | # CONFIG_USB_GADGET is not set |
@@ -1501,6 +1524,7 @@ CONFIG_FS_POSIX_ACL=y | |||
1501 | # CONFIG_GFS2_FS is not set | 1524 | # CONFIG_GFS2_FS is not set |
1502 | # CONFIG_OCFS2_FS is not set | 1525 | # CONFIG_OCFS2_FS is not set |
1503 | # CONFIG_BTRFS_FS is not set | 1526 | # CONFIG_BTRFS_FS is not set |
1527 | # CONFIG_NILFS2_FS is not set | ||
1504 | CONFIG_FILE_LOCKING=y | 1528 | CONFIG_FILE_LOCKING=y |
1505 | CONFIG_FSNOTIFY=y | 1529 | CONFIG_FSNOTIFY=y |
1506 | CONFIG_DNOTIFY=y | 1530 | CONFIG_DNOTIFY=y |
@@ -1576,7 +1600,6 @@ CONFIG_JFFS2_RTIME=y | |||
1576 | # CONFIG_ROMFS_FS is not set | 1600 | # CONFIG_ROMFS_FS is not set |
1577 | # CONFIG_SYSV_FS is not set | 1601 | # CONFIG_SYSV_FS is not set |
1578 | # CONFIG_UFS_FS is not set | 1602 | # CONFIG_UFS_FS is not set |
1579 | # CONFIG_NILFS2_FS is not set | ||
1580 | CONFIG_NETWORK_FILESYSTEMS=y | 1603 | CONFIG_NETWORK_FILESYSTEMS=y |
1581 | CONFIG_NFS_FS=y | 1604 | CONFIG_NFS_FS=y |
1582 | CONFIG_NFS_V3=y | 1605 | CONFIG_NFS_V3=y |
@@ -1682,6 +1705,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1682 | CONFIG_ENABLE_MUST_CHECK=y | 1705 | CONFIG_ENABLE_MUST_CHECK=y |
1683 | CONFIG_FRAME_WARN=1024 | 1706 | CONFIG_FRAME_WARN=1024 |
1684 | CONFIG_MAGIC_SYSRQ=y | 1707 | CONFIG_MAGIC_SYSRQ=y |
1708 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1685 | # CONFIG_UNUSED_SYMBOLS is not set | 1709 | # CONFIG_UNUSED_SYMBOLS is not set |
1686 | # CONFIG_DEBUG_FS is not set | 1710 | # CONFIG_DEBUG_FS is not set |
1687 | # CONFIG_HEADERS_CHECK is not set | 1711 | # CONFIG_HEADERS_CHECK is not set |
@@ -1697,6 +1721,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1697 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1721 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1698 | CONFIG_TRACING_SUPPORT=y | 1722 | CONFIG_TRACING_SUPPORT=y |
1699 | # CONFIG_FTRACE is not set | 1723 | # CONFIG_FTRACE is not set |
1724 | # CONFIG_DMA_API_DEBUG is not set | ||
1700 | # CONFIG_SAMPLES is not set | 1725 | # CONFIG_SAMPLES is not set |
1701 | CONFIG_HAVE_ARCH_KGDB=y | 1726 | CONFIG_HAVE_ARCH_KGDB=y |
1702 | # CONFIG_PPC_DISABLE_WERROR is not set | 1727 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1718,7 +1743,6 @@ CONFIG_CRYPTO=y | |||
1718 | # | 1743 | # |
1719 | # Crypto core or helper | 1744 | # Crypto core or helper |
1720 | # | 1745 | # |
1721 | # CONFIG_CRYPTO_FIPS is not set | ||
1722 | CONFIG_CRYPTO_ALGAPI=y | 1746 | CONFIG_CRYPTO_ALGAPI=y |
1723 | CONFIG_CRYPTO_ALGAPI2=y | 1747 | CONFIG_CRYPTO_ALGAPI2=y |
1724 | CONFIG_CRYPTO_AEAD=m | 1748 | CONFIG_CRYPTO_AEAD=m |
@@ -1761,11 +1785,13 @@ CONFIG_CRYPTO_CBC=y | |||
1761 | # | 1785 | # |
1762 | CONFIG_CRYPTO_HMAC=m | 1786 | CONFIG_CRYPTO_HMAC=m |
1763 | # CONFIG_CRYPTO_XCBC is not set | 1787 | # CONFIG_CRYPTO_XCBC is not set |
1788 | # CONFIG_CRYPTO_VMAC is not set | ||
1764 | 1789 | ||
1765 | # | 1790 | # |
1766 | # Digest | 1791 | # Digest |
1767 | # | 1792 | # |
1768 | CONFIG_CRYPTO_CRC32C=y | 1793 | CONFIG_CRYPTO_CRC32C=y |
1794 | # CONFIG_CRYPTO_GHASH is not set | ||
1769 | # CONFIG_CRYPTO_MD4 is not set | 1795 | # CONFIG_CRYPTO_MD4 is not set |
1770 | CONFIG_CRYPTO_MD5=y | 1796 | CONFIG_CRYPTO_MD5=y |
1771 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1797 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/86xx/gef_sbc310_defconfig b/arch/powerpc/configs/86xx/gef_sbc310_defconfig index cd338d493bed..e199d1cacbaf 100644 --- a/arch/powerpc/configs/86xx/gef_sbc310_defconfig +++ b/arch/powerpc/configs/86xx/gef_sbc310_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:29 2009 | 4 | # Thu Nov 5 08:20:47 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +89,12 @@ CONFIG_BSD_PROCESS_ACCT_V3=y | |||
88 | # | 89 | # |
89 | # RCU Subsystem | 90 | # RCU Subsystem |
90 | # | 91 | # |
91 | CONFIG_CLASSIC_RCU=y | 92 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 93 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 94 | # CONFIG_RCU_TRACE is not set |
95 | CONFIG_RCU_FANOUT=32 | ||
96 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 97 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | CONFIG_IKCONFIG=y | 98 | CONFIG_IKCONFIG=y |
97 | CONFIG_IKCONFIG_PROC=y | 99 | CONFIG_IKCONFIG_PROC=y |
98 | CONFIG_LOG_BUF_SHIFT=14 | 100 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -130,21 +132,20 @@ CONFIG_TIMERFD=y | |||
130 | CONFIG_EVENTFD=y | 132 | CONFIG_EVENTFD=y |
131 | CONFIG_SHMEM=y | 133 | CONFIG_SHMEM=y |
132 | CONFIG_AIO=y | 134 | CONFIG_AIO=y |
133 | CONFIG_HAVE_PERF_COUNTERS=y | 135 | CONFIG_HAVE_PERF_EVENTS=y |
134 | 136 | ||
135 | # | 137 | # |
136 | # Performance Counters | 138 | # Kernel Performance Events And Counters |
137 | # | 139 | # |
140 | # CONFIG_PERF_EVENTS is not set | ||
138 | # CONFIG_PERF_COUNTERS is not set | 141 | # CONFIG_PERF_COUNTERS is not set |
139 | CONFIG_VM_EVENT_COUNTERS=y | 142 | CONFIG_VM_EVENT_COUNTERS=y |
140 | CONFIG_PCI_QUIRKS=y | 143 | CONFIG_PCI_QUIRKS=y |
141 | # CONFIG_STRIP_ASM_SYMS is not set | ||
142 | CONFIG_COMPAT_BRK=y | 144 | CONFIG_COMPAT_BRK=y |
143 | CONFIG_SLAB=y | 145 | CONFIG_SLAB=y |
144 | # CONFIG_SLUB is not set | 146 | # CONFIG_SLUB is not set |
145 | # CONFIG_SLOB is not set | 147 | # CONFIG_SLOB is not set |
146 | # CONFIG_PROFILING is not set | 148 | # CONFIG_PROFILING is not set |
147 | # CONFIG_MARKERS is not set | ||
148 | CONFIG_HAVE_OPROFILE=y | 149 | CONFIG_HAVE_OPROFILE=y |
149 | # CONFIG_KPROBES is not set | 150 | # CONFIG_KPROBES is not set |
150 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -152,12 +153,14 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
152 | CONFIG_HAVE_KPROBES=y | 153 | CONFIG_HAVE_KPROBES=y |
153 | CONFIG_HAVE_KRETPROBES=y | 154 | CONFIG_HAVE_KRETPROBES=y |
154 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 155 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
156 | CONFIG_HAVE_DMA_ATTRS=y | ||
155 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 157 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
158 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
156 | 159 | ||
157 | # | 160 | # |
158 | # GCOV-based kernel profiling | 161 | # GCOV-based kernel profiling |
159 | # | 162 | # |
160 | # CONFIG_SLOW_WORK is not set | 163 | CONFIG_SLOW_WORK=y |
161 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 164 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
162 | CONFIG_SLABINFO=y | 165 | CONFIG_SLABINFO=y |
163 | CONFIG_RT_MUTEXES=y | 166 | CONFIG_RT_MUTEXES=y |
@@ -256,6 +259,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | |||
256 | # CONFIG_KEXEC is not set | 259 | # CONFIG_KEXEC is not set |
257 | # CONFIG_CRASH_DUMP is not set | 260 | # CONFIG_CRASH_DUMP is not set |
258 | CONFIG_IRQ_ALL_CPUS=y | 261 | CONFIG_IRQ_ALL_CPUS=y |
262 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
259 | CONFIG_ARCH_FLATMEM_ENABLE=y | 263 | CONFIG_ARCH_FLATMEM_ENABLE=y |
260 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 264 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
261 | CONFIG_SELECT_MEMORY_MODEL=y | 265 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -273,6 +277,7 @@ CONFIG_BOUNCE=y | |||
273 | CONFIG_VIRT_TO_BUS=y | 277 | CONFIG_VIRT_TO_BUS=y |
274 | CONFIG_HAVE_MLOCK=y | 278 | CONFIG_HAVE_MLOCK=y |
275 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
280 | # CONFIG_KSM is not set | ||
276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 281 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
277 | CONFIG_PPC_4K_PAGES=y | 282 | CONFIG_PPC_4K_PAGES=y |
278 | # CONFIG_PPC_16K_PAGES is not set | 283 | # CONFIG_PPC_16K_PAGES is not set |
@@ -417,6 +422,7 @@ CONFIG_IPV6_TUNNEL=m | |||
417 | # CONFIG_NETFILTER is not set | 422 | # CONFIG_NETFILTER is not set |
418 | # CONFIG_IP_DCCP is not set | 423 | # CONFIG_IP_DCCP is not set |
419 | # CONFIG_IP_SCTP is not set | 424 | # CONFIG_IP_SCTP is not set |
425 | # CONFIG_RDS is not set | ||
420 | # CONFIG_TIPC is not set | 426 | # CONFIG_TIPC is not set |
421 | # CONFIG_ATM is not set | 427 | # CONFIG_ATM is not set |
422 | # CONFIG_BRIDGE is not set | 428 | # CONFIG_BRIDGE is not set |
@@ -458,6 +464,7 @@ CONFIG_FIB_RULES=y | |||
458 | # Generic Driver Options | 464 | # Generic Driver Options |
459 | # | 465 | # |
460 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 466 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
467 | # CONFIG_DEVTMPFS is not set | ||
461 | CONFIG_STANDALONE=y | 468 | CONFIG_STANDALONE=y |
462 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 469 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
463 | CONFIG_FW_LOADER=y | 470 | CONFIG_FW_LOADER=y |
@@ -467,9 +474,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
467 | # CONFIG_CONNECTOR is not set | 474 | # CONFIG_CONNECTOR is not set |
468 | CONFIG_MTD=y | 475 | CONFIG_MTD=y |
469 | # CONFIG_MTD_DEBUG is not set | 476 | # CONFIG_MTD_DEBUG is not set |
477 | # CONFIG_MTD_TESTS is not set | ||
470 | CONFIG_MTD_CONCAT=y | 478 | CONFIG_MTD_CONCAT=y |
471 | CONFIG_MTD_PARTITIONS=y | 479 | CONFIG_MTD_PARTITIONS=y |
472 | # CONFIG_MTD_TESTS is not set | ||
473 | # CONFIG_MTD_REDBOOT_PARTS is not set | 480 | # CONFIG_MTD_REDBOOT_PARTS is not set |
474 | # CONFIG_MTD_CMDLINE_PARTS is not set | 481 | # CONFIG_MTD_CMDLINE_PARTS is not set |
475 | CONFIG_MTD_OF_PARTS=y | 482 | CONFIG_MTD_OF_PARTS=y |
@@ -680,6 +687,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
680 | CONFIG_SCSI_LOWLEVEL=y | 687 | CONFIG_SCSI_LOWLEVEL=y |
681 | # CONFIG_ISCSI_TCP is not set | 688 | # CONFIG_ISCSI_TCP is not set |
682 | # CONFIG_SCSI_BNX2_ISCSI is not set | 689 | # CONFIG_SCSI_BNX2_ISCSI is not set |
690 | # CONFIG_BE2ISCSI is not set | ||
683 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 691 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
684 | # CONFIG_SCSI_3W_9XXX is not set | 692 | # CONFIG_SCSI_3W_9XXX is not set |
685 | # CONFIG_SCSI_ACARD is not set | 693 | # CONFIG_SCSI_ACARD is not set |
@@ -719,12 +727,15 @@ CONFIG_SCSI_LOWLEVEL=y | |||
719 | # CONFIG_SCSI_DC390T is not set | 727 | # CONFIG_SCSI_DC390T is not set |
720 | # CONFIG_SCSI_NSP32 is not set | 728 | # CONFIG_SCSI_NSP32 is not set |
721 | # CONFIG_SCSI_DEBUG is not set | 729 | # CONFIG_SCSI_DEBUG is not set |
730 | # CONFIG_SCSI_PMCRAID is not set | ||
722 | # CONFIG_SCSI_SRP is not set | 731 | # CONFIG_SCSI_SRP is not set |
732 | # CONFIG_SCSI_BFA_FC is not set | ||
723 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set | 733 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set |
724 | # CONFIG_SCSI_DH is not set | 734 | # CONFIG_SCSI_DH is not set |
725 | # CONFIG_SCSI_OSD_INITIATOR is not set | 735 | # CONFIG_SCSI_OSD_INITIATOR is not set |
726 | CONFIG_ATA=y | 736 | CONFIG_ATA=y |
727 | # CONFIG_ATA_NONSTANDARD is not set | 737 | # CONFIG_ATA_NONSTANDARD is not set |
738 | CONFIG_ATA_VERBOSE_ERROR=y | ||
728 | CONFIG_SATA_PMP=y | 739 | CONFIG_SATA_PMP=y |
729 | # CONFIG_SATA_AHCI is not set | 740 | # CONFIG_SATA_AHCI is not set |
730 | CONFIG_SATA_SIL24=y | 741 | CONFIG_SATA_SIL24=y |
@@ -796,7 +807,9 @@ CONFIG_MII=y | |||
796 | # CONFIG_NET_PCI is not set | 807 | # CONFIG_NET_PCI is not set |
797 | # CONFIG_B44 is not set | 808 | # CONFIG_B44 is not set |
798 | # CONFIG_KS8842 is not set | 809 | # CONFIG_KS8842 is not set |
810 | # CONFIG_KS8851_MLL is not set | ||
799 | # CONFIG_ATL2 is not set | 811 | # CONFIG_ATL2 is not set |
812 | # CONFIG_XILINX_EMACLITE is not set | ||
800 | CONFIG_NETDEV_1000=y | 813 | CONFIG_NETDEV_1000=y |
801 | # CONFIG_ACENIC is not set | 814 | # CONFIG_ACENIC is not set |
802 | # CONFIG_DL2K is not set | 815 | # CONFIG_DL2K is not set |
@@ -826,10 +839,7 @@ CONFIG_GIANFAR=y | |||
826 | # CONFIG_JME is not set | 839 | # CONFIG_JME is not set |
827 | # CONFIG_NETDEV_10000 is not set | 840 | # CONFIG_NETDEV_10000 is not set |
828 | # CONFIG_TR is not set | 841 | # CONFIG_TR is not set |
829 | 842 | CONFIG_WLAN=y | |
830 | # | ||
831 | # Wireless LAN | ||
832 | # | ||
833 | # CONFIG_WLAN_PRE80211 is not set | 843 | # CONFIG_WLAN_PRE80211 is not set |
834 | # CONFIG_WLAN_80211 is not set | 844 | # CONFIG_WLAN_80211 is not set |
835 | 845 | ||
@@ -961,6 +971,7 @@ CONFIG_NVRAM=y | |||
961 | CONFIG_DEVPORT=y | 971 | CONFIG_DEVPORT=y |
962 | CONFIG_I2C=y | 972 | CONFIG_I2C=y |
963 | CONFIG_I2C_BOARDINFO=y | 973 | CONFIG_I2C_BOARDINFO=y |
974 | CONFIG_I2C_COMPAT=y | ||
964 | CONFIG_I2C_CHARDEV=y | 975 | CONFIG_I2C_CHARDEV=y |
965 | CONFIG_I2C_HELPER_AUTO=y | 976 | CONFIG_I2C_HELPER_AUTO=y |
966 | 977 | ||
@@ -1016,9 +1027,6 @@ CONFIG_I2C_MPC=y | |||
1016 | # Miscellaneous I2C Chip support | 1027 | # Miscellaneous I2C Chip support |
1017 | # | 1028 | # |
1018 | CONFIG_DS1682=y | 1029 | CONFIG_DS1682=y |
1019 | # CONFIG_SENSORS_PCF8574 is not set | ||
1020 | # CONFIG_PCF8575 is not set | ||
1021 | # CONFIG_SENSORS_PCA9539 is not set | ||
1022 | # CONFIG_SENSORS_TSL2550 is not set | 1030 | # CONFIG_SENSORS_TSL2550 is not set |
1023 | # CONFIG_I2C_DEBUG_CORE is not set | 1031 | # CONFIG_I2C_DEBUG_CORE is not set |
1024 | # CONFIG_I2C_DEBUG_ALGO is not set | 1032 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1051,14 +1059,24 @@ CONFIG_GPIO_SYSFS=y | |||
1051 | # PCI GPIO expanders: | 1059 | # PCI GPIO expanders: |
1052 | # | 1060 | # |
1053 | # CONFIG_GPIO_BT8XX is not set | 1061 | # CONFIG_GPIO_BT8XX is not set |
1062 | # CONFIG_GPIO_LANGWELL is not set | ||
1054 | 1063 | ||
1055 | # | 1064 | # |
1056 | # SPI GPIO expanders: | 1065 | # SPI GPIO expanders: |
1057 | # | 1066 | # |
1067 | |||
1068 | # | ||
1069 | # AC97 GPIO expanders: | ||
1070 | # | ||
1058 | # CONFIG_W1 is not set | 1071 | # CONFIG_W1 is not set |
1059 | # CONFIG_POWER_SUPPLY is not set | 1072 | # CONFIG_POWER_SUPPLY is not set |
1060 | CONFIG_HWMON=y | 1073 | CONFIG_HWMON=y |
1061 | # CONFIG_HWMON_VID is not set | 1074 | # CONFIG_HWMON_VID is not set |
1075 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1076 | |||
1077 | # | ||
1078 | # Native drivers | ||
1079 | # | ||
1062 | # CONFIG_SENSORS_AD7414 is not set | 1080 | # CONFIG_SENSORS_AD7414 is not set |
1063 | # CONFIG_SENSORS_AD7418 is not set | 1081 | # CONFIG_SENSORS_AD7418 is not set |
1064 | # CONFIG_SENSORS_ADM1021 is not set | 1082 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1109,6 +1127,7 @@ CONFIG_SENSORS_LM92=y | |||
1109 | # CONFIG_SENSORS_ADS7828 is not set | 1127 | # CONFIG_SENSORS_ADS7828 is not set |
1110 | # CONFIG_SENSORS_THMC50 is not set | 1128 | # CONFIG_SENSORS_THMC50 is not set |
1111 | # CONFIG_SENSORS_TMP401 is not set | 1129 | # CONFIG_SENSORS_TMP401 is not set |
1130 | # CONFIG_SENSORS_TMP421 is not set | ||
1112 | # CONFIG_SENSORS_VIA686A is not set | 1131 | # CONFIG_SENSORS_VIA686A is not set |
1113 | # CONFIG_SENSORS_VT1211 is not set | 1132 | # CONFIG_SENSORS_VT1211 is not set |
1114 | # CONFIG_SENSORS_VT8231 is not set | 1133 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1120,9 +1139,7 @@ CONFIG_SENSORS_LM92=y | |||
1120 | # CONFIG_SENSORS_W83L786NG is not set | 1139 | # CONFIG_SENSORS_W83L786NG is not set |
1121 | # CONFIG_SENSORS_W83627HF is not set | 1140 | # CONFIG_SENSORS_W83627HF is not set |
1122 | # CONFIG_SENSORS_W83627EHF is not set | 1141 | # CONFIG_SENSORS_W83627EHF is not set |
1123 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1124 | # CONFIG_THERMAL is not set | 1142 | # CONFIG_THERMAL is not set |
1125 | # CONFIG_THERMAL_HWMON is not set | ||
1126 | CONFIG_WATCHDOG=y | 1143 | CONFIG_WATCHDOG=y |
1127 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1144 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1128 | 1145 | ||
@@ -1162,6 +1179,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1162 | # CONFIG_MFD_TMIO is not set | 1179 | # CONFIG_MFD_TMIO is not set |
1163 | # CONFIG_PMIC_DA903X is not set | 1180 | # CONFIG_PMIC_DA903X is not set |
1164 | # CONFIG_MFD_WM8400 is not set | 1181 | # CONFIG_MFD_WM8400 is not set |
1182 | # CONFIG_MFD_WM831X is not set | ||
1165 | # CONFIG_MFD_WM8350_I2C is not set | 1183 | # CONFIG_MFD_WM8350_I2C is not set |
1166 | # CONFIG_MFD_PCF50633 is not set | 1184 | # CONFIG_MFD_PCF50633 is not set |
1167 | # CONFIG_AB3100_CORE is not set | 1185 | # CONFIG_AB3100_CORE is not set |
@@ -1172,6 +1190,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1172 | # Graphics support | 1190 | # Graphics support |
1173 | # | 1191 | # |
1174 | # CONFIG_AGP is not set | 1192 | # CONFIG_AGP is not set |
1193 | CONFIG_VGA_ARB=y | ||
1175 | # CONFIG_DRM is not set | 1194 | # CONFIG_DRM is not set |
1176 | # CONFIG_VGASTATE is not set | 1195 | # CONFIG_VGASTATE is not set |
1177 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1196 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1192,7 +1211,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1192 | # CONFIG_SOUND is not set | 1211 | # CONFIG_SOUND is not set |
1193 | CONFIG_HID_SUPPORT=y | 1212 | CONFIG_HID_SUPPORT=y |
1194 | CONFIG_HID=y | 1213 | CONFIG_HID=y |
1195 | # CONFIG_HID_DEBUG is not set | ||
1196 | # CONFIG_HIDRAW is not set | 1214 | # CONFIG_HIDRAW is not set |
1197 | 1215 | ||
1198 | # | 1216 | # |
@@ -1215,6 +1233,7 @@ CONFIG_HID_CYPRESS=y | |||
1215 | CONFIG_HID_EZKEY=y | 1233 | CONFIG_HID_EZKEY=y |
1216 | # CONFIG_HID_KYE is not set | 1234 | # CONFIG_HID_KYE is not set |
1217 | CONFIG_HID_GYRATION=y | 1235 | CONFIG_HID_GYRATION=y |
1236 | # CONFIG_HID_TWINHAN is not set | ||
1218 | # CONFIG_HID_KENSINGTON is not set | 1237 | # CONFIG_HID_KENSINGTON is not set |
1219 | CONFIG_HID_LOGITECH=y | 1238 | CONFIG_HID_LOGITECH=y |
1220 | # CONFIG_LOGITECH_FF is not set | 1239 | # CONFIG_LOGITECH_FF is not set |
@@ -1267,6 +1286,7 @@ CONFIG_USB_EHCI_HCD=y | |||
1267 | # CONFIG_USB_OXU210HP_HCD is not set | 1286 | # CONFIG_USB_OXU210HP_HCD is not set |
1268 | # CONFIG_USB_ISP116X_HCD is not set | 1287 | # CONFIG_USB_ISP116X_HCD is not set |
1269 | # CONFIG_USB_ISP1760_HCD is not set | 1288 | # CONFIG_USB_ISP1760_HCD is not set |
1289 | # CONFIG_USB_ISP1362_HCD is not set | ||
1270 | CONFIG_USB_OHCI_HCD=y | 1290 | CONFIG_USB_OHCI_HCD=y |
1271 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | 1291 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set |
1272 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1292 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1342,6 +1362,7 @@ CONFIG_USB_STORAGE=y | |||
1342 | # CONFIG_USB_LD is not set | 1362 | # CONFIG_USB_LD is not set |
1343 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1363 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1344 | # CONFIG_USB_IOWARRIOR is not set | 1364 | # CONFIG_USB_IOWARRIOR is not set |
1365 | # CONFIG_USB_TEST is not set | ||
1345 | # CONFIG_USB_ISIGHTFW is not set | 1366 | # CONFIG_USB_ISIGHTFW is not set |
1346 | # CONFIG_USB_VST is not set | 1367 | # CONFIG_USB_VST is not set |
1347 | # CONFIG_USB_GADGET is not set | 1368 | # CONFIG_USB_GADGET is not set |
@@ -1446,6 +1467,7 @@ CONFIG_FS_POSIX_ACL=y | |||
1446 | # CONFIG_GFS2_FS is not set | 1467 | # CONFIG_GFS2_FS is not set |
1447 | # CONFIG_OCFS2_FS is not set | 1468 | # CONFIG_OCFS2_FS is not set |
1448 | # CONFIG_BTRFS_FS is not set | 1469 | # CONFIG_BTRFS_FS is not set |
1470 | # CONFIG_NILFS2_FS is not set | ||
1449 | CONFIG_FILE_LOCKING=y | 1471 | CONFIG_FILE_LOCKING=y |
1450 | CONFIG_FSNOTIFY=y | 1472 | CONFIG_FSNOTIFY=y |
1451 | CONFIG_DNOTIFY=y | 1473 | CONFIG_DNOTIFY=y |
@@ -1521,7 +1543,6 @@ CONFIG_JFFS2_RTIME=y | |||
1521 | # CONFIG_ROMFS_FS is not set | 1543 | # CONFIG_ROMFS_FS is not set |
1522 | # CONFIG_SYSV_FS is not set | 1544 | # CONFIG_SYSV_FS is not set |
1523 | # CONFIG_UFS_FS is not set | 1545 | # CONFIG_UFS_FS is not set |
1524 | # CONFIG_NILFS2_FS is not set | ||
1525 | CONFIG_NETWORK_FILESYSTEMS=y | 1546 | CONFIG_NETWORK_FILESYSTEMS=y |
1526 | CONFIG_NFS_FS=y | 1547 | CONFIG_NFS_FS=y |
1527 | CONFIG_NFS_V3=y | 1548 | CONFIG_NFS_V3=y |
@@ -1627,6 +1648,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1627 | CONFIG_ENABLE_MUST_CHECK=y | 1648 | CONFIG_ENABLE_MUST_CHECK=y |
1628 | CONFIG_FRAME_WARN=1024 | 1649 | CONFIG_FRAME_WARN=1024 |
1629 | CONFIG_MAGIC_SYSRQ=y | 1650 | CONFIG_MAGIC_SYSRQ=y |
1651 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1630 | # CONFIG_UNUSED_SYMBOLS is not set | 1652 | # CONFIG_UNUSED_SYMBOLS is not set |
1631 | # CONFIG_DEBUG_FS is not set | 1653 | # CONFIG_DEBUG_FS is not set |
1632 | # CONFIG_HEADERS_CHECK is not set | 1654 | # CONFIG_HEADERS_CHECK is not set |
@@ -1642,6 +1664,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1642 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1664 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1643 | CONFIG_TRACING_SUPPORT=y | 1665 | CONFIG_TRACING_SUPPORT=y |
1644 | # CONFIG_FTRACE is not set | 1666 | # CONFIG_FTRACE is not set |
1667 | # CONFIG_DMA_API_DEBUG is not set | ||
1645 | # CONFIG_SAMPLES is not set | 1668 | # CONFIG_SAMPLES is not set |
1646 | CONFIG_HAVE_ARCH_KGDB=y | 1669 | CONFIG_HAVE_ARCH_KGDB=y |
1647 | # CONFIG_PPC_DISABLE_WERROR is not set | 1670 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1663,7 +1686,6 @@ CONFIG_CRYPTO=y | |||
1663 | # | 1686 | # |
1664 | # Crypto core or helper | 1687 | # Crypto core or helper |
1665 | # | 1688 | # |
1666 | # CONFIG_CRYPTO_FIPS is not set | ||
1667 | CONFIG_CRYPTO_ALGAPI=y | 1689 | CONFIG_CRYPTO_ALGAPI=y |
1668 | CONFIG_CRYPTO_ALGAPI2=y | 1690 | CONFIG_CRYPTO_ALGAPI2=y |
1669 | CONFIG_CRYPTO_AEAD=m | 1691 | CONFIG_CRYPTO_AEAD=m |
@@ -1706,11 +1728,13 @@ CONFIG_CRYPTO_CBC=y | |||
1706 | # | 1728 | # |
1707 | CONFIG_CRYPTO_HMAC=m | 1729 | CONFIG_CRYPTO_HMAC=m |
1708 | # CONFIG_CRYPTO_XCBC is not set | 1730 | # CONFIG_CRYPTO_XCBC is not set |
1731 | # CONFIG_CRYPTO_VMAC is not set | ||
1709 | 1732 | ||
1710 | # | 1733 | # |
1711 | # Digest | 1734 | # Digest |
1712 | # | 1735 | # |
1713 | CONFIG_CRYPTO_CRC32C=y | 1736 | CONFIG_CRYPTO_CRC32C=y |
1737 | # CONFIG_CRYPTO_GHASH is not set | ||
1714 | # CONFIG_CRYPTO_MD4 is not set | 1738 | # CONFIG_CRYPTO_MD4 is not set |
1715 | CONFIG_CRYPTO_MD5=y | 1739 | CONFIG_CRYPTO_MD5=y |
1716 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1740 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/86xx/gef_sbc610_defconfig b/arch/powerpc/configs/86xx/gef_sbc610_defconfig index ba47883f4aa0..3b0fbfb28efd 100644 --- a/arch/powerpc/configs/86xx/gef_sbc610_defconfig +++ b/arch/powerpc/configs/86xx/gef_sbc610_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:30 2009 | 4 | # Thu Nov 5 08:20:48 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +89,12 @@ CONFIG_BSD_PROCESS_ACCT_V3=y | |||
88 | # | 89 | # |
89 | # RCU Subsystem | 90 | # RCU Subsystem |
90 | # | 91 | # |
91 | CONFIG_CLASSIC_RCU=y | 92 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 93 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 94 | # CONFIG_RCU_TRACE is not set |
95 | CONFIG_RCU_FANOUT=32 | ||
96 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 97 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | CONFIG_IKCONFIG=y | 98 | CONFIG_IKCONFIG=y |
97 | CONFIG_IKCONFIG_PROC=y | 99 | CONFIG_IKCONFIG_PROC=y |
98 | CONFIG_LOG_BUF_SHIFT=14 | 100 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -131,21 +133,20 @@ CONFIG_TIMERFD=y | |||
131 | CONFIG_EVENTFD=y | 133 | CONFIG_EVENTFD=y |
132 | CONFIG_SHMEM=y | 134 | CONFIG_SHMEM=y |
133 | CONFIG_AIO=y | 135 | CONFIG_AIO=y |
134 | CONFIG_HAVE_PERF_COUNTERS=y | 136 | CONFIG_HAVE_PERF_EVENTS=y |
135 | 137 | ||
136 | # | 138 | # |
137 | # Performance Counters | 139 | # Kernel Performance Events And Counters |
138 | # | 140 | # |
141 | # CONFIG_PERF_EVENTS is not set | ||
139 | # CONFIG_PERF_COUNTERS is not set | 142 | # CONFIG_PERF_COUNTERS is not set |
140 | CONFIG_VM_EVENT_COUNTERS=y | 143 | CONFIG_VM_EVENT_COUNTERS=y |
141 | CONFIG_PCI_QUIRKS=y | 144 | CONFIG_PCI_QUIRKS=y |
142 | # CONFIG_STRIP_ASM_SYMS is not set | ||
143 | CONFIG_COMPAT_BRK=y | 145 | CONFIG_COMPAT_BRK=y |
144 | CONFIG_SLAB=y | 146 | CONFIG_SLAB=y |
145 | # CONFIG_SLUB is not set | 147 | # CONFIG_SLUB is not set |
146 | # CONFIG_SLOB is not set | 148 | # CONFIG_SLOB is not set |
147 | # CONFIG_PROFILING is not set | 149 | # CONFIG_PROFILING is not set |
148 | # CONFIG_MARKERS is not set | ||
149 | CONFIG_HAVE_OPROFILE=y | 150 | CONFIG_HAVE_OPROFILE=y |
150 | # CONFIG_KPROBES is not set | 151 | # CONFIG_KPROBES is not set |
151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -153,12 +154,14 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
153 | CONFIG_HAVE_KPROBES=y | 154 | CONFIG_HAVE_KPROBES=y |
154 | CONFIG_HAVE_KRETPROBES=y | 155 | CONFIG_HAVE_KRETPROBES=y |
155 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 156 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
157 | CONFIG_HAVE_DMA_ATTRS=y | ||
156 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 158 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
159 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
157 | 160 | ||
158 | # | 161 | # |
159 | # GCOV-based kernel profiling | 162 | # GCOV-based kernel profiling |
160 | # | 163 | # |
161 | # CONFIG_SLOW_WORK is not set | 164 | CONFIG_SLOW_WORK=y |
162 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 165 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
163 | CONFIG_SLABINFO=y | 166 | CONFIG_SLABINFO=y |
164 | CONFIG_RT_MUTEXES=y | 167 | CONFIG_RT_MUTEXES=y |
@@ -257,6 +260,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | |||
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
259 | CONFIG_IRQ_ALL_CPUS=y | 262 | CONFIG_IRQ_ALL_CPUS=y |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
260 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
261 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
262 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -274,6 +278,7 @@ CONFIG_BOUNCE=y | |||
274 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
275 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
276 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
277 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
278 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
279 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -503,6 +508,7 @@ CONFIG_IP_SCTP=m | |||
503 | # CONFIG_SCTP_HMAC_NONE is not set | 508 | # CONFIG_SCTP_HMAC_NONE is not set |
504 | # CONFIG_SCTP_HMAC_SHA1 is not set | 509 | # CONFIG_SCTP_HMAC_SHA1 is not set |
505 | CONFIG_SCTP_HMAC_MD5=y | 510 | CONFIG_SCTP_HMAC_MD5=y |
511 | # CONFIG_RDS is not set | ||
506 | CONFIG_TIPC=m | 512 | CONFIG_TIPC=m |
507 | # CONFIG_TIPC_ADVANCED is not set | 513 | # CONFIG_TIPC_ADVANCED is not set |
508 | # CONFIG_TIPC_DEBUG is not set | 514 | # CONFIG_TIPC_DEBUG is not set |
@@ -582,6 +588,7 @@ CONFIG_NET_PKTGEN=m | |||
582 | CONFIG_FIB_RULES=y | 588 | CONFIG_FIB_RULES=y |
583 | CONFIG_WIRELESS=y | 589 | CONFIG_WIRELESS=y |
584 | # CONFIG_CFG80211 is not set | 590 | # CONFIG_CFG80211 is not set |
591 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
585 | CONFIG_WIRELESS_OLD_REGULATORY=y | 592 | CONFIG_WIRELESS_OLD_REGULATORY=y |
586 | # CONFIG_WIRELESS_EXT is not set | 593 | # CONFIG_WIRELESS_EXT is not set |
587 | # CONFIG_LIB80211 is not set | 594 | # CONFIG_LIB80211 is not set |
@@ -589,7 +596,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
589 | # | 596 | # |
590 | # CFG80211 needs to be enabled for MAC80211 | 597 | # CFG80211 needs to be enabled for MAC80211 |
591 | # | 598 | # |
592 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
593 | # CONFIG_WIMAX is not set | 599 | # CONFIG_WIMAX is not set |
594 | # CONFIG_RFKILL is not set | 600 | # CONFIG_RFKILL is not set |
595 | # CONFIG_NET_9P is not set | 601 | # CONFIG_NET_9P is not set |
@@ -602,6 +608,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
602 | # Generic Driver Options | 608 | # Generic Driver Options |
603 | # | 609 | # |
604 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 610 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
611 | # CONFIG_DEVTMPFS is not set | ||
605 | CONFIG_STANDALONE=y | 612 | CONFIG_STANDALONE=y |
606 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 613 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
607 | # CONFIG_FW_LOADER is not set | 614 | # CONFIG_FW_LOADER is not set |
@@ -611,9 +618,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
611 | # CONFIG_CONNECTOR is not set | 618 | # CONFIG_CONNECTOR is not set |
612 | CONFIG_MTD=y | 619 | CONFIG_MTD=y |
613 | # CONFIG_MTD_DEBUG is not set | 620 | # CONFIG_MTD_DEBUG is not set |
621 | # CONFIG_MTD_TESTS is not set | ||
614 | CONFIG_MTD_CONCAT=y | 622 | CONFIG_MTD_CONCAT=y |
615 | CONFIG_MTD_PARTITIONS=y | 623 | CONFIG_MTD_PARTITIONS=y |
616 | # CONFIG_MTD_TESTS is not set | ||
617 | # CONFIG_MTD_REDBOOT_PARTS is not set | 624 | # CONFIG_MTD_REDBOOT_PARTS is not set |
618 | # CONFIG_MTD_CMDLINE_PARTS is not set | 625 | # CONFIG_MTD_CMDLINE_PARTS is not set |
619 | # CONFIG_MTD_OF_PARTS is not set | 626 | # CONFIG_MTD_OF_PARTS is not set |
@@ -780,6 +787,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
780 | CONFIG_SCSI_LOWLEVEL=y | 787 | CONFIG_SCSI_LOWLEVEL=y |
781 | # CONFIG_ISCSI_TCP is not set | 788 | # CONFIG_ISCSI_TCP is not set |
782 | # CONFIG_SCSI_BNX2_ISCSI is not set | 789 | # CONFIG_SCSI_BNX2_ISCSI is not set |
790 | # CONFIG_BE2ISCSI is not set | ||
783 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 791 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
784 | # CONFIG_SCSI_3W_9XXX is not set | 792 | # CONFIG_SCSI_3W_9XXX is not set |
785 | # CONFIG_SCSI_ACARD is not set | 793 | # CONFIG_SCSI_ACARD is not set |
@@ -819,11 +827,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
819 | # CONFIG_SCSI_DC390T is not set | 827 | # CONFIG_SCSI_DC390T is not set |
820 | # CONFIG_SCSI_NSP32 is not set | 828 | # CONFIG_SCSI_NSP32 is not set |
821 | # CONFIG_SCSI_DEBUG is not set | 829 | # CONFIG_SCSI_DEBUG is not set |
830 | # CONFIG_SCSI_PMCRAID is not set | ||
822 | # CONFIG_SCSI_SRP is not set | 831 | # CONFIG_SCSI_SRP is not set |
832 | # CONFIG_SCSI_BFA_FC is not set | ||
823 | # CONFIG_SCSI_DH is not set | 833 | # CONFIG_SCSI_DH is not set |
824 | # CONFIG_SCSI_OSD_INITIATOR is not set | 834 | # CONFIG_SCSI_OSD_INITIATOR is not set |
825 | CONFIG_ATA=y | 835 | CONFIG_ATA=y |
826 | # CONFIG_ATA_NONSTANDARD is not set | 836 | # CONFIG_ATA_NONSTANDARD is not set |
837 | CONFIG_ATA_VERBOSE_ERROR=y | ||
827 | CONFIG_SATA_PMP=y | 838 | CONFIG_SATA_PMP=y |
828 | # CONFIG_SATA_AHCI is not set | 839 | # CONFIG_SATA_AHCI is not set |
829 | # CONFIG_SATA_SIL24 is not set | 840 | # CONFIG_SATA_SIL24 is not set |
@@ -846,6 +857,7 @@ CONFIG_SATA_SIL=y | |||
846 | # CONFIG_PATA_ALI is not set | 857 | # CONFIG_PATA_ALI is not set |
847 | # CONFIG_PATA_AMD is not set | 858 | # CONFIG_PATA_AMD is not set |
848 | # CONFIG_PATA_ARTOP is not set | 859 | # CONFIG_PATA_ARTOP is not set |
860 | # CONFIG_PATA_ATP867X is not set | ||
849 | # CONFIG_PATA_ATIIXP is not set | 861 | # CONFIG_PATA_ATIIXP is not set |
850 | # CONFIG_PATA_CMD640_PCI is not set | 862 | # CONFIG_PATA_CMD640_PCI is not set |
851 | # CONFIG_PATA_CMD64X is not set | 863 | # CONFIG_PATA_CMD64X is not set |
@@ -873,6 +885,7 @@ CONFIG_SATA_SIL=y | |||
873 | # CONFIG_PATA_OPTIDMA is not set | 885 | # CONFIG_PATA_OPTIDMA is not set |
874 | # CONFIG_PATA_PDC_OLD is not set | 886 | # CONFIG_PATA_PDC_OLD is not set |
875 | # CONFIG_PATA_RADISYS is not set | 887 | # CONFIG_PATA_RADISYS is not set |
888 | # CONFIG_PATA_RDC is not set | ||
876 | # CONFIG_PATA_RZ1000 is not set | 889 | # CONFIG_PATA_RZ1000 is not set |
877 | # CONFIG_PATA_SC1200 is not set | 890 | # CONFIG_PATA_SC1200 is not set |
878 | # CONFIG_PATA_SERVERWORKS is not set | 891 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -949,7 +962,9 @@ CONFIG_MII=y | |||
949 | # CONFIG_NET_PCI is not set | 962 | # CONFIG_NET_PCI is not set |
950 | # CONFIG_B44 is not set | 963 | # CONFIG_B44 is not set |
951 | # CONFIG_KS8842 is not set | 964 | # CONFIG_KS8842 is not set |
965 | # CONFIG_KS8851_MLL is not set | ||
952 | # CONFIG_ATL2 is not set | 966 | # CONFIG_ATL2 is not set |
967 | # CONFIG_XILINX_EMACLITE is not set | ||
953 | CONFIG_NETDEV_1000=y | 968 | CONFIG_NETDEV_1000=y |
954 | # CONFIG_ACENIC is not set | 969 | # CONFIG_ACENIC is not set |
955 | # CONFIG_DL2K is not set | 970 | # CONFIG_DL2K is not set |
@@ -979,10 +994,7 @@ CONFIG_GIANFAR=y | |||
979 | # CONFIG_JME is not set | 994 | # CONFIG_JME is not set |
980 | # CONFIG_NETDEV_10000 is not set | 995 | # CONFIG_NETDEV_10000 is not set |
981 | # CONFIG_TR is not set | 996 | # CONFIG_TR is not set |
982 | 997 | CONFIG_WLAN=y | |
983 | # | ||
984 | # Wireless LAN | ||
985 | # | ||
986 | # CONFIG_WLAN_PRE80211 is not set | 998 | # CONFIG_WLAN_PRE80211 is not set |
987 | # CONFIG_WLAN_80211 is not set | 999 | # CONFIG_WLAN_80211 is not set |
988 | 1000 | ||
@@ -1120,6 +1132,7 @@ CONFIG_HW_RANDOM=y | |||
1120 | CONFIG_DEVPORT=y | 1132 | CONFIG_DEVPORT=y |
1121 | CONFIG_I2C=y | 1133 | CONFIG_I2C=y |
1122 | CONFIG_I2C_BOARDINFO=y | 1134 | CONFIG_I2C_BOARDINFO=y |
1135 | CONFIG_I2C_COMPAT=y | ||
1123 | CONFIG_I2C_CHARDEV=y | 1136 | CONFIG_I2C_CHARDEV=y |
1124 | CONFIG_I2C_HELPER_AUTO=y | 1137 | CONFIG_I2C_HELPER_AUTO=y |
1125 | 1138 | ||
@@ -1175,9 +1188,6 @@ CONFIG_I2C_MPC=y | |||
1175 | # Miscellaneous I2C Chip support | 1188 | # Miscellaneous I2C Chip support |
1176 | # | 1189 | # |
1177 | CONFIG_DS1682=y | 1190 | CONFIG_DS1682=y |
1178 | # CONFIG_SENSORS_PCF8574 is not set | ||
1179 | # CONFIG_PCF8575 is not set | ||
1180 | # CONFIG_SENSORS_PCA9539 is not set | ||
1181 | # CONFIG_SENSORS_TSL2550 is not set | 1191 | # CONFIG_SENSORS_TSL2550 is not set |
1182 | # CONFIG_I2C_DEBUG_CORE is not set | 1192 | # CONFIG_I2C_DEBUG_CORE is not set |
1183 | # CONFIG_I2C_DEBUG_ALGO is not set | 1193 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1211,14 +1221,24 @@ CONFIG_GPIOLIB=y | |||
1211 | # PCI GPIO expanders: | 1221 | # PCI GPIO expanders: |
1212 | # | 1222 | # |
1213 | # CONFIG_GPIO_BT8XX is not set | 1223 | # CONFIG_GPIO_BT8XX is not set |
1224 | # CONFIG_GPIO_LANGWELL is not set | ||
1214 | 1225 | ||
1215 | # | 1226 | # |
1216 | # SPI GPIO expanders: | 1227 | # SPI GPIO expanders: |
1217 | # | 1228 | # |
1229 | |||
1230 | # | ||
1231 | # AC97 GPIO expanders: | ||
1232 | # | ||
1218 | # CONFIG_W1 is not set | 1233 | # CONFIG_W1 is not set |
1219 | # CONFIG_POWER_SUPPLY is not set | 1234 | # CONFIG_POWER_SUPPLY is not set |
1220 | CONFIG_HWMON=y | 1235 | CONFIG_HWMON=y |
1221 | # CONFIG_HWMON_VID is not set | 1236 | # CONFIG_HWMON_VID is not set |
1237 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1238 | |||
1239 | # | ||
1240 | # Native drivers | ||
1241 | # | ||
1222 | # CONFIG_SENSORS_AD7414 is not set | 1242 | # CONFIG_SENSORS_AD7414 is not set |
1223 | # CONFIG_SENSORS_AD7418 is not set | 1243 | # CONFIG_SENSORS_AD7418 is not set |
1224 | # CONFIG_SENSORS_ADM1021 is not set | 1244 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1269,6 +1289,7 @@ CONFIG_SENSORS_LM92=y | |||
1269 | # CONFIG_SENSORS_ADS7828 is not set | 1289 | # CONFIG_SENSORS_ADS7828 is not set |
1270 | # CONFIG_SENSORS_THMC50 is not set | 1290 | # CONFIG_SENSORS_THMC50 is not set |
1271 | # CONFIG_SENSORS_TMP401 is not set | 1291 | # CONFIG_SENSORS_TMP401 is not set |
1292 | # CONFIG_SENSORS_TMP421 is not set | ||
1272 | # CONFIG_SENSORS_VIA686A is not set | 1293 | # CONFIG_SENSORS_VIA686A is not set |
1273 | # CONFIG_SENSORS_VT1211 is not set | 1294 | # CONFIG_SENSORS_VT1211 is not set |
1274 | # CONFIG_SENSORS_VT8231 is not set | 1295 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1280,9 +1301,7 @@ CONFIG_SENSORS_LM92=y | |||
1280 | # CONFIG_SENSORS_W83L786NG is not set | 1301 | # CONFIG_SENSORS_W83L786NG is not set |
1281 | # CONFIG_SENSORS_W83627HF is not set | 1302 | # CONFIG_SENSORS_W83627HF is not set |
1282 | # CONFIG_SENSORS_W83627EHF is not set | 1303 | # CONFIG_SENSORS_W83627EHF is not set |
1283 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1284 | # CONFIG_THERMAL is not set | 1304 | # CONFIG_THERMAL is not set |
1285 | # CONFIG_THERMAL_HWMON is not set | ||
1286 | CONFIG_WATCHDOG=y | 1305 | CONFIG_WATCHDOG=y |
1287 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1306 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1288 | 1307 | ||
@@ -1322,6 +1341,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1322 | # CONFIG_MFD_TMIO is not set | 1341 | # CONFIG_MFD_TMIO is not set |
1323 | # CONFIG_PMIC_DA903X is not set | 1342 | # CONFIG_PMIC_DA903X is not set |
1324 | # CONFIG_MFD_WM8400 is not set | 1343 | # CONFIG_MFD_WM8400 is not set |
1344 | # CONFIG_MFD_WM831X is not set | ||
1325 | # CONFIG_MFD_WM8350_I2C is not set | 1345 | # CONFIG_MFD_WM8350_I2C is not set |
1326 | # CONFIG_MFD_PCF50633 is not set | 1346 | # CONFIG_MFD_PCF50633 is not set |
1327 | # CONFIG_AB3100_CORE is not set | 1347 | # CONFIG_AB3100_CORE is not set |
@@ -1332,6 +1352,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1332 | # Graphics support | 1352 | # Graphics support |
1333 | # | 1353 | # |
1334 | # CONFIG_AGP is not set | 1354 | # CONFIG_AGP is not set |
1355 | CONFIG_VGA_ARB=y | ||
1335 | # CONFIG_DRM is not set | 1356 | # CONFIG_DRM is not set |
1336 | # CONFIG_VGASTATE is not set | 1357 | # CONFIG_VGASTATE is not set |
1337 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1358 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1352,7 +1373,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1352 | # CONFIG_SOUND is not set | 1373 | # CONFIG_SOUND is not set |
1353 | CONFIG_HID_SUPPORT=y | 1374 | CONFIG_HID_SUPPORT=y |
1354 | CONFIG_HID=y | 1375 | CONFIG_HID=y |
1355 | # CONFIG_HID_DEBUG is not set | ||
1356 | # CONFIG_HIDRAW is not set | 1376 | # CONFIG_HIDRAW is not set |
1357 | 1377 | ||
1358 | # | 1378 | # |
@@ -1375,6 +1395,7 @@ CONFIG_HID_CYPRESS=y | |||
1375 | CONFIG_HID_EZKEY=y | 1395 | CONFIG_HID_EZKEY=y |
1376 | # CONFIG_HID_KYE is not set | 1396 | # CONFIG_HID_KYE is not set |
1377 | CONFIG_HID_GYRATION=y | 1397 | CONFIG_HID_GYRATION=y |
1398 | # CONFIG_HID_TWINHAN is not set | ||
1378 | # CONFIG_HID_KENSINGTON is not set | 1399 | # CONFIG_HID_KENSINGTON is not set |
1379 | CONFIG_HID_LOGITECH=y | 1400 | CONFIG_HID_LOGITECH=y |
1380 | # CONFIG_LOGITECH_FF is not set | 1401 | # CONFIG_LOGITECH_FF is not set |
@@ -1427,6 +1448,7 @@ CONFIG_USB_EHCI_HCD=y | |||
1427 | # CONFIG_USB_OXU210HP_HCD is not set | 1448 | # CONFIG_USB_OXU210HP_HCD is not set |
1428 | # CONFIG_USB_ISP116X_HCD is not set | 1449 | # CONFIG_USB_ISP116X_HCD is not set |
1429 | # CONFIG_USB_ISP1760_HCD is not set | 1450 | # CONFIG_USB_ISP1760_HCD is not set |
1451 | # CONFIG_USB_ISP1362_HCD is not set | ||
1430 | CONFIG_USB_OHCI_HCD=y | 1452 | CONFIG_USB_OHCI_HCD=y |
1431 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | 1453 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set |
1432 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1454 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1502,6 +1524,7 @@ CONFIG_USB_STORAGE=y | |||
1502 | # CONFIG_USB_LD is not set | 1524 | # CONFIG_USB_LD is not set |
1503 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1525 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1504 | # CONFIG_USB_IOWARRIOR is not set | 1526 | # CONFIG_USB_IOWARRIOR is not set |
1527 | # CONFIG_USB_TEST is not set | ||
1505 | # CONFIG_USB_ISIGHTFW is not set | 1528 | # CONFIG_USB_ISIGHTFW is not set |
1506 | # CONFIG_USB_VST is not set | 1529 | # CONFIG_USB_VST is not set |
1507 | # CONFIG_USB_ATM is not set | 1530 | # CONFIG_USB_ATM is not set |
@@ -1607,6 +1630,7 @@ CONFIG_FS_POSIX_ACL=y | |||
1607 | # CONFIG_GFS2_FS is not set | 1630 | # CONFIG_GFS2_FS is not set |
1608 | # CONFIG_OCFS2_FS is not set | 1631 | # CONFIG_OCFS2_FS is not set |
1609 | # CONFIG_BTRFS_FS is not set | 1632 | # CONFIG_BTRFS_FS is not set |
1633 | # CONFIG_NILFS2_FS is not set | ||
1610 | CONFIG_FILE_LOCKING=y | 1634 | CONFIG_FILE_LOCKING=y |
1611 | CONFIG_FSNOTIFY=y | 1635 | CONFIG_FSNOTIFY=y |
1612 | CONFIG_DNOTIFY=y | 1636 | CONFIG_DNOTIFY=y |
@@ -1669,7 +1693,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1669 | # CONFIG_ROMFS_FS is not set | 1693 | # CONFIG_ROMFS_FS is not set |
1670 | # CONFIG_SYSV_FS is not set | 1694 | # CONFIG_SYSV_FS is not set |
1671 | # CONFIG_UFS_FS is not set | 1695 | # CONFIG_UFS_FS is not set |
1672 | # CONFIG_NILFS2_FS is not set | ||
1673 | CONFIG_NETWORK_FILESYSTEMS=y | 1696 | CONFIG_NETWORK_FILESYSTEMS=y |
1674 | CONFIG_NFS_FS=y | 1697 | CONFIG_NFS_FS=y |
1675 | CONFIG_NFS_V3=y | 1698 | CONFIG_NFS_V3=y |
@@ -1775,6 +1798,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1775 | CONFIG_ENABLE_MUST_CHECK=y | 1798 | CONFIG_ENABLE_MUST_CHECK=y |
1776 | CONFIG_FRAME_WARN=1024 | 1799 | CONFIG_FRAME_WARN=1024 |
1777 | CONFIG_MAGIC_SYSRQ=y | 1800 | CONFIG_MAGIC_SYSRQ=y |
1801 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1778 | # CONFIG_UNUSED_SYMBOLS is not set | 1802 | # CONFIG_UNUSED_SYMBOLS is not set |
1779 | # CONFIG_DEBUG_FS is not set | 1803 | # CONFIG_DEBUG_FS is not set |
1780 | # CONFIG_HEADERS_CHECK is not set | 1804 | # CONFIG_HEADERS_CHECK is not set |
@@ -1791,6 +1815,7 @@ CONFIG_SCHED_DEBUG=y | |||
1791 | # CONFIG_TIMER_STATS is not set | 1815 | # CONFIG_TIMER_STATS is not set |
1792 | # CONFIG_DEBUG_OBJECTS is not set | 1816 | # CONFIG_DEBUG_OBJECTS is not set |
1793 | # CONFIG_DEBUG_SLAB is not set | 1817 | # CONFIG_DEBUG_SLAB is not set |
1818 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1794 | CONFIG_DEBUG_PREEMPT=y | 1819 | CONFIG_DEBUG_PREEMPT=y |
1795 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1820 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1796 | # CONFIG_RT_MUTEX_TESTER is not set | 1821 | # CONFIG_RT_MUTEX_TESTER is not set |
@@ -1810,10 +1835,12 @@ CONFIG_DEBUG_INFO=y | |||
1810 | # CONFIG_DEBUG_LIST is not set | 1835 | # CONFIG_DEBUG_LIST is not set |
1811 | # CONFIG_DEBUG_SG is not set | 1836 | # CONFIG_DEBUG_SG is not set |
1812 | # CONFIG_DEBUG_NOTIFIERS is not set | 1837 | # CONFIG_DEBUG_NOTIFIERS is not set |
1838 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1813 | # CONFIG_RCU_TORTURE_TEST is not set | 1839 | # CONFIG_RCU_TORTURE_TEST is not set |
1814 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1840 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1815 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1841 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1816 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1842 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1843 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1817 | # CONFIG_FAULT_INJECTION is not set | 1844 | # CONFIG_FAULT_INJECTION is not set |
1818 | # CONFIG_LATENCYTOP is not set | 1845 | # CONFIG_LATENCYTOP is not set |
1819 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1846 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1837,10 +1864,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1837 | # CONFIG_KMEMTRACE is not set | 1864 | # CONFIG_KMEMTRACE is not set |
1838 | # CONFIG_WORKQUEUE_TRACER is not set | 1865 | # CONFIG_WORKQUEUE_TRACER is not set |
1839 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1866 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1867 | # CONFIG_DMA_API_DEBUG is not set | ||
1840 | # CONFIG_SAMPLES is not set | 1868 | # CONFIG_SAMPLES is not set |
1841 | CONFIG_HAVE_ARCH_KGDB=y | 1869 | CONFIG_HAVE_ARCH_KGDB=y |
1842 | # CONFIG_KGDB is not set | 1870 | # CONFIG_KGDB is not set |
1843 | # CONFIG_KMEMCHECK is not set | ||
1844 | # CONFIG_PPC_DISABLE_WERROR is not set | 1871 | # CONFIG_PPC_DISABLE_WERROR is not set |
1845 | CONFIG_PPC_WERROR=y | 1872 | CONFIG_PPC_WERROR=y |
1846 | CONFIG_PRINT_STACK_DEPTH=64 | 1873 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1872,7 +1899,6 @@ CONFIG_CRYPTO=y | |||
1872 | # | 1899 | # |
1873 | # Crypto core or helper | 1900 | # Crypto core or helper |
1874 | # | 1901 | # |
1875 | # CONFIG_CRYPTO_FIPS is not set | ||
1876 | CONFIG_CRYPTO_ALGAPI=y | 1902 | CONFIG_CRYPTO_ALGAPI=y |
1877 | CONFIG_CRYPTO_ALGAPI2=y | 1903 | CONFIG_CRYPTO_ALGAPI2=y |
1878 | CONFIG_CRYPTO_AEAD=m | 1904 | CONFIG_CRYPTO_AEAD=m |
@@ -1915,11 +1941,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1915 | # | 1941 | # |
1916 | CONFIG_CRYPTO_HMAC=y | 1942 | CONFIG_CRYPTO_HMAC=y |
1917 | # CONFIG_CRYPTO_XCBC is not set | 1943 | # CONFIG_CRYPTO_XCBC is not set |
1944 | # CONFIG_CRYPTO_VMAC is not set | ||
1918 | 1945 | ||
1919 | # | 1946 | # |
1920 | # Digest | 1947 | # Digest |
1921 | # | 1948 | # |
1922 | CONFIG_CRYPTO_CRC32C=m | 1949 | CONFIG_CRYPTO_CRC32C=m |
1950 | # CONFIG_CRYPTO_GHASH is not set | ||
1923 | CONFIG_CRYPTO_MD4=m | 1951 | CONFIG_CRYPTO_MD4=m |
1924 | CONFIG_CRYPTO_MD5=y | 1952 | CONFIG_CRYPTO_MD5=y |
1925 | CONFIG_CRYPTO_MICHAEL_MIC=m | 1953 | CONFIG_CRYPTO_MICHAEL_MIC=m |
diff --git a/arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig b/arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig index a61f183f7186..de4d52504fe4 100644 --- a/arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig +++ b/arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:27 2009 | 4 | # Thu Nov 5 08:20:45 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -83,11 +84,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
83 | # | 84 | # |
84 | # RCU Subsystem | 85 | # RCU Subsystem |
85 | # | 86 | # |
86 | CONFIG_CLASSIC_RCU=y | 87 | CONFIG_TREE_RCU=y |
87 | # CONFIG_TREE_RCU is not set | 88 | # CONFIG_TREE_PREEMPT_RCU is not set |
88 | # CONFIG_PREEMPT_RCU is not set | 89 | # CONFIG_RCU_TRACE is not set |
90 | CONFIG_RCU_FANOUT=32 | ||
91 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
89 | # CONFIG_TREE_RCU_TRACE is not set | 92 | # CONFIG_TREE_RCU_TRACE is not set |
90 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
91 | CONFIG_IKCONFIG=y | 93 | CONFIG_IKCONFIG=y |
92 | CONFIG_IKCONFIG_PROC=y | 94 | CONFIG_IKCONFIG_PROC=y |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -126,22 +128,21 @@ CONFIG_TIMERFD=y | |||
126 | CONFIG_EVENTFD=y | 128 | CONFIG_EVENTFD=y |
127 | CONFIG_SHMEM=y | 129 | CONFIG_SHMEM=y |
128 | CONFIG_AIO=y | 130 | CONFIG_AIO=y |
129 | CONFIG_HAVE_PERF_COUNTERS=y | 131 | CONFIG_HAVE_PERF_EVENTS=y |
130 | 132 | ||
131 | # | 133 | # |
132 | # Performance Counters | 134 | # Kernel Performance Events And Counters |
133 | # | 135 | # |
136 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | 137 | # CONFIG_PERF_COUNTERS is not set |
135 | CONFIG_VM_EVENT_COUNTERS=y | 138 | CONFIG_VM_EVENT_COUNTERS=y |
136 | CONFIG_PCI_QUIRKS=y | 139 | CONFIG_PCI_QUIRKS=y |
137 | CONFIG_SLUB_DEBUG=y | 140 | CONFIG_SLUB_DEBUG=y |
138 | # CONFIG_STRIP_ASM_SYMS is not set | ||
139 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
140 | # CONFIG_SLAB is not set | 142 | # CONFIG_SLAB is not set |
141 | CONFIG_SLUB=y | 143 | CONFIG_SLUB=y |
142 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
143 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
144 | # CONFIG_MARKERS is not set | ||
145 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
146 | # CONFIG_KPROBES is not set | 147 | # CONFIG_KPROBES is not set |
147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 148 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -149,6 +150,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
149 | CONFIG_HAVE_KPROBES=y | 150 | CONFIG_HAVE_KPROBES=y |
150 | CONFIG_HAVE_KRETPROBES=y | 151 | CONFIG_HAVE_KRETPROBES=y |
151 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 152 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
153 | CONFIG_HAVE_DMA_ATTRS=y | ||
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
152 | 155 | ||
153 | # | 156 | # |
154 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -251,6 +254,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
251 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 254 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
252 | # CONFIG_KEXEC is not set | 255 | # CONFIG_KEXEC is not set |
253 | # CONFIG_CRASH_DUMP is not set | 256 | # CONFIG_CRASH_DUMP is not set |
257 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
254 | CONFIG_ARCH_FLATMEM_ENABLE=y | 258 | CONFIG_ARCH_FLATMEM_ENABLE=y |
255 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 259 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
256 | CONFIG_SELECT_MEMORY_MODEL=y | 260 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -268,6 +272,7 @@ CONFIG_BOUNCE=y | |||
268 | CONFIG_VIRT_TO_BUS=y | 272 | CONFIG_VIRT_TO_BUS=y |
269 | CONFIG_HAVE_MLOCK=y | 273 | CONFIG_HAVE_MLOCK=y |
270 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 274 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
275 | # CONFIG_KSM is not set | ||
271 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
272 | CONFIG_PPC_4K_PAGES=y | 277 | CONFIG_PPC_4K_PAGES=y |
273 | # CONFIG_PPC_16K_PAGES is not set | 278 | # CONFIG_PPC_16K_PAGES is not set |
@@ -385,6 +390,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y | |||
385 | # CONFIG_NETFILTER is not set | 390 | # CONFIG_NETFILTER is not set |
386 | # CONFIG_IP_DCCP is not set | 391 | # CONFIG_IP_DCCP is not set |
387 | # CONFIG_IP_SCTP is not set | 392 | # CONFIG_IP_SCTP is not set |
393 | # CONFIG_RDS is not set | ||
388 | # CONFIG_TIPC is not set | 394 | # CONFIG_TIPC is not set |
389 | # CONFIG_ATM is not set | 395 | # CONFIG_ATM is not set |
390 | # CONFIG_BRIDGE is not set | 396 | # CONFIG_BRIDGE is not set |
@@ -414,6 +420,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y | |||
414 | # CONFIG_AF_RXRPC is not set | 420 | # CONFIG_AF_RXRPC is not set |
415 | CONFIG_WIRELESS=y | 421 | CONFIG_WIRELESS=y |
416 | # CONFIG_CFG80211 is not set | 422 | # CONFIG_CFG80211 is not set |
423 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
417 | CONFIG_WIRELESS_OLD_REGULATORY=y | 424 | CONFIG_WIRELESS_OLD_REGULATORY=y |
418 | # CONFIG_WIRELESS_EXT is not set | 425 | # CONFIG_WIRELESS_EXT is not set |
419 | # CONFIG_LIB80211 is not set | 426 | # CONFIG_LIB80211 is not set |
@@ -421,7 +428,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
421 | # | 428 | # |
422 | # CFG80211 needs to be enabled for MAC80211 | 429 | # CFG80211 needs to be enabled for MAC80211 |
423 | # | 430 | # |
424 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
425 | # CONFIG_WIMAX is not set | 431 | # CONFIG_WIMAX is not set |
426 | # CONFIG_RFKILL is not set | 432 | # CONFIG_RFKILL is not set |
427 | # CONFIG_NET_9P is not set | 433 | # CONFIG_NET_9P is not set |
@@ -434,6 +440,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
434 | # Generic Driver Options | 440 | # Generic Driver Options |
435 | # | 441 | # |
436 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 442 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
443 | # CONFIG_DEVTMPFS is not set | ||
437 | CONFIG_STANDALONE=y | 444 | CONFIG_STANDALONE=y |
438 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 445 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
439 | CONFIG_FW_LOADER=y | 446 | CONFIG_FW_LOADER=y |
@@ -445,9 +452,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
445 | # CONFIG_CONNECTOR is not set | 452 | # CONFIG_CONNECTOR is not set |
446 | CONFIG_MTD=y | 453 | CONFIG_MTD=y |
447 | # CONFIG_MTD_DEBUG is not set | 454 | # CONFIG_MTD_DEBUG is not set |
455 | # CONFIG_MTD_TESTS is not set | ||
448 | # CONFIG_MTD_CONCAT is not set | 456 | # CONFIG_MTD_CONCAT is not set |
449 | CONFIG_MTD_PARTITIONS=y | 457 | CONFIG_MTD_PARTITIONS=y |
450 | # CONFIG_MTD_TESTS is not set | ||
451 | # CONFIG_MTD_REDBOOT_PARTS is not set | 458 | # CONFIG_MTD_REDBOOT_PARTS is not set |
452 | CONFIG_MTD_CMDLINE_PARTS=y | 459 | CONFIG_MTD_CMDLINE_PARTS=y |
453 | # CONFIG_MTD_OF_PARTS is not set | 460 | # CONFIG_MTD_OF_PARTS is not set |
@@ -662,6 +669,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
662 | CONFIG_SCSI_LOWLEVEL=y | 669 | CONFIG_SCSI_LOWLEVEL=y |
663 | # CONFIG_ISCSI_TCP is not set | 670 | # CONFIG_ISCSI_TCP is not set |
664 | # CONFIG_SCSI_BNX2_ISCSI is not set | 671 | # CONFIG_SCSI_BNX2_ISCSI is not set |
672 | # CONFIG_BE2ISCSI is not set | ||
665 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 673 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
666 | # CONFIG_SCSI_3W_9XXX is not set | 674 | # CONFIG_SCSI_3W_9XXX is not set |
667 | # CONFIG_SCSI_ACARD is not set | 675 | # CONFIG_SCSI_ACARD is not set |
@@ -701,11 +709,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
701 | # CONFIG_SCSI_DC390T is not set | 709 | # CONFIG_SCSI_DC390T is not set |
702 | # CONFIG_SCSI_NSP32 is not set | 710 | # CONFIG_SCSI_NSP32 is not set |
703 | # CONFIG_SCSI_DEBUG is not set | 711 | # CONFIG_SCSI_DEBUG is not set |
712 | # CONFIG_SCSI_PMCRAID is not set | ||
704 | # CONFIG_SCSI_SRP is not set | 713 | # CONFIG_SCSI_SRP is not set |
714 | # CONFIG_SCSI_BFA_FC is not set | ||
705 | # CONFIG_SCSI_DH is not set | 715 | # CONFIG_SCSI_DH is not set |
706 | # CONFIG_SCSI_OSD_INITIATOR is not set | 716 | # CONFIG_SCSI_OSD_INITIATOR is not set |
707 | CONFIG_ATA=y | 717 | CONFIG_ATA=y |
708 | # CONFIG_ATA_NONSTANDARD is not set | 718 | # CONFIG_ATA_NONSTANDARD is not set |
719 | CONFIG_ATA_VERBOSE_ERROR=y | ||
709 | CONFIG_SATA_PMP=y | 720 | CONFIG_SATA_PMP=y |
710 | CONFIG_SATA_AHCI=y | 721 | CONFIG_SATA_AHCI=y |
711 | # CONFIG_SATA_SIL24 is not set | 722 | # CONFIG_SATA_SIL24 is not set |
@@ -728,6 +739,7 @@ CONFIG_ATA_SFF=y | |||
728 | CONFIG_PATA_ALI=y | 739 | CONFIG_PATA_ALI=y |
729 | # CONFIG_PATA_AMD is not set | 740 | # CONFIG_PATA_AMD is not set |
730 | # CONFIG_PATA_ARTOP is not set | 741 | # CONFIG_PATA_ARTOP is not set |
742 | # CONFIG_PATA_ATP867X is not set | ||
731 | # CONFIG_PATA_ATIIXP is not set | 743 | # CONFIG_PATA_ATIIXP is not set |
732 | # CONFIG_PATA_CMD640_PCI is not set | 744 | # CONFIG_PATA_CMD640_PCI is not set |
733 | # CONFIG_PATA_CMD64X is not set | 745 | # CONFIG_PATA_CMD64X is not set |
@@ -755,6 +767,7 @@ CONFIG_PATA_ALI=y | |||
755 | # CONFIG_PATA_OPTIDMA is not set | 767 | # CONFIG_PATA_OPTIDMA is not set |
756 | # CONFIG_PATA_PDC_OLD is not set | 768 | # CONFIG_PATA_PDC_OLD is not set |
757 | # CONFIG_PATA_RADISYS is not set | 769 | # CONFIG_PATA_RADISYS is not set |
770 | # CONFIG_PATA_RDC is not set | ||
758 | # CONFIG_PATA_RZ1000 is not set | 771 | # CONFIG_PATA_RZ1000 is not set |
759 | # CONFIG_PATA_SC1200 is not set | 772 | # CONFIG_PATA_SC1200 is not set |
760 | # CONFIG_PATA_SERVERWORKS is not set | 773 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -818,14 +831,13 @@ CONFIG_ULI526X=y | |||
818 | # CONFIG_NET_PCI is not set | 831 | # CONFIG_NET_PCI is not set |
819 | # CONFIG_B44 is not set | 832 | # CONFIG_B44 is not set |
820 | # CONFIG_KS8842 is not set | 833 | # CONFIG_KS8842 is not set |
834 | # CONFIG_KS8851_MLL is not set | ||
821 | # CONFIG_ATL2 is not set | 835 | # CONFIG_ATL2 is not set |
836 | # CONFIG_XILINX_EMACLITE is not set | ||
822 | # CONFIG_NETDEV_1000 is not set | 837 | # CONFIG_NETDEV_1000 is not set |
823 | # CONFIG_NETDEV_10000 is not set | 838 | # CONFIG_NETDEV_10000 is not set |
824 | # CONFIG_TR is not set | 839 | # CONFIG_TR is not set |
825 | 840 | CONFIG_WLAN=y | |
826 | # | ||
827 | # Wireless LAN | ||
828 | # | ||
829 | # CONFIG_WLAN_PRE80211 is not set | 841 | # CONFIG_WLAN_PRE80211 is not set |
830 | # CONFIG_WLAN_80211 is not set | 842 | # CONFIG_WLAN_80211 is not set |
831 | 843 | ||
@@ -929,6 +941,7 @@ CONFIG_UNIX98_PTYS=y | |||
929 | CONFIG_DEVPORT=y | 941 | CONFIG_DEVPORT=y |
930 | CONFIG_I2C=y | 942 | CONFIG_I2C=y |
931 | CONFIG_I2C_BOARDINFO=y | 943 | CONFIG_I2C_BOARDINFO=y |
944 | CONFIG_I2C_COMPAT=y | ||
932 | # CONFIG_I2C_CHARDEV is not set | 945 | # CONFIG_I2C_CHARDEV is not set |
933 | CONFIG_I2C_HELPER_AUTO=y | 946 | CONFIG_I2C_HELPER_AUTO=y |
934 | 947 | ||
@@ -982,9 +995,6 @@ CONFIG_I2C_MPC=y | |||
982 | # Miscellaneous I2C Chip support | 995 | # Miscellaneous I2C Chip support |
983 | # | 996 | # |
984 | # CONFIG_DS1682 is not set | 997 | # CONFIG_DS1682 is not set |
985 | # CONFIG_SENSORS_PCF8574 is not set | ||
986 | # CONFIG_PCF8575 is not set | ||
987 | # CONFIG_SENSORS_PCA9539 is not set | ||
988 | # CONFIG_SENSORS_TSL2550 is not set | 998 | # CONFIG_SENSORS_TSL2550 is not set |
989 | # CONFIG_I2C_DEBUG_CORE is not set | 999 | # CONFIG_I2C_DEBUG_CORE is not set |
990 | # CONFIG_I2C_DEBUG_ALGO is not set | 1000 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1002,7 +1012,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1002 | # CONFIG_POWER_SUPPLY is not set | 1012 | # CONFIG_POWER_SUPPLY is not set |
1003 | # CONFIG_HWMON is not set | 1013 | # CONFIG_HWMON is not set |
1004 | # CONFIG_THERMAL is not set | 1014 | # CONFIG_THERMAL is not set |
1005 | # CONFIG_THERMAL_HWMON is not set | ||
1006 | # CONFIG_WATCHDOG is not set | 1015 | # CONFIG_WATCHDOG is not set |
1007 | CONFIG_SSB_POSSIBLE=y | 1016 | CONFIG_SSB_POSSIBLE=y |
1008 | 1017 | ||
@@ -1021,6 +1030,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1021 | # CONFIG_MFD_TMIO is not set | 1030 | # CONFIG_MFD_TMIO is not set |
1022 | # CONFIG_PMIC_DA903X is not set | 1031 | # CONFIG_PMIC_DA903X is not set |
1023 | # CONFIG_MFD_WM8400 is not set | 1032 | # CONFIG_MFD_WM8400 is not set |
1033 | # CONFIG_MFD_WM831X is not set | ||
1024 | # CONFIG_MFD_WM8350_I2C is not set | 1034 | # CONFIG_MFD_WM8350_I2C is not set |
1025 | # CONFIG_MFD_PCF50633 is not set | 1035 | # CONFIG_MFD_PCF50633 is not set |
1026 | # CONFIG_AB3100_CORE is not set | 1036 | # CONFIG_AB3100_CORE is not set |
@@ -1031,6 +1041,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1031 | # Graphics support | 1041 | # Graphics support |
1032 | # | 1042 | # |
1033 | # CONFIG_AGP is not set | 1043 | # CONFIG_AGP is not set |
1044 | CONFIG_VGA_ARB=y | ||
1034 | # CONFIG_DRM is not set | 1045 | # CONFIG_DRM is not set |
1035 | # CONFIG_VGASTATE is not set | 1046 | # CONFIG_VGASTATE is not set |
1036 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1047 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1107,6 +1118,7 @@ CONFIG_DUMMY_CONSOLE=y | |||
1107 | # CONFIG_LOGO is not set | 1118 | # CONFIG_LOGO is not set |
1108 | CONFIG_SOUND=y | 1119 | CONFIG_SOUND=y |
1109 | CONFIG_SOUND_OSS_CORE=y | 1120 | CONFIG_SOUND_OSS_CORE=y |
1121 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1110 | CONFIG_SND=y | 1122 | CONFIG_SND=y |
1111 | CONFIG_SND_TIMER=y | 1123 | CONFIG_SND_TIMER=y |
1112 | CONFIG_SND_PCM=y | 1124 | CONFIG_SND_PCM=y |
@@ -1209,7 +1221,6 @@ CONFIG_SND_SOC_CS4270_VD33_ERRATA=y | |||
1209 | # CONFIG_SOUND_PRIME is not set | 1221 | # CONFIG_SOUND_PRIME is not set |
1210 | CONFIG_HID_SUPPORT=y | 1222 | CONFIG_HID_SUPPORT=y |
1211 | CONFIG_HID=y | 1223 | CONFIG_HID=y |
1212 | # CONFIG_HID_DEBUG is not set | ||
1213 | # CONFIG_HIDRAW is not set | 1224 | # CONFIG_HIDRAW is not set |
1214 | # CONFIG_HID_PID is not set | 1225 | # CONFIG_HID_PID is not set |
1215 | 1226 | ||
@@ -1329,6 +1340,7 @@ CONFIG_FS_MBCACHE=y | |||
1329 | # CONFIG_GFS2_FS is not set | 1340 | # CONFIG_GFS2_FS is not set |
1330 | # CONFIG_OCFS2_FS is not set | 1341 | # CONFIG_OCFS2_FS is not set |
1331 | # CONFIG_BTRFS_FS is not set | 1342 | # CONFIG_BTRFS_FS is not set |
1343 | # CONFIG_NILFS2_FS is not set | ||
1332 | CONFIG_FILE_LOCKING=y | 1344 | CONFIG_FILE_LOCKING=y |
1333 | CONFIG_FSNOTIFY=y | 1345 | CONFIG_FSNOTIFY=y |
1334 | # CONFIG_DNOTIFY is not set | 1346 | # CONFIG_DNOTIFY is not set |
@@ -1388,7 +1400,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1388 | # CONFIG_ROMFS_FS is not set | 1400 | # CONFIG_ROMFS_FS is not set |
1389 | # CONFIG_SYSV_FS is not set | 1401 | # CONFIG_SYSV_FS is not set |
1390 | # CONFIG_UFS_FS is not set | 1402 | # CONFIG_UFS_FS is not set |
1391 | # CONFIG_NILFS2_FS is not set | ||
1392 | CONFIG_NETWORK_FILESYSTEMS=y | 1403 | CONFIG_NETWORK_FILESYSTEMS=y |
1393 | CONFIG_NFS_FS=y | 1404 | CONFIG_NFS_FS=y |
1394 | CONFIG_NFS_V3=y | 1405 | CONFIG_NFS_V3=y |
@@ -1505,6 +1516,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1505 | CONFIG_ENABLE_MUST_CHECK=y | 1516 | CONFIG_ENABLE_MUST_CHECK=y |
1506 | CONFIG_FRAME_WARN=1024 | 1517 | CONFIG_FRAME_WARN=1024 |
1507 | # CONFIG_MAGIC_SYSRQ is not set | 1518 | # CONFIG_MAGIC_SYSRQ is not set |
1519 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1508 | # CONFIG_UNUSED_SYMBOLS is not set | 1520 | # CONFIG_UNUSED_SYMBOLS is not set |
1509 | # CONFIG_DEBUG_FS is not set | 1521 | # CONFIG_DEBUG_FS is not set |
1510 | # CONFIG_HEADERS_CHECK is not set | 1522 | # CONFIG_HEADERS_CHECK is not set |
@@ -1522,6 +1534,7 @@ CONFIG_SCHED_DEBUG=y | |||
1522 | # CONFIG_DEBUG_OBJECTS is not set | 1534 | # CONFIG_DEBUG_OBJECTS is not set |
1523 | # CONFIG_SLUB_DEBUG_ON is not set | 1535 | # CONFIG_SLUB_DEBUG_ON is not set |
1524 | # CONFIG_SLUB_STATS is not set | 1536 | # CONFIG_SLUB_STATS is not set |
1537 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1525 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1538 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1526 | # CONFIG_RT_MUTEX_TESTER is not set | 1539 | # CONFIG_RT_MUTEX_TESTER is not set |
1527 | # CONFIG_DEBUG_SPINLOCK is not set | 1540 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1541,10 +1554,12 @@ CONFIG_DEBUG_INFO=y | |||
1541 | # CONFIG_DEBUG_LIST is not set | 1554 | # CONFIG_DEBUG_LIST is not set |
1542 | # CONFIG_DEBUG_SG is not set | 1555 | # CONFIG_DEBUG_SG is not set |
1543 | # CONFIG_DEBUG_NOTIFIERS is not set | 1556 | # CONFIG_DEBUG_NOTIFIERS is not set |
1557 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1544 | # CONFIG_RCU_TORTURE_TEST is not set | 1558 | # CONFIG_RCU_TORTURE_TEST is not set |
1545 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1559 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1546 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1560 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1547 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1561 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1562 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1548 | # CONFIG_FAULT_INJECTION is not set | 1563 | # CONFIG_FAULT_INJECTION is not set |
1549 | # CONFIG_LATENCYTOP is not set | 1564 | # CONFIG_LATENCYTOP is not set |
1550 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1565 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1567,10 +1582,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1567 | # CONFIG_KMEMTRACE is not set | 1582 | # CONFIG_KMEMTRACE is not set |
1568 | # CONFIG_WORKQUEUE_TRACER is not set | 1583 | # CONFIG_WORKQUEUE_TRACER is not set |
1569 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1584 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1585 | # CONFIG_DMA_API_DEBUG is not set | ||
1570 | # CONFIG_SAMPLES is not set | 1586 | # CONFIG_SAMPLES is not set |
1571 | CONFIG_HAVE_ARCH_KGDB=y | 1587 | CONFIG_HAVE_ARCH_KGDB=y |
1572 | # CONFIG_KGDB is not set | 1588 | # CONFIG_KGDB is not set |
1573 | # CONFIG_KMEMCHECK is not set | ||
1574 | # CONFIG_PPC_DISABLE_WERROR is not set | 1589 | # CONFIG_PPC_DISABLE_WERROR is not set |
1575 | CONFIG_PPC_WERROR=y | 1590 | CONFIG_PPC_WERROR=y |
1576 | CONFIG_PRINT_STACK_DEPTH=64 | 1591 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1597,7 +1612,6 @@ CONFIG_CRYPTO=y | |||
1597 | # | 1612 | # |
1598 | # Crypto core or helper | 1613 | # Crypto core or helper |
1599 | # | 1614 | # |
1600 | # CONFIG_CRYPTO_FIPS is not set | ||
1601 | # CONFIG_CRYPTO_MANAGER is not set | 1615 | # CONFIG_CRYPTO_MANAGER is not set |
1602 | # CONFIG_CRYPTO_MANAGER2 is not set | 1616 | # CONFIG_CRYPTO_MANAGER2 is not set |
1603 | # CONFIG_CRYPTO_GF128MUL is not set | 1617 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1629,11 +1643,13 @@ CONFIG_CRYPTO=y | |||
1629 | # | 1643 | # |
1630 | # CONFIG_CRYPTO_HMAC is not set | 1644 | # CONFIG_CRYPTO_HMAC is not set |
1631 | # CONFIG_CRYPTO_XCBC is not set | 1645 | # CONFIG_CRYPTO_XCBC is not set |
1646 | # CONFIG_CRYPTO_VMAC is not set | ||
1632 | 1647 | ||
1633 | # | 1648 | # |
1634 | # Digest | 1649 | # Digest |
1635 | # | 1650 | # |
1636 | # CONFIG_CRYPTO_CRC32C is not set | 1651 | # CONFIG_CRYPTO_CRC32C is not set |
1652 | # CONFIG_CRYPTO_GHASH is not set | ||
1637 | # CONFIG_CRYPTO_MD4 is not set | 1653 | # CONFIG_CRYPTO_MD4 is not set |
1638 | # CONFIG_CRYPTO_MD5 is not set | 1654 | # CONFIG_CRYPTO_MD5 is not set |
1639 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1655 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig b/arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig index 7016ce732605..754a79ba74a9 100644 --- a/arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig +++ b/arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:28 2009 | 4 | # Thu Nov 5 08:20:46 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -87,11 +88,12 @@ CONFIG_AUDIT=y | |||
87 | # | 88 | # |
88 | # RCU Subsystem | 89 | # RCU Subsystem |
89 | # | 90 | # |
90 | CONFIG_CLASSIC_RCU=y | 91 | CONFIG_TREE_RCU=y |
91 | # CONFIG_TREE_RCU is not set | 92 | # CONFIG_TREE_PREEMPT_RCU is not set |
92 | # CONFIG_PREEMPT_RCU is not set | 93 | # CONFIG_RCU_TRACE is not set |
94 | CONFIG_RCU_FANOUT=32 | ||
95 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
93 | # CONFIG_TREE_RCU_TRACE is not set | 96 | # CONFIG_TREE_RCU_TRACE is not set |
94 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
95 | CONFIG_IKCONFIG=y | 97 | CONFIG_IKCONFIG=y |
96 | CONFIG_IKCONFIG_PROC=y | 98 | CONFIG_IKCONFIG_PROC=y |
97 | CONFIG_LOG_BUF_SHIFT=14 | 99 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -130,22 +132,21 @@ CONFIG_TIMERFD=y | |||
130 | CONFIG_EVENTFD=y | 132 | CONFIG_EVENTFD=y |
131 | CONFIG_SHMEM=y | 133 | CONFIG_SHMEM=y |
132 | CONFIG_AIO=y | 134 | CONFIG_AIO=y |
133 | CONFIG_HAVE_PERF_COUNTERS=y | 135 | CONFIG_HAVE_PERF_EVENTS=y |
134 | 136 | ||
135 | # | 137 | # |
136 | # Performance Counters | 138 | # Kernel Performance Events And Counters |
137 | # | 139 | # |
140 | # CONFIG_PERF_EVENTS is not set | ||
138 | # CONFIG_PERF_COUNTERS is not set | 141 | # CONFIG_PERF_COUNTERS is not set |
139 | CONFIG_VM_EVENT_COUNTERS=y | 142 | CONFIG_VM_EVENT_COUNTERS=y |
140 | CONFIG_PCI_QUIRKS=y | 143 | CONFIG_PCI_QUIRKS=y |
141 | CONFIG_SLUB_DEBUG=y | 144 | CONFIG_SLUB_DEBUG=y |
142 | # CONFIG_STRIP_ASM_SYMS is not set | ||
143 | CONFIG_COMPAT_BRK=y | 145 | CONFIG_COMPAT_BRK=y |
144 | # CONFIG_SLAB is not set | 146 | # CONFIG_SLAB is not set |
145 | CONFIG_SLUB=y | 147 | CONFIG_SLUB=y |
146 | # CONFIG_SLOB is not set | 148 | # CONFIG_SLOB is not set |
147 | # CONFIG_PROFILING is not set | 149 | # CONFIG_PROFILING is not set |
148 | # CONFIG_MARKERS is not set | ||
149 | CONFIG_HAVE_OPROFILE=y | 150 | CONFIG_HAVE_OPROFILE=y |
150 | # CONFIG_KPROBES is not set | 151 | # CONFIG_KPROBES is not set |
151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -153,7 +154,9 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
153 | CONFIG_HAVE_KPROBES=y | 154 | CONFIG_HAVE_KPROBES=y |
154 | CONFIG_HAVE_KRETPROBES=y | 155 | CONFIG_HAVE_KRETPROBES=y |
155 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 156 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
157 | CONFIG_HAVE_DMA_ATTRS=y | ||
156 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 158 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
159 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
157 | 160 | ||
158 | # | 161 | # |
159 | # GCOV-based kernel profiling | 162 | # GCOV-based kernel profiling |
@@ -251,13 +254,13 @@ CONFIG_BINFMT_ELF=y | |||
251 | CONFIG_BINFMT_MISC=m | 254 | CONFIG_BINFMT_MISC=m |
252 | CONFIG_IOMMU_HELPER=y | 255 | CONFIG_IOMMU_HELPER=y |
253 | CONFIG_SWIOTLB=y | 256 | CONFIG_SWIOTLB=y |
254 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
255 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 257 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
256 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 258 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
258 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
259 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
260 | # CONFIG_IRQ_ALL_CPUS is not set | 262 | # CONFIG_IRQ_ALL_CPUS is not set |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
261 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
262 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
263 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -275,6 +278,7 @@ CONFIG_BOUNCE=y | |||
275 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
276 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
278 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
279 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
280 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -404,6 +408,7 @@ CONFIG_IP_SCTP=m | |||
404 | # CONFIG_SCTP_HMAC_NONE is not set | 408 | # CONFIG_SCTP_HMAC_NONE is not set |
405 | # CONFIG_SCTP_HMAC_SHA1 is not set | 409 | # CONFIG_SCTP_HMAC_SHA1 is not set |
406 | CONFIG_SCTP_HMAC_MD5=y | 410 | CONFIG_SCTP_HMAC_MD5=y |
411 | # CONFIG_RDS is not set | ||
407 | # CONFIG_TIPC is not set | 412 | # CONFIG_TIPC is not set |
408 | # CONFIG_ATM is not set | 413 | # CONFIG_ATM is not set |
409 | # CONFIG_BRIDGE is not set | 414 | # CONFIG_BRIDGE is not set |
@@ -434,6 +439,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
434 | CONFIG_FIB_RULES=y | 439 | CONFIG_FIB_RULES=y |
435 | CONFIG_WIRELESS=y | 440 | CONFIG_WIRELESS=y |
436 | # CONFIG_CFG80211 is not set | 441 | # CONFIG_CFG80211 is not set |
442 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
437 | CONFIG_WIRELESS_OLD_REGULATORY=y | 443 | CONFIG_WIRELESS_OLD_REGULATORY=y |
438 | # CONFIG_WIRELESS_EXT is not set | 444 | # CONFIG_WIRELESS_EXT is not set |
439 | # CONFIG_LIB80211 is not set | 445 | # CONFIG_LIB80211 is not set |
@@ -441,7 +447,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
441 | # | 447 | # |
442 | # CFG80211 needs to be enabled for MAC80211 | 448 | # CFG80211 needs to be enabled for MAC80211 |
443 | # | 449 | # |
444 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
445 | # CONFIG_WIMAX is not set | 450 | # CONFIG_WIMAX is not set |
446 | # CONFIG_RFKILL is not set | 451 | # CONFIG_RFKILL is not set |
447 | # CONFIG_NET_9P is not set | 452 | # CONFIG_NET_9P is not set |
@@ -454,6 +459,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
454 | # Generic Driver Options | 459 | # Generic Driver Options |
455 | # | 460 | # |
456 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 461 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
462 | # CONFIG_DEVTMPFS is not set | ||
457 | CONFIG_STANDALONE=y | 463 | CONFIG_STANDALONE=y |
458 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 464 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
459 | CONFIG_FW_LOADER=y | 465 | CONFIG_FW_LOADER=y |
@@ -546,6 +552,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
546 | # CONFIG_ISCSI_TCP is not set | 552 | # CONFIG_ISCSI_TCP is not set |
547 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 553 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
548 | # CONFIG_SCSI_BNX2_ISCSI is not set | 554 | # CONFIG_SCSI_BNX2_ISCSI is not set |
555 | # CONFIG_BE2ISCSI is not set | ||
549 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 556 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
550 | # CONFIG_SCSI_3W_9XXX is not set | 557 | # CONFIG_SCSI_3W_9XXX is not set |
551 | # CONFIG_SCSI_ACARD is not set | 558 | # CONFIG_SCSI_ACARD is not set |
@@ -585,11 +592,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
585 | # CONFIG_SCSI_DC390T is not set | 592 | # CONFIG_SCSI_DC390T is not set |
586 | # CONFIG_SCSI_NSP32 is not set | 593 | # CONFIG_SCSI_NSP32 is not set |
587 | # CONFIG_SCSI_DEBUG is not set | 594 | # CONFIG_SCSI_DEBUG is not set |
595 | # CONFIG_SCSI_PMCRAID is not set | ||
588 | # CONFIG_SCSI_SRP is not set | 596 | # CONFIG_SCSI_SRP is not set |
597 | # CONFIG_SCSI_BFA_FC is not set | ||
589 | # CONFIG_SCSI_DH is not set | 598 | # CONFIG_SCSI_DH is not set |
590 | # CONFIG_SCSI_OSD_INITIATOR is not set | 599 | # CONFIG_SCSI_OSD_INITIATOR is not set |
591 | CONFIG_ATA=y | 600 | CONFIG_ATA=y |
592 | # CONFIG_ATA_NONSTANDARD is not set | 601 | # CONFIG_ATA_NONSTANDARD is not set |
602 | CONFIG_ATA_VERBOSE_ERROR=y | ||
593 | CONFIG_SATA_PMP=y | 603 | CONFIG_SATA_PMP=y |
594 | CONFIG_SATA_AHCI=y | 604 | CONFIG_SATA_AHCI=y |
595 | # CONFIG_SATA_SIL24 is not set | 605 | # CONFIG_SATA_SIL24 is not set |
@@ -612,6 +622,7 @@ CONFIG_ATA_SFF=y | |||
612 | CONFIG_PATA_ALI=y | 622 | CONFIG_PATA_ALI=y |
613 | # CONFIG_PATA_AMD is not set | 623 | # CONFIG_PATA_AMD is not set |
614 | # CONFIG_PATA_ARTOP is not set | 624 | # CONFIG_PATA_ARTOP is not set |
625 | # CONFIG_PATA_ATP867X is not set | ||
615 | # CONFIG_PATA_ATIIXP is not set | 626 | # CONFIG_PATA_ATIIXP is not set |
616 | # CONFIG_PATA_CMD640_PCI is not set | 627 | # CONFIG_PATA_CMD640_PCI is not set |
617 | # CONFIG_PATA_CMD64X is not set | 628 | # CONFIG_PATA_CMD64X is not set |
@@ -639,6 +650,7 @@ CONFIG_PATA_ALI=y | |||
639 | # CONFIG_PATA_OPTIDMA is not set | 650 | # CONFIG_PATA_OPTIDMA is not set |
640 | # CONFIG_PATA_PDC_OLD is not set | 651 | # CONFIG_PATA_PDC_OLD is not set |
641 | # CONFIG_PATA_RADISYS is not set | 652 | # CONFIG_PATA_RADISYS is not set |
653 | # CONFIG_PATA_RDC is not set | ||
642 | # CONFIG_PATA_RZ1000 is not set | 654 | # CONFIG_PATA_RZ1000 is not set |
643 | # CONFIG_PATA_SC1200 is not set | 655 | # CONFIG_PATA_SC1200 is not set |
644 | # CONFIG_PATA_SERVERWORKS is not set | 656 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -715,7 +727,9 @@ CONFIG_MII=y | |||
715 | # CONFIG_NET_PCI is not set | 727 | # CONFIG_NET_PCI is not set |
716 | # CONFIG_B44 is not set | 728 | # CONFIG_B44 is not set |
717 | # CONFIG_KS8842 is not set | 729 | # CONFIG_KS8842 is not set |
730 | # CONFIG_KS8851_MLL is not set | ||
718 | # CONFIG_ATL2 is not set | 731 | # CONFIG_ATL2 is not set |
732 | # CONFIG_XILINX_EMACLITE is not set | ||
719 | CONFIG_NETDEV_1000=y | 733 | CONFIG_NETDEV_1000=y |
720 | # CONFIG_ACENIC is not set | 734 | # CONFIG_ACENIC is not set |
721 | # CONFIG_DL2K is not set | 735 | # CONFIG_DL2K is not set |
@@ -763,10 +777,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
763 | # CONFIG_SFC is not set | 777 | # CONFIG_SFC is not set |
764 | # CONFIG_BE2NET is not set | 778 | # CONFIG_BE2NET is not set |
765 | # CONFIG_TR is not set | 779 | # CONFIG_TR is not set |
766 | 780 | CONFIG_WLAN=y | |
767 | # | ||
768 | # Wireless LAN | ||
769 | # | ||
770 | # CONFIG_WLAN_PRE80211 is not set | 781 | # CONFIG_WLAN_PRE80211 is not set |
771 | # CONFIG_WLAN_80211 is not set | 782 | # CONFIG_WLAN_80211 is not set |
772 | 783 | ||
@@ -880,6 +891,7 @@ CONFIG_NVRAM=y | |||
880 | CONFIG_DEVPORT=y | 891 | CONFIG_DEVPORT=y |
881 | CONFIG_I2C=y | 892 | CONFIG_I2C=y |
882 | CONFIG_I2C_BOARDINFO=y | 893 | CONFIG_I2C_BOARDINFO=y |
894 | CONFIG_I2C_COMPAT=y | ||
883 | # CONFIG_I2C_CHARDEV is not set | 895 | # CONFIG_I2C_CHARDEV is not set |
884 | CONFIG_I2C_HELPER_AUTO=y | 896 | CONFIG_I2C_HELPER_AUTO=y |
885 | 897 | ||
@@ -934,9 +946,6 @@ CONFIG_I2C_MPC=y | |||
934 | # Miscellaneous I2C Chip support | 946 | # Miscellaneous I2C Chip support |
935 | # | 947 | # |
936 | # CONFIG_DS1682 is not set | 948 | # CONFIG_DS1682 is not set |
937 | # CONFIG_SENSORS_PCF8574 is not set | ||
938 | # CONFIG_PCF8575 is not set | ||
939 | # CONFIG_SENSORS_PCA9539 is not set | ||
940 | # CONFIG_SENSORS_TSL2550 is not set | 949 | # CONFIG_SENSORS_TSL2550 is not set |
941 | # CONFIG_I2C_DEBUG_CORE is not set | 950 | # CONFIG_I2C_DEBUG_CORE is not set |
942 | # CONFIG_I2C_DEBUG_ALGO is not set | 951 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -954,7 +963,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
954 | # CONFIG_POWER_SUPPLY is not set | 963 | # CONFIG_POWER_SUPPLY is not set |
955 | # CONFIG_HWMON is not set | 964 | # CONFIG_HWMON is not set |
956 | # CONFIG_THERMAL is not set | 965 | # CONFIG_THERMAL is not set |
957 | # CONFIG_THERMAL_HWMON is not set | ||
958 | # CONFIG_WATCHDOG is not set | 966 | # CONFIG_WATCHDOG is not set |
959 | CONFIG_SSB_POSSIBLE=y | 967 | CONFIG_SSB_POSSIBLE=y |
960 | 968 | ||
@@ -973,6 +981,7 @@ CONFIG_SSB_POSSIBLE=y | |||
973 | # CONFIG_MFD_TMIO is not set | 981 | # CONFIG_MFD_TMIO is not set |
974 | # CONFIG_PMIC_DA903X is not set | 982 | # CONFIG_PMIC_DA903X is not set |
975 | # CONFIG_MFD_WM8400 is not set | 983 | # CONFIG_MFD_WM8400 is not set |
984 | # CONFIG_MFD_WM831X is not set | ||
976 | # CONFIG_MFD_WM8350_I2C is not set | 985 | # CONFIG_MFD_WM8350_I2C is not set |
977 | # CONFIG_MFD_PCF50633 is not set | 986 | # CONFIG_MFD_PCF50633 is not set |
978 | # CONFIG_AB3100_CORE is not set | 987 | # CONFIG_AB3100_CORE is not set |
@@ -983,6 +992,7 @@ CONFIG_SSB_POSSIBLE=y | |||
983 | # Graphics support | 992 | # Graphics support |
984 | # | 993 | # |
985 | # CONFIG_AGP is not set | 994 | # CONFIG_AGP is not set |
995 | CONFIG_VGA_ARB=y | ||
986 | # CONFIG_DRM is not set | 996 | # CONFIG_DRM is not set |
987 | # CONFIG_VGASTATE is not set | 997 | # CONFIG_VGASTATE is not set |
988 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 998 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1002,6 +1012,7 @@ CONFIG_VGA_CONSOLE=y | |||
1002 | CONFIG_DUMMY_CONSOLE=y | 1012 | CONFIG_DUMMY_CONSOLE=y |
1003 | CONFIG_SOUND=y | 1013 | CONFIG_SOUND=y |
1004 | CONFIG_SOUND_OSS_CORE=y | 1014 | CONFIG_SOUND_OSS_CORE=y |
1015 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1005 | CONFIG_SND=y | 1016 | CONFIG_SND=y |
1006 | CONFIG_SND_TIMER=y | 1017 | CONFIG_SND_TIMER=y |
1007 | CONFIG_SND_PCM=y | 1018 | CONFIG_SND_PCM=y |
@@ -1105,7 +1116,6 @@ CONFIG_SND_USB=y | |||
1105 | CONFIG_AC97_BUS=y | 1116 | CONFIG_AC97_BUS=y |
1106 | CONFIG_HID_SUPPORT=y | 1117 | CONFIG_HID_SUPPORT=y |
1107 | CONFIG_HID=y | 1118 | CONFIG_HID=y |
1108 | # CONFIG_HID_DEBUG is not set | ||
1109 | # CONFIG_HIDRAW is not set | 1119 | # CONFIG_HIDRAW is not set |
1110 | 1120 | ||
1111 | # | 1121 | # |
@@ -1128,6 +1138,7 @@ CONFIG_HID_CYPRESS=y | |||
1128 | CONFIG_HID_EZKEY=y | 1138 | CONFIG_HID_EZKEY=y |
1129 | # CONFIG_HID_KYE is not set | 1139 | # CONFIG_HID_KYE is not set |
1130 | CONFIG_HID_GYRATION=y | 1140 | CONFIG_HID_GYRATION=y |
1141 | # CONFIG_HID_TWINHAN is not set | ||
1131 | # CONFIG_HID_KENSINGTON is not set | 1142 | # CONFIG_HID_KENSINGTON is not set |
1132 | CONFIG_HID_LOGITECH=y | 1143 | CONFIG_HID_LOGITECH=y |
1133 | # CONFIG_LOGITECH_FF is not set | 1144 | # CONFIG_LOGITECH_FF is not set |
@@ -1180,6 +1191,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1180 | # CONFIG_USB_OXU210HP_HCD is not set | 1191 | # CONFIG_USB_OXU210HP_HCD is not set |
1181 | # CONFIG_USB_ISP116X_HCD is not set | 1192 | # CONFIG_USB_ISP116X_HCD is not set |
1182 | # CONFIG_USB_ISP1760_HCD is not set | 1193 | # CONFIG_USB_ISP1760_HCD is not set |
1194 | # CONFIG_USB_ISP1362_HCD is not set | ||
1183 | CONFIG_USB_OHCI_HCD=y | 1195 | CONFIG_USB_OHCI_HCD=y |
1184 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1196 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1185 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | 1197 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y |
@@ -1358,6 +1370,7 @@ CONFIG_FS_MBCACHE=y | |||
1358 | # CONFIG_GFS2_FS is not set | 1370 | # CONFIG_GFS2_FS is not set |
1359 | # CONFIG_OCFS2_FS is not set | 1371 | # CONFIG_OCFS2_FS is not set |
1360 | # CONFIG_BTRFS_FS is not set | 1372 | # CONFIG_BTRFS_FS is not set |
1373 | # CONFIG_NILFS2_FS is not set | ||
1361 | CONFIG_FILE_LOCKING=y | 1374 | CONFIG_FILE_LOCKING=y |
1362 | CONFIG_FSNOTIFY=y | 1375 | CONFIG_FSNOTIFY=y |
1363 | CONFIG_DNOTIFY=y | 1376 | CONFIG_DNOTIFY=y |
@@ -1428,7 +1441,6 @@ CONFIG_SYSV_FS=m | |||
1428 | CONFIG_UFS_FS=m | 1441 | CONFIG_UFS_FS=m |
1429 | # CONFIG_UFS_FS_WRITE is not set | 1442 | # CONFIG_UFS_FS_WRITE is not set |
1430 | # CONFIG_UFS_DEBUG is not set | 1443 | # CONFIG_UFS_DEBUG is not set |
1431 | # CONFIG_NILFS2_FS is not set | ||
1432 | CONFIG_NETWORK_FILESYSTEMS=y | 1444 | CONFIG_NETWORK_FILESYSTEMS=y |
1433 | CONFIG_NFS_FS=y | 1445 | CONFIG_NFS_FS=y |
1434 | CONFIG_NFS_V3=y | 1446 | CONFIG_NFS_V3=y |
@@ -1546,6 +1558,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1546 | CONFIG_ENABLE_MUST_CHECK=y | 1558 | CONFIG_ENABLE_MUST_CHECK=y |
1547 | CONFIG_FRAME_WARN=1024 | 1559 | CONFIG_FRAME_WARN=1024 |
1548 | # CONFIG_MAGIC_SYSRQ is not set | 1560 | # CONFIG_MAGIC_SYSRQ is not set |
1561 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1549 | # CONFIG_UNUSED_SYMBOLS is not set | 1562 | # CONFIG_UNUSED_SYMBOLS is not set |
1550 | # CONFIG_DEBUG_FS is not set | 1563 | # CONFIG_DEBUG_FS is not set |
1551 | # CONFIG_HEADERS_CHECK is not set | 1564 | # CONFIG_HEADERS_CHECK is not set |
@@ -1563,6 +1576,7 @@ CONFIG_SCHED_DEBUG=y | |||
1563 | # CONFIG_DEBUG_OBJECTS is not set | 1576 | # CONFIG_DEBUG_OBJECTS is not set |
1564 | # CONFIG_SLUB_DEBUG_ON is not set | 1577 | # CONFIG_SLUB_DEBUG_ON is not set |
1565 | # CONFIG_SLUB_STATS is not set | 1578 | # CONFIG_SLUB_STATS is not set |
1579 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1566 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1580 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1567 | # CONFIG_RT_MUTEX_TESTER is not set | 1581 | # CONFIG_RT_MUTEX_TESTER is not set |
1568 | # CONFIG_DEBUG_SPINLOCK is not set | 1582 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1582,10 +1596,12 @@ CONFIG_DEBUG_INFO=y | |||
1582 | # CONFIG_DEBUG_LIST is not set | 1596 | # CONFIG_DEBUG_LIST is not set |
1583 | # CONFIG_DEBUG_SG is not set | 1597 | # CONFIG_DEBUG_SG is not set |
1584 | # CONFIG_DEBUG_NOTIFIERS is not set | 1598 | # CONFIG_DEBUG_NOTIFIERS is not set |
1599 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1585 | # CONFIG_RCU_TORTURE_TEST is not set | 1600 | # CONFIG_RCU_TORTURE_TEST is not set |
1586 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1601 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1587 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1602 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1588 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1603 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1604 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1589 | # CONFIG_FAULT_INJECTION is not set | 1605 | # CONFIG_FAULT_INJECTION is not set |
1590 | # CONFIG_LATENCYTOP is not set | 1606 | # CONFIG_LATENCYTOP is not set |
1591 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1607 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1608,10 +1624,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1608 | # CONFIG_KMEMTRACE is not set | 1624 | # CONFIG_KMEMTRACE is not set |
1609 | # CONFIG_WORKQUEUE_TRACER is not set | 1625 | # CONFIG_WORKQUEUE_TRACER is not set |
1610 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1626 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1627 | # CONFIG_DMA_API_DEBUG is not set | ||
1611 | # CONFIG_SAMPLES is not set | 1628 | # CONFIG_SAMPLES is not set |
1612 | CONFIG_HAVE_ARCH_KGDB=y | 1629 | CONFIG_HAVE_ARCH_KGDB=y |
1613 | # CONFIG_KGDB is not set | 1630 | # CONFIG_KGDB is not set |
1614 | # CONFIG_KMEMCHECK is not set | ||
1615 | # CONFIG_PPC_DISABLE_WERROR is not set | 1631 | # CONFIG_PPC_DISABLE_WERROR is not set |
1616 | CONFIG_PPC_WERROR=y | 1632 | CONFIG_PPC_WERROR=y |
1617 | CONFIG_PRINT_STACK_DEPTH=64 | 1633 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1638,7 +1654,6 @@ CONFIG_CRYPTO=y | |||
1638 | # | 1654 | # |
1639 | # Crypto core or helper | 1655 | # Crypto core or helper |
1640 | # | 1656 | # |
1641 | # CONFIG_CRYPTO_FIPS is not set | ||
1642 | CONFIG_CRYPTO_ALGAPI=y | 1657 | CONFIG_CRYPTO_ALGAPI=y |
1643 | CONFIG_CRYPTO_ALGAPI2=y | 1658 | CONFIG_CRYPTO_ALGAPI2=y |
1644 | CONFIG_CRYPTO_AEAD2=y | 1659 | CONFIG_CRYPTO_AEAD2=y |
@@ -1680,11 +1695,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1680 | # | 1695 | # |
1681 | CONFIG_CRYPTO_HMAC=y | 1696 | CONFIG_CRYPTO_HMAC=y |
1682 | # CONFIG_CRYPTO_XCBC is not set | 1697 | # CONFIG_CRYPTO_XCBC is not set |
1698 | # CONFIG_CRYPTO_VMAC is not set | ||
1683 | 1699 | ||
1684 | # | 1700 | # |
1685 | # Digest | 1701 | # Digest |
1686 | # | 1702 | # |
1687 | CONFIG_CRYPTO_CRC32C=m | 1703 | CONFIG_CRYPTO_CRC32C=m |
1704 | # CONFIG_CRYPTO_GHASH is not set | ||
1688 | # CONFIG_CRYPTO_MD4 is not set | 1705 | # CONFIG_CRYPTO_MD4 is not set |
1689 | CONFIG_CRYPTO_MD5=y | 1706 | CONFIG_CRYPTO_MD5=y |
1690 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1707 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/86xx/sbc8641d_defconfig b/arch/powerpc/configs/86xx/sbc8641d_defconfig index f5ca2e0cd402..89991f157ae8 100644 --- a/arch/powerpc/configs/86xx/sbc8641d_defconfig +++ b/arch/powerpc/configs/86xx/sbc8641d_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:26 2009 | 4 | # Thu Nov 5 08:20:45 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -87,11 +88,12 @@ CONFIG_BSD_PROCESS_ACCT_V3=y | |||
87 | # | 88 | # |
88 | # RCU Subsystem | 89 | # RCU Subsystem |
89 | # | 90 | # |
90 | CONFIG_CLASSIC_RCU=y | 91 | CONFIG_TREE_RCU=y |
91 | # CONFIG_TREE_RCU is not set | 92 | # CONFIG_TREE_PREEMPT_RCU is not set |
92 | # CONFIG_PREEMPT_RCU is not set | 93 | # CONFIG_RCU_TRACE is not set |
94 | CONFIG_RCU_FANOUT=32 | ||
95 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
93 | # CONFIG_TREE_RCU_TRACE is not set | 96 | # CONFIG_TREE_RCU_TRACE is not set |
94 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
95 | CONFIG_IKCONFIG=y | 97 | CONFIG_IKCONFIG=y |
96 | CONFIG_IKCONFIG_PROC=y | 98 | CONFIG_IKCONFIG_PROC=y |
97 | CONFIG_LOG_BUF_SHIFT=14 | 99 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -130,21 +132,20 @@ CONFIG_TIMERFD=y | |||
130 | CONFIG_EVENTFD=y | 132 | CONFIG_EVENTFD=y |
131 | CONFIG_SHMEM=y | 133 | CONFIG_SHMEM=y |
132 | CONFIG_AIO=y | 134 | CONFIG_AIO=y |
133 | CONFIG_HAVE_PERF_COUNTERS=y | 135 | CONFIG_HAVE_PERF_EVENTS=y |
134 | 136 | ||
135 | # | 137 | # |
136 | # Performance Counters | 138 | # Kernel Performance Events And Counters |
137 | # | 139 | # |
140 | # CONFIG_PERF_EVENTS is not set | ||
138 | # CONFIG_PERF_COUNTERS is not set | 141 | # CONFIG_PERF_COUNTERS is not set |
139 | CONFIG_VM_EVENT_COUNTERS=y | 142 | CONFIG_VM_EVENT_COUNTERS=y |
140 | CONFIG_PCI_QUIRKS=y | 143 | CONFIG_PCI_QUIRKS=y |
141 | # CONFIG_STRIP_ASM_SYMS is not set | ||
142 | CONFIG_COMPAT_BRK=y | 144 | CONFIG_COMPAT_BRK=y |
143 | CONFIG_SLAB=y | 145 | CONFIG_SLAB=y |
144 | # CONFIG_SLUB is not set | 146 | # CONFIG_SLUB is not set |
145 | # CONFIG_SLOB is not set | 147 | # CONFIG_SLOB is not set |
146 | # CONFIG_PROFILING is not set | 148 | # CONFIG_PROFILING is not set |
147 | # CONFIG_MARKERS is not set | ||
148 | CONFIG_HAVE_OPROFILE=y | 149 | CONFIG_HAVE_OPROFILE=y |
149 | # CONFIG_KPROBES is not set | 150 | # CONFIG_KPROBES is not set |
150 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -152,13 +153,15 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
152 | CONFIG_HAVE_KPROBES=y | 153 | CONFIG_HAVE_KPROBES=y |
153 | CONFIG_HAVE_KRETPROBES=y | 154 | CONFIG_HAVE_KRETPROBES=y |
154 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 155 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
156 | CONFIG_HAVE_DMA_ATTRS=y | ||
155 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 157 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
158 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
156 | 159 | ||
157 | # | 160 | # |
158 | # GCOV-based kernel profiling | 161 | # GCOV-based kernel profiling |
159 | # | 162 | # |
160 | # CONFIG_GCOV_KERNEL is not set | 163 | # CONFIG_GCOV_KERNEL is not set |
161 | # CONFIG_SLOW_WORK is not set | 164 | CONFIG_SLOW_WORK=y |
162 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 165 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
163 | CONFIG_SLABINFO=y | 166 | CONFIG_SLABINFO=y |
164 | CONFIG_RT_MUTEXES=y | 167 | CONFIG_RT_MUTEXES=y |
@@ -257,6 +260,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | |||
257 | # CONFIG_KEXEC is not set | 260 | # CONFIG_KEXEC is not set |
258 | # CONFIG_CRASH_DUMP is not set | 261 | # CONFIG_CRASH_DUMP is not set |
259 | CONFIG_IRQ_ALL_CPUS=y | 262 | CONFIG_IRQ_ALL_CPUS=y |
263 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
260 | CONFIG_ARCH_FLATMEM_ENABLE=y | 264 | CONFIG_ARCH_FLATMEM_ENABLE=y |
261 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 265 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
262 | CONFIG_SELECT_MEMORY_MODEL=y | 266 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -274,6 +278,7 @@ CONFIG_BOUNCE=y | |||
274 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
275 | CONFIG_HAVE_MLOCK=y | 279 | CONFIG_HAVE_MLOCK=y |
276 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 280 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
281 | # CONFIG_KSM is not set | ||
277 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 282 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
278 | CONFIG_PPC_4K_PAGES=y | 283 | CONFIG_PPC_4K_PAGES=y |
279 | # CONFIG_PPC_16K_PAGES is not set | 284 | # CONFIG_PPC_16K_PAGES is not set |
@@ -502,6 +507,7 @@ CONFIG_IP_SCTP=m | |||
502 | # CONFIG_SCTP_HMAC_NONE is not set | 507 | # CONFIG_SCTP_HMAC_NONE is not set |
503 | # CONFIG_SCTP_HMAC_SHA1 is not set | 508 | # CONFIG_SCTP_HMAC_SHA1 is not set |
504 | CONFIG_SCTP_HMAC_MD5=y | 509 | CONFIG_SCTP_HMAC_MD5=y |
510 | # CONFIG_RDS is not set | ||
505 | CONFIG_TIPC=m | 511 | CONFIG_TIPC=m |
506 | # CONFIG_TIPC_ADVANCED is not set | 512 | # CONFIG_TIPC_ADVANCED is not set |
507 | # CONFIG_TIPC_DEBUG is not set | 513 | # CONFIG_TIPC_DEBUG is not set |
@@ -581,6 +587,7 @@ CONFIG_NET_PKTGEN=m | |||
581 | CONFIG_FIB_RULES=y | 587 | CONFIG_FIB_RULES=y |
582 | CONFIG_WIRELESS=y | 588 | CONFIG_WIRELESS=y |
583 | # CONFIG_CFG80211 is not set | 589 | # CONFIG_CFG80211 is not set |
590 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
584 | CONFIG_WIRELESS_OLD_REGULATORY=y | 591 | CONFIG_WIRELESS_OLD_REGULATORY=y |
585 | # CONFIG_WIRELESS_EXT is not set | 592 | # CONFIG_WIRELESS_EXT is not set |
586 | # CONFIG_LIB80211 is not set | 593 | # CONFIG_LIB80211 is not set |
@@ -588,7 +595,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
588 | # | 595 | # |
589 | # CFG80211 needs to be enabled for MAC80211 | 596 | # CFG80211 needs to be enabled for MAC80211 |
590 | # | 597 | # |
591 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
592 | # CONFIG_WIMAX is not set | 598 | # CONFIG_WIMAX is not set |
593 | # CONFIG_RFKILL is not set | 599 | # CONFIG_RFKILL is not set |
594 | # CONFIG_NET_9P is not set | 600 | # CONFIG_NET_9P is not set |
@@ -601,6 +607,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
601 | # Generic Driver Options | 607 | # Generic Driver Options |
602 | # | 608 | # |
603 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 609 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
610 | # CONFIG_DEVTMPFS is not set | ||
604 | CONFIG_STANDALONE=y | 611 | CONFIG_STANDALONE=y |
605 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 612 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
606 | # CONFIG_FW_LOADER is not set | 613 | # CONFIG_FW_LOADER is not set |
@@ -610,9 +617,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
610 | # CONFIG_CONNECTOR is not set | 617 | # CONFIG_CONNECTOR is not set |
611 | CONFIG_MTD=y | 618 | CONFIG_MTD=y |
612 | # CONFIG_MTD_DEBUG is not set | 619 | # CONFIG_MTD_DEBUG is not set |
620 | # CONFIG_MTD_TESTS is not set | ||
613 | CONFIG_MTD_CONCAT=y | 621 | CONFIG_MTD_CONCAT=y |
614 | CONFIG_MTD_PARTITIONS=y | 622 | CONFIG_MTD_PARTITIONS=y |
615 | # CONFIG_MTD_TESTS is not set | ||
616 | # CONFIG_MTD_REDBOOT_PARTS is not set | 623 | # CONFIG_MTD_REDBOOT_PARTS is not set |
617 | # CONFIG_MTD_CMDLINE_PARTS is not set | 624 | # CONFIG_MTD_CMDLINE_PARTS is not set |
618 | # CONFIG_MTD_OF_PARTS is not set | 625 | # CONFIG_MTD_OF_PARTS is not set |
@@ -833,7 +840,9 @@ CONFIG_MII=y | |||
833 | # CONFIG_NET_PCI is not set | 840 | # CONFIG_NET_PCI is not set |
834 | # CONFIG_B44 is not set | 841 | # CONFIG_B44 is not set |
835 | # CONFIG_KS8842 is not set | 842 | # CONFIG_KS8842 is not set |
843 | # CONFIG_KS8851_MLL is not set | ||
836 | # CONFIG_ATL2 is not set | 844 | # CONFIG_ATL2 is not set |
845 | # CONFIG_XILINX_EMACLITE is not set | ||
837 | CONFIG_NETDEV_1000=y | 846 | CONFIG_NETDEV_1000=y |
838 | # CONFIG_ACENIC is not set | 847 | # CONFIG_ACENIC is not set |
839 | # CONFIG_DL2K is not set | 848 | # CONFIG_DL2K is not set |
@@ -863,10 +872,7 @@ CONFIG_GIANFAR=y | |||
863 | # CONFIG_JME is not set | 872 | # CONFIG_JME is not set |
864 | # CONFIG_NETDEV_10000 is not set | 873 | # CONFIG_NETDEV_10000 is not set |
865 | # CONFIG_TR is not set | 874 | # CONFIG_TR is not set |
866 | 875 | CONFIG_WLAN=y | |
867 | # | ||
868 | # Wireless LAN | ||
869 | # | ||
870 | # CONFIG_WLAN_PRE80211 is not set | 876 | # CONFIG_WLAN_PRE80211 is not set |
871 | # CONFIG_WLAN_80211 is not set | 877 | # CONFIG_WLAN_80211 is not set |
872 | 878 | ||
@@ -996,6 +1002,7 @@ CONFIG_HW_RANDOM=m | |||
996 | CONFIG_DEVPORT=y | 1002 | CONFIG_DEVPORT=y |
997 | CONFIG_I2C=y | 1003 | CONFIG_I2C=y |
998 | CONFIG_I2C_BOARDINFO=y | 1004 | CONFIG_I2C_BOARDINFO=y |
1005 | CONFIG_I2C_COMPAT=y | ||
999 | CONFIG_I2C_CHARDEV=y | 1006 | CONFIG_I2C_CHARDEV=y |
1000 | CONFIG_I2C_HELPER_AUTO=y | 1007 | CONFIG_I2C_HELPER_AUTO=y |
1001 | 1008 | ||
@@ -1049,9 +1056,6 @@ CONFIG_I2C_MPC=y | |||
1049 | # Miscellaneous I2C Chip support | 1056 | # Miscellaneous I2C Chip support |
1050 | # | 1057 | # |
1051 | # CONFIG_DS1682 is not set | 1058 | # CONFIG_DS1682 is not set |
1052 | # CONFIG_SENSORS_PCF8574 is not set | ||
1053 | # CONFIG_PCF8575 is not set | ||
1054 | # CONFIG_SENSORS_PCA9539 is not set | ||
1055 | # CONFIG_SENSORS_TSL2550 is not set | 1059 | # CONFIG_SENSORS_TSL2550 is not set |
1056 | # CONFIG_I2C_DEBUG_CORE is not set | 1060 | # CONFIG_I2C_DEBUG_CORE is not set |
1057 | # CONFIG_I2C_DEBUG_ALGO is not set | 1061 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1069,6 +1073,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1069 | # CONFIG_POWER_SUPPLY is not set | 1073 | # CONFIG_POWER_SUPPLY is not set |
1070 | CONFIG_HWMON=y | 1074 | CONFIG_HWMON=y |
1071 | # CONFIG_HWMON_VID is not set | 1075 | # CONFIG_HWMON_VID is not set |
1076 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1077 | |||
1078 | # | ||
1079 | # Native drivers | ||
1080 | # | ||
1072 | # CONFIG_SENSORS_AD7414 is not set | 1081 | # CONFIG_SENSORS_AD7414 is not set |
1073 | # CONFIG_SENSORS_AD7418 is not set | 1082 | # CONFIG_SENSORS_AD7418 is not set |
1074 | # CONFIG_SENSORS_ADM1021 is not set | 1083 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1118,6 +1127,7 @@ CONFIG_HWMON=y | |||
1118 | # CONFIG_SENSORS_ADS7828 is not set | 1127 | # CONFIG_SENSORS_ADS7828 is not set |
1119 | # CONFIG_SENSORS_THMC50 is not set | 1128 | # CONFIG_SENSORS_THMC50 is not set |
1120 | # CONFIG_SENSORS_TMP401 is not set | 1129 | # CONFIG_SENSORS_TMP401 is not set |
1130 | # CONFIG_SENSORS_TMP421 is not set | ||
1121 | # CONFIG_SENSORS_VIA686A is not set | 1131 | # CONFIG_SENSORS_VIA686A is not set |
1122 | # CONFIG_SENSORS_VT1211 is not set | 1132 | # CONFIG_SENSORS_VT1211 is not set |
1123 | # CONFIG_SENSORS_VT8231 is not set | 1133 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1129,9 +1139,7 @@ CONFIG_HWMON=y | |||
1129 | # CONFIG_SENSORS_W83L786NG is not set | 1139 | # CONFIG_SENSORS_W83L786NG is not set |
1130 | # CONFIG_SENSORS_W83627HF is not set | 1140 | # CONFIG_SENSORS_W83627HF is not set |
1131 | # CONFIG_SENSORS_W83627EHF is not set | 1141 | # CONFIG_SENSORS_W83627EHF is not set |
1132 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1133 | # CONFIG_THERMAL is not set | 1142 | # CONFIG_THERMAL is not set |
1134 | # CONFIG_THERMAL_HWMON is not set | ||
1135 | CONFIG_WATCHDOG=y | 1143 | CONFIG_WATCHDOG=y |
1136 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1144 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1137 | 1145 | ||
@@ -1164,6 +1172,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1164 | # CONFIG_MFD_TMIO is not set | 1172 | # CONFIG_MFD_TMIO is not set |
1165 | # CONFIG_PMIC_DA903X is not set | 1173 | # CONFIG_PMIC_DA903X is not set |
1166 | # CONFIG_MFD_WM8400 is not set | 1174 | # CONFIG_MFD_WM8400 is not set |
1175 | # CONFIG_MFD_WM831X is not set | ||
1167 | # CONFIG_MFD_WM8350_I2C is not set | 1176 | # CONFIG_MFD_WM8350_I2C is not set |
1168 | # CONFIG_MFD_PCF50633 is not set | 1177 | # CONFIG_MFD_PCF50633 is not set |
1169 | # CONFIG_AB3100_CORE is not set | 1178 | # CONFIG_AB3100_CORE is not set |
@@ -1174,6 +1183,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1174 | # Graphics support | 1183 | # Graphics support |
1175 | # | 1184 | # |
1176 | # CONFIG_AGP is not set | 1185 | # CONFIG_AGP is not set |
1186 | CONFIG_VGA_ARB=y | ||
1177 | # CONFIG_DRM is not set | 1187 | # CONFIG_DRM is not set |
1178 | # CONFIG_VGASTATE is not set | 1188 | # CONFIG_VGASTATE is not set |
1179 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1189 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1194,7 +1204,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1194 | # CONFIG_SOUND is not set | 1204 | # CONFIG_SOUND is not set |
1195 | CONFIG_HID_SUPPORT=y | 1205 | CONFIG_HID_SUPPORT=y |
1196 | CONFIG_HID=y | 1206 | CONFIG_HID=y |
1197 | # CONFIG_HID_DEBUG is not set | ||
1198 | # CONFIG_HIDRAW is not set | 1207 | # CONFIG_HIDRAW is not set |
1199 | # CONFIG_HID_PID is not set | 1208 | # CONFIG_HID_PID is not set |
1200 | 1209 | ||
@@ -1274,6 +1283,7 @@ CONFIG_OCFS2_DEBUG_MASKLOG=y | |||
1274 | # CONFIG_OCFS2_DEBUG_FS is not set | 1283 | # CONFIG_OCFS2_DEBUG_FS is not set |
1275 | # CONFIG_OCFS2_FS_POSIX_ACL is not set | 1284 | # CONFIG_OCFS2_FS_POSIX_ACL is not set |
1276 | # CONFIG_BTRFS_FS is not set | 1285 | # CONFIG_BTRFS_FS is not set |
1286 | # CONFIG_NILFS2_FS is not set | ||
1277 | CONFIG_FILE_LOCKING=y | 1287 | CONFIG_FILE_LOCKING=y |
1278 | CONFIG_FSNOTIFY=y | 1288 | CONFIG_FSNOTIFY=y |
1279 | CONFIG_DNOTIFY=y | 1289 | CONFIG_DNOTIFY=y |
@@ -1343,7 +1353,6 @@ CONFIG_ROMFS_BACKED_BY_BLOCK=y | |||
1343 | CONFIG_ROMFS_ON_BLOCK=y | 1353 | CONFIG_ROMFS_ON_BLOCK=y |
1344 | # CONFIG_SYSV_FS is not set | 1354 | # CONFIG_SYSV_FS is not set |
1345 | # CONFIG_UFS_FS is not set | 1355 | # CONFIG_UFS_FS is not set |
1346 | # CONFIG_NILFS2_FS is not set | ||
1347 | CONFIG_NETWORK_FILESYSTEMS=y | 1356 | CONFIG_NETWORK_FILESYSTEMS=y |
1348 | CONFIG_NFS_FS=y | 1357 | CONFIG_NFS_FS=y |
1349 | CONFIG_NFS_V3=y | 1358 | CONFIG_NFS_V3=y |
@@ -1451,6 +1460,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1451 | CONFIG_ENABLE_MUST_CHECK=y | 1460 | CONFIG_ENABLE_MUST_CHECK=y |
1452 | CONFIG_FRAME_WARN=1024 | 1461 | CONFIG_FRAME_WARN=1024 |
1453 | CONFIG_MAGIC_SYSRQ=y | 1462 | CONFIG_MAGIC_SYSRQ=y |
1463 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1454 | # CONFIG_UNUSED_SYMBOLS is not set | 1464 | # CONFIG_UNUSED_SYMBOLS is not set |
1455 | CONFIG_DEBUG_FS=y | 1465 | CONFIG_DEBUG_FS=y |
1456 | # CONFIG_HEADERS_CHECK is not set | 1466 | # CONFIG_HEADERS_CHECK is not set |
@@ -1467,6 +1477,7 @@ CONFIG_SCHED_DEBUG=y | |||
1467 | # CONFIG_TIMER_STATS is not set | 1477 | # CONFIG_TIMER_STATS is not set |
1468 | # CONFIG_DEBUG_OBJECTS is not set | 1478 | # CONFIG_DEBUG_OBJECTS is not set |
1469 | # CONFIG_DEBUG_SLAB is not set | 1479 | # CONFIG_DEBUG_SLAB is not set |
1480 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1470 | CONFIG_DEBUG_PREEMPT=y | 1481 | CONFIG_DEBUG_PREEMPT=y |
1471 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1482 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1472 | # CONFIG_RT_MUTEX_TESTER is not set | 1483 | # CONFIG_RT_MUTEX_TESTER is not set |
@@ -1486,10 +1497,12 @@ CONFIG_DEBUG_INFO=y | |||
1486 | # CONFIG_DEBUG_LIST is not set | 1497 | # CONFIG_DEBUG_LIST is not set |
1487 | # CONFIG_DEBUG_SG is not set | 1498 | # CONFIG_DEBUG_SG is not set |
1488 | # CONFIG_DEBUG_NOTIFIERS is not set | 1499 | # CONFIG_DEBUG_NOTIFIERS is not set |
1500 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1489 | # CONFIG_RCU_TORTURE_TEST is not set | 1501 | # CONFIG_RCU_TORTURE_TEST is not set |
1490 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1502 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1491 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1503 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1492 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1504 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1505 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1493 | # CONFIG_FAULT_INJECTION is not set | 1506 | # CONFIG_FAULT_INJECTION is not set |
1494 | # CONFIG_LATENCYTOP is not set | 1507 | # CONFIG_LATENCYTOP is not set |
1495 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1508 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1514,10 +1527,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1514 | # CONFIG_WORKQUEUE_TRACER is not set | 1527 | # CONFIG_WORKQUEUE_TRACER is not set |
1515 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1528 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1516 | # CONFIG_DYNAMIC_DEBUG is not set | 1529 | # CONFIG_DYNAMIC_DEBUG is not set |
1530 | # CONFIG_DMA_API_DEBUG is not set | ||
1517 | # CONFIG_SAMPLES is not set | 1531 | # CONFIG_SAMPLES is not set |
1518 | CONFIG_HAVE_ARCH_KGDB=y | 1532 | CONFIG_HAVE_ARCH_KGDB=y |
1519 | # CONFIG_KGDB is not set | 1533 | # CONFIG_KGDB is not set |
1520 | # CONFIG_KMEMCHECK is not set | ||
1521 | # CONFIG_PPC_DISABLE_WERROR is not set | 1534 | # CONFIG_PPC_DISABLE_WERROR is not set |
1522 | CONFIG_PPC_WERROR=y | 1535 | CONFIG_PPC_WERROR=y |
1523 | CONFIG_PRINT_STACK_DEPTH=64 | 1536 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1550,7 +1563,6 @@ CONFIG_CRYPTO=y | |||
1550 | # | 1563 | # |
1551 | # Crypto core or helper | 1564 | # Crypto core or helper |
1552 | # | 1565 | # |
1553 | # CONFIG_CRYPTO_FIPS is not set | ||
1554 | CONFIG_CRYPTO_ALGAPI=y | 1566 | CONFIG_CRYPTO_ALGAPI=y |
1555 | CONFIG_CRYPTO_ALGAPI2=y | 1567 | CONFIG_CRYPTO_ALGAPI2=y |
1556 | CONFIG_CRYPTO_AEAD=m | 1568 | CONFIG_CRYPTO_AEAD=m |
@@ -1593,11 +1605,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1593 | # | 1605 | # |
1594 | CONFIG_CRYPTO_HMAC=y | 1606 | CONFIG_CRYPTO_HMAC=y |
1595 | # CONFIG_CRYPTO_XCBC is not set | 1607 | # CONFIG_CRYPTO_XCBC is not set |
1608 | # CONFIG_CRYPTO_VMAC is not set | ||
1596 | 1609 | ||
1597 | # | 1610 | # |
1598 | # Digest | 1611 | # Digest |
1599 | # | 1612 | # |
1600 | CONFIG_CRYPTO_CRC32C=m | 1613 | CONFIG_CRYPTO_CRC32C=m |
1614 | # CONFIG_CRYPTO_GHASH is not set | ||
1601 | CONFIG_CRYPTO_MD4=m | 1615 | CONFIG_CRYPTO_MD4=m |
1602 | CONFIG_CRYPTO_MD5=y | 1616 | CONFIG_CRYPTO_MD5=y |
1603 | CONFIG_CRYPTO_MICHAEL_MIC=m | 1617 | CONFIG_CRYPTO_MICHAEL_MIC=m |
diff --git a/arch/powerpc/configs/adder875_defconfig b/arch/powerpc/configs/adder875_defconfig index aece6bb5f733..052cf134e018 100644 --- a/arch/powerpc/configs/adder875_defconfig +++ b/arch/powerpc/configs/adder875_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:47 2009 | 4 | # Thu Nov 5 08:20:04 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -16,6 +16,7 @@ CONFIG_PPC_8xx=y | |||
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_8xx=y | 17 | CONFIG_8xx=y |
18 | CONFIG_PPC_MMU_NOHASH=y | 18 | CONFIG_PPC_MMU_NOHASH=y |
19 | CONFIG_PPC_MMU_NOHASH_32=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | 20 | # CONFIG_PPC_MM_SLICES is not set |
20 | CONFIG_NOT_COHERENT_CACHE=y | 21 | CONFIG_NOT_COHERENT_CACHE=y |
21 | CONFIG_PPC32=y | 22 | CONFIG_PPC32=y |
@@ -29,6 +30,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
29 | CONFIG_GENERIC_HARDIRQS=y | 30 | CONFIG_GENERIC_HARDIRQS=y |
30 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 31 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
31 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 32 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
33 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
32 | CONFIG_IRQ_PER_CPU=y | 34 | CONFIG_IRQ_PER_CPU=y |
33 | CONFIG_STACKTRACE_SUPPORT=y | 35 | CONFIG_STACKTRACE_SUPPORT=y |
34 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -78,11 +80,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
78 | # | 80 | # |
79 | # RCU Subsystem | 81 | # RCU Subsystem |
80 | # | 82 | # |
81 | CONFIG_CLASSIC_RCU=y | 83 | CONFIG_TREE_RCU=y |
82 | # CONFIG_TREE_RCU is not set | 84 | # CONFIG_TREE_PREEMPT_RCU is not set |
83 | # CONFIG_PREEMPT_RCU is not set | 85 | # CONFIG_RCU_TRACE is not set |
86 | CONFIG_RCU_FANOUT=32 | ||
87 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
84 | # CONFIG_TREE_RCU_TRACE is not set | 88 | # CONFIG_TREE_RCU_TRACE is not set |
85 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
86 | # CONFIG_IKCONFIG is not set | 89 | # CONFIG_IKCONFIG is not set |
87 | CONFIG_LOG_BUF_SHIFT=14 | 90 | CONFIG_LOG_BUF_SHIFT=14 |
88 | CONFIG_GROUP_SCHED=y | 91 | CONFIG_GROUP_SCHED=y |
@@ -116,28 +119,29 @@ CONFIG_TIMERFD=y | |||
116 | CONFIG_EVENTFD=y | 119 | CONFIG_EVENTFD=y |
117 | CONFIG_SHMEM=y | 120 | CONFIG_SHMEM=y |
118 | CONFIG_AIO=y | 121 | CONFIG_AIO=y |
119 | CONFIG_HAVE_PERF_COUNTERS=y | 122 | CONFIG_HAVE_PERF_EVENTS=y |
120 | 123 | ||
121 | # | 124 | # |
122 | # Performance Counters | 125 | # Kernel Performance Events And Counters |
123 | # | 126 | # |
127 | # CONFIG_PERF_EVENTS is not set | ||
124 | # CONFIG_PERF_COUNTERS is not set | 128 | # CONFIG_PERF_COUNTERS is not set |
125 | # CONFIG_VM_EVENT_COUNTERS is not set | 129 | # CONFIG_VM_EVENT_COUNTERS is not set |
126 | CONFIG_SLUB_DEBUG=y | 130 | CONFIG_SLUB_DEBUG=y |
127 | # CONFIG_STRIP_ASM_SYMS is not set | ||
128 | CONFIG_COMPAT_BRK=y | 131 | CONFIG_COMPAT_BRK=y |
129 | # CONFIG_SLAB is not set | 132 | # CONFIG_SLAB is not set |
130 | CONFIG_SLUB=y | 133 | CONFIG_SLUB=y |
131 | # CONFIG_SLOB is not set | 134 | # CONFIG_SLOB is not set |
132 | # CONFIG_PROFILING is not set | 135 | # CONFIG_PROFILING is not set |
133 | # CONFIG_MARKERS is not set | ||
134 | CONFIG_HAVE_OPROFILE=y | 136 | CONFIG_HAVE_OPROFILE=y |
135 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 137 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
136 | CONFIG_HAVE_IOREMAP_PROT=y | 138 | CONFIG_HAVE_IOREMAP_PROT=y |
137 | CONFIG_HAVE_KPROBES=y | 139 | CONFIG_HAVE_KPROBES=y |
138 | CONFIG_HAVE_KRETPROBES=y | 140 | CONFIG_HAVE_KRETPROBES=y |
139 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 141 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
142 | CONFIG_HAVE_DMA_ATTRS=y | ||
140 | CONFIG_HAVE_CLK=y | 143 | CONFIG_HAVE_CLK=y |
144 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
141 | 145 | ||
142 | # | 146 | # |
143 | # GCOV-based kernel profiling | 147 | # GCOV-based kernel profiling |
@@ -235,10 +239,10 @@ CONFIG_BINFMT_ELF=y | |||
235 | # CONFIG_8XX_MINIMAL_FPEMU is not set | 239 | # CONFIG_8XX_MINIMAL_FPEMU is not set |
236 | # CONFIG_IOMMU_HELPER is not set | 240 | # CONFIG_IOMMU_HELPER is not set |
237 | # CONFIG_SWIOTLB is not set | 241 | # CONFIG_SWIOTLB is not set |
238 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
239 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 242 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
240 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 243 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
241 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
245 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
242 | CONFIG_ARCH_FLATMEM_ENABLE=y | 246 | CONFIG_ARCH_FLATMEM_ENABLE=y |
243 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 247 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
244 | CONFIG_SELECT_MEMORY_MODEL=y | 248 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -256,6 +260,7 @@ CONFIG_BOUNCE=y | |||
256 | CONFIG_VIRT_TO_BUS=y | 260 | CONFIG_VIRT_TO_BUS=y |
257 | CONFIG_HAVE_MLOCK=y | 261 | CONFIG_HAVE_MLOCK=y |
258 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 262 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
263 | # CONFIG_KSM is not set | ||
259 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 264 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
260 | CONFIG_PPC_4K_PAGES=y | 265 | CONFIG_PPC_4K_PAGES=y |
261 | # CONFIG_PPC_16K_PAGES is not set | 266 | # CONFIG_PPC_16K_PAGES is not set |
@@ -338,6 +343,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
338 | # CONFIG_NETFILTER is not set | 343 | # CONFIG_NETFILTER is not set |
339 | # CONFIG_IP_DCCP is not set | 344 | # CONFIG_IP_DCCP is not set |
340 | # CONFIG_IP_SCTP is not set | 345 | # CONFIG_IP_SCTP is not set |
346 | # CONFIG_RDS is not set | ||
341 | # CONFIG_TIPC is not set | 347 | # CONFIG_TIPC is not set |
342 | # CONFIG_ATM is not set | 348 | # CONFIG_ATM is not set |
343 | # CONFIG_BRIDGE is not set | 349 | # CONFIG_BRIDGE is not set |
@@ -367,6 +373,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
367 | # CONFIG_AF_RXRPC is not set | 373 | # CONFIG_AF_RXRPC is not set |
368 | CONFIG_WIRELESS=y | 374 | CONFIG_WIRELESS=y |
369 | # CONFIG_CFG80211 is not set | 375 | # CONFIG_CFG80211 is not set |
376 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
370 | CONFIG_WIRELESS_OLD_REGULATORY=y | 377 | CONFIG_WIRELESS_OLD_REGULATORY=y |
371 | # CONFIG_WIRELESS_EXT is not set | 378 | # CONFIG_WIRELESS_EXT is not set |
372 | # CONFIG_LIB80211 is not set | 379 | # CONFIG_LIB80211 is not set |
@@ -374,7 +381,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
374 | # | 381 | # |
375 | # CFG80211 needs to be enabled for MAC80211 | 382 | # CFG80211 needs to be enabled for MAC80211 |
376 | # | 383 | # |
377 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
378 | # CONFIG_WIMAX is not set | 384 | # CONFIG_WIMAX is not set |
379 | # CONFIG_RFKILL is not set | 385 | # CONFIG_RFKILL is not set |
380 | # CONFIG_NET_9P is not set | 386 | # CONFIG_NET_9P is not set |
@@ -387,6 +393,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
387 | # Generic Driver Options | 393 | # Generic Driver Options |
388 | # | 394 | # |
389 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 395 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
396 | # CONFIG_DEVTMPFS is not set | ||
390 | CONFIG_STANDALONE=y | 397 | CONFIG_STANDALONE=y |
391 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 398 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
392 | # CONFIG_FW_LOADER is not set | 399 | # CONFIG_FW_LOADER is not set |
@@ -530,16 +537,15 @@ CONFIG_MII=y | |||
530 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 537 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
531 | # CONFIG_B44 is not set | 538 | # CONFIG_B44 is not set |
532 | # CONFIG_KS8842 is not set | 539 | # CONFIG_KS8842 is not set |
540 | # CONFIG_KS8851_MLL is not set | ||
541 | # CONFIG_XILINX_EMACLITE is not set | ||
533 | CONFIG_FS_ENET=y | 542 | CONFIG_FS_ENET=y |
534 | # CONFIG_FS_ENET_HAS_SCC is not set | 543 | # CONFIG_FS_ENET_HAS_SCC is not set |
535 | CONFIG_FS_ENET_HAS_FEC=y | 544 | CONFIG_FS_ENET_HAS_FEC=y |
536 | CONFIG_FS_ENET_MDIO_FEC=y | 545 | CONFIG_FS_ENET_MDIO_FEC=y |
537 | # CONFIG_NETDEV_1000 is not set | 546 | # CONFIG_NETDEV_1000 is not set |
538 | # CONFIG_NETDEV_10000 is not set | 547 | # CONFIG_NETDEV_10000 is not set |
539 | 548 | CONFIG_WLAN=y | |
540 | # | ||
541 | # Wireless LAN | ||
542 | # | ||
543 | # CONFIG_WLAN_PRE80211 is not set | 549 | # CONFIG_WLAN_PRE80211 is not set |
544 | # CONFIG_WLAN_80211 is not set | 550 | # CONFIG_WLAN_80211 is not set |
545 | 551 | ||
@@ -580,6 +586,7 @@ CONFIG_INPUT_KEYBOARD=y | |||
580 | CONFIG_KEYBOARD_ATKBD=y | 586 | CONFIG_KEYBOARD_ATKBD=y |
581 | # CONFIG_KEYBOARD_LKKBD is not set | 587 | # CONFIG_KEYBOARD_LKKBD is not set |
582 | # CONFIG_KEYBOARD_NEWTON is not set | 588 | # CONFIG_KEYBOARD_NEWTON is not set |
589 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
583 | # CONFIG_KEYBOARD_STOWAWAY is not set | 590 | # CONFIG_KEYBOARD_STOWAWAY is not set |
584 | # CONFIG_KEYBOARD_SUNKBD is not set | 591 | # CONFIG_KEYBOARD_SUNKBD is not set |
585 | # CONFIG_KEYBOARD_XTKBD is not set | 592 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -590,6 +597,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
590 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 597 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
591 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 598 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
592 | # CONFIG_MOUSE_PS2_ELANTECH is not set | 599 | # CONFIG_MOUSE_PS2_ELANTECH is not set |
600 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
593 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 601 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
594 | # CONFIG_MOUSE_SERIAL is not set | 602 | # CONFIG_MOUSE_SERIAL is not set |
595 | # CONFIG_MOUSE_VSXXXAA is not set | 603 | # CONFIG_MOUSE_VSXXXAA is not set |
@@ -716,6 +724,7 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
716 | # CONFIG_GFS2_FS is not set | 724 | # CONFIG_GFS2_FS is not set |
717 | # CONFIG_OCFS2_FS is not set | 725 | # CONFIG_OCFS2_FS is not set |
718 | # CONFIG_BTRFS_FS is not set | 726 | # CONFIG_BTRFS_FS is not set |
727 | # CONFIG_NILFS2_FS is not set | ||
719 | CONFIG_FILE_LOCKING=y | 728 | CONFIG_FILE_LOCKING=y |
720 | CONFIG_FSNOTIFY=y | 729 | CONFIG_FSNOTIFY=y |
721 | # CONFIG_DNOTIFY is not set | 730 | # CONFIG_DNOTIFY is not set |
@@ -775,7 +784,6 @@ CONFIG_CRAMFS=y | |||
775 | # CONFIG_ROMFS_FS is not set | 784 | # CONFIG_ROMFS_FS is not set |
776 | # CONFIG_SYSV_FS is not set | 785 | # CONFIG_SYSV_FS is not set |
777 | # CONFIG_UFS_FS is not set | 786 | # CONFIG_UFS_FS is not set |
778 | # CONFIG_NILFS2_FS is not set | ||
779 | CONFIG_NETWORK_FILESYSTEMS=y | 787 | CONFIG_NETWORK_FILESYSTEMS=y |
780 | CONFIG_NFS_FS=y | 788 | CONFIG_NFS_FS=y |
781 | CONFIG_NFS_V3=y | 789 | CONFIG_NFS_V3=y |
@@ -847,6 +855,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
847 | CONFIG_ENABLE_MUST_CHECK=y | 855 | CONFIG_ENABLE_MUST_CHECK=y |
848 | CONFIG_FRAME_WARN=1024 | 856 | CONFIG_FRAME_WARN=1024 |
849 | CONFIG_MAGIC_SYSRQ=y | 857 | CONFIG_MAGIC_SYSRQ=y |
858 | # CONFIG_STRIP_ASM_SYMS is not set | ||
850 | # CONFIG_UNUSED_SYMBOLS is not set | 859 | # CONFIG_UNUSED_SYMBOLS is not set |
851 | CONFIG_DEBUG_FS=y | 860 | CONFIG_DEBUG_FS=y |
852 | # CONFIG_HEADERS_CHECK is not set | 861 | # CONFIG_HEADERS_CHECK is not set |
@@ -864,6 +873,7 @@ CONFIG_SCHED_DEBUG=y | |||
864 | # CONFIG_DEBUG_OBJECTS is not set | 873 | # CONFIG_DEBUG_OBJECTS is not set |
865 | # CONFIG_SLUB_DEBUG_ON is not set | 874 | # CONFIG_SLUB_DEBUG_ON is not set |
866 | # CONFIG_SLUB_STATS is not set | 875 | # CONFIG_SLUB_STATS is not set |
876 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
867 | # CONFIG_DEBUG_SPINLOCK is not set | 877 | # CONFIG_DEBUG_SPINLOCK is not set |
868 | # CONFIG_DEBUG_MUTEXES is not set | 878 | # CONFIG_DEBUG_MUTEXES is not set |
869 | # CONFIG_DEBUG_LOCK_ALLOC is not set | 879 | # CONFIG_DEBUG_LOCK_ALLOC is not set |
@@ -880,10 +890,12 @@ CONFIG_DEBUG_INFO=y | |||
880 | # CONFIG_DEBUG_LIST is not set | 890 | # CONFIG_DEBUG_LIST is not set |
881 | # CONFIG_DEBUG_SG is not set | 891 | # CONFIG_DEBUG_SG is not set |
882 | # CONFIG_DEBUG_NOTIFIERS is not set | 892 | # CONFIG_DEBUG_NOTIFIERS is not set |
893 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
883 | # CONFIG_RCU_TORTURE_TEST is not set | 894 | # CONFIG_RCU_TORTURE_TEST is not set |
884 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 895 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
885 | # CONFIG_BACKTRACE_SELF_TEST is not set | 896 | # CONFIG_BACKTRACE_SELF_TEST is not set |
886 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 897 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
898 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
887 | # CONFIG_FAULT_INJECTION is not set | 899 | # CONFIG_FAULT_INJECTION is not set |
888 | # CONFIG_LATENCYTOP is not set | 900 | # CONFIG_LATENCYTOP is not set |
889 | # CONFIG_DEBUG_PAGEALLOC is not set | 901 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -906,10 +918,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
906 | # CONFIG_WORKQUEUE_TRACER is not set | 918 | # CONFIG_WORKQUEUE_TRACER is not set |
907 | # CONFIG_BLK_DEV_IO_TRACE is not set | 919 | # CONFIG_BLK_DEV_IO_TRACE is not set |
908 | # CONFIG_DYNAMIC_DEBUG is not set | 920 | # CONFIG_DYNAMIC_DEBUG is not set |
921 | # CONFIG_DMA_API_DEBUG is not set | ||
909 | # CONFIG_SAMPLES is not set | 922 | # CONFIG_SAMPLES is not set |
910 | CONFIG_HAVE_ARCH_KGDB=y | 923 | CONFIG_HAVE_ARCH_KGDB=y |
911 | # CONFIG_KGDB is not set | 924 | # CONFIG_KGDB is not set |
912 | # CONFIG_KMEMCHECK is not set | ||
913 | # CONFIG_PPC_DISABLE_WERROR is not set | 925 | # CONFIG_PPC_DISABLE_WERROR is not set |
914 | CONFIG_PPC_WERROR=y | 926 | CONFIG_PPC_WERROR=y |
915 | CONFIG_PRINT_STACK_DEPTH=64 | 927 | CONFIG_PRINT_STACK_DEPTH=64 |
diff --git a/arch/powerpc/configs/c2k_defconfig b/arch/powerpc/configs/c2k_defconfig index 8105360d53f4..0fb65a85dfdf 100644 --- a/arch/powerpc/configs/c2k_defconfig +++ b/arch/powerpc/configs/c2k_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:48 2009 | 4 | # Thu Nov 5 08:20:05 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_PPC_STD_MMU=y | |||
22 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
23 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | 24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y |
25 | CONFIG_PPC_PERF_CTRS=y | ||
25 | # CONFIG_SMP is not set | 26 | # CONFIG_SMP is not set |
26 | CONFIG_NOT_COHERENT_CACHE=y | 27 | CONFIG_NOT_COHERENT_CACHE=y |
27 | CONFIG_CHECK_CACHE_COHERENCY=y | 28 | CONFIG_CHECK_CACHE_COHERENCY=y |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +90,12 @@ CONFIG_AUDIT_TREE=y | |||
88 | # | 90 | # |
89 | # RCU Subsystem | 91 | # RCU Subsystem |
90 | # | 92 | # |
91 | CONFIG_CLASSIC_RCU=y | 93 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 94 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 95 | # CONFIG_RCU_TRACE is not set |
96 | CONFIG_RCU_FANOUT=32 | ||
97 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 98 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | # CONFIG_IKCONFIG is not set | 99 | # CONFIG_IKCONFIG is not set |
97 | CONFIG_LOG_BUF_SHIFT=17 | 100 | CONFIG_LOG_BUF_SHIFT=17 |
98 | CONFIG_GROUP_SCHED=y | 101 | CONFIG_GROUP_SCHED=y |
@@ -135,23 +138,24 @@ CONFIG_TIMERFD=y | |||
135 | CONFIG_EVENTFD=y | 138 | CONFIG_EVENTFD=y |
136 | CONFIG_SHMEM=y | 139 | CONFIG_SHMEM=y |
137 | CONFIG_AIO=y | 140 | CONFIG_AIO=y |
138 | CONFIG_HAVE_PERF_COUNTERS=y | 141 | CONFIG_HAVE_PERF_EVENTS=y |
139 | 142 | ||
140 | # | 143 | # |
141 | # Performance Counters | 144 | # Kernel Performance Events And Counters |
142 | # | 145 | # |
146 | CONFIG_PERF_EVENTS=y | ||
147 | CONFIG_EVENT_PROFILE=y | ||
143 | # CONFIG_PERF_COUNTERS is not set | 148 | # CONFIG_PERF_COUNTERS is not set |
149 | # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||
144 | CONFIG_VM_EVENT_COUNTERS=y | 150 | CONFIG_VM_EVENT_COUNTERS=y |
145 | CONFIG_PCI_QUIRKS=y | 151 | CONFIG_PCI_QUIRKS=y |
146 | CONFIG_SLUB_DEBUG=y | 152 | CONFIG_SLUB_DEBUG=y |
147 | # CONFIG_STRIP_ASM_SYMS is not set | ||
148 | CONFIG_COMPAT_BRK=y | 153 | CONFIG_COMPAT_BRK=y |
149 | # CONFIG_SLAB is not set | 154 | # CONFIG_SLAB is not set |
150 | CONFIG_SLUB=y | 155 | CONFIG_SLUB=y |
151 | # CONFIG_SLOB is not set | 156 | # CONFIG_SLOB is not set |
152 | CONFIG_PROFILING=y | 157 | CONFIG_PROFILING=y |
153 | CONFIG_TRACEPOINTS=y | 158 | CONFIG_TRACEPOINTS=y |
154 | CONFIG_MARKERS=y | ||
155 | CONFIG_OPROFILE=m | 159 | CONFIG_OPROFILE=m |
156 | CONFIG_HAVE_OPROFILE=y | 160 | CONFIG_HAVE_OPROFILE=y |
157 | CONFIG_KPROBES=y | 161 | CONFIG_KPROBES=y |
@@ -161,12 +165,14 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
161 | CONFIG_HAVE_KPROBES=y | 165 | CONFIG_HAVE_KPROBES=y |
162 | CONFIG_HAVE_KRETPROBES=y | 166 | CONFIG_HAVE_KRETPROBES=y |
163 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 167 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
168 | CONFIG_HAVE_DMA_ATTRS=y | ||
169 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
164 | 170 | ||
165 | # | 171 | # |
166 | # GCOV-based kernel profiling | 172 | # GCOV-based kernel profiling |
167 | # | 173 | # |
168 | # CONFIG_GCOV_KERNEL is not set | 174 | # CONFIG_GCOV_KERNEL is not set |
169 | # CONFIG_SLOW_WORK is not set | 175 | CONFIG_SLOW_WORK=y |
170 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 176 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
171 | CONFIG_SLABINFO=y | 177 | CONFIG_SLABINFO=y |
172 | CONFIG_RT_MUTEXES=y | 178 | CONFIG_RT_MUTEXES=y |
@@ -275,12 +281,12 @@ CONFIG_BINFMT_ELF=y | |||
275 | CONFIG_BINFMT_MISC=y | 281 | CONFIG_BINFMT_MISC=y |
276 | # CONFIG_IOMMU_HELPER is not set | 282 | # CONFIG_IOMMU_HELPER is not set |
277 | # CONFIG_SWIOTLB is not set | 283 | # CONFIG_SWIOTLB is not set |
278 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
279 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 284 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
280 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 285 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
281 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 286 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
282 | # CONFIG_KEXEC is not set | 287 | # CONFIG_KEXEC is not set |
283 | # CONFIG_CRASH_DUMP is not set | 288 | # CONFIG_CRASH_DUMP is not set |
289 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
284 | CONFIG_ARCH_FLATMEM_ENABLE=y | 290 | CONFIG_ARCH_FLATMEM_ENABLE=y |
285 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 291 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
286 | CONFIG_SELECT_MEMORY_MODEL=y | 292 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -298,6 +304,7 @@ CONFIG_BOUNCE=y | |||
298 | CONFIG_VIRT_TO_BUS=y | 304 | CONFIG_VIRT_TO_BUS=y |
299 | CONFIG_HAVE_MLOCK=y | 305 | CONFIG_HAVE_MLOCK=y |
300 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 306 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
307 | # CONFIG_KSM is not set | ||
301 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 308 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
302 | CONFIG_PPC_4K_PAGES=y | 309 | CONFIG_PPC_4K_PAGES=y |
303 | # CONFIG_PPC_16K_PAGES is not set | 310 | # CONFIG_PPC_16K_PAGES is not set |
@@ -309,6 +316,7 @@ CONFIG_FORCE_MAX_ZONEORDER=11 | |||
309 | CONFIG_EXTRA_TARGETS="" | 316 | CONFIG_EXTRA_TARGETS="" |
310 | CONFIG_PM=y | 317 | CONFIG_PM=y |
311 | # CONFIG_PM_DEBUG is not set | 318 | # CONFIG_PM_DEBUG is not set |
319 | # CONFIG_PM_RUNTIME is not set | ||
312 | CONFIG_SECCOMP=y | 320 | CONFIG_SECCOMP=y |
313 | CONFIG_ISA_DMA_API=y | 321 | CONFIG_ISA_DMA_API=y |
314 | 322 | ||
@@ -674,10 +682,12 @@ CONFIG_BT_HCIBCM203X=m | |||
674 | # CONFIG_BT_HCIBPA10X is not set | 682 | # CONFIG_BT_HCIBPA10X is not set |
675 | CONFIG_BT_HCIBFUSB=m | 683 | CONFIG_BT_HCIBFUSB=m |
676 | CONFIG_BT_HCIVHCI=m | 684 | CONFIG_BT_HCIVHCI=m |
685 | # CONFIG_BT_MRVL is not set | ||
677 | # CONFIG_AF_RXRPC is not set | 686 | # CONFIG_AF_RXRPC is not set |
678 | CONFIG_FIB_RULES=y | 687 | CONFIG_FIB_RULES=y |
679 | CONFIG_WIRELESS=y | 688 | CONFIG_WIRELESS=y |
680 | # CONFIG_CFG80211 is not set | 689 | # CONFIG_CFG80211 is not set |
690 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
681 | CONFIG_WIRELESS_OLD_REGULATORY=y | 691 | CONFIG_WIRELESS_OLD_REGULATORY=y |
682 | CONFIG_WIRELESS_EXT=y | 692 | CONFIG_WIRELESS_EXT=y |
683 | CONFIG_WIRELESS_EXT_SYSFS=y | 693 | CONFIG_WIRELESS_EXT_SYSFS=y |
@@ -686,7 +696,6 @@ CONFIG_WIRELESS_EXT_SYSFS=y | |||
686 | # | 696 | # |
687 | # CFG80211 needs to be enabled for MAC80211 | 697 | # CFG80211 needs to be enabled for MAC80211 |
688 | # | 698 | # |
689 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
690 | # CONFIG_WIMAX is not set | 699 | # CONFIG_WIMAX is not set |
691 | # CONFIG_RFKILL is not set | 700 | # CONFIG_RFKILL is not set |
692 | # CONFIG_NET_9P is not set | 701 | # CONFIG_NET_9P is not set |
@@ -699,6 +708,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
699 | # Generic Driver Options | 708 | # Generic Driver Options |
700 | # | 709 | # |
701 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 710 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
711 | # CONFIG_DEVTMPFS is not set | ||
702 | CONFIG_STANDALONE=y | 712 | CONFIG_STANDALONE=y |
703 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 713 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
704 | CONFIG_FW_LOADER=y | 714 | CONFIG_FW_LOADER=y |
@@ -710,9 +720,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
710 | # CONFIG_CONNECTOR is not set | 720 | # CONFIG_CONNECTOR is not set |
711 | CONFIG_MTD=y | 721 | CONFIG_MTD=y |
712 | # CONFIG_MTD_DEBUG is not set | 722 | # CONFIG_MTD_DEBUG is not set |
723 | # CONFIG_MTD_TESTS is not set | ||
713 | CONFIG_MTD_CONCAT=m | 724 | CONFIG_MTD_CONCAT=m |
714 | CONFIG_MTD_PARTITIONS=y | 725 | CONFIG_MTD_PARTITIONS=y |
715 | # CONFIG_MTD_TESTS is not set | ||
716 | # CONFIG_MTD_REDBOOT_PARTS is not set | 726 | # CONFIG_MTD_REDBOOT_PARTS is not set |
717 | # CONFIG_MTD_CMDLINE_PARTS is not set | 727 | # CONFIG_MTD_CMDLINE_PARTS is not set |
718 | CONFIG_MTD_OF_PARTS=y | 728 | CONFIG_MTD_OF_PARTS=y |
@@ -763,6 +773,7 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y | |||
763 | # CONFIG_MTD_PHYSMAP is not set | 773 | # CONFIG_MTD_PHYSMAP is not set |
764 | CONFIG_MTD_PHYSMAP_OF=y | 774 | CONFIG_MTD_PHYSMAP_OF=y |
765 | # CONFIG_MTD_PCI is not set | 775 | # CONFIG_MTD_PCI is not set |
776 | # CONFIG_MTD_GPIO_ADDR is not set | ||
766 | # CONFIG_MTD_INTEL_VR_NOR is not set | 777 | # CONFIG_MTD_INTEL_VR_NOR is not set |
767 | # CONFIG_MTD_PLATRAM is not set | 778 | # CONFIG_MTD_PLATRAM is not set |
768 | 779 | ||
@@ -857,6 +868,7 @@ CONFIG_SCSI_SRP_ATTRS=m | |||
857 | CONFIG_SCSI_LOWLEVEL=y | 868 | CONFIG_SCSI_LOWLEVEL=y |
858 | # CONFIG_ISCSI_TCP is not set | 869 | # CONFIG_ISCSI_TCP is not set |
859 | # CONFIG_SCSI_BNX2_ISCSI is not set | 870 | # CONFIG_SCSI_BNX2_ISCSI is not set |
871 | # CONFIG_BE2ISCSI is not set | ||
860 | CONFIG_BLK_DEV_3W_XXXX_RAID=m | 872 | CONFIG_BLK_DEV_3W_XXXX_RAID=m |
861 | CONFIG_SCSI_3W_9XXX=m | 873 | CONFIG_SCSI_3W_9XXX=m |
862 | CONFIG_SCSI_ACARD=m | 874 | CONFIG_SCSI_ACARD=m |
@@ -912,7 +924,9 @@ CONFIG_SCSI_LPFC=m | |||
912 | # CONFIG_SCSI_DC390T is not set | 924 | # CONFIG_SCSI_DC390T is not set |
913 | # CONFIG_SCSI_NSP32 is not set | 925 | # CONFIG_SCSI_NSP32 is not set |
914 | # CONFIG_SCSI_DEBUG is not set | 926 | # CONFIG_SCSI_DEBUG is not set |
927 | # CONFIG_SCSI_PMCRAID is not set | ||
915 | # CONFIG_SCSI_SRP is not set | 928 | # CONFIG_SCSI_SRP is not set |
929 | # CONFIG_SCSI_BFA_FC is not set | ||
916 | # CONFIG_SCSI_DH is not set | 930 | # CONFIG_SCSI_DH is not set |
917 | # CONFIG_SCSI_OSD_INITIATOR is not set | 931 | # CONFIG_SCSI_OSD_INITIATOR is not set |
918 | # CONFIG_ATA is not set | 932 | # CONFIG_ATA is not set |
@@ -982,7 +996,9 @@ CONFIG_MII=y | |||
982 | # CONFIG_NET_PCI is not set | 996 | # CONFIG_NET_PCI is not set |
983 | # CONFIG_B44 is not set | 997 | # CONFIG_B44 is not set |
984 | # CONFIG_KS8842 is not set | 998 | # CONFIG_KS8842 is not set |
999 | # CONFIG_KS8851_MLL is not set | ||
985 | # CONFIG_ATL2 is not set | 1000 | # CONFIG_ATL2 is not set |
1001 | # CONFIG_XILINX_EMACLITE is not set | ||
986 | CONFIG_NETDEV_1000=y | 1002 | CONFIG_NETDEV_1000=y |
987 | # CONFIG_ACENIC is not set | 1003 | # CONFIG_ACENIC is not set |
988 | # CONFIG_DL2K is not set | 1004 | # CONFIG_DL2K is not set |
@@ -1010,10 +1026,7 @@ CONFIG_MV643XX_ETH=y | |||
1010 | # CONFIG_JME is not set | 1026 | # CONFIG_JME is not set |
1011 | # CONFIG_NETDEV_10000 is not set | 1027 | # CONFIG_NETDEV_10000 is not set |
1012 | # CONFIG_TR is not set | 1028 | # CONFIG_TR is not set |
1013 | 1029 | CONFIG_WLAN=y | |
1014 | # | ||
1015 | # Wireless LAN | ||
1016 | # | ||
1017 | # CONFIG_WLAN_PRE80211 is not set | 1030 | # CONFIG_WLAN_PRE80211 is not set |
1018 | # CONFIG_WLAN_80211 is not set | 1031 | # CONFIG_WLAN_80211 is not set |
1019 | 1032 | ||
@@ -1145,6 +1158,7 @@ CONFIG_MAX_RAW_DEVS=8192 | |||
1145 | CONFIG_DEVPORT=y | 1158 | CONFIG_DEVPORT=y |
1146 | CONFIG_I2C=m | 1159 | CONFIG_I2C=m |
1147 | CONFIG_I2C_BOARDINFO=y | 1160 | CONFIG_I2C_BOARDINFO=y |
1161 | CONFIG_I2C_COMPAT=y | ||
1148 | CONFIG_I2C_CHARDEV=m | 1162 | CONFIG_I2C_CHARDEV=m |
1149 | CONFIG_I2C_HELPER_AUTO=y | 1163 | CONFIG_I2C_HELPER_AUTO=y |
1150 | 1164 | ||
@@ -1200,9 +1214,6 @@ CONFIG_I2C_MV64XXX=m | |||
1200 | # Miscellaneous I2C Chip support | 1214 | # Miscellaneous I2C Chip support |
1201 | # | 1215 | # |
1202 | # CONFIG_DS1682 is not set | 1216 | # CONFIG_DS1682 is not set |
1203 | CONFIG_SENSORS_PCF8574=m | ||
1204 | # CONFIG_PCF8575 is not set | ||
1205 | # CONFIG_SENSORS_PCA9539 is not set | ||
1206 | # CONFIG_SENSORS_TSL2550 is not set | 1217 | # CONFIG_SENSORS_TSL2550 is not set |
1207 | # CONFIG_I2C_DEBUG_CORE is not set | 1218 | # CONFIG_I2C_DEBUG_CORE is not set |
1208 | # CONFIG_I2C_DEBUG_ALGO is not set | 1219 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1220,6 +1231,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1220 | # CONFIG_POWER_SUPPLY is not set | 1231 | # CONFIG_POWER_SUPPLY is not set |
1221 | CONFIG_HWMON=m | 1232 | CONFIG_HWMON=m |
1222 | CONFIG_HWMON_VID=m | 1233 | CONFIG_HWMON_VID=m |
1234 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1235 | |||
1236 | # | ||
1237 | # Native drivers | ||
1238 | # | ||
1223 | # CONFIG_SENSORS_AD7414 is not set | 1239 | # CONFIG_SENSORS_AD7414 is not set |
1224 | # CONFIG_SENSORS_AD7418 is not set | 1240 | # CONFIG_SENSORS_AD7418 is not set |
1225 | CONFIG_SENSORS_ADM1021=m | 1241 | CONFIG_SENSORS_ADM1021=m |
@@ -1269,6 +1285,7 @@ CONFIG_SENSORS_SMSC47B397=m | |||
1269 | # CONFIG_SENSORS_ADS7828 is not set | 1285 | # CONFIG_SENSORS_ADS7828 is not set |
1270 | # CONFIG_SENSORS_THMC50 is not set | 1286 | # CONFIG_SENSORS_THMC50 is not set |
1271 | # CONFIG_SENSORS_TMP401 is not set | 1287 | # CONFIG_SENSORS_TMP401 is not set |
1288 | # CONFIG_SENSORS_TMP421 is not set | ||
1272 | CONFIG_SENSORS_VIA686A=m | 1289 | CONFIG_SENSORS_VIA686A=m |
1273 | # CONFIG_SENSORS_VT1211 is not set | 1290 | # CONFIG_SENSORS_VT1211 is not set |
1274 | # CONFIG_SENSORS_VT8231 is not set | 1291 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1280,7 +1297,6 @@ CONFIG_SENSORS_W83L785TS=m | |||
1280 | # CONFIG_SENSORS_W83L786NG is not set | 1297 | # CONFIG_SENSORS_W83L786NG is not set |
1281 | CONFIG_SENSORS_W83627HF=m | 1298 | CONFIG_SENSORS_W83627HF=m |
1282 | # CONFIG_SENSORS_W83627EHF is not set | 1299 | # CONFIG_SENSORS_W83627EHF is not set |
1283 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1284 | # CONFIG_THERMAL is not set | 1300 | # CONFIG_THERMAL is not set |
1285 | CONFIG_WATCHDOG=y | 1301 | CONFIG_WATCHDOG=y |
1286 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1302 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
@@ -1317,6 +1333,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1317 | # CONFIG_HTC_PASIC3 is not set | 1333 | # CONFIG_HTC_PASIC3 is not set |
1318 | # CONFIG_MFD_TMIO is not set | 1334 | # CONFIG_MFD_TMIO is not set |
1319 | # CONFIG_MFD_WM8400 is not set | 1335 | # CONFIG_MFD_WM8400 is not set |
1336 | # CONFIG_MFD_WM831X is not set | ||
1320 | # CONFIG_MFD_WM8350_I2C is not set | 1337 | # CONFIG_MFD_WM8350_I2C is not set |
1321 | # CONFIG_MFD_PCF50633 is not set | 1338 | # CONFIG_MFD_PCF50633 is not set |
1322 | # CONFIG_AB3100_CORE is not set | 1339 | # CONFIG_AB3100_CORE is not set |
@@ -1327,6 +1344,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1327 | # Graphics support | 1344 | # Graphics support |
1328 | # | 1345 | # |
1329 | # CONFIG_AGP is not set | 1346 | # CONFIG_AGP is not set |
1347 | CONFIG_VGA_ARB=y | ||
1330 | # CONFIG_DRM is not set | 1348 | # CONFIG_DRM is not set |
1331 | # CONFIG_VGASTATE is not set | 1349 | # CONFIG_VGASTATE is not set |
1332 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 1350 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1378,6 +1396,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1378 | # CONFIG_USB_OXU210HP_HCD is not set | 1396 | # CONFIG_USB_OXU210HP_HCD is not set |
1379 | # CONFIG_USB_ISP116X_HCD is not set | 1397 | # CONFIG_USB_ISP116X_HCD is not set |
1380 | # CONFIG_USB_ISP1760_HCD is not set | 1398 | # CONFIG_USB_ISP1760_HCD is not set |
1399 | # CONFIG_USB_ISP1362_HCD is not set | ||
1381 | CONFIG_USB_OHCI_HCD=m | 1400 | CONFIG_USB_OHCI_HCD=m |
1382 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1401 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1383 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1402 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1588,6 +1607,7 @@ CONFIG_FS_POSIX_ACL=y | |||
1588 | # CONFIG_GFS2_FS is not set | 1607 | # CONFIG_GFS2_FS is not set |
1589 | # CONFIG_OCFS2_FS is not set | 1608 | # CONFIG_OCFS2_FS is not set |
1590 | # CONFIG_BTRFS_FS is not set | 1609 | # CONFIG_BTRFS_FS is not set |
1610 | # CONFIG_NILFS2_FS is not set | ||
1591 | CONFIG_FILE_LOCKING=y | 1611 | CONFIG_FILE_LOCKING=y |
1592 | CONFIG_FSNOTIFY=y | 1612 | CONFIG_FSNOTIFY=y |
1593 | CONFIG_DNOTIFY=y | 1613 | CONFIG_DNOTIFY=y |
@@ -1668,7 +1688,6 @@ CONFIG_VXFS_FS=m | |||
1668 | # CONFIG_ROMFS_FS is not set | 1688 | # CONFIG_ROMFS_FS is not set |
1669 | # CONFIG_SYSV_FS is not set | 1689 | # CONFIG_SYSV_FS is not set |
1670 | # CONFIG_UFS_FS is not set | 1690 | # CONFIG_UFS_FS is not set |
1671 | # CONFIG_NILFS2_FS is not set | ||
1672 | CONFIG_NETWORK_FILESYSTEMS=y | 1691 | CONFIG_NETWORK_FILESYSTEMS=y |
1673 | CONFIG_NFS_FS=y | 1692 | CONFIG_NFS_FS=y |
1674 | CONFIG_NFS_V3=y | 1693 | CONFIG_NFS_V3=y |
@@ -1770,7 +1789,7 @@ CONFIG_BINARY_PRINTF=y | |||
1770 | CONFIG_BITREVERSE=y | 1789 | CONFIG_BITREVERSE=y |
1771 | CONFIG_GENERIC_FIND_LAST_BIT=y | 1790 | CONFIG_GENERIC_FIND_LAST_BIT=y |
1772 | CONFIG_CRC_CCITT=m | 1791 | CONFIG_CRC_CCITT=m |
1773 | # CONFIG_CRC16 is not set | 1792 | CONFIG_CRC16=m |
1774 | CONFIG_CRC_T10DIF=m | 1793 | CONFIG_CRC_T10DIF=m |
1775 | CONFIG_CRC_ITU_T=m | 1794 | CONFIG_CRC_ITU_T=m |
1776 | CONFIG_CRC32=y | 1795 | CONFIG_CRC32=y |
@@ -1797,6 +1816,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1797 | CONFIG_ENABLE_MUST_CHECK=y | 1816 | CONFIG_ENABLE_MUST_CHECK=y |
1798 | CONFIG_FRAME_WARN=1024 | 1817 | CONFIG_FRAME_WARN=1024 |
1799 | CONFIG_MAGIC_SYSRQ=y | 1818 | CONFIG_MAGIC_SYSRQ=y |
1819 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1800 | # CONFIG_UNUSED_SYMBOLS is not set | 1820 | # CONFIG_UNUSED_SYMBOLS is not set |
1801 | CONFIG_DEBUG_FS=y | 1821 | CONFIG_DEBUG_FS=y |
1802 | # CONFIG_HEADERS_CHECK is not set | 1822 | # CONFIG_HEADERS_CHECK is not set |
@@ -1814,6 +1834,7 @@ CONFIG_SCHED_DEBUG=y | |||
1814 | # CONFIG_DEBUG_OBJECTS is not set | 1834 | # CONFIG_DEBUG_OBJECTS is not set |
1815 | # CONFIG_SLUB_DEBUG_ON is not set | 1835 | # CONFIG_SLUB_DEBUG_ON is not set |
1816 | # CONFIG_SLUB_STATS is not set | 1836 | # CONFIG_SLUB_STATS is not set |
1837 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1817 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1838 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1818 | # CONFIG_RT_MUTEX_TESTER is not set | 1839 | # CONFIG_RT_MUTEX_TESTER is not set |
1819 | CONFIG_DEBUG_SPINLOCK=y | 1840 | CONFIG_DEBUG_SPINLOCK=y |
@@ -1834,11 +1855,13 @@ CONFIG_DEBUG_MEMORY_INIT=y | |||
1834 | # CONFIG_DEBUG_LIST is not set | 1855 | # CONFIG_DEBUG_LIST is not set |
1835 | # CONFIG_DEBUG_SG is not set | 1856 | # CONFIG_DEBUG_SG is not set |
1836 | # CONFIG_DEBUG_NOTIFIERS is not set | 1857 | # CONFIG_DEBUG_NOTIFIERS is not set |
1858 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1837 | # CONFIG_RCU_TORTURE_TEST is not set | 1859 | # CONFIG_RCU_TORTURE_TEST is not set |
1838 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1860 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1839 | # CONFIG_KPROBES_SANITY_TEST is not set | 1861 | # CONFIG_KPROBES_SANITY_TEST is not set |
1840 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1862 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1841 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1863 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1864 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1842 | # CONFIG_LKDTM is not set | 1865 | # CONFIG_LKDTM is not set |
1843 | # CONFIG_FAULT_INJECTION is not set | 1866 | # CONFIG_FAULT_INJECTION is not set |
1844 | # CONFIG_LATENCYTOP is not set | 1867 | # CONFIG_LATENCYTOP is not set |
@@ -1852,6 +1875,7 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
1852 | CONFIG_RING_BUFFER=y | 1875 | CONFIG_RING_BUFFER=y |
1853 | CONFIG_EVENT_TRACING=y | 1876 | CONFIG_EVENT_TRACING=y |
1854 | CONFIG_CONTEXT_SWITCH_TRACER=y | 1877 | CONFIG_CONTEXT_SWITCH_TRACER=y |
1878 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
1855 | CONFIG_TRACING=y | 1879 | CONFIG_TRACING=y |
1856 | CONFIG_TRACING_SUPPORT=y | 1880 | CONFIG_TRACING_SUPPORT=y |
1857 | CONFIG_FTRACE=y | 1881 | CONFIG_FTRACE=y |
@@ -1869,6 +1893,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1869 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1893 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1870 | # CONFIG_RING_BUFFER_BENCHMARK is not set | 1894 | # CONFIG_RING_BUFFER_BENCHMARK is not set |
1871 | # CONFIG_DYNAMIC_DEBUG is not set | 1895 | # CONFIG_DYNAMIC_DEBUG is not set |
1896 | # CONFIG_DMA_API_DEBUG is not set | ||
1872 | # CONFIG_SAMPLES is not set | 1897 | # CONFIG_SAMPLES is not set |
1873 | CONFIG_HAVE_ARCH_KGDB=y | 1898 | CONFIG_HAVE_ARCH_KGDB=y |
1874 | # CONFIG_KGDB is not set | 1899 | # CONFIG_KGDB is not set |
@@ -1899,6 +1924,7 @@ CONFIG_SECURITY_NETWORK=y | |||
1899 | # CONFIG_SECURITY_NETWORK_XFRM is not set | 1924 | # CONFIG_SECURITY_NETWORK_XFRM is not set |
1900 | # CONFIG_SECURITY_PATH is not set | 1925 | # CONFIG_SECURITY_PATH is not set |
1901 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1926 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1927 | CONFIG_LSM_MMAP_MIN_ADDR=65536 | ||
1902 | CONFIG_SECURITY_SELINUX=y | 1928 | CONFIG_SECURITY_SELINUX=y |
1903 | CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 1929 | CONFIG_SECURITY_SELINUX_BOOTPARAM=y |
1904 | CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 | 1930 | CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 |
@@ -1913,7 +1939,6 @@ CONFIG_CRYPTO=y | |||
1913 | # | 1939 | # |
1914 | # Crypto core or helper | 1940 | # Crypto core or helper |
1915 | # | 1941 | # |
1916 | # CONFIG_CRYPTO_FIPS is not set | ||
1917 | CONFIG_CRYPTO_ALGAPI=y | 1942 | CONFIG_CRYPTO_ALGAPI=y |
1918 | CONFIG_CRYPTO_ALGAPI2=y | 1943 | CONFIG_CRYPTO_ALGAPI2=y |
1919 | CONFIG_CRYPTO_AEAD=m | 1944 | CONFIG_CRYPTO_AEAD=m |
@@ -1956,11 +1981,13 @@ CONFIG_CRYPTO_ECB=m | |||
1956 | # | 1981 | # |
1957 | CONFIG_CRYPTO_HMAC=y | 1982 | CONFIG_CRYPTO_HMAC=y |
1958 | # CONFIG_CRYPTO_XCBC is not set | 1983 | # CONFIG_CRYPTO_XCBC is not set |
1984 | # CONFIG_CRYPTO_VMAC is not set | ||
1959 | 1985 | ||
1960 | # | 1986 | # |
1961 | # Digest | 1987 | # Digest |
1962 | # | 1988 | # |
1963 | CONFIG_CRYPTO_CRC32C=m | 1989 | CONFIG_CRYPTO_CRC32C=m |
1990 | # CONFIG_CRYPTO_GHASH is not set | ||
1964 | CONFIG_CRYPTO_MD4=m | 1991 | CONFIG_CRYPTO_MD4=m |
1965 | CONFIG_CRYPTO_MD5=y | 1992 | CONFIG_CRYPTO_MD5=y |
1966 | CONFIG_CRYPTO_MICHAEL_MIC=m | 1993 | CONFIG_CRYPTO_MICHAEL_MIC=m |
diff --git a/arch/powerpc/configs/ep8248e_defconfig b/arch/powerpc/configs/ep8248e_defconfig index 0aa5b43ffeb2..ef5edc7203f5 100644 --- a/arch/powerpc/configs/ep8248e_defconfig +++ b/arch/powerpc/configs/ep8248e_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:49 2009 | 4 | # Thu Nov 5 08:20:06 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -82,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
82 | # | 83 | # |
83 | # RCU Subsystem | 84 | # RCU Subsystem |
84 | # | 85 | # |
85 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
86 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
87 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
88 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
89 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
90 | CONFIG_IKCONFIG=y | 92 | CONFIG_IKCONFIG=y |
91 | CONFIG_IKCONFIG_PROC=y | 93 | CONFIG_IKCONFIG_PROC=y |
92 | CONFIG_LOG_BUF_SHIFT=14 | 94 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -116,28 +118,29 @@ CONFIG_TIMERFD=y | |||
116 | CONFIG_EVENTFD=y | 118 | CONFIG_EVENTFD=y |
117 | CONFIG_SHMEM=y | 119 | CONFIG_SHMEM=y |
118 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
119 | CONFIG_HAVE_PERF_COUNTERS=y | 121 | CONFIG_HAVE_PERF_EVENTS=y |
120 | 122 | ||
121 | # | 123 | # |
122 | # Performance Counters | 124 | # Kernel Performance Events And Counters |
123 | # | 125 | # |
126 | # CONFIG_PERF_EVENTS is not set | ||
124 | # CONFIG_PERF_COUNTERS is not set | 127 | # CONFIG_PERF_COUNTERS is not set |
125 | CONFIG_VM_EVENT_COUNTERS=y | 128 | CONFIG_VM_EVENT_COUNTERS=y |
126 | CONFIG_PCI_QUIRKS=y | 129 | CONFIG_PCI_QUIRKS=y |
127 | # CONFIG_STRIP_ASM_SYMS is not set | ||
128 | CONFIG_COMPAT_BRK=y | 130 | CONFIG_COMPAT_BRK=y |
129 | CONFIG_SLAB=y | 131 | CONFIG_SLAB=y |
130 | # CONFIG_SLUB is not set | 132 | # CONFIG_SLUB is not set |
131 | # CONFIG_SLOB is not set | 133 | # CONFIG_SLOB is not set |
132 | # CONFIG_PROFILING is not set | 134 | # CONFIG_PROFILING is not set |
133 | # CONFIG_MARKERS is not set | ||
134 | CONFIG_HAVE_OPROFILE=y | 135 | CONFIG_HAVE_OPROFILE=y |
135 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 136 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
136 | CONFIG_HAVE_IOREMAP_PROT=y | 137 | CONFIG_HAVE_IOREMAP_PROT=y |
137 | CONFIG_HAVE_KPROBES=y | 138 | CONFIG_HAVE_KPROBES=y |
138 | CONFIG_HAVE_KRETPROBES=y | 139 | CONFIG_HAVE_KRETPROBES=y |
139 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 140 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
141 | CONFIG_HAVE_DMA_ATTRS=y | ||
140 | CONFIG_HAVE_CLK=y | 142 | CONFIG_HAVE_CLK=y |
143 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
141 | 144 | ||
142 | # | 145 | # |
143 | # GCOV-based kernel profiling | 146 | # GCOV-based kernel profiling |
@@ -150,6 +153,7 @@ CONFIG_BASE_SMALL=0 | |||
150 | # CONFIG_MODULES is not set | 153 | # CONFIG_MODULES is not set |
151 | CONFIG_BLOCK=y | 154 | CONFIG_BLOCK=y |
152 | CONFIG_LBDAF=y | 155 | CONFIG_LBDAF=y |
156 | CONFIG_BLK_DEV_BSG=y | ||
153 | # CONFIG_BLK_DEV_INTEGRITY is not set | 157 | # CONFIG_BLK_DEV_INTEGRITY is not set |
154 | 158 | ||
155 | # | 159 | # |
@@ -233,6 +237,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | |||
233 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 237 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
234 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 238 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
235 | # CONFIG_CRASH_DUMP is not set | 239 | # CONFIG_CRASH_DUMP is not set |
240 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
236 | CONFIG_ARCH_FLATMEM_ENABLE=y | 241 | CONFIG_ARCH_FLATMEM_ENABLE=y |
237 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 242 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
238 | CONFIG_FLATMEM=y | 243 | CONFIG_FLATMEM=y |
@@ -246,6 +251,7 @@ CONFIG_BOUNCE=y | |||
246 | CONFIG_VIRT_TO_BUS=y | 251 | CONFIG_VIRT_TO_BUS=y |
247 | CONFIG_HAVE_MLOCK=y | 252 | CONFIG_HAVE_MLOCK=y |
248 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 253 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
254 | # CONFIG_KSM is not set | ||
249 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 255 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
250 | CONFIG_PPC_4K_PAGES=y | 256 | CONFIG_PPC_4K_PAGES=y |
251 | # CONFIG_PPC_16K_PAGES is not set | 257 | # CONFIG_PPC_16K_PAGES is not set |
@@ -394,6 +400,7 @@ CONFIG_NETFILTER_ADVANCED=y | |||
394 | # CONFIG_BT is not set | 400 | # CONFIG_BT is not set |
395 | CONFIG_WIRELESS=y | 401 | CONFIG_WIRELESS=y |
396 | # CONFIG_CFG80211 is not set | 402 | # CONFIG_CFG80211 is not set |
403 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
397 | CONFIG_WIRELESS_OLD_REGULATORY=y | 404 | CONFIG_WIRELESS_OLD_REGULATORY=y |
398 | # CONFIG_WIRELESS_EXT is not set | 405 | # CONFIG_WIRELESS_EXT is not set |
399 | # CONFIG_LIB80211 is not set | 406 | # CONFIG_LIB80211 is not set |
@@ -401,7 +408,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
401 | # | 408 | # |
402 | # CFG80211 needs to be enabled for MAC80211 | 409 | # CFG80211 needs to be enabled for MAC80211 |
403 | # | 410 | # |
404 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
405 | # CONFIG_WIMAX is not set | 411 | # CONFIG_WIMAX is not set |
406 | # CONFIG_RFKILL is not set | 412 | # CONFIG_RFKILL is not set |
407 | 413 | ||
@@ -413,6 +419,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
413 | # Generic Driver Options | 419 | # Generic Driver Options |
414 | # | 420 | # |
415 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 421 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
422 | # CONFIG_DEVTMPFS is not set | ||
416 | CONFIG_STANDALONE=y | 423 | CONFIG_STANDALONE=y |
417 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 424 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
418 | # CONFIG_FW_LOADER is not set | 425 | # CONFIG_FW_LOADER is not set |
@@ -600,7 +607,9 @@ CONFIG_MII=y | |||
600 | # CONFIG_NET_PCI is not set | 607 | # CONFIG_NET_PCI is not set |
601 | # CONFIG_B44 is not set | 608 | # CONFIG_B44 is not set |
602 | # CONFIG_KS8842 is not set | 609 | # CONFIG_KS8842 is not set |
610 | # CONFIG_KS8851_MLL is not set | ||
603 | # CONFIG_ATL2 is not set | 611 | # CONFIG_ATL2 is not set |
612 | # CONFIG_XILINX_EMACLITE is not set | ||
604 | CONFIG_FS_ENET=y | 613 | CONFIG_FS_ENET=y |
605 | # CONFIG_FS_ENET_HAS_SCC is not set | 614 | # CONFIG_FS_ENET_HAS_SCC is not set |
606 | CONFIG_FS_ENET_HAS_FCC=y | 615 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -648,10 +657,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
648 | # CONFIG_SFC is not set | 657 | # CONFIG_SFC is not set |
649 | # CONFIG_BE2NET is not set | 658 | # CONFIG_BE2NET is not set |
650 | # CONFIG_TR is not set | 659 | # CONFIG_TR is not set |
651 | 660 | CONFIG_WLAN=y | |
652 | # | ||
653 | # Wireless LAN | ||
654 | # | ||
655 | # CONFIG_WLAN_PRE80211 is not set | 661 | # CONFIG_WLAN_PRE80211 is not set |
656 | # CONFIG_WLAN_80211 is not set | 662 | # CONFIG_WLAN_80211 is not set |
657 | 663 | ||
@@ -736,15 +742,19 @@ CONFIG_GPIOLIB=y | |||
736 | # PCI GPIO expanders: | 742 | # PCI GPIO expanders: |
737 | # | 743 | # |
738 | # CONFIG_GPIO_BT8XX is not set | 744 | # CONFIG_GPIO_BT8XX is not set |
745 | # CONFIG_GPIO_LANGWELL is not set | ||
739 | 746 | ||
740 | # | 747 | # |
741 | # SPI GPIO expanders: | 748 | # SPI GPIO expanders: |
742 | # | 749 | # |
750 | |||
751 | # | ||
752 | # AC97 GPIO expanders: | ||
753 | # | ||
743 | # CONFIG_W1 is not set | 754 | # CONFIG_W1 is not set |
744 | # CONFIG_POWER_SUPPLY is not set | 755 | # CONFIG_POWER_SUPPLY is not set |
745 | # CONFIG_HWMON is not set | 756 | # CONFIG_HWMON is not set |
746 | # CONFIG_THERMAL is not set | 757 | # CONFIG_THERMAL is not set |
747 | # CONFIG_THERMAL_HWMON is not set | ||
748 | # CONFIG_WATCHDOG is not set | 758 | # CONFIG_WATCHDOG is not set |
749 | CONFIG_SSB_POSSIBLE=y | 759 | CONFIG_SSB_POSSIBLE=y |
750 | 760 | ||
@@ -767,6 +777,7 @@ CONFIG_SSB_POSSIBLE=y | |||
767 | # Graphics support | 777 | # Graphics support |
768 | # | 778 | # |
769 | # CONFIG_AGP is not set | 779 | # CONFIG_AGP is not set |
780 | CONFIG_VGA_ARB=y | ||
770 | # CONFIG_DRM is not set | 781 | # CONFIG_DRM is not set |
771 | # CONFIG_VGASTATE is not set | 782 | # CONFIG_VGASTATE is not set |
772 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 783 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -968,6 +979,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
968 | CONFIG_ENABLE_MUST_CHECK=y | 979 | CONFIG_ENABLE_MUST_CHECK=y |
969 | CONFIG_FRAME_WARN=1024 | 980 | CONFIG_FRAME_WARN=1024 |
970 | CONFIG_MAGIC_SYSRQ=y | 981 | CONFIG_MAGIC_SYSRQ=y |
982 | # CONFIG_STRIP_ASM_SYMS is not set | ||
971 | # CONFIG_UNUSED_SYMBOLS is not set | 983 | # CONFIG_UNUSED_SYMBOLS is not set |
972 | # CONFIG_DEBUG_FS is not set | 984 | # CONFIG_DEBUG_FS is not set |
973 | # CONFIG_HEADERS_CHECK is not set | 985 | # CONFIG_HEADERS_CHECK is not set |
@@ -998,10 +1010,12 @@ CONFIG_DEBUG_INFO=y | |||
998 | # CONFIG_DEBUG_LIST is not set | 1010 | # CONFIG_DEBUG_LIST is not set |
999 | # CONFIG_DEBUG_SG is not set | 1011 | # CONFIG_DEBUG_SG is not set |
1000 | # CONFIG_DEBUG_NOTIFIERS is not set | 1012 | # CONFIG_DEBUG_NOTIFIERS is not set |
1013 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1001 | # CONFIG_RCU_TORTURE_TEST is not set | 1014 | # CONFIG_RCU_TORTURE_TEST is not set |
1002 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1015 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1003 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1016 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1004 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1017 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1018 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1005 | # CONFIG_FAULT_INJECTION is not set | 1019 | # CONFIG_FAULT_INJECTION is not set |
1006 | # CONFIG_LATENCYTOP is not set | 1020 | # CONFIG_LATENCYTOP is not set |
1007 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1021 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1024,6 +1038,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1024 | # CONFIG_KMEMTRACE is not set | 1038 | # CONFIG_KMEMTRACE is not set |
1025 | # CONFIG_WORKQUEUE_TRACER is not set | 1039 | # CONFIG_WORKQUEUE_TRACER is not set |
1026 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1040 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1041 | # CONFIG_DMA_API_DEBUG is not set | ||
1027 | # CONFIG_SAMPLES is not set | 1042 | # CONFIG_SAMPLES is not set |
1028 | CONFIG_HAVE_ARCH_KGDB=y | 1043 | CONFIG_HAVE_ARCH_KGDB=y |
1029 | # CONFIG_PPC_DISABLE_WERROR is not set | 1044 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1052,7 +1067,6 @@ CONFIG_CRYPTO=y | |||
1052 | # | 1067 | # |
1053 | # Crypto core or helper | 1068 | # Crypto core or helper |
1054 | # | 1069 | # |
1055 | # CONFIG_CRYPTO_FIPS is not set | ||
1056 | CONFIG_CRYPTO_ALGAPI=y | 1070 | CONFIG_CRYPTO_ALGAPI=y |
1057 | CONFIG_CRYPTO_ALGAPI2=y | 1071 | CONFIG_CRYPTO_ALGAPI2=y |
1058 | CONFIG_CRYPTO_AEAD2=y | 1072 | CONFIG_CRYPTO_AEAD2=y |
@@ -1094,6 +1108,7 @@ CONFIG_CRYPTO_PCBC=y | |||
1094 | # Digest | 1108 | # Digest |
1095 | # | 1109 | # |
1096 | # CONFIG_CRYPTO_CRC32C is not set | 1110 | # CONFIG_CRYPTO_CRC32C is not set |
1111 | # CONFIG_CRYPTO_GHASH is not set | ||
1097 | # CONFIG_CRYPTO_MD4 is not set | 1112 | # CONFIG_CRYPTO_MD4 is not set |
1098 | CONFIG_CRYPTO_MD5=y | 1113 | CONFIG_CRYPTO_MD5=y |
1099 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1114 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/ep88xc_defconfig b/arch/powerpc/configs/ep88xc_defconfig index 2c292e25cc01..73ef9be41280 100644 --- a/arch/powerpc/configs/ep88xc_defconfig +++ b/arch/powerpc/configs/ep88xc_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:49 2009 | 4 | # Thu Nov 5 08:20:07 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -16,6 +16,7 @@ CONFIG_PPC_8xx=y | |||
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_8xx=y | 17 | CONFIG_8xx=y |
18 | CONFIG_PPC_MMU_NOHASH=y | 18 | CONFIG_PPC_MMU_NOHASH=y |
19 | CONFIG_PPC_MMU_NOHASH_32=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | 20 | # CONFIG_PPC_MM_SLICES is not set |
20 | CONFIG_NOT_COHERENT_CACHE=y | 21 | CONFIG_NOT_COHERENT_CACHE=y |
21 | CONFIG_PPC32=y | 22 | CONFIG_PPC32=y |
@@ -29,6 +30,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
29 | CONFIG_GENERIC_HARDIRQS=y | 30 | CONFIG_GENERIC_HARDIRQS=y |
30 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 31 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
31 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 32 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
33 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
32 | CONFIG_IRQ_PER_CPU=y | 34 | CONFIG_IRQ_PER_CPU=y |
33 | CONFIG_STACKTRACE_SUPPORT=y | 35 | CONFIG_STACKTRACE_SUPPORT=y |
34 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -77,11 +79,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
77 | # | 79 | # |
78 | # RCU Subsystem | 80 | # RCU Subsystem |
79 | # | 81 | # |
80 | CONFIG_CLASSIC_RCU=y | 82 | CONFIG_TREE_RCU=y |
81 | # CONFIG_TREE_RCU is not set | 83 | # CONFIG_TREE_PREEMPT_RCU is not set |
82 | # CONFIG_PREEMPT_RCU is not set | 84 | # CONFIG_RCU_TRACE is not set |
85 | CONFIG_RCU_FANOUT=32 | ||
86 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
83 | # CONFIG_TREE_RCU_TRACE is not set | 87 | # CONFIG_TREE_RCU_TRACE is not set |
84 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
85 | # CONFIG_IKCONFIG is not set | 88 | # CONFIG_IKCONFIG is not set |
86 | CONFIG_LOG_BUF_SHIFT=14 | 89 | CONFIG_LOG_BUF_SHIFT=14 |
87 | CONFIG_GROUP_SCHED=y | 90 | CONFIG_GROUP_SCHED=y |
@@ -115,28 +118,29 @@ CONFIG_TIMERFD=y | |||
115 | CONFIG_EVENTFD=y | 118 | CONFIG_EVENTFD=y |
116 | CONFIG_SHMEM=y | 119 | CONFIG_SHMEM=y |
117 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
118 | CONFIG_HAVE_PERF_COUNTERS=y | 121 | CONFIG_HAVE_PERF_EVENTS=y |
119 | 122 | ||
120 | # | 123 | # |
121 | # Performance Counters | 124 | # Kernel Performance Events And Counters |
122 | # | 125 | # |
126 | # CONFIG_PERF_EVENTS is not set | ||
123 | # CONFIG_PERF_COUNTERS is not set | 127 | # CONFIG_PERF_COUNTERS is not set |
124 | # CONFIG_VM_EVENT_COUNTERS is not set | 128 | # CONFIG_VM_EVENT_COUNTERS is not set |
125 | CONFIG_SLUB_DEBUG=y | 129 | CONFIG_SLUB_DEBUG=y |
126 | # CONFIG_STRIP_ASM_SYMS is not set | ||
127 | CONFIG_COMPAT_BRK=y | 130 | CONFIG_COMPAT_BRK=y |
128 | # CONFIG_SLAB is not set | 131 | # CONFIG_SLAB is not set |
129 | CONFIG_SLUB=y | 132 | CONFIG_SLUB=y |
130 | # CONFIG_SLOB is not set | 133 | # CONFIG_SLOB is not set |
131 | # CONFIG_PROFILING is not set | 134 | # CONFIG_PROFILING is not set |
132 | # CONFIG_MARKERS is not set | ||
133 | CONFIG_HAVE_OPROFILE=y | 135 | CONFIG_HAVE_OPROFILE=y |
134 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 136 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
135 | CONFIG_HAVE_IOREMAP_PROT=y | 137 | CONFIG_HAVE_IOREMAP_PROT=y |
136 | CONFIG_HAVE_KPROBES=y | 138 | CONFIG_HAVE_KPROBES=y |
137 | CONFIG_HAVE_KRETPROBES=y | 139 | CONFIG_HAVE_KRETPROBES=y |
138 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 140 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
141 | CONFIG_HAVE_DMA_ATTRS=y | ||
139 | CONFIG_HAVE_CLK=y | 142 | CONFIG_HAVE_CLK=y |
143 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
140 | 144 | ||
141 | # | 145 | # |
142 | # GCOV-based kernel profiling | 146 | # GCOV-based kernel profiling |
@@ -234,10 +238,10 @@ CONFIG_BINFMT_ELF=y | |||
234 | CONFIG_8XX_MINIMAL_FPEMU=y | 238 | CONFIG_8XX_MINIMAL_FPEMU=y |
235 | # CONFIG_IOMMU_HELPER is not set | 239 | # CONFIG_IOMMU_HELPER is not set |
236 | # CONFIG_SWIOTLB is not set | 240 | # CONFIG_SWIOTLB is not set |
237 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
238 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 241 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
239 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 242 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
240 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 243 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
244 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
241 | CONFIG_ARCH_FLATMEM_ENABLE=y | 245 | CONFIG_ARCH_FLATMEM_ENABLE=y |
242 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 246 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
243 | CONFIG_SELECT_MEMORY_MODEL=y | 247 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -255,6 +259,7 @@ CONFIG_BOUNCE=y | |||
255 | CONFIG_VIRT_TO_BUS=y | 259 | CONFIG_VIRT_TO_BUS=y |
256 | CONFIG_HAVE_MLOCK=y | 260 | CONFIG_HAVE_MLOCK=y |
257 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 261 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
262 | # CONFIG_KSM is not set | ||
258 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 263 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
259 | CONFIG_PPC_4K_PAGES=y | 264 | CONFIG_PPC_4K_PAGES=y |
260 | # CONFIG_PPC_16K_PAGES is not set | 265 | # CONFIG_PPC_16K_PAGES is not set |
@@ -337,6 +342,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
337 | # CONFIG_NETFILTER is not set | 342 | # CONFIG_NETFILTER is not set |
338 | # CONFIG_IP_DCCP is not set | 343 | # CONFIG_IP_DCCP is not set |
339 | # CONFIG_IP_SCTP is not set | 344 | # CONFIG_IP_SCTP is not set |
345 | # CONFIG_RDS is not set | ||
340 | # CONFIG_TIPC is not set | 346 | # CONFIG_TIPC is not set |
341 | # CONFIG_ATM is not set | 347 | # CONFIG_ATM is not set |
342 | # CONFIG_BRIDGE is not set | 348 | # CONFIG_BRIDGE is not set |
@@ -366,6 +372,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
366 | # CONFIG_AF_RXRPC is not set | 372 | # CONFIG_AF_RXRPC is not set |
367 | CONFIG_WIRELESS=y | 373 | CONFIG_WIRELESS=y |
368 | # CONFIG_CFG80211 is not set | 374 | # CONFIG_CFG80211 is not set |
375 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
369 | CONFIG_WIRELESS_OLD_REGULATORY=y | 376 | CONFIG_WIRELESS_OLD_REGULATORY=y |
370 | # CONFIG_WIRELESS_EXT is not set | 377 | # CONFIG_WIRELESS_EXT is not set |
371 | # CONFIG_LIB80211 is not set | 378 | # CONFIG_LIB80211 is not set |
@@ -373,7 +380,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
373 | # | 380 | # |
374 | # CFG80211 needs to be enabled for MAC80211 | 381 | # CFG80211 needs to be enabled for MAC80211 |
375 | # | 382 | # |
376 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
377 | # CONFIG_WIMAX is not set | 383 | # CONFIG_WIMAX is not set |
378 | # CONFIG_RFKILL is not set | 384 | # CONFIG_RFKILL is not set |
379 | # CONFIG_NET_9P is not set | 385 | # CONFIG_NET_9P is not set |
@@ -386,6 +392,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
386 | # Generic Driver Options | 392 | # Generic Driver Options |
387 | # | 393 | # |
388 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 394 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
395 | # CONFIG_DEVTMPFS is not set | ||
389 | CONFIG_STANDALONE=y | 396 | CONFIG_STANDALONE=y |
390 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 397 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
391 | # CONFIG_FW_LOADER is not set | 398 | # CONFIG_FW_LOADER is not set |
@@ -529,16 +536,15 @@ CONFIG_MII=y | |||
529 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 536 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
530 | # CONFIG_B44 is not set | 537 | # CONFIG_B44 is not set |
531 | # CONFIG_KS8842 is not set | 538 | # CONFIG_KS8842 is not set |
539 | # CONFIG_KS8851_MLL is not set | ||
540 | # CONFIG_XILINX_EMACLITE is not set | ||
532 | CONFIG_FS_ENET=y | 541 | CONFIG_FS_ENET=y |
533 | # CONFIG_FS_ENET_HAS_SCC is not set | 542 | # CONFIG_FS_ENET_HAS_SCC is not set |
534 | CONFIG_FS_ENET_HAS_FEC=y | 543 | CONFIG_FS_ENET_HAS_FEC=y |
535 | CONFIG_FS_ENET_MDIO_FEC=y | 544 | CONFIG_FS_ENET_MDIO_FEC=y |
536 | # CONFIG_NETDEV_1000 is not set | 545 | # CONFIG_NETDEV_1000 is not set |
537 | # CONFIG_NETDEV_10000 is not set | 546 | # CONFIG_NETDEV_10000 is not set |
538 | 547 | CONFIG_WLAN=y | |
539 | # | ||
540 | # Wireless LAN | ||
541 | # | ||
542 | # CONFIG_WLAN_PRE80211 is not set | 548 | # CONFIG_WLAN_PRE80211 is not set |
543 | # CONFIG_WLAN_80211 is not set | 549 | # CONFIG_WLAN_80211 is not set |
544 | 550 | ||
@@ -611,7 +617,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
611 | # CONFIG_POWER_SUPPLY is not set | 617 | # CONFIG_POWER_SUPPLY is not set |
612 | # CONFIG_HWMON is not set | 618 | # CONFIG_HWMON is not set |
613 | # CONFIG_THERMAL is not set | 619 | # CONFIG_THERMAL is not set |
614 | # CONFIG_THERMAL_HWMON is not set | ||
615 | # CONFIG_WATCHDOG is not set | 620 | # CONFIG_WATCHDOG is not set |
616 | CONFIG_SSB_POSSIBLE=y | 621 | CONFIG_SSB_POSSIBLE=y |
617 | 622 | ||
@@ -672,6 +677,7 @@ CONFIG_SSB_POSSIBLE=y | |||
672 | # CONFIG_GFS2_FS is not set | 677 | # CONFIG_GFS2_FS is not set |
673 | # CONFIG_OCFS2_FS is not set | 678 | # CONFIG_OCFS2_FS is not set |
674 | # CONFIG_BTRFS_FS is not set | 679 | # CONFIG_BTRFS_FS is not set |
680 | # CONFIG_NILFS2_FS is not set | ||
675 | CONFIG_FILE_LOCKING=y | 681 | CONFIG_FILE_LOCKING=y |
676 | CONFIG_FSNOTIFY=y | 682 | CONFIG_FSNOTIFY=y |
677 | # CONFIG_DNOTIFY is not set | 683 | # CONFIG_DNOTIFY is not set |
@@ -731,7 +737,6 @@ CONFIG_CRAMFS=y | |||
731 | # CONFIG_ROMFS_FS is not set | 737 | # CONFIG_ROMFS_FS is not set |
732 | # CONFIG_SYSV_FS is not set | 738 | # CONFIG_SYSV_FS is not set |
733 | # CONFIG_UFS_FS is not set | 739 | # CONFIG_UFS_FS is not set |
734 | # CONFIG_NILFS2_FS is not set | ||
735 | CONFIG_NETWORK_FILESYSTEMS=y | 740 | CONFIG_NETWORK_FILESYSTEMS=y |
736 | CONFIG_NFS_FS=y | 741 | CONFIG_NFS_FS=y |
737 | CONFIG_NFS_V3=y | 742 | CONFIG_NFS_V3=y |
@@ -803,6 +808,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
803 | CONFIG_ENABLE_MUST_CHECK=y | 808 | CONFIG_ENABLE_MUST_CHECK=y |
804 | CONFIG_FRAME_WARN=1024 | 809 | CONFIG_FRAME_WARN=1024 |
805 | CONFIG_MAGIC_SYSRQ=y | 810 | CONFIG_MAGIC_SYSRQ=y |
811 | # CONFIG_STRIP_ASM_SYMS is not set | ||
806 | # CONFIG_UNUSED_SYMBOLS is not set | 812 | # CONFIG_UNUSED_SYMBOLS is not set |
807 | # CONFIG_DEBUG_FS is not set | 813 | # CONFIG_DEBUG_FS is not set |
808 | # CONFIG_HEADERS_CHECK is not set | 814 | # CONFIG_HEADERS_CHECK is not set |
@@ -820,6 +826,7 @@ CONFIG_SCHED_DEBUG=y | |||
820 | # CONFIG_DEBUG_OBJECTS is not set | 826 | # CONFIG_DEBUG_OBJECTS is not set |
821 | # CONFIG_SLUB_DEBUG_ON is not set | 827 | # CONFIG_SLUB_DEBUG_ON is not set |
822 | # CONFIG_SLUB_STATS is not set | 828 | # CONFIG_SLUB_STATS is not set |
829 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
823 | # CONFIG_DEBUG_SPINLOCK is not set | 830 | # CONFIG_DEBUG_SPINLOCK is not set |
824 | # CONFIG_DEBUG_MUTEXES is not set | 831 | # CONFIG_DEBUG_MUTEXES is not set |
825 | # CONFIG_DEBUG_LOCK_ALLOC is not set | 832 | # CONFIG_DEBUG_LOCK_ALLOC is not set |
@@ -836,10 +843,12 @@ CONFIG_DEBUG_INFO=y | |||
836 | # CONFIG_DEBUG_LIST is not set | 843 | # CONFIG_DEBUG_LIST is not set |
837 | # CONFIG_DEBUG_SG is not set | 844 | # CONFIG_DEBUG_SG is not set |
838 | # CONFIG_DEBUG_NOTIFIERS is not set | 845 | # CONFIG_DEBUG_NOTIFIERS is not set |
846 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
839 | # CONFIG_RCU_TORTURE_TEST is not set | 847 | # CONFIG_RCU_TORTURE_TEST is not set |
840 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 848 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
841 | # CONFIG_BACKTRACE_SELF_TEST is not set | 849 | # CONFIG_BACKTRACE_SELF_TEST is not set |
842 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 850 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
851 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
843 | # CONFIG_FAULT_INJECTION is not set | 852 | # CONFIG_FAULT_INJECTION is not set |
844 | # CONFIG_LATENCYTOP is not set | 853 | # CONFIG_LATENCYTOP is not set |
845 | # CONFIG_DEBUG_PAGEALLOC is not set | 854 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -861,10 +870,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
861 | # CONFIG_KMEMTRACE is not set | 870 | # CONFIG_KMEMTRACE is not set |
862 | # CONFIG_WORKQUEUE_TRACER is not set | 871 | # CONFIG_WORKQUEUE_TRACER is not set |
863 | # CONFIG_BLK_DEV_IO_TRACE is not set | 872 | # CONFIG_BLK_DEV_IO_TRACE is not set |
873 | # CONFIG_DMA_API_DEBUG is not set | ||
864 | # CONFIG_SAMPLES is not set | 874 | # CONFIG_SAMPLES is not set |
865 | CONFIG_HAVE_ARCH_KGDB=y | 875 | CONFIG_HAVE_ARCH_KGDB=y |
866 | # CONFIG_KGDB is not set | 876 | # CONFIG_KGDB is not set |
867 | # CONFIG_KMEMCHECK is not set | ||
868 | # CONFIG_PPC_DISABLE_WERROR is not set | 877 | # CONFIG_PPC_DISABLE_WERROR is not set |
869 | CONFIG_PPC_WERROR=y | 878 | CONFIG_PPC_WERROR=y |
870 | CONFIG_PRINT_STACK_DEPTH=64 | 879 | CONFIG_PRINT_STACK_DEPTH=64 |
diff --git a/arch/powerpc/configs/linkstation_defconfig b/arch/powerpc/configs/linkstation_defconfig index 45671e7dd2c7..63c3e8de8f16 100644 --- a/arch/powerpc/configs/linkstation_defconfig +++ b/arch/powerpc/configs/linkstation_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:50 2009 | 4 | # Thu Nov 5 08:20:08 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -83,11 +84,12 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y | |||
83 | # | 84 | # |
84 | # RCU Subsystem | 85 | # RCU Subsystem |
85 | # | 86 | # |
86 | CONFIG_CLASSIC_RCU=y | 87 | CONFIG_TREE_RCU=y |
87 | # CONFIG_TREE_RCU is not set | 88 | # CONFIG_TREE_PREEMPT_RCU is not set |
88 | # CONFIG_PREEMPT_RCU is not set | 89 | # CONFIG_RCU_TRACE is not set |
90 | CONFIG_RCU_FANOUT=32 | ||
91 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
89 | # CONFIG_TREE_RCU_TRACE is not set | 92 | # CONFIG_TREE_RCU_TRACE is not set |
90 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
91 | CONFIG_IKCONFIG=y | 93 | CONFIG_IKCONFIG=y |
92 | CONFIG_IKCONFIG_PROC=y | 94 | CONFIG_IKCONFIG_PROC=y |
93 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -131,22 +133,21 @@ CONFIG_TIMERFD=y | |||
131 | CONFIG_EVENTFD=y | 133 | CONFIG_EVENTFD=y |
132 | CONFIG_SHMEM=y | 134 | CONFIG_SHMEM=y |
133 | CONFIG_AIO=y | 135 | CONFIG_AIO=y |
134 | CONFIG_HAVE_PERF_COUNTERS=y | 136 | CONFIG_HAVE_PERF_EVENTS=y |
135 | 137 | ||
136 | # | 138 | # |
137 | # Performance Counters | 139 | # Kernel Performance Events And Counters |
138 | # | 140 | # |
141 | # CONFIG_PERF_EVENTS is not set | ||
139 | # CONFIG_PERF_COUNTERS is not set | 142 | # CONFIG_PERF_COUNTERS is not set |
140 | CONFIG_VM_EVENT_COUNTERS=y | 143 | CONFIG_VM_EVENT_COUNTERS=y |
141 | CONFIG_PCI_QUIRKS=y | 144 | CONFIG_PCI_QUIRKS=y |
142 | CONFIG_SLUB_DEBUG=y | 145 | CONFIG_SLUB_DEBUG=y |
143 | # CONFIG_STRIP_ASM_SYMS is not set | ||
144 | # CONFIG_COMPAT_BRK is not set | 146 | # CONFIG_COMPAT_BRK is not set |
145 | # CONFIG_SLAB is not set | 147 | # CONFIG_SLAB is not set |
146 | CONFIG_SLUB=y | 148 | CONFIG_SLUB=y |
147 | # CONFIG_SLOB is not set | 149 | # CONFIG_SLOB is not set |
148 | # CONFIG_PROFILING is not set | 150 | # CONFIG_PROFILING is not set |
149 | # CONFIG_MARKERS is not set | ||
150 | CONFIG_HAVE_OPROFILE=y | 151 | CONFIG_HAVE_OPROFILE=y |
151 | # CONFIG_KPROBES is not set | 152 | # CONFIG_KPROBES is not set |
152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 153 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -154,11 +155,13 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
154 | CONFIG_HAVE_KPROBES=y | 155 | CONFIG_HAVE_KPROBES=y |
155 | CONFIG_HAVE_KRETPROBES=y | 156 | CONFIG_HAVE_KRETPROBES=y |
156 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 157 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
158 | CONFIG_HAVE_DMA_ATTRS=y | ||
159 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
157 | 160 | ||
158 | # | 161 | # |
159 | # GCOV-based kernel profiling | 162 | # GCOV-based kernel profiling |
160 | # | 163 | # |
161 | # CONFIG_SLOW_WORK is not set | 164 | CONFIG_SLOW_WORK=y |
162 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 165 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
163 | CONFIG_SLABINFO=y | 166 | CONFIG_SLABINFO=y |
164 | CONFIG_RT_MUTEXES=y | 167 | CONFIG_RT_MUTEXES=y |
@@ -258,6 +261,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
258 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 261 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
259 | # CONFIG_KEXEC is not set | 262 | # CONFIG_KEXEC is not set |
260 | # CONFIG_CRASH_DUMP is not set | 263 | # CONFIG_CRASH_DUMP is not set |
264 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
261 | CONFIG_ARCH_FLATMEM_ENABLE=y | 265 | CONFIG_ARCH_FLATMEM_ENABLE=y |
262 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 266 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
263 | CONFIG_SELECT_MEMORY_MODEL=y | 267 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -275,6 +279,7 @@ CONFIG_BOUNCE=y | |||
275 | CONFIG_VIRT_TO_BUS=y | 279 | CONFIG_VIRT_TO_BUS=y |
276 | CONFIG_HAVE_MLOCK=y | 280 | CONFIG_HAVE_MLOCK=y |
277 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 281 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
282 | # CONFIG_KSM is not set | ||
278 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 283 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
279 | CONFIG_PPC_4K_PAGES=y | 284 | CONFIG_PPC_4K_PAGES=y |
280 | # CONFIG_PPC_16K_PAGES is not set | 285 | # CONFIG_PPC_16K_PAGES is not set |
@@ -482,6 +487,7 @@ CONFIG_IP_NF_ARPFILTER=m | |||
482 | CONFIG_IP_NF_ARP_MANGLE=m | 487 | CONFIG_IP_NF_ARP_MANGLE=m |
483 | # CONFIG_IP_DCCP is not set | 488 | # CONFIG_IP_DCCP is not set |
484 | # CONFIG_IP_SCTP is not set | 489 | # CONFIG_IP_SCTP is not set |
490 | # CONFIG_RDS is not set | ||
485 | # CONFIG_TIPC is not set | 491 | # CONFIG_TIPC is not set |
486 | # CONFIG_ATM is not set | 492 | # CONFIG_ATM is not set |
487 | # CONFIG_BRIDGE is not set | 493 | # CONFIG_BRIDGE is not set |
@@ -511,6 +517,7 @@ CONFIG_IP_NF_ARP_MANGLE=m | |||
511 | # CONFIG_AF_RXRPC is not set | 517 | # CONFIG_AF_RXRPC is not set |
512 | CONFIG_WIRELESS=y | 518 | CONFIG_WIRELESS=y |
513 | # CONFIG_CFG80211 is not set | 519 | # CONFIG_CFG80211 is not set |
520 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
514 | CONFIG_WIRELESS_OLD_REGULATORY=y | 521 | CONFIG_WIRELESS_OLD_REGULATORY=y |
515 | CONFIG_WIRELESS_EXT=y | 522 | CONFIG_WIRELESS_EXT=y |
516 | CONFIG_WIRELESS_EXT_SYSFS=y | 523 | CONFIG_WIRELESS_EXT_SYSFS=y |
@@ -519,7 +526,6 @@ CONFIG_WIRELESS_EXT_SYSFS=y | |||
519 | # | 526 | # |
520 | # CFG80211 needs to be enabled for MAC80211 | 527 | # CFG80211 needs to be enabled for MAC80211 |
521 | # | 528 | # |
522 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
523 | # CONFIG_WIMAX is not set | 529 | # CONFIG_WIMAX is not set |
524 | # CONFIG_RFKILL is not set | 530 | # CONFIG_RFKILL is not set |
525 | # CONFIG_NET_9P is not set | 531 | # CONFIG_NET_9P is not set |
@@ -532,6 +538,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
532 | # Generic Driver Options | 538 | # Generic Driver Options |
533 | # | 539 | # |
534 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 540 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
541 | # CONFIG_DEVTMPFS is not set | ||
535 | CONFIG_STANDALONE=y | 542 | CONFIG_STANDALONE=y |
536 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 543 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
537 | CONFIG_FW_LOADER=y | 544 | CONFIG_FW_LOADER=y |
@@ -543,9 +550,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
543 | # CONFIG_CONNECTOR is not set | 550 | # CONFIG_CONNECTOR is not set |
544 | CONFIG_MTD=y | 551 | CONFIG_MTD=y |
545 | # CONFIG_MTD_DEBUG is not set | 552 | # CONFIG_MTD_DEBUG is not set |
553 | # CONFIG_MTD_TESTS is not set | ||
546 | CONFIG_MTD_CONCAT=y | 554 | CONFIG_MTD_CONCAT=y |
547 | CONFIG_MTD_PARTITIONS=y | 555 | CONFIG_MTD_PARTITIONS=y |
548 | # CONFIG_MTD_TESTS is not set | ||
549 | # CONFIG_MTD_REDBOOT_PARTS is not set | 556 | # CONFIG_MTD_REDBOOT_PARTS is not set |
550 | CONFIG_MTD_CMDLINE_PARTS=y | 557 | CONFIG_MTD_CMDLINE_PARTS=y |
551 | CONFIG_MTD_OF_PARTS=y | 558 | CONFIG_MTD_OF_PARTS=y |
@@ -711,6 +718,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
711 | # CONFIG_ISCSI_TCP is not set | 718 | # CONFIG_ISCSI_TCP is not set |
712 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 719 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
713 | # CONFIG_SCSI_BNX2_ISCSI is not set | 720 | # CONFIG_SCSI_BNX2_ISCSI is not set |
721 | # CONFIG_BE2ISCSI is not set | ||
714 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 722 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
715 | # CONFIG_SCSI_3W_9XXX is not set | 723 | # CONFIG_SCSI_3W_9XXX is not set |
716 | # CONFIG_SCSI_ACARD is not set | 724 | # CONFIG_SCSI_ACARD is not set |
@@ -750,11 +758,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
750 | # CONFIG_SCSI_DC390T is not set | 758 | # CONFIG_SCSI_DC390T is not set |
751 | # CONFIG_SCSI_NSP32 is not set | 759 | # CONFIG_SCSI_NSP32 is not set |
752 | # CONFIG_SCSI_DEBUG is not set | 760 | # CONFIG_SCSI_DEBUG is not set |
761 | # CONFIG_SCSI_PMCRAID is not set | ||
753 | # CONFIG_SCSI_SRP is not set | 762 | # CONFIG_SCSI_SRP is not set |
763 | # CONFIG_SCSI_BFA_FC is not set | ||
754 | # CONFIG_SCSI_DH is not set | 764 | # CONFIG_SCSI_DH is not set |
755 | # CONFIG_SCSI_OSD_INITIATOR is not set | 765 | # CONFIG_SCSI_OSD_INITIATOR is not set |
756 | CONFIG_ATA=y | 766 | CONFIG_ATA=y |
757 | # CONFIG_ATA_NONSTANDARD is not set | 767 | # CONFIG_ATA_NONSTANDARD is not set |
768 | CONFIG_ATA_VERBOSE_ERROR=y | ||
758 | CONFIG_SATA_PMP=y | 769 | CONFIG_SATA_PMP=y |
759 | # CONFIG_SATA_AHCI is not set | 770 | # CONFIG_SATA_AHCI is not set |
760 | # CONFIG_SATA_SIL24 is not set | 771 | # CONFIG_SATA_SIL24 is not set |
@@ -777,6 +788,7 @@ CONFIG_ATA_SFF=y | |||
777 | # CONFIG_PATA_ALI is not set | 788 | # CONFIG_PATA_ALI is not set |
778 | # CONFIG_PATA_AMD is not set | 789 | # CONFIG_PATA_AMD is not set |
779 | # CONFIG_PATA_ARTOP is not set | 790 | # CONFIG_PATA_ARTOP is not set |
791 | # CONFIG_PATA_ATP867X is not set | ||
780 | # CONFIG_PATA_ATIIXP is not set | 792 | # CONFIG_PATA_ATIIXP is not set |
781 | # CONFIG_PATA_CMD640_PCI is not set | 793 | # CONFIG_PATA_CMD640_PCI is not set |
782 | # CONFIG_PATA_CMD64X is not set | 794 | # CONFIG_PATA_CMD64X is not set |
@@ -804,6 +816,7 @@ CONFIG_PATA_IT821X=y | |||
804 | # CONFIG_PATA_OPTIDMA is not set | 816 | # CONFIG_PATA_OPTIDMA is not set |
805 | # CONFIG_PATA_PDC_OLD is not set | 817 | # CONFIG_PATA_PDC_OLD is not set |
806 | # CONFIG_PATA_RADISYS is not set | 818 | # CONFIG_PATA_RADISYS is not set |
819 | # CONFIG_PATA_RDC is not set | ||
807 | # CONFIG_PATA_RZ1000 is not set | 820 | # CONFIG_PATA_RZ1000 is not set |
808 | # CONFIG_PATA_SC1200 is not set | 821 | # CONFIG_PATA_SC1200 is not set |
809 | # CONFIG_PATA_SERVERWORKS is not set | 822 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -870,7 +883,9 @@ CONFIG_TULIP_MMIO=y | |||
870 | # CONFIG_NET_PCI is not set | 883 | # CONFIG_NET_PCI is not set |
871 | # CONFIG_B44 is not set | 884 | # CONFIG_B44 is not set |
872 | # CONFIG_KS8842 is not set | 885 | # CONFIG_KS8842 is not set |
886 | # CONFIG_KS8851_MLL is not set | ||
873 | # CONFIG_ATL2 is not set | 887 | # CONFIG_ATL2 is not set |
888 | # CONFIG_XILINX_EMACLITE is not set | ||
874 | CONFIG_NETDEV_1000=y | 889 | CONFIG_NETDEV_1000=y |
875 | # CONFIG_ACENIC is not set | 890 | # CONFIG_ACENIC is not set |
876 | # CONFIG_DL2K is not set | 891 | # CONFIG_DL2K is not set |
@@ -918,10 +933,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
918 | # CONFIG_SFC is not set | 933 | # CONFIG_SFC is not set |
919 | # CONFIG_BE2NET is not set | 934 | # CONFIG_BE2NET is not set |
920 | # CONFIG_TR is not set | 935 | # CONFIG_TR is not set |
921 | 936 | CONFIG_WLAN=y | |
922 | # | ||
923 | # Wireless LAN | ||
924 | # | ||
925 | # CONFIG_WLAN_PRE80211 is not set | 937 | # CONFIG_WLAN_PRE80211 is not set |
926 | # CONFIG_WLAN_80211 is not set | 938 | # CONFIG_WLAN_80211 is not set |
927 | 939 | ||
@@ -1043,6 +1055,7 @@ CONFIG_HW_RANDOM=y | |||
1043 | CONFIG_DEVPORT=y | 1055 | CONFIG_DEVPORT=y |
1044 | CONFIG_I2C=y | 1056 | CONFIG_I2C=y |
1045 | CONFIG_I2C_BOARDINFO=y | 1057 | CONFIG_I2C_BOARDINFO=y |
1058 | CONFIG_I2C_COMPAT=y | ||
1046 | CONFIG_I2C_CHARDEV=y | 1059 | CONFIG_I2C_CHARDEV=y |
1047 | CONFIG_I2C_HELPER_AUTO=y | 1060 | CONFIG_I2C_HELPER_AUTO=y |
1048 | 1061 | ||
@@ -1097,9 +1110,6 @@ CONFIG_I2C_MPC=y | |||
1097 | # Miscellaneous I2C Chip support | 1110 | # Miscellaneous I2C Chip support |
1098 | # | 1111 | # |
1099 | # CONFIG_DS1682 is not set | 1112 | # CONFIG_DS1682 is not set |
1100 | # CONFIG_SENSORS_PCF8574 is not set | ||
1101 | # CONFIG_PCF8575 is not set | ||
1102 | # CONFIG_SENSORS_PCA9539 is not set | ||
1103 | # CONFIG_SENSORS_TSL2550 is not set | 1113 | # CONFIG_SENSORS_TSL2550 is not set |
1104 | # CONFIG_I2C_DEBUG_CORE is not set | 1114 | # CONFIG_I2C_DEBUG_CORE is not set |
1105 | # CONFIG_I2C_DEBUG_ALGO is not set | 1115 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1117,6 +1127,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1117 | # CONFIG_POWER_SUPPLY is not set | 1127 | # CONFIG_POWER_SUPPLY is not set |
1118 | CONFIG_HWMON=y | 1128 | CONFIG_HWMON=y |
1119 | # CONFIG_HWMON_VID is not set | 1129 | # CONFIG_HWMON_VID is not set |
1130 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1131 | |||
1132 | # | ||
1133 | # Native drivers | ||
1134 | # | ||
1120 | # CONFIG_SENSORS_AD7414 is not set | 1135 | # CONFIG_SENSORS_AD7414 is not set |
1121 | # CONFIG_SENSORS_AD7418 is not set | 1136 | # CONFIG_SENSORS_AD7418 is not set |
1122 | # CONFIG_SENSORS_ADM1021 is not set | 1137 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1166,6 +1181,7 @@ CONFIG_HWMON=y | |||
1166 | # CONFIG_SENSORS_ADS7828 is not set | 1181 | # CONFIG_SENSORS_ADS7828 is not set |
1167 | # CONFIG_SENSORS_THMC50 is not set | 1182 | # CONFIG_SENSORS_THMC50 is not set |
1168 | # CONFIG_SENSORS_TMP401 is not set | 1183 | # CONFIG_SENSORS_TMP401 is not set |
1184 | # CONFIG_SENSORS_TMP421 is not set | ||
1169 | # CONFIG_SENSORS_VIA686A is not set | 1185 | # CONFIG_SENSORS_VIA686A is not set |
1170 | # CONFIG_SENSORS_VT1211 is not set | 1186 | # CONFIG_SENSORS_VT1211 is not set |
1171 | # CONFIG_SENSORS_VT8231 is not set | 1187 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1177,9 +1193,7 @@ CONFIG_HWMON=y | |||
1177 | # CONFIG_SENSORS_W83L786NG is not set | 1193 | # CONFIG_SENSORS_W83L786NG is not set |
1178 | # CONFIG_SENSORS_W83627HF is not set | 1194 | # CONFIG_SENSORS_W83627HF is not set |
1179 | # CONFIG_SENSORS_W83627EHF is not set | 1195 | # CONFIG_SENSORS_W83627EHF is not set |
1180 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1181 | # CONFIG_THERMAL is not set | 1196 | # CONFIG_THERMAL is not set |
1182 | # CONFIG_THERMAL_HWMON is not set | ||
1183 | # CONFIG_WATCHDOG is not set | 1197 | # CONFIG_WATCHDOG is not set |
1184 | CONFIG_SSB_POSSIBLE=y | 1198 | CONFIG_SSB_POSSIBLE=y |
1185 | 1199 | ||
@@ -1198,6 +1212,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1198 | # CONFIG_MFD_TMIO is not set | 1212 | # CONFIG_MFD_TMIO is not set |
1199 | # CONFIG_PMIC_DA903X is not set | 1213 | # CONFIG_PMIC_DA903X is not set |
1200 | # CONFIG_MFD_WM8400 is not set | 1214 | # CONFIG_MFD_WM8400 is not set |
1215 | # CONFIG_MFD_WM831X is not set | ||
1201 | # CONFIG_MFD_WM8350_I2C is not set | 1216 | # CONFIG_MFD_WM8350_I2C is not set |
1202 | # CONFIG_MFD_PCF50633 is not set | 1217 | # CONFIG_MFD_PCF50633 is not set |
1203 | # CONFIG_AB3100_CORE is not set | 1218 | # CONFIG_AB3100_CORE is not set |
@@ -1208,6 +1223,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1208 | # Graphics support | 1223 | # Graphics support |
1209 | # | 1224 | # |
1210 | # CONFIG_AGP is not set | 1225 | # CONFIG_AGP is not set |
1226 | CONFIG_VGA_ARB=y | ||
1211 | # CONFIG_DRM is not set | 1227 | # CONFIG_DRM is not set |
1212 | # CONFIG_VGASTATE is not set | 1228 | # CONFIG_VGASTATE is not set |
1213 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1229 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1227,7 +1243,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1227 | # CONFIG_SOUND is not set | 1243 | # CONFIG_SOUND is not set |
1228 | CONFIG_HID_SUPPORT=y | 1244 | CONFIG_HID_SUPPORT=y |
1229 | CONFIG_HID=m | 1245 | CONFIG_HID=m |
1230 | # CONFIG_HID_DEBUG is not set | ||
1231 | # CONFIG_HIDRAW is not set | 1246 | # CONFIG_HIDRAW is not set |
1232 | 1247 | ||
1233 | # | 1248 | # |
@@ -1271,6 +1286,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1271 | # CONFIG_USB_OXU210HP_HCD is not set | 1286 | # CONFIG_USB_OXU210HP_HCD is not set |
1272 | # CONFIG_USB_ISP116X_HCD is not set | 1287 | # CONFIG_USB_ISP116X_HCD is not set |
1273 | # CONFIG_USB_ISP1760_HCD is not set | 1288 | # CONFIG_USB_ISP1760_HCD is not set |
1289 | # CONFIG_USB_ISP1362_HCD is not set | ||
1274 | CONFIG_USB_OHCI_HCD=y | 1290 | CONFIG_USB_OHCI_HCD=y |
1275 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1291 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1276 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1292 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1500,6 +1516,7 @@ CONFIG_XFS_FS=m | |||
1500 | # CONFIG_GFS2_FS is not set | 1516 | # CONFIG_GFS2_FS is not set |
1501 | # CONFIG_OCFS2_FS is not set | 1517 | # CONFIG_OCFS2_FS is not set |
1502 | # CONFIG_BTRFS_FS is not set | 1518 | # CONFIG_BTRFS_FS is not set |
1519 | # CONFIG_NILFS2_FS is not set | ||
1503 | CONFIG_FILE_LOCKING=y | 1520 | CONFIG_FILE_LOCKING=y |
1504 | CONFIG_FSNOTIFY=y | 1521 | CONFIG_FSNOTIFY=y |
1505 | CONFIG_DNOTIFY=y | 1522 | CONFIG_DNOTIFY=y |
@@ -1567,7 +1584,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1567 | # CONFIG_ROMFS_FS is not set | 1584 | # CONFIG_ROMFS_FS is not set |
1568 | # CONFIG_SYSV_FS is not set | 1585 | # CONFIG_SYSV_FS is not set |
1569 | # CONFIG_UFS_FS is not set | 1586 | # CONFIG_UFS_FS is not set |
1570 | # CONFIG_NILFS2_FS is not set | ||
1571 | CONFIG_NETWORK_FILESYSTEMS=y | 1587 | CONFIG_NETWORK_FILESYSTEMS=y |
1572 | CONFIG_NFS_FS=y | 1588 | CONFIG_NFS_FS=y |
1573 | CONFIG_NFS_V3=y | 1589 | CONFIG_NFS_V3=y |
@@ -1681,6 +1697,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1681 | CONFIG_ENABLE_MUST_CHECK=y | 1697 | CONFIG_ENABLE_MUST_CHECK=y |
1682 | CONFIG_FRAME_WARN=1024 | 1698 | CONFIG_FRAME_WARN=1024 |
1683 | CONFIG_MAGIC_SYSRQ=y | 1699 | CONFIG_MAGIC_SYSRQ=y |
1700 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1684 | # CONFIG_UNUSED_SYMBOLS is not set | 1701 | # CONFIG_UNUSED_SYMBOLS is not set |
1685 | # CONFIG_DEBUG_FS is not set | 1702 | # CONFIG_DEBUG_FS is not set |
1686 | # CONFIG_HEADERS_CHECK is not set | 1703 | # CONFIG_HEADERS_CHECK is not set |
@@ -1698,6 +1715,7 @@ CONFIG_SCHED_DEBUG=y | |||
1698 | # CONFIG_DEBUG_OBJECTS is not set | 1715 | # CONFIG_DEBUG_OBJECTS is not set |
1699 | # CONFIG_SLUB_DEBUG_ON is not set | 1716 | # CONFIG_SLUB_DEBUG_ON is not set |
1700 | # CONFIG_SLUB_STATS is not set | 1717 | # CONFIG_SLUB_STATS is not set |
1718 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1701 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1719 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1702 | # CONFIG_RT_MUTEX_TESTER is not set | 1720 | # CONFIG_RT_MUTEX_TESTER is not set |
1703 | # CONFIG_DEBUG_SPINLOCK is not set | 1721 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1716,10 +1734,12 @@ CONFIG_DEBUG_MEMORY_INIT=y | |||
1716 | # CONFIG_DEBUG_LIST is not set | 1734 | # CONFIG_DEBUG_LIST is not set |
1717 | # CONFIG_DEBUG_SG is not set | 1735 | # CONFIG_DEBUG_SG is not set |
1718 | # CONFIG_DEBUG_NOTIFIERS is not set | 1736 | # CONFIG_DEBUG_NOTIFIERS is not set |
1737 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1719 | # CONFIG_RCU_TORTURE_TEST is not set | 1738 | # CONFIG_RCU_TORTURE_TEST is not set |
1720 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1739 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1721 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1740 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1722 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1741 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1742 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1723 | # CONFIG_FAULT_INJECTION is not set | 1743 | # CONFIG_FAULT_INJECTION is not set |
1724 | # CONFIG_LATENCYTOP is not set | 1744 | # CONFIG_LATENCYTOP is not set |
1725 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1745 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1742,6 +1762,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1742 | # CONFIG_KMEMTRACE is not set | 1762 | # CONFIG_KMEMTRACE is not set |
1743 | # CONFIG_WORKQUEUE_TRACER is not set | 1763 | # CONFIG_WORKQUEUE_TRACER is not set |
1744 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1764 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1765 | # CONFIG_DMA_API_DEBUG is not set | ||
1745 | # CONFIG_SAMPLES is not set | 1766 | # CONFIG_SAMPLES is not set |
1746 | CONFIG_HAVE_ARCH_KGDB=y | 1767 | CONFIG_HAVE_ARCH_KGDB=y |
1747 | # CONFIG_KGDB is not set | 1768 | # CONFIG_KGDB is not set |
@@ -1771,7 +1792,6 @@ CONFIG_CRYPTO=y | |||
1771 | # | 1792 | # |
1772 | # Crypto core or helper | 1793 | # Crypto core or helper |
1773 | # | 1794 | # |
1774 | # CONFIG_CRYPTO_FIPS is not set | ||
1775 | CONFIG_CRYPTO_ALGAPI=y | 1795 | CONFIG_CRYPTO_ALGAPI=y |
1776 | CONFIG_CRYPTO_ALGAPI2=y | 1796 | CONFIG_CRYPTO_ALGAPI2=y |
1777 | CONFIG_CRYPTO_AEAD2=y | 1797 | CONFIG_CRYPTO_AEAD2=y |
@@ -1813,11 +1833,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1813 | # | 1833 | # |
1814 | # CONFIG_CRYPTO_HMAC is not set | 1834 | # CONFIG_CRYPTO_HMAC is not set |
1815 | # CONFIG_CRYPTO_XCBC is not set | 1835 | # CONFIG_CRYPTO_XCBC is not set |
1836 | # CONFIG_CRYPTO_VMAC is not set | ||
1816 | 1837 | ||
1817 | # | 1838 | # |
1818 | # Digest | 1839 | # Digest |
1819 | # | 1840 | # |
1820 | CONFIG_CRYPTO_CRC32C=m | 1841 | CONFIG_CRYPTO_CRC32C=m |
1842 | # CONFIG_CRYPTO_GHASH is not set | ||
1821 | CONFIG_CRYPTO_MD4=m | 1843 | CONFIG_CRYPTO_MD4=m |
1822 | CONFIG_CRYPTO_MD5=y | 1844 | CONFIG_CRYPTO_MD5=y |
1823 | CONFIG_CRYPTO_MICHAEL_MIC=m | 1845 | CONFIG_CRYPTO_MICHAEL_MIC=m |
diff --git a/arch/powerpc/configs/mgcoge_defconfig b/arch/powerpc/configs/mgcoge_defconfig index 30b68bfacebf..520b04a0def9 100644 --- a/arch/powerpc/configs/mgcoge_defconfig +++ b/arch/powerpc/configs/mgcoge_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc5 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Fri Aug 7 08:19:15 2009 | 4 | # Thu Nov 5 08:20:09 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -84,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
84 | # | 85 | # |
85 | # RCU Subsystem | 86 | # RCU Subsystem |
86 | # | 87 | # |
87 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
88 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
89 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
90 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
91 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
92 | CONFIG_IKCONFIG=y | 94 | CONFIG_IKCONFIG=y |
93 | CONFIG_IKCONFIG_PROC=y | 95 | CONFIG_IKCONFIG_PROC=y |
94 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -123,28 +125,29 @@ CONFIG_TIMERFD=y | |||
123 | CONFIG_EVENTFD=y | 125 | CONFIG_EVENTFD=y |
124 | CONFIG_SHMEM=y | 126 | CONFIG_SHMEM=y |
125 | CONFIG_AIO=y | 127 | CONFIG_AIO=y |
126 | CONFIG_HAVE_PERF_COUNTERS=y | 128 | CONFIG_HAVE_PERF_EVENTS=y |
127 | 129 | ||
128 | # | 130 | # |
129 | # Performance Counters | 131 | # Kernel Performance Events And Counters |
130 | # | 132 | # |
133 | # CONFIG_PERF_EVENTS is not set | ||
131 | # CONFIG_PERF_COUNTERS is not set | 134 | # CONFIG_PERF_COUNTERS is not set |
132 | CONFIG_VM_EVENT_COUNTERS=y | 135 | CONFIG_VM_EVENT_COUNTERS=y |
133 | CONFIG_PCI_QUIRKS=y | 136 | CONFIG_PCI_QUIRKS=y |
134 | # CONFIG_STRIP_ASM_SYMS is not set | ||
135 | CONFIG_COMPAT_BRK=y | 137 | CONFIG_COMPAT_BRK=y |
136 | CONFIG_SLAB=y | 138 | CONFIG_SLAB=y |
137 | # CONFIG_SLUB is not set | 139 | # CONFIG_SLUB is not set |
138 | # CONFIG_SLOB is not set | 140 | # CONFIG_SLOB is not set |
139 | # CONFIG_PROFILING is not set | 141 | # CONFIG_PROFILING is not set |
140 | # CONFIG_MARKERS is not set | ||
141 | CONFIG_HAVE_OPROFILE=y | 142 | CONFIG_HAVE_OPROFILE=y |
142 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 143 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
143 | CONFIG_HAVE_IOREMAP_PROT=y | 144 | CONFIG_HAVE_IOREMAP_PROT=y |
144 | CONFIG_HAVE_KPROBES=y | 145 | CONFIG_HAVE_KPROBES=y |
145 | CONFIG_HAVE_KRETPROBES=y | 146 | CONFIG_HAVE_KRETPROBES=y |
146 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 147 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
148 | CONFIG_HAVE_DMA_ATTRS=y | ||
147 | CONFIG_HAVE_CLK=y | 149 | CONFIG_HAVE_CLK=y |
150 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
148 | 151 | ||
149 | # | 152 | # |
150 | # GCOV-based kernel profiling | 153 | # GCOV-based kernel profiling |
@@ -247,6 +250,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | |||
247 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 250 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
248 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
249 | # CONFIG_CRASH_DUMP is not set | 252 | # CONFIG_CRASH_DUMP is not set |
253 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
250 | CONFIG_ARCH_FLATMEM_ENABLE=y | 254 | CONFIG_ARCH_FLATMEM_ENABLE=y |
251 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 255 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
252 | CONFIG_FLATMEM=y | 256 | CONFIG_FLATMEM=y |
@@ -260,6 +264,7 @@ CONFIG_BOUNCE=y | |||
260 | CONFIG_VIRT_TO_BUS=y | 264 | CONFIG_VIRT_TO_BUS=y |
261 | CONFIG_HAVE_MLOCK=y | 265 | CONFIG_HAVE_MLOCK=y |
262 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 266 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
267 | # CONFIG_KSM is not set | ||
263 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 268 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
264 | CONFIG_PPC_4K_PAGES=y | 269 | CONFIG_PPC_4K_PAGES=y |
265 | # CONFIG_PPC_16K_PAGES is not set | 270 | # CONFIG_PPC_16K_PAGES is not set |
@@ -390,6 +395,7 @@ CONFIG_NETFILTER_ADVANCED=y | |||
390 | # CONFIG_BT is not set | 395 | # CONFIG_BT is not set |
391 | CONFIG_WIRELESS=y | 396 | CONFIG_WIRELESS=y |
392 | # CONFIG_CFG80211 is not set | 397 | # CONFIG_CFG80211 is not set |
398 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
393 | CONFIG_WIRELESS_OLD_REGULATORY=y | 399 | CONFIG_WIRELESS_OLD_REGULATORY=y |
394 | # CONFIG_WIRELESS_EXT is not set | 400 | # CONFIG_WIRELESS_EXT is not set |
395 | # CONFIG_LIB80211 is not set | 401 | # CONFIG_LIB80211 is not set |
@@ -397,7 +403,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
397 | # | 403 | # |
398 | # CFG80211 needs to be enabled for MAC80211 | 404 | # CFG80211 needs to be enabled for MAC80211 |
399 | # | 405 | # |
400 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
401 | # CONFIG_WIMAX is not set | 406 | # CONFIG_WIMAX is not set |
402 | # CONFIG_RFKILL is not set | 407 | # CONFIG_RFKILL is not set |
403 | 408 | ||
@@ -409,6 +414,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
409 | # Generic Driver Options | 414 | # Generic Driver Options |
410 | # | 415 | # |
411 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 416 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
417 | # CONFIG_DEVTMPFS is not set | ||
412 | CONFIG_STANDALONE=y | 418 | CONFIG_STANDALONE=y |
413 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 419 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
414 | # CONFIG_FW_LOADER is not set | 420 | # CONFIG_FW_LOADER is not set |
@@ -608,7 +614,9 @@ CONFIG_MII=y | |||
608 | # CONFIG_NET_PCI is not set | 614 | # CONFIG_NET_PCI is not set |
609 | # CONFIG_B44 is not set | 615 | # CONFIG_B44 is not set |
610 | # CONFIG_KS8842 is not set | 616 | # CONFIG_KS8842 is not set |
617 | # CONFIG_KS8851_MLL is not set | ||
611 | # CONFIG_ATL2 is not set | 618 | # CONFIG_ATL2 is not set |
619 | # CONFIG_XILINX_EMACLITE is not set | ||
612 | CONFIG_FS_ENET=y | 620 | CONFIG_FS_ENET=y |
613 | CONFIG_FS_ENET_HAS_SCC=y | 621 | CONFIG_FS_ENET_HAS_SCC=y |
614 | CONFIG_FS_ENET_HAS_FCC=y | 622 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -616,10 +624,7 @@ CONFIG_FS_ENET_MDIO_FCC=y | |||
616 | # CONFIG_NETDEV_1000 is not set | 624 | # CONFIG_NETDEV_1000 is not set |
617 | # CONFIG_NETDEV_10000 is not set | 625 | # CONFIG_NETDEV_10000 is not set |
618 | # CONFIG_TR is not set | 626 | # CONFIG_TR is not set |
619 | 627 | CONFIG_WLAN=y | |
620 | # | ||
621 | # Wireless LAN | ||
622 | # | ||
623 | # CONFIG_WLAN_PRE80211 is not set | 628 | # CONFIG_WLAN_PRE80211 is not set |
624 | # CONFIG_WLAN_80211 is not set | 629 | # CONFIG_WLAN_80211 is not set |
625 | 630 | ||
@@ -685,6 +690,7 @@ CONFIG_HW_RANDOM=y | |||
685 | CONFIG_DEVPORT=y | 690 | CONFIG_DEVPORT=y |
686 | CONFIG_I2C=y | 691 | CONFIG_I2C=y |
687 | CONFIG_I2C_BOARDINFO=y | 692 | CONFIG_I2C_BOARDINFO=y |
693 | CONFIG_I2C_COMPAT=y | ||
688 | CONFIG_I2C_CHARDEV=y | 694 | CONFIG_I2C_CHARDEV=y |
689 | CONFIG_I2C_HELPER_AUTO=y | 695 | CONFIG_I2C_HELPER_AUTO=y |
690 | 696 | ||
@@ -740,7 +746,6 @@ CONFIG_I2C_CPM=y | |||
740 | # | 746 | # |
741 | # Miscellaneous I2C Chip support | 747 | # Miscellaneous I2C Chip support |
742 | # | 748 | # |
743 | # CONFIG_PCF8575 is not set | ||
744 | # CONFIG_I2C_DEBUG_CORE is not set | 749 | # CONFIG_I2C_DEBUG_CORE is not set |
745 | # CONFIG_I2C_DEBUG_ALGO is not set | 750 | # CONFIG_I2C_DEBUG_ALGO is not set |
746 | # CONFIG_I2C_DEBUG_BUS is not set | 751 | # CONFIG_I2C_DEBUG_BUS is not set |
@@ -771,15 +776,19 @@ CONFIG_GPIOLIB=y | |||
771 | # PCI GPIO expanders: | 776 | # PCI GPIO expanders: |
772 | # | 777 | # |
773 | # CONFIG_GPIO_BT8XX is not set | 778 | # CONFIG_GPIO_BT8XX is not set |
779 | # CONFIG_GPIO_LANGWELL is not set | ||
774 | 780 | ||
775 | # | 781 | # |
776 | # SPI GPIO expanders: | 782 | # SPI GPIO expanders: |
777 | # | 783 | # |
784 | |||
785 | # | ||
786 | # AC97 GPIO expanders: | ||
787 | # | ||
778 | # CONFIG_W1 is not set | 788 | # CONFIG_W1 is not set |
779 | # CONFIG_POWER_SUPPLY is not set | 789 | # CONFIG_POWER_SUPPLY is not set |
780 | # CONFIG_HWMON is not set | 790 | # CONFIG_HWMON is not set |
781 | # CONFIG_THERMAL is not set | 791 | # CONFIG_THERMAL is not set |
782 | # CONFIG_THERMAL_HWMON is not set | ||
783 | # CONFIG_WATCHDOG is not set | 792 | # CONFIG_WATCHDOG is not set |
784 | CONFIG_SSB_POSSIBLE=y | 793 | CONFIG_SSB_POSSIBLE=y |
785 | 794 | ||
@@ -799,6 +808,7 @@ CONFIG_SSB_POSSIBLE=y | |||
799 | # CONFIG_MFD_TMIO is not set | 808 | # CONFIG_MFD_TMIO is not set |
800 | # CONFIG_PMIC_DA903X is not set | 809 | # CONFIG_PMIC_DA903X is not set |
801 | # CONFIG_MFD_WM8400 is not set | 810 | # CONFIG_MFD_WM8400 is not set |
811 | # CONFIG_MFD_WM831X is not set | ||
802 | # CONFIG_MFD_WM8350_I2C is not set | 812 | # CONFIG_MFD_WM8350_I2C is not set |
803 | # CONFIG_MFD_PCF50633 is not set | 813 | # CONFIG_MFD_PCF50633 is not set |
804 | # CONFIG_AB3100_CORE is not set | 814 | # CONFIG_AB3100_CORE is not set |
@@ -809,6 +819,7 @@ CONFIG_SSB_POSSIBLE=y | |||
809 | # Graphics support | 819 | # Graphics support |
810 | # | 820 | # |
811 | # CONFIG_AGP is not set | 821 | # CONFIG_AGP is not set |
822 | CONFIG_VGA_ARB=y | ||
812 | # CONFIG_DRM is not set | 823 | # CONFIG_DRM is not set |
813 | # CONFIG_VGASTATE is not set | 824 | # CONFIG_VGASTATE is not set |
814 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 825 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1022,6 +1033,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1022 | CONFIG_ENABLE_MUST_CHECK=y | 1033 | CONFIG_ENABLE_MUST_CHECK=y |
1023 | CONFIG_FRAME_WARN=1024 | 1034 | CONFIG_FRAME_WARN=1024 |
1024 | CONFIG_MAGIC_SYSRQ=y | 1035 | CONFIG_MAGIC_SYSRQ=y |
1036 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1025 | # CONFIG_UNUSED_SYMBOLS is not set | 1037 | # CONFIG_UNUSED_SYMBOLS is not set |
1026 | CONFIG_DEBUG_FS=y | 1038 | CONFIG_DEBUG_FS=y |
1027 | # CONFIG_HEADERS_CHECK is not set | 1039 | # CONFIG_HEADERS_CHECK is not set |
@@ -1052,10 +1064,12 @@ CONFIG_DEBUG_INFO=y | |||
1052 | # CONFIG_DEBUG_LIST is not set | 1064 | # CONFIG_DEBUG_LIST is not set |
1053 | # CONFIG_DEBUG_SG is not set | 1065 | # CONFIG_DEBUG_SG is not set |
1054 | # CONFIG_DEBUG_NOTIFIERS is not set | 1066 | # CONFIG_DEBUG_NOTIFIERS is not set |
1067 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1055 | # CONFIG_RCU_TORTURE_TEST is not set | 1068 | # CONFIG_RCU_TORTURE_TEST is not set |
1056 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1069 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1057 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1070 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1058 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1071 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1072 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1059 | # CONFIG_FAULT_INJECTION is not set | 1073 | # CONFIG_FAULT_INJECTION is not set |
1060 | # CONFIG_LATENCYTOP is not set | 1074 | # CONFIG_LATENCYTOP is not set |
1061 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1075 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1079,6 +1093,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1079 | # CONFIG_WORKQUEUE_TRACER is not set | 1093 | # CONFIG_WORKQUEUE_TRACER is not set |
1080 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1094 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1081 | # CONFIG_DYNAMIC_DEBUG is not set | 1095 | # CONFIG_DYNAMIC_DEBUG is not set |
1096 | # CONFIG_DMA_API_DEBUG is not set | ||
1082 | # CONFIG_SAMPLES is not set | 1097 | # CONFIG_SAMPLES is not set |
1083 | CONFIG_HAVE_ARCH_KGDB=y | 1098 | CONFIG_HAVE_ARCH_KGDB=y |
1084 | # CONFIG_PPC_DISABLE_WERROR is not set | 1099 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1109,7 +1124,6 @@ CONFIG_CRYPTO=y | |||
1109 | # | 1124 | # |
1110 | # Crypto core or helper | 1125 | # Crypto core or helper |
1111 | # | 1126 | # |
1112 | # CONFIG_CRYPTO_FIPS is not set | ||
1113 | CONFIG_CRYPTO_ALGAPI=y | 1127 | CONFIG_CRYPTO_ALGAPI=y |
1114 | CONFIG_CRYPTO_ALGAPI2=y | 1128 | CONFIG_CRYPTO_ALGAPI2=y |
1115 | CONFIG_CRYPTO_AEAD2=y | 1129 | CONFIG_CRYPTO_AEAD2=y |
@@ -1151,6 +1165,7 @@ CONFIG_CRYPTO_PCBC=y | |||
1151 | # Digest | 1165 | # Digest |
1152 | # | 1166 | # |
1153 | # CONFIG_CRYPTO_CRC32C is not set | 1167 | # CONFIG_CRYPTO_CRC32C is not set |
1168 | # CONFIG_CRYPTO_GHASH is not set | ||
1154 | # CONFIG_CRYPTO_MD4 is not set | 1169 | # CONFIG_CRYPTO_MD4 is not set |
1155 | CONFIG_CRYPTO_MD5=y | 1170 | CONFIG_CRYPTO_MD5=y |
1156 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1171 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mgsuvd_defconfig b/arch/powerpc/configs/mgsuvd_defconfig index 1ae85a3b2942..43c3c4fcdce3 100644 --- a/arch/powerpc/configs/mgsuvd_defconfig +++ b/arch/powerpc/configs/mgsuvd_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:52 2009 | 4 | # Thu Nov 5 08:20:10 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -16,6 +16,7 @@ CONFIG_PPC_8xx=y | |||
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_8xx=y | 17 | CONFIG_8xx=y |
18 | CONFIG_PPC_MMU_NOHASH=y | 18 | CONFIG_PPC_MMU_NOHASH=y |
19 | CONFIG_PPC_MMU_NOHASH_32=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | 20 | # CONFIG_PPC_MM_SLICES is not set |
20 | CONFIG_NOT_COHERENT_CACHE=y | 21 | CONFIG_NOT_COHERENT_CACHE=y |
21 | CONFIG_PPC32=y | 22 | CONFIG_PPC32=y |
@@ -29,6 +30,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
29 | CONFIG_GENERIC_HARDIRQS=y | 30 | CONFIG_GENERIC_HARDIRQS=y |
30 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 31 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
31 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 32 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
33 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
32 | CONFIG_IRQ_PER_CPU=y | 34 | CONFIG_IRQ_PER_CPU=y |
33 | CONFIG_STACKTRACE_SUPPORT=y | 35 | CONFIG_STACKTRACE_SUPPORT=y |
34 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -76,11 +78,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
76 | # | 78 | # |
77 | # RCU Subsystem | 79 | # RCU Subsystem |
78 | # | 80 | # |
79 | CONFIG_CLASSIC_RCU=y | 81 | CONFIG_TREE_RCU=y |
80 | # CONFIG_TREE_RCU is not set | 82 | # CONFIG_TREE_PREEMPT_RCU is not set |
81 | # CONFIG_PREEMPT_RCU is not set | 83 | # CONFIG_RCU_TRACE is not set |
84 | CONFIG_RCU_FANOUT=32 | ||
85 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
82 | # CONFIG_TREE_RCU_TRACE is not set | 86 | # CONFIG_TREE_RCU_TRACE is not set |
83 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
84 | # CONFIG_IKCONFIG is not set | 87 | # CONFIG_IKCONFIG is not set |
85 | CONFIG_LOG_BUF_SHIFT=17 | 88 | CONFIG_LOG_BUF_SHIFT=17 |
86 | CONFIG_GROUP_SCHED=y | 89 | CONFIG_GROUP_SCHED=y |
@@ -117,27 +120,28 @@ CONFIG_TIMERFD=y | |||
117 | CONFIG_EVENTFD=y | 120 | CONFIG_EVENTFD=y |
118 | CONFIG_SHMEM=y | 121 | CONFIG_SHMEM=y |
119 | CONFIG_AIO=y | 122 | CONFIG_AIO=y |
120 | CONFIG_HAVE_PERF_COUNTERS=y | 123 | CONFIG_HAVE_PERF_EVENTS=y |
121 | 124 | ||
122 | # | 125 | # |
123 | # Performance Counters | 126 | # Kernel Performance Events And Counters |
124 | # | 127 | # |
128 | # CONFIG_PERF_EVENTS is not set | ||
125 | # CONFIG_PERF_COUNTERS is not set | 129 | # CONFIG_PERF_COUNTERS is not set |
126 | # CONFIG_VM_EVENT_COUNTERS is not set | 130 | # CONFIG_VM_EVENT_COUNTERS is not set |
127 | # CONFIG_STRIP_ASM_SYMS is not set | ||
128 | CONFIG_COMPAT_BRK=y | 131 | CONFIG_COMPAT_BRK=y |
129 | CONFIG_SLAB=y | 132 | CONFIG_SLAB=y |
130 | # CONFIG_SLUB is not set | 133 | # CONFIG_SLUB is not set |
131 | # CONFIG_SLOB is not set | 134 | # CONFIG_SLOB is not set |
132 | # CONFIG_PROFILING is not set | 135 | # CONFIG_PROFILING is not set |
133 | # CONFIG_MARKERS is not set | ||
134 | CONFIG_HAVE_OPROFILE=y | 136 | CONFIG_HAVE_OPROFILE=y |
135 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 137 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
136 | CONFIG_HAVE_IOREMAP_PROT=y | 138 | CONFIG_HAVE_IOREMAP_PROT=y |
137 | CONFIG_HAVE_KPROBES=y | 139 | CONFIG_HAVE_KPROBES=y |
138 | CONFIG_HAVE_KRETPROBES=y | 140 | CONFIG_HAVE_KRETPROBES=y |
139 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 141 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
142 | CONFIG_HAVE_DMA_ATTRS=y | ||
140 | CONFIG_HAVE_CLK=y | 143 | CONFIG_HAVE_CLK=y |
144 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
141 | 145 | ||
142 | # | 146 | # |
143 | # GCOV-based kernel profiling | 147 | # GCOV-based kernel profiling |
@@ -237,10 +241,10 @@ CONFIG_BINFMT_ELF=y | |||
237 | CONFIG_MATH_EMULATION=y | 241 | CONFIG_MATH_EMULATION=y |
238 | # CONFIG_IOMMU_HELPER is not set | 242 | # CONFIG_IOMMU_HELPER is not set |
239 | # CONFIG_SWIOTLB is not set | 243 | # CONFIG_SWIOTLB is not set |
240 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
241 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 244 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
242 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 245 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
243 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 246 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
247 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
244 | CONFIG_ARCH_FLATMEM_ENABLE=y | 248 | CONFIG_ARCH_FLATMEM_ENABLE=y |
245 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 249 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
246 | CONFIG_SELECT_MEMORY_MODEL=y | 250 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -258,6 +262,7 @@ CONFIG_BOUNCE=y | |||
258 | CONFIG_VIRT_TO_BUS=y | 262 | CONFIG_VIRT_TO_BUS=y |
259 | CONFIG_HAVE_MLOCK=y | 263 | CONFIG_HAVE_MLOCK=y |
260 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
265 | # CONFIG_KSM is not set | ||
261 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
262 | CONFIG_PPC_4K_PAGES=y | 267 | CONFIG_PPC_4K_PAGES=y |
263 | # CONFIG_PPC_16K_PAGES is not set | 268 | # CONFIG_PPC_16K_PAGES is not set |
@@ -344,6 +349,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
344 | # CONFIG_NETFILTER is not set | 349 | # CONFIG_NETFILTER is not set |
345 | # CONFIG_IP_DCCP is not set | 350 | # CONFIG_IP_DCCP is not set |
346 | # CONFIG_IP_SCTP is not set | 351 | # CONFIG_IP_SCTP is not set |
352 | # CONFIG_RDS is not set | ||
347 | # CONFIG_TIPC is not set | 353 | # CONFIG_TIPC is not set |
348 | # CONFIG_ATM is not set | 354 | # CONFIG_ATM is not set |
349 | # CONFIG_BRIDGE is not set | 355 | # CONFIG_BRIDGE is not set |
@@ -373,6 +379,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
373 | # CONFIG_AF_RXRPC is not set | 379 | # CONFIG_AF_RXRPC is not set |
374 | CONFIG_WIRELESS=y | 380 | CONFIG_WIRELESS=y |
375 | # CONFIG_CFG80211 is not set | 381 | # CONFIG_CFG80211 is not set |
382 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
376 | CONFIG_WIRELESS_OLD_REGULATORY=y | 383 | CONFIG_WIRELESS_OLD_REGULATORY=y |
377 | # CONFIG_WIRELESS_EXT is not set | 384 | # CONFIG_WIRELESS_EXT is not set |
378 | # CONFIG_LIB80211 is not set | 385 | # CONFIG_LIB80211 is not set |
@@ -380,7 +387,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
380 | # | 387 | # |
381 | # CFG80211 needs to be enabled for MAC80211 | 388 | # CFG80211 needs to be enabled for MAC80211 |
382 | # | 389 | # |
383 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
384 | # CONFIG_WIMAX is not set | 390 | # CONFIG_WIMAX is not set |
385 | # CONFIG_RFKILL is not set | 391 | # CONFIG_RFKILL is not set |
386 | # CONFIG_NET_9P is not set | 392 | # CONFIG_NET_9P is not set |
@@ -553,16 +559,15 @@ CONFIG_MII=y | |||
553 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 559 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
554 | # CONFIG_B44 is not set | 560 | # CONFIG_B44 is not set |
555 | # CONFIG_KS8842 is not set | 561 | # CONFIG_KS8842 is not set |
562 | # CONFIG_KS8851_MLL is not set | ||
563 | # CONFIG_XILINX_EMACLITE is not set | ||
556 | CONFIG_FS_ENET=y | 564 | CONFIG_FS_ENET=y |
557 | CONFIG_FS_ENET_HAS_SCC=y | 565 | CONFIG_FS_ENET_HAS_SCC=y |
558 | # CONFIG_FS_ENET_HAS_FEC is not set | 566 | # CONFIG_FS_ENET_HAS_FEC is not set |
559 | # CONFIG_FS_ENET_MDIO_FEC is not set | 567 | # CONFIG_FS_ENET_MDIO_FEC is not set |
560 | # CONFIG_NETDEV_1000 is not set | 568 | # CONFIG_NETDEV_1000 is not set |
561 | # CONFIG_NETDEV_10000 is not set | 569 | # CONFIG_NETDEV_10000 is not set |
562 | 570 | CONFIG_WLAN=y | |
563 | # | ||
564 | # Wireless LAN | ||
565 | # | ||
566 | # CONFIG_WLAN_PRE80211 is not set | 571 | # CONFIG_WLAN_PRE80211 is not set |
567 | # CONFIG_WLAN_80211 is not set | 572 | # CONFIG_WLAN_80211 is not set |
568 | 573 | ||
@@ -635,7 +640,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
635 | # CONFIG_POWER_SUPPLY is not set | 640 | # CONFIG_POWER_SUPPLY is not set |
636 | # CONFIG_HWMON is not set | 641 | # CONFIG_HWMON is not set |
637 | # CONFIG_THERMAL is not set | 642 | # CONFIG_THERMAL is not set |
638 | # CONFIG_THERMAL_HWMON is not set | ||
639 | # CONFIG_WATCHDOG is not set | 643 | # CONFIG_WATCHDOG is not set |
640 | CONFIG_SSB_POSSIBLE=y | 644 | CONFIG_SSB_POSSIBLE=y |
641 | 645 | ||
@@ -707,6 +711,7 @@ CONFIG_FS_MBCACHE=y | |||
707 | # CONFIG_GFS2_FS is not set | 711 | # CONFIG_GFS2_FS is not set |
708 | # CONFIG_OCFS2_FS is not set | 712 | # CONFIG_OCFS2_FS is not set |
709 | # CONFIG_BTRFS_FS is not set | 713 | # CONFIG_BTRFS_FS is not set |
714 | # CONFIG_NILFS2_FS is not set | ||
710 | CONFIG_FILE_LOCKING=y | 715 | CONFIG_FILE_LOCKING=y |
711 | CONFIG_FSNOTIFY=y | 716 | CONFIG_FSNOTIFY=y |
712 | CONFIG_DNOTIFY=y | 717 | CONFIG_DNOTIFY=y |
@@ -776,7 +781,6 @@ CONFIG_CRAMFS=y | |||
776 | # CONFIG_ROMFS_FS is not set | 781 | # CONFIG_ROMFS_FS is not set |
777 | # CONFIG_SYSV_FS is not set | 782 | # CONFIG_SYSV_FS is not set |
778 | # CONFIG_UFS_FS is not set | 783 | # CONFIG_UFS_FS is not set |
779 | # CONFIG_NILFS2_FS is not set | ||
780 | CONFIG_NETWORK_FILESYSTEMS=y | 784 | CONFIG_NETWORK_FILESYSTEMS=y |
781 | CONFIG_NFS_FS=y | 785 | CONFIG_NFS_FS=y |
782 | CONFIG_NFS_V3=y | 786 | CONFIG_NFS_V3=y |
@@ -851,6 +855,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
851 | CONFIG_ENABLE_MUST_CHECK=y | 855 | CONFIG_ENABLE_MUST_CHECK=y |
852 | CONFIG_FRAME_WARN=1024 | 856 | CONFIG_FRAME_WARN=1024 |
853 | # CONFIG_MAGIC_SYSRQ is not set | 857 | # CONFIG_MAGIC_SYSRQ is not set |
858 | # CONFIG_STRIP_ASM_SYMS is not set | ||
854 | # CONFIG_UNUSED_SYMBOLS is not set | 859 | # CONFIG_UNUSED_SYMBOLS is not set |
855 | CONFIG_DEBUG_FS=y | 860 | CONFIG_DEBUG_FS=y |
856 | # CONFIG_HEADERS_CHECK is not set | 861 | # CONFIG_HEADERS_CHECK is not set |
@@ -865,6 +870,7 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
865 | CONFIG_TRACING_SUPPORT=y | 870 | CONFIG_TRACING_SUPPORT=y |
866 | # CONFIG_FTRACE is not set | 871 | # CONFIG_FTRACE is not set |
867 | # CONFIG_DYNAMIC_DEBUG is not set | 872 | # CONFIG_DYNAMIC_DEBUG is not set |
873 | # CONFIG_DMA_API_DEBUG is not set | ||
868 | # CONFIG_SAMPLES is not set | 874 | # CONFIG_SAMPLES is not set |
869 | CONFIG_HAVE_ARCH_KGDB=y | 875 | CONFIG_HAVE_ARCH_KGDB=y |
870 | # CONFIG_PPC_DISABLE_WERROR is not set | 876 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -887,7 +893,6 @@ CONFIG_CRYPTO=y | |||
887 | # | 893 | # |
888 | # Crypto core or helper | 894 | # Crypto core or helper |
889 | # | 895 | # |
890 | # CONFIG_CRYPTO_FIPS is not set | ||
891 | # CONFIG_CRYPTO_MANAGER is not set | 896 | # CONFIG_CRYPTO_MANAGER is not set |
892 | # CONFIG_CRYPTO_MANAGER2 is not set | 897 | # CONFIG_CRYPTO_MANAGER2 is not set |
893 | # CONFIG_CRYPTO_GF128MUL is not set | 898 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -918,11 +923,13 @@ CONFIG_CRYPTO=y | |||
918 | # | 923 | # |
919 | # CONFIG_CRYPTO_HMAC is not set | 924 | # CONFIG_CRYPTO_HMAC is not set |
920 | # CONFIG_CRYPTO_XCBC is not set | 925 | # CONFIG_CRYPTO_XCBC is not set |
926 | # CONFIG_CRYPTO_VMAC is not set | ||
921 | 927 | ||
922 | # | 928 | # |
923 | # Digest | 929 | # Digest |
924 | # | 930 | # |
925 | # CONFIG_CRYPTO_CRC32C is not set | 931 | # CONFIG_CRYPTO_CRC32C is not set |
932 | # CONFIG_CRYPTO_GHASH is not set | ||
926 | # CONFIG_CRYPTO_MD4 is not set | 933 | # CONFIG_CRYPTO_MD4 is not set |
927 | # CONFIG_CRYPTO_MD5 is not set | 934 | # CONFIG_CRYPTO_MD5 is not set |
928 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 935 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc7448_hpc2_defconfig b/arch/powerpc/configs/mpc7448_hpc2_defconfig index f23428c3b34e..d8b364a45944 100644 --- a/arch/powerpc/configs/mpc7448_hpc2_defconfig +++ b/arch/powerpc/configs/mpc7448_hpc2_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:53 2009 | 4 | # Thu Nov 5 08:20:10 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -82,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
82 | # | 83 | # |
83 | # RCU Subsystem | 84 | # RCU Subsystem |
84 | # | 85 | # |
85 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
86 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
87 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
88 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
89 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
90 | # CONFIG_IKCONFIG is not set | 92 | # CONFIG_IKCONFIG is not set |
91 | CONFIG_LOG_BUF_SHIFT=14 | 93 | CONFIG_LOG_BUF_SHIFT=14 |
92 | CONFIG_GROUP_SCHED=y | 94 | CONFIG_GROUP_SCHED=y |
@@ -123,28 +125,29 @@ CONFIG_TIMERFD=y | |||
123 | CONFIG_EVENTFD=y | 125 | CONFIG_EVENTFD=y |
124 | CONFIG_SHMEM=y | 126 | CONFIG_SHMEM=y |
125 | CONFIG_AIO=y | 127 | CONFIG_AIO=y |
126 | CONFIG_HAVE_PERF_COUNTERS=y | 128 | CONFIG_HAVE_PERF_EVENTS=y |
127 | 129 | ||
128 | # | 130 | # |
129 | # Performance Counters | 131 | # Kernel Performance Events And Counters |
130 | # | 132 | # |
133 | # CONFIG_PERF_EVENTS is not set | ||
131 | # CONFIG_PERF_COUNTERS is not set | 134 | # CONFIG_PERF_COUNTERS is not set |
132 | CONFIG_VM_EVENT_COUNTERS=y | 135 | CONFIG_VM_EVENT_COUNTERS=y |
133 | CONFIG_PCI_QUIRKS=y | 136 | CONFIG_PCI_QUIRKS=y |
134 | CONFIG_SLUB_DEBUG=y | 137 | CONFIG_SLUB_DEBUG=y |
135 | # CONFIG_STRIP_ASM_SYMS is not set | ||
136 | CONFIG_COMPAT_BRK=y | 138 | CONFIG_COMPAT_BRK=y |
137 | # CONFIG_SLAB is not set | 139 | # CONFIG_SLAB is not set |
138 | CONFIG_SLUB=y | 140 | CONFIG_SLUB=y |
139 | # CONFIG_SLOB is not set | 141 | # CONFIG_SLOB is not set |
140 | # CONFIG_PROFILING is not set | 142 | # CONFIG_PROFILING is not set |
141 | # CONFIG_MARKERS is not set | ||
142 | CONFIG_HAVE_OPROFILE=y | 143 | CONFIG_HAVE_OPROFILE=y |
143 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
144 | CONFIG_HAVE_IOREMAP_PROT=y | 145 | CONFIG_HAVE_IOREMAP_PROT=y |
145 | CONFIG_HAVE_KPROBES=y | 146 | CONFIG_HAVE_KPROBES=y |
146 | CONFIG_HAVE_KRETPROBES=y | 147 | CONFIG_HAVE_KRETPROBES=y |
147 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 148 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
149 | CONFIG_HAVE_DMA_ATTRS=y | ||
150 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
148 | 151 | ||
149 | # | 152 | # |
150 | # GCOV-based kernel profiling | 153 | # GCOV-based kernel profiling |
@@ -241,6 +244,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
241 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
242 | # CONFIG_KEXEC is not set | 245 | # CONFIG_KEXEC is not set |
243 | # CONFIG_CRASH_DUMP is not set | 246 | # CONFIG_CRASH_DUMP is not set |
247 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
244 | CONFIG_ARCH_FLATMEM_ENABLE=y | 248 | CONFIG_ARCH_FLATMEM_ENABLE=y |
245 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 249 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
246 | CONFIG_SELECT_MEMORY_MODEL=y | 250 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -258,6 +262,7 @@ CONFIG_BOUNCE=y | |||
258 | CONFIG_VIRT_TO_BUS=y | 262 | CONFIG_VIRT_TO_BUS=y |
259 | CONFIG_HAVE_MLOCK=y | 263 | CONFIG_HAVE_MLOCK=y |
260 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
265 | # CONFIG_KSM is not set | ||
261 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
262 | CONFIG_PPC_4K_PAGES=y | 267 | CONFIG_PPC_4K_PAGES=y |
263 | # CONFIG_PPC_16K_PAGES is not set | 268 | # CONFIG_PPC_16K_PAGES is not set |
@@ -350,6 +355,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
350 | # CONFIG_NETFILTER is not set | 355 | # CONFIG_NETFILTER is not set |
351 | # CONFIG_IP_DCCP is not set | 356 | # CONFIG_IP_DCCP is not set |
352 | # CONFIG_IP_SCTP is not set | 357 | # CONFIG_IP_SCTP is not set |
358 | # CONFIG_RDS is not set | ||
353 | # CONFIG_TIPC is not set | 359 | # CONFIG_TIPC is not set |
354 | # CONFIG_ATM is not set | 360 | # CONFIG_ATM is not set |
355 | # CONFIG_BRIDGE is not set | 361 | # CONFIG_BRIDGE is not set |
@@ -379,6 +385,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
379 | # CONFIG_AF_RXRPC is not set | 385 | # CONFIG_AF_RXRPC is not set |
380 | CONFIG_WIRELESS=y | 386 | CONFIG_WIRELESS=y |
381 | # CONFIG_CFG80211 is not set | 387 | # CONFIG_CFG80211 is not set |
388 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
382 | CONFIG_WIRELESS_OLD_REGULATORY=y | 389 | CONFIG_WIRELESS_OLD_REGULATORY=y |
383 | # CONFIG_WIRELESS_EXT is not set | 390 | # CONFIG_WIRELESS_EXT is not set |
384 | # CONFIG_LIB80211 is not set | 391 | # CONFIG_LIB80211 is not set |
@@ -386,7 +393,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
386 | # | 393 | # |
387 | # CFG80211 needs to be enabled for MAC80211 | 394 | # CFG80211 needs to be enabled for MAC80211 |
388 | # | 395 | # |
389 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
390 | # CONFIG_WIMAX is not set | 396 | # CONFIG_WIMAX is not set |
391 | # CONFIG_RFKILL is not set | 397 | # CONFIG_RFKILL is not set |
392 | # CONFIG_NET_9P is not set | 398 | # CONFIG_NET_9P is not set |
@@ -399,6 +405,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
399 | # Generic Driver Options | 405 | # Generic Driver Options |
400 | # | 406 | # |
401 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 407 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
408 | # CONFIG_DEVTMPFS is not set | ||
402 | CONFIG_STANDALONE=y | 409 | CONFIG_STANDALONE=y |
403 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 410 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
404 | # CONFIG_FW_LOADER is not set | 411 | # CONFIG_FW_LOADER is not set |
@@ -478,6 +485,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
478 | # CONFIG_ISCSI_TCP is not set | 485 | # CONFIG_ISCSI_TCP is not set |
479 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 486 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
480 | # CONFIG_SCSI_BNX2_ISCSI is not set | 487 | # CONFIG_SCSI_BNX2_ISCSI is not set |
488 | # CONFIG_BE2ISCSI is not set | ||
481 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 489 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
482 | # CONFIG_SCSI_3W_9XXX is not set | 490 | # CONFIG_SCSI_3W_9XXX is not set |
483 | # CONFIG_SCSI_ACARD is not set | 491 | # CONFIG_SCSI_ACARD is not set |
@@ -517,11 +525,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
517 | # CONFIG_SCSI_DC390T is not set | 525 | # CONFIG_SCSI_DC390T is not set |
518 | # CONFIG_SCSI_NSP32 is not set | 526 | # CONFIG_SCSI_NSP32 is not set |
519 | # CONFIG_SCSI_DEBUG is not set | 527 | # CONFIG_SCSI_DEBUG is not set |
528 | # CONFIG_SCSI_PMCRAID is not set | ||
520 | # CONFIG_SCSI_SRP is not set | 529 | # CONFIG_SCSI_SRP is not set |
530 | # CONFIG_SCSI_BFA_FC is not set | ||
521 | # CONFIG_SCSI_DH is not set | 531 | # CONFIG_SCSI_DH is not set |
522 | # CONFIG_SCSI_OSD_INITIATOR is not set | 532 | # CONFIG_SCSI_OSD_INITIATOR is not set |
523 | CONFIG_ATA=y | 533 | CONFIG_ATA=y |
524 | # CONFIG_ATA_NONSTANDARD is not set | 534 | # CONFIG_ATA_NONSTANDARD is not set |
535 | CONFIG_ATA_VERBOSE_ERROR=y | ||
525 | CONFIG_SATA_PMP=y | 536 | CONFIG_SATA_PMP=y |
526 | # CONFIG_SATA_AHCI is not set | 537 | # CONFIG_SATA_AHCI is not set |
527 | # CONFIG_SATA_SIL24 is not set | 538 | # CONFIG_SATA_SIL24 is not set |
@@ -543,6 +554,7 @@ CONFIG_SATA_MV=y | |||
543 | # CONFIG_PATA_ALI is not set | 554 | # CONFIG_PATA_ALI is not set |
544 | # CONFIG_PATA_AMD is not set | 555 | # CONFIG_PATA_AMD is not set |
545 | # CONFIG_PATA_ARTOP is not set | 556 | # CONFIG_PATA_ARTOP is not set |
557 | # CONFIG_PATA_ATP867X is not set | ||
546 | # CONFIG_PATA_ATIIXP is not set | 558 | # CONFIG_PATA_ATIIXP is not set |
547 | # CONFIG_PATA_CMD640_PCI is not set | 559 | # CONFIG_PATA_CMD640_PCI is not set |
548 | # CONFIG_PATA_CMD64X is not set | 560 | # CONFIG_PATA_CMD64X is not set |
@@ -570,6 +582,7 @@ CONFIG_SATA_MV=y | |||
570 | # CONFIG_PATA_OPTIDMA is not set | 582 | # CONFIG_PATA_OPTIDMA is not set |
571 | # CONFIG_PATA_PDC_OLD is not set | 583 | # CONFIG_PATA_PDC_OLD is not set |
572 | # CONFIG_PATA_RADISYS is not set | 584 | # CONFIG_PATA_RADISYS is not set |
585 | # CONFIG_PATA_RDC is not set | ||
573 | # CONFIG_PATA_RZ1000 is not set | 586 | # CONFIG_PATA_RZ1000 is not set |
574 | # CONFIG_PATA_SC1200 is not set | 587 | # CONFIG_PATA_SC1200 is not set |
575 | # CONFIG_PATA_SERVERWORKS is not set | 588 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -666,9 +679,11 @@ CONFIG_8139TOO=y | |||
666 | # CONFIG_SUNDANCE is not set | 679 | # CONFIG_SUNDANCE is not set |
667 | # CONFIG_TLAN is not set | 680 | # CONFIG_TLAN is not set |
668 | # CONFIG_KS8842 is not set | 681 | # CONFIG_KS8842 is not set |
682 | # CONFIG_KS8851_MLL is not set | ||
669 | # CONFIG_VIA_RHINE is not set | 683 | # CONFIG_VIA_RHINE is not set |
670 | # CONFIG_SC92031 is not set | 684 | # CONFIG_SC92031 is not set |
671 | # CONFIG_ATL2 is not set | 685 | # CONFIG_ATL2 is not set |
686 | # CONFIG_XILINX_EMACLITE is not set | ||
672 | CONFIG_NETDEV_1000=y | 687 | CONFIG_NETDEV_1000=y |
673 | # CONFIG_ACENIC is not set | 688 | # CONFIG_ACENIC is not set |
674 | # CONFIG_DL2K is not set | 689 | # CONFIG_DL2K is not set |
@@ -715,10 +730,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
715 | # CONFIG_SFC is not set | 730 | # CONFIG_SFC is not set |
716 | # CONFIG_BE2NET is not set | 731 | # CONFIG_BE2NET is not set |
717 | # CONFIG_TR is not set | 732 | # CONFIG_TR is not set |
718 | 733 | CONFIG_WLAN=y | |
719 | # | ||
720 | # Wireless LAN | ||
721 | # | ||
722 | # CONFIG_WLAN_PRE80211 is not set | 734 | # CONFIG_WLAN_PRE80211 is not set |
723 | # CONFIG_WLAN_80211 is not set | 735 | # CONFIG_WLAN_80211 is not set |
724 | 736 | ||
@@ -822,6 +834,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
822 | # CONFIG_POWER_SUPPLY is not set | 834 | # CONFIG_POWER_SUPPLY is not set |
823 | CONFIG_HWMON=y | 835 | CONFIG_HWMON=y |
824 | # CONFIG_HWMON_VID is not set | 836 | # CONFIG_HWMON_VID is not set |
837 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
838 | |||
839 | # | ||
840 | # Native drivers | ||
841 | # | ||
825 | # CONFIG_SENSORS_I5K_AMB is not set | 842 | # CONFIG_SENSORS_I5K_AMB is not set |
826 | # CONFIG_SENSORS_F71805F is not set | 843 | # CONFIG_SENSORS_F71805F is not set |
827 | # CONFIG_SENSORS_F71882FG is not set | 844 | # CONFIG_SENSORS_F71882FG is not set |
@@ -836,9 +853,7 @@ CONFIG_HWMON=y | |||
836 | # CONFIG_SENSORS_VT8231 is not set | 853 | # CONFIG_SENSORS_VT8231 is not set |
837 | # CONFIG_SENSORS_W83627HF is not set | 854 | # CONFIG_SENSORS_W83627HF is not set |
838 | # CONFIG_SENSORS_W83627EHF is not set | 855 | # CONFIG_SENSORS_W83627EHF is not set |
839 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
840 | # CONFIG_THERMAL is not set | 856 | # CONFIG_THERMAL is not set |
841 | # CONFIG_THERMAL_HWMON is not set | ||
842 | # CONFIG_WATCHDOG is not set | 857 | # CONFIG_WATCHDOG is not set |
843 | CONFIG_SSB_POSSIBLE=y | 858 | CONFIG_SSB_POSSIBLE=y |
844 | 859 | ||
@@ -861,6 +876,7 @@ CONFIG_SSB_POSSIBLE=y | |||
861 | # Graphics support | 876 | # Graphics support |
862 | # | 877 | # |
863 | # CONFIG_AGP is not set | 878 | # CONFIG_AGP is not set |
879 | CONFIG_VGA_ARB=y | ||
864 | # CONFIG_DRM is not set | 880 | # CONFIG_DRM is not set |
865 | # CONFIG_VGASTATE is not set | 881 | # CONFIG_VGASTATE is not set |
866 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 882 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -874,7 +890,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
874 | # CONFIG_SOUND is not set | 890 | # CONFIG_SOUND is not set |
875 | CONFIG_HID_SUPPORT=y | 891 | CONFIG_HID_SUPPORT=y |
876 | CONFIG_HID=y | 892 | CONFIG_HID=y |
877 | # CONFIG_HID_DEBUG is not set | ||
878 | # CONFIG_HIDRAW is not set | 893 | # CONFIG_HIDRAW is not set |
879 | # CONFIG_HID_PID is not set | 894 | # CONFIG_HID_PID is not set |
880 | 895 | ||
@@ -939,6 +954,7 @@ CONFIG_FS_MBCACHE=y | |||
939 | # CONFIG_GFS2_FS is not set | 954 | # CONFIG_GFS2_FS is not set |
940 | # CONFIG_OCFS2_FS is not set | 955 | # CONFIG_OCFS2_FS is not set |
941 | # CONFIG_BTRFS_FS is not set | 956 | # CONFIG_BTRFS_FS is not set |
957 | # CONFIG_NILFS2_FS is not set | ||
942 | CONFIG_FILE_LOCKING=y | 958 | CONFIG_FILE_LOCKING=y |
943 | CONFIG_FSNOTIFY=y | 959 | CONFIG_FSNOTIFY=y |
944 | CONFIG_DNOTIFY=y | 960 | CONFIG_DNOTIFY=y |
@@ -997,7 +1013,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
997 | # CONFIG_ROMFS_FS is not set | 1013 | # CONFIG_ROMFS_FS is not set |
998 | # CONFIG_SYSV_FS is not set | 1014 | # CONFIG_SYSV_FS is not set |
999 | # CONFIG_UFS_FS is not set | 1015 | # CONFIG_UFS_FS is not set |
1000 | # CONFIG_NILFS2_FS is not set | ||
1001 | CONFIG_NETWORK_FILESYSTEMS=y | 1016 | CONFIG_NETWORK_FILESYSTEMS=y |
1002 | CONFIG_NFS_FS=y | 1017 | CONFIG_NFS_FS=y |
1003 | # CONFIG_NFS_V3 is not set | 1018 | # CONFIG_NFS_V3 is not set |
@@ -1069,6 +1084,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1069 | CONFIG_ENABLE_MUST_CHECK=y | 1084 | CONFIG_ENABLE_MUST_CHECK=y |
1070 | CONFIG_FRAME_WARN=1024 | 1085 | CONFIG_FRAME_WARN=1024 |
1071 | # CONFIG_MAGIC_SYSRQ is not set | 1086 | # CONFIG_MAGIC_SYSRQ is not set |
1087 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1072 | # CONFIG_UNUSED_SYMBOLS is not set | 1088 | # CONFIG_UNUSED_SYMBOLS is not set |
1073 | # CONFIG_DEBUG_FS is not set | 1089 | # CONFIG_DEBUG_FS is not set |
1074 | # CONFIG_HEADERS_CHECK is not set | 1090 | # CONFIG_HEADERS_CHECK is not set |
@@ -1086,6 +1102,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1086 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1102 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1087 | CONFIG_TRACING_SUPPORT=y | 1103 | CONFIG_TRACING_SUPPORT=y |
1088 | # CONFIG_FTRACE is not set | 1104 | # CONFIG_FTRACE is not set |
1105 | # CONFIG_DMA_API_DEBUG is not set | ||
1089 | # CONFIG_SAMPLES is not set | 1106 | # CONFIG_SAMPLES is not set |
1090 | CONFIG_HAVE_ARCH_KGDB=y | 1107 | CONFIG_HAVE_ARCH_KGDB=y |
1091 | # CONFIG_PPC_DISABLE_WERROR is not set | 1108 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1107,7 +1124,6 @@ CONFIG_CRYPTO=y | |||
1107 | # | 1124 | # |
1108 | # Crypto core or helper | 1125 | # Crypto core or helper |
1109 | # | 1126 | # |
1110 | # CONFIG_CRYPTO_FIPS is not set | ||
1111 | # CONFIG_CRYPTO_MANAGER is not set | 1127 | # CONFIG_CRYPTO_MANAGER is not set |
1112 | # CONFIG_CRYPTO_MANAGER2 is not set | 1128 | # CONFIG_CRYPTO_MANAGER2 is not set |
1113 | # CONFIG_CRYPTO_GF128MUL is not set | 1129 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1138,11 +1154,13 @@ CONFIG_CRYPTO=y | |||
1138 | # | 1154 | # |
1139 | # CONFIG_CRYPTO_HMAC is not set | 1155 | # CONFIG_CRYPTO_HMAC is not set |
1140 | # CONFIG_CRYPTO_XCBC is not set | 1156 | # CONFIG_CRYPTO_XCBC is not set |
1157 | # CONFIG_CRYPTO_VMAC is not set | ||
1141 | 1158 | ||
1142 | # | 1159 | # |
1143 | # Digest | 1160 | # Digest |
1144 | # | 1161 | # |
1145 | # CONFIG_CRYPTO_CRC32C is not set | 1162 | # CONFIG_CRYPTO_CRC32C is not set |
1163 | # CONFIG_CRYPTO_GHASH is not set | ||
1146 | # CONFIG_CRYPTO_MD4 is not set | 1164 | # CONFIG_CRYPTO_MD4 is not set |
1147 | # CONFIG_CRYPTO_MD5 is not set | 1165 | # CONFIG_CRYPTO_MD5 is not set |
1148 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1166 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc8272_ads_defconfig b/arch/powerpc/configs/mpc8272_ads_defconfig index 02716f72db6f..00fad81b6fce 100644 --- a/arch/powerpc/configs/mpc8272_ads_defconfig +++ b/arch/powerpc/configs/mpc8272_ads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:54 2009 | 4 | # Thu Nov 5 08:20:11 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -82,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
82 | # | 83 | # |
83 | # RCU Subsystem | 84 | # RCU Subsystem |
84 | # | 85 | # |
85 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
86 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
87 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
88 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
89 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
90 | CONFIG_IKCONFIG=y | 92 | CONFIG_IKCONFIG=y |
91 | CONFIG_IKCONFIG_PROC=y | 93 | CONFIG_IKCONFIG_PROC=y |
92 | CONFIG_LOG_BUF_SHIFT=14 | 94 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -116,29 +118,30 @@ CONFIG_TIMERFD=y | |||
116 | CONFIG_EVENTFD=y | 118 | CONFIG_EVENTFD=y |
117 | CONFIG_SHMEM=y | 119 | CONFIG_SHMEM=y |
118 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
119 | CONFIG_HAVE_PERF_COUNTERS=y | 121 | CONFIG_HAVE_PERF_EVENTS=y |
120 | 122 | ||
121 | # | 123 | # |
122 | # Performance Counters | 124 | # Kernel Performance Events And Counters |
123 | # | 125 | # |
126 | # CONFIG_PERF_EVENTS is not set | ||
124 | # CONFIG_PERF_COUNTERS is not set | 127 | # CONFIG_PERF_COUNTERS is not set |
125 | CONFIG_VM_EVENT_COUNTERS=y | 128 | CONFIG_VM_EVENT_COUNTERS=y |
126 | CONFIG_PCI_QUIRKS=y | 129 | CONFIG_PCI_QUIRKS=y |
127 | CONFIG_SLUB_DEBUG=y | 130 | CONFIG_SLUB_DEBUG=y |
128 | # CONFIG_STRIP_ASM_SYMS is not set | ||
129 | CONFIG_COMPAT_BRK=y | 131 | CONFIG_COMPAT_BRK=y |
130 | # CONFIG_SLAB is not set | 132 | # CONFIG_SLAB is not set |
131 | CONFIG_SLUB=y | 133 | CONFIG_SLUB=y |
132 | # CONFIG_SLOB is not set | 134 | # CONFIG_SLOB is not set |
133 | # CONFIG_PROFILING is not set | 135 | # CONFIG_PROFILING is not set |
134 | # CONFIG_MARKERS is not set | ||
135 | CONFIG_HAVE_OPROFILE=y | 136 | CONFIG_HAVE_OPROFILE=y |
136 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 137 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
137 | CONFIG_HAVE_IOREMAP_PROT=y | 138 | CONFIG_HAVE_IOREMAP_PROT=y |
138 | CONFIG_HAVE_KPROBES=y | 139 | CONFIG_HAVE_KPROBES=y |
139 | CONFIG_HAVE_KRETPROBES=y | 140 | CONFIG_HAVE_KRETPROBES=y |
140 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 141 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
142 | CONFIG_HAVE_DMA_ATTRS=y | ||
141 | CONFIG_HAVE_CLK=y | 143 | CONFIG_HAVE_CLK=y |
144 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
142 | 145 | ||
143 | # | 146 | # |
144 | # GCOV-based kernel profiling | 147 | # GCOV-based kernel profiling |
@@ -151,6 +154,7 @@ CONFIG_BASE_SMALL=0 | |||
151 | # CONFIG_MODULES is not set | 154 | # CONFIG_MODULES is not set |
152 | CONFIG_BLOCK=y | 155 | CONFIG_BLOCK=y |
153 | CONFIG_LBDAF=y | 156 | CONFIG_LBDAF=y |
157 | CONFIG_BLK_DEV_BSG=y | ||
154 | # CONFIG_BLK_DEV_INTEGRITY is not set | 158 | # CONFIG_BLK_DEV_INTEGRITY is not set |
155 | 159 | ||
156 | # | 160 | # |
@@ -236,6 +240,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | |||
236 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 240 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
237 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 241 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
238 | # CONFIG_CRASH_DUMP is not set | 242 | # CONFIG_CRASH_DUMP is not set |
243 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
239 | CONFIG_ARCH_FLATMEM_ENABLE=y | 244 | CONFIG_ARCH_FLATMEM_ENABLE=y |
240 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 245 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
241 | CONFIG_FLATMEM=y | 246 | CONFIG_FLATMEM=y |
@@ -249,6 +254,7 @@ CONFIG_BOUNCE=y | |||
249 | CONFIG_VIRT_TO_BUS=y | 254 | CONFIG_VIRT_TO_BUS=y |
250 | CONFIG_HAVE_MLOCK=y | 255 | CONFIG_HAVE_MLOCK=y |
251 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 256 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
257 | # CONFIG_KSM is not set | ||
252 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 258 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
253 | CONFIG_PPC_4K_PAGES=y | 259 | CONFIG_PPC_4K_PAGES=y |
254 | # CONFIG_PPC_16K_PAGES is not set | 260 | # CONFIG_PPC_16K_PAGES is not set |
@@ -397,6 +403,7 @@ CONFIG_NETFILTER_ADVANCED=y | |||
397 | # CONFIG_BT is not set | 403 | # CONFIG_BT is not set |
398 | CONFIG_WIRELESS=y | 404 | CONFIG_WIRELESS=y |
399 | # CONFIG_CFG80211 is not set | 405 | # CONFIG_CFG80211 is not set |
406 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
400 | CONFIG_WIRELESS_OLD_REGULATORY=y | 407 | CONFIG_WIRELESS_OLD_REGULATORY=y |
401 | # CONFIG_WIRELESS_EXT is not set | 408 | # CONFIG_WIRELESS_EXT is not set |
402 | # CONFIG_LIB80211 is not set | 409 | # CONFIG_LIB80211 is not set |
@@ -404,7 +411,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
404 | # | 411 | # |
405 | # CFG80211 needs to be enabled for MAC80211 | 412 | # CFG80211 needs to be enabled for MAC80211 |
406 | # | 413 | # |
407 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
408 | # CONFIG_WIMAX is not set | 414 | # CONFIG_WIMAX is not set |
409 | # CONFIG_RFKILL is not set | 415 | # CONFIG_RFKILL is not set |
410 | 416 | ||
@@ -416,6 +422,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
416 | # Generic Driver Options | 422 | # Generic Driver Options |
417 | # | 423 | # |
418 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 424 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
425 | # CONFIG_DEVTMPFS is not set | ||
419 | CONFIG_STANDALONE=y | 426 | CONFIG_STANDALONE=y |
420 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 427 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
421 | # CONFIG_FW_LOADER is not set | 428 | # CONFIG_FW_LOADER is not set |
@@ -477,7 +484,6 @@ CONFIG_MTD_CFI_UTIL=y | |||
477 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 484 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
478 | # CONFIG_MTD_PHYSMAP is not set | 485 | # CONFIG_MTD_PHYSMAP is not set |
479 | CONFIG_MTD_PHYSMAP_OF=y | 486 | CONFIG_MTD_PHYSMAP_OF=y |
480 | # CONFIG_MTD_SBC8240 is not set | ||
481 | # CONFIG_MTD_INTEL_VR_NOR is not set | 487 | # CONFIG_MTD_INTEL_VR_NOR is not set |
482 | # CONFIG_MTD_PLATRAM is not set | 488 | # CONFIG_MTD_PLATRAM is not set |
483 | 489 | ||
@@ -604,7 +610,9 @@ CONFIG_MII=y | |||
604 | # CONFIG_NET_PCI is not set | 610 | # CONFIG_NET_PCI is not set |
605 | # CONFIG_B44 is not set | 611 | # CONFIG_B44 is not set |
606 | # CONFIG_KS8842 is not set | 612 | # CONFIG_KS8842 is not set |
613 | # CONFIG_KS8851_MLL is not set | ||
607 | # CONFIG_ATL2 is not set | 614 | # CONFIG_ATL2 is not set |
615 | # CONFIG_XILINX_EMACLITE is not set | ||
608 | CONFIG_FS_ENET=y | 616 | CONFIG_FS_ENET=y |
609 | # CONFIG_FS_ENET_HAS_SCC is not set | 617 | # CONFIG_FS_ENET_HAS_SCC is not set |
610 | CONFIG_FS_ENET_HAS_FCC=y | 618 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -652,10 +660,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
652 | # CONFIG_SFC is not set | 660 | # CONFIG_SFC is not set |
653 | # CONFIG_BE2NET is not set | 661 | # CONFIG_BE2NET is not set |
654 | # CONFIG_TR is not set | 662 | # CONFIG_TR is not set |
655 | 663 | CONFIG_WLAN=y | |
656 | # | ||
657 | # Wireless LAN | ||
658 | # | ||
659 | # CONFIG_WLAN_PRE80211 is not set | 664 | # CONFIG_WLAN_PRE80211 is not set |
660 | # CONFIG_WLAN_80211 is not set | 665 | # CONFIG_WLAN_80211 is not set |
661 | 666 | ||
@@ -704,6 +709,7 @@ CONFIG_KEYBOARD_ATKBD=y | |||
704 | # CONFIG_KEYBOARD_GPIO is not set | 709 | # CONFIG_KEYBOARD_GPIO is not set |
705 | # CONFIG_KEYBOARD_MATRIX is not set | 710 | # CONFIG_KEYBOARD_MATRIX is not set |
706 | # CONFIG_KEYBOARD_NEWTON is not set | 711 | # CONFIG_KEYBOARD_NEWTON is not set |
712 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
707 | # CONFIG_KEYBOARD_STOWAWAY is not set | 713 | # CONFIG_KEYBOARD_STOWAWAY is not set |
708 | # CONFIG_KEYBOARD_SUNKBD is not set | 714 | # CONFIG_KEYBOARD_SUNKBD is not set |
709 | # CONFIG_KEYBOARD_XTKBD is not set | 715 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -714,6 +720,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
714 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 720 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
715 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 721 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
716 | # CONFIG_MOUSE_PS2_ELANTECH is not set | 722 | # CONFIG_MOUSE_PS2_ELANTECH is not set |
723 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
717 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 724 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
718 | # CONFIG_MOUSE_SERIAL is not set | 725 | # CONFIG_MOUSE_SERIAL is not set |
719 | # CONFIG_MOUSE_VSXXXAA is not set | 726 | # CONFIG_MOUSE_VSXXXAA is not set |
@@ -793,15 +800,19 @@ CONFIG_GPIOLIB=y | |||
793 | # PCI GPIO expanders: | 800 | # PCI GPIO expanders: |
794 | # | 801 | # |
795 | # CONFIG_GPIO_BT8XX is not set | 802 | # CONFIG_GPIO_BT8XX is not set |
803 | # CONFIG_GPIO_LANGWELL is not set | ||
796 | 804 | ||
797 | # | 805 | # |
798 | # SPI GPIO expanders: | 806 | # SPI GPIO expanders: |
799 | # | 807 | # |
808 | |||
809 | # | ||
810 | # AC97 GPIO expanders: | ||
811 | # | ||
800 | # CONFIG_W1 is not set | 812 | # CONFIG_W1 is not set |
801 | # CONFIG_POWER_SUPPLY is not set | 813 | # CONFIG_POWER_SUPPLY is not set |
802 | # CONFIG_HWMON is not set | 814 | # CONFIG_HWMON is not set |
803 | # CONFIG_THERMAL is not set | 815 | # CONFIG_THERMAL is not set |
804 | # CONFIG_THERMAL_HWMON is not set | ||
805 | # CONFIG_WATCHDOG is not set | 816 | # CONFIG_WATCHDOG is not set |
806 | CONFIG_SSB_POSSIBLE=y | 817 | CONFIG_SSB_POSSIBLE=y |
807 | 818 | ||
@@ -824,6 +835,7 @@ CONFIG_SSB_POSSIBLE=y | |||
824 | # Graphics support | 835 | # Graphics support |
825 | # | 836 | # |
826 | # CONFIG_AGP is not set | 837 | # CONFIG_AGP is not set |
838 | CONFIG_VGA_ARB=y | ||
827 | # CONFIG_DRM is not set | 839 | # CONFIG_DRM is not set |
828 | # CONFIG_VGASTATE is not set | 840 | # CONFIG_VGASTATE is not set |
829 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 841 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -1032,6 +1044,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1032 | CONFIG_ENABLE_MUST_CHECK=y | 1044 | CONFIG_ENABLE_MUST_CHECK=y |
1033 | CONFIG_FRAME_WARN=1024 | 1045 | CONFIG_FRAME_WARN=1024 |
1034 | CONFIG_MAGIC_SYSRQ=y | 1046 | CONFIG_MAGIC_SYSRQ=y |
1047 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1035 | # CONFIG_UNUSED_SYMBOLS is not set | 1048 | # CONFIG_UNUSED_SYMBOLS is not set |
1036 | # CONFIG_DEBUG_FS is not set | 1049 | # CONFIG_DEBUG_FS is not set |
1037 | # CONFIG_HEADERS_CHECK is not set | 1050 | # CONFIG_HEADERS_CHECK is not set |
@@ -1067,10 +1080,12 @@ CONFIG_DEBUG_INFO=y | |||
1067 | # CONFIG_DEBUG_LIST is not set | 1080 | # CONFIG_DEBUG_LIST is not set |
1068 | # CONFIG_DEBUG_SG is not set | 1081 | # CONFIG_DEBUG_SG is not set |
1069 | # CONFIG_DEBUG_NOTIFIERS is not set | 1082 | # CONFIG_DEBUG_NOTIFIERS is not set |
1083 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1070 | # CONFIG_RCU_TORTURE_TEST is not set | 1084 | # CONFIG_RCU_TORTURE_TEST is not set |
1071 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1085 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1072 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1086 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1073 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1087 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1088 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1074 | # CONFIG_FAULT_INJECTION is not set | 1089 | # CONFIG_FAULT_INJECTION is not set |
1075 | # CONFIG_LATENCYTOP is not set | 1090 | # CONFIG_LATENCYTOP is not set |
1076 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1091 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1093,6 +1108,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1093 | # CONFIG_KMEMTRACE is not set | 1108 | # CONFIG_KMEMTRACE is not set |
1094 | # CONFIG_WORKQUEUE_TRACER is not set | 1109 | # CONFIG_WORKQUEUE_TRACER is not set |
1095 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1110 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1111 | # CONFIG_DMA_API_DEBUG is not set | ||
1096 | # CONFIG_SAMPLES is not set | 1112 | # CONFIG_SAMPLES is not set |
1097 | CONFIG_HAVE_ARCH_KGDB=y | 1113 | CONFIG_HAVE_ARCH_KGDB=y |
1098 | # CONFIG_PPC_DISABLE_WERROR is not set | 1114 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1121,7 +1137,6 @@ CONFIG_CRYPTO=y | |||
1121 | # | 1137 | # |
1122 | # Crypto core or helper | 1138 | # Crypto core or helper |
1123 | # | 1139 | # |
1124 | # CONFIG_CRYPTO_FIPS is not set | ||
1125 | CONFIG_CRYPTO_ALGAPI=y | 1140 | CONFIG_CRYPTO_ALGAPI=y |
1126 | CONFIG_CRYPTO_ALGAPI2=y | 1141 | CONFIG_CRYPTO_ALGAPI2=y |
1127 | CONFIG_CRYPTO_AEAD2=y | 1142 | CONFIG_CRYPTO_AEAD2=y |
@@ -1163,6 +1178,7 @@ CONFIG_CRYPTO_PCBC=y | |||
1163 | # Digest | 1178 | # Digest |
1164 | # | 1179 | # |
1165 | # CONFIG_CRYPTO_CRC32C is not set | 1180 | # CONFIG_CRYPTO_CRC32C is not set |
1181 | # CONFIG_CRYPTO_GHASH is not set | ||
1166 | # CONFIG_CRYPTO_MD4 is not set | 1182 | # CONFIG_CRYPTO_MD4 is not set |
1167 | CONFIG_CRYPTO_MD5=y | 1183 | CONFIG_CRYPTO_MD5=y |
1168 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1184 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc83xx_defconfig b/arch/powerpc/configs/mpc83xx_defconfig index 4a96cb6925b4..64dff21516cb 100644 --- a/arch/powerpc/configs/mpc83xx_defconfig +++ b/arch/powerpc/configs/mpc83xx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:55 2009 | 4 | # Thu Nov 5 08:20:12 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -35,6 +35,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
35 | CONFIG_GENERIC_HARDIRQS=y | 35 | CONFIG_GENERIC_HARDIRQS=y |
36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 36 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 37 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
38 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
38 | CONFIG_IRQ_PER_CPU=y | 39 | CONFIG_IRQ_PER_CPU=y |
39 | CONFIG_STACKTRACE_SUPPORT=y | 40 | CONFIG_STACKTRACE_SUPPORT=y |
40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -86,11 +87,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
86 | # | 87 | # |
87 | # RCU Subsystem | 88 | # RCU Subsystem |
88 | # | 89 | # |
89 | CONFIG_CLASSIC_RCU=y | 90 | CONFIG_TREE_RCU=y |
90 | # CONFIG_TREE_RCU is not set | 91 | # CONFIG_TREE_PREEMPT_RCU is not set |
91 | # CONFIG_PREEMPT_RCU is not set | 92 | # CONFIG_RCU_TRACE is not set |
93 | CONFIG_RCU_FANOUT=32 | ||
94 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
92 | # CONFIG_TREE_RCU_TRACE is not set | 95 | # CONFIG_TREE_RCU_TRACE is not set |
93 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
94 | # CONFIG_IKCONFIG is not set | 96 | # CONFIG_IKCONFIG is not set |
95 | CONFIG_LOG_BUF_SHIFT=14 | 97 | CONFIG_LOG_BUF_SHIFT=14 |
96 | CONFIG_GROUP_SCHED=y | 98 | CONFIG_GROUP_SCHED=y |
@@ -127,21 +129,20 @@ CONFIG_TIMERFD=y | |||
127 | CONFIG_EVENTFD=y | 129 | CONFIG_EVENTFD=y |
128 | CONFIG_SHMEM=y | 130 | CONFIG_SHMEM=y |
129 | CONFIG_AIO=y | 131 | CONFIG_AIO=y |
130 | CONFIG_HAVE_PERF_COUNTERS=y | 132 | CONFIG_HAVE_PERF_EVENTS=y |
131 | 133 | ||
132 | # | 134 | # |
133 | # Performance Counters | 135 | # Kernel Performance Events And Counters |
134 | # | 136 | # |
137 | # CONFIG_PERF_EVENTS is not set | ||
135 | # CONFIG_PERF_COUNTERS is not set | 138 | # CONFIG_PERF_COUNTERS is not set |
136 | CONFIG_VM_EVENT_COUNTERS=y | 139 | CONFIG_VM_EVENT_COUNTERS=y |
137 | CONFIG_PCI_QUIRKS=y | 140 | CONFIG_PCI_QUIRKS=y |
138 | # CONFIG_STRIP_ASM_SYMS is not set | ||
139 | CONFIG_COMPAT_BRK=y | 141 | CONFIG_COMPAT_BRK=y |
140 | CONFIG_SLAB=y | 142 | CONFIG_SLAB=y |
141 | # CONFIG_SLUB is not set | 143 | # CONFIG_SLUB is not set |
142 | # CONFIG_SLOB is not set | 144 | # CONFIG_SLOB is not set |
143 | # CONFIG_PROFILING is not set | 145 | # CONFIG_PROFILING is not set |
144 | # CONFIG_MARKERS is not set | ||
145 | CONFIG_HAVE_OPROFILE=y | 146 | CONFIG_HAVE_OPROFILE=y |
146 | # CONFIG_KPROBES is not set | 147 | # CONFIG_KPROBES is not set |
147 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 148 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -149,6 +150,8 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
149 | CONFIG_HAVE_KPROBES=y | 150 | CONFIG_HAVE_KPROBES=y |
150 | CONFIG_HAVE_KRETPROBES=y | 151 | CONFIG_HAVE_KRETPROBES=y |
151 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 152 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
153 | CONFIG_HAVE_DMA_ATTRS=y | ||
154 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
152 | 155 | ||
153 | # | 156 | # |
154 | # GCOV-based kernel profiling | 157 | # GCOV-based kernel profiling |
@@ -263,6 +266,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
263 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 266 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
264 | # CONFIG_KEXEC is not set | 267 | # CONFIG_KEXEC is not set |
265 | # CONFIG_CRASH_DUMP is not set | 268 | # CONFIG_CRASH_DUMP is not set |
269 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
266 | CONFIG_ARCH_FLATMEM_ENABLE=y | 270 | CONFIG_ARCH_FLATMEM_ENABLE=y |
267 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 271 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
268 | CONFIG_SELECT_MEMORY_MODEL=y | 272 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -280,6 +284,7 @@ CONFIG_BOUNCE=y | |||
280 | CONFIG_VIRT_TO_BUS=y | 284 | CONFIG_VIRT_TO_BUS=y |
281 | CONFIG_HAVE_MLOCK=y | 285 | CONFIG_HAVE_MLOCK=y |
282 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 286 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
287 | # CONFIG_KSM is not set | ||
283 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 288 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
284 | CONFIG_PPC_4K_PAGES=y | 289 | CONFIG_PPC_4K_PAGES=y |
285 | # CONFIG_PPC_16K_PAGES is not set | 290 | # CONFIG_PPC_16K_PAGES is not set |
@@ -343,7 +348,8 @@ CONFIG_XFRM_USER=m | |||
343 | # CONFIG_XFRM_SUB_POLICY is not set | 348 | # CONFIG_XFRM_SUB_POLICY is not set |
344 | # CONFIG_XFRM_MIGRATE is not set | 349 | # CONFIG_XFRM_MIGRATE is not set |
345 | # CONFIG_XFRM_STATISTICS is not set | 350 | # CONFIG_XFRM_STATISTICS is not set |
346 | # CONFIG_NET_KEY is not set | 351 | CONFIG_NET_KEY=y |
352 | # CONFIG_NET_KEY_MIGRATE is not set | ||
347 | CONFIG_INET=y | 353 | CONFIG_INET=y |
348 | CONFIG_IP_MULTICAST=y | 354 | CONFIG_IP_MULTICAST=y |
349 | # CONFIG_IP_ADVANCED_ROUTER is not set | 355 | # CONFIG_IP_ADVANCED_ROUTER is not set |
@@ -358,7 +364,7 @@ CONFIG_IP_PNP_BOOTP=y | |||
358 | # CONFIG_ARPD is not set | 364 | # CONFIG_ARPD is not set |
359 | CONFIG_SYN_COOKIES=y | 365 | CONFIG_SYN_COOKIES=y |
360 | # CONFIG_INET_AH is not set | 366 | # CONFIG_INET_AH is not set |
361 | # CONFIG_INET_ESP is not set | 367 | CONFIG_INET_ESP=y |
362 | # CONFIG_INET_IPCOMP is not set | 368 | # CONFIG_INET_IPCOMP is not set |
363 | # CONFIG_INET_XFRM_TUNNEL is not set | 369 | # CONFIG_INET_XFRM_TUNNEL is not set |
364 | # CONFIG_INET_TUNNEL is not set | 370 | # CONFIG_INET_TUNNEL is not set |
@@ -377,6 +383,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
377 | # CONFIG_NETFILTER is not set | 383 | # CONFIG_NETFILTER is not set |
378 | # CONFIG_IP_DCCP is not set | 384 | # CONFIG_IP_DCCP is not set |
379 | # CONFIG_IP_SCTP is not set | 385 | # CONFIG_IP_SCTP is not set |
386 | # CONFIG_RDS is not set | ||
380 | # CONFIG_TIPC is not set | 387 | # CONFIG_TIPC is not set |
381 | # CONFIG_ATM is not set | 388 | # CONFIG_ATM is not set |
382 | # CONFIG_BRIDGE is not set | 389 | # CONFIG_BRIDGE is not set |
@@ -406,6 +413,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
406 | # CONFIG_AF_RXRPC is not set | 413 | # CONFIG_AF_RXRPC is not set |
407 | CONFIG_WIRELESS=y | 414 | CONFIG_WIRELESS=y |
408 | # CONFIG_CFG80211 is not set | 415 | # CONFIG_CFG80211 is not set |
416 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
409 | CONFIG_WIRELESS_OLD_REGULATORY=y | 417 | CONFIG_WIRELESS_OLD_REGULATORY=y |
410 | # CONFIG_WIRELESS_EXT is not set | 418 | # CONFIG_WIRELESS_EXT is not set |
411 | # CONFIG_LIB80211 is not set | 419 | # CONFIG_LIB80211 is not set |
@@ -413,7 +421,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
413 | # | 421 | # |
414 | # CFG80211 needs to be enabled for MAC80211 | 422 | # CFG80211 needs to be enabled for MAC80211 |
415 | # | 423 | # |
416 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
417 | # CONFIG_WIMAX is not set | 424 | # CONFIG_WIMAX is not set |
418 | # CONFIG_RFKILL is not set | 425 | # CONFIG_RFKILL is not set |
419 | # CONFIG_NET_9P is not set | 426 | # CONFIG_NET_9P is not set |
@@ -426,6 +433,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
426 | # Generic Driver Options | 433 | # Generic Driver Options |
427 | # | 434 | # |
428 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 435 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
436 | # CONFIG_DEVTMPFS is not set | ||
429 | CONFIG_STANDALONE=y | 437 | CONFIG_STANDALONE=y |
430 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 438 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
431 | # CONFIG_FW_LOADER is not set | 439 | # CONFIG_FW_LOADER is not set |
@@ -433,9 +441,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
433 | # CONFIG_CONNECTOR is not set | 441 | # CONFIG_CONNECTOR is not set |
434 | CONFIG_MTD=y | 442 | CONFIG_MTD=y |
435 | # CONFIG_MTD_DEBUG is not set | 443 | # CONFIG_MTD_DEBUG is not set |
444 | # CONFIG_MTD_TESTS is not set | ||
436 | # CONFIG_MTD_CONCAT is not set | 445 | # CONFIG_MTD_CONCAT is not set |
437 | CONFIG_MTD_PARTITIONS=y | 446 | CONFIG_MTD_PARTITIONS=y |
438 | # CONFIG_MTD_TESTS is not set | ||
439 | # CONFIG_MTD_REDBOOT_PARTS is not set | 447 | # CONFIG_MTD_REDBOOT_PARTS is not set |
440 | # CONFIG_MTD_CMDLINE_PARTS is not set | 448 | # CONFIG_MTD_CMDLINE_PARTS is not set |
441 | CONFIG_MTD_OF_PARTS=y | 449 | CONFIG_MTD_OF_PARTS=y |
@@ -608,6 +616,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
608 | # CONFIG_ISCSI_TCP is not set | 616 | # CONFIG_ISCSI_TCP is not set |
609 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 617 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
610 | # CONFIG_SCSI_BNX2_ISCSI is not set | 618 | # CONFIG_SCSI_BNX2_ISCSI is not set |
619 | # CONFIG_BE2ISCSI is not set | ||
611 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 620 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
612 | # CONFIG_SCSI_3W_9XXX is not set | 621 | # CONFIG_SCSI_3W_9XXX is not set |
613 | # CONFIG_SCSI_ACARD is not set | 622 | # CONFIG_SCSI_ACARD is not set |
@@ -647,11 +656,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
647 | # CONFIG_SCSI_DC390T is not set | 656 | # CONFIG_SCSI_DC390T is not set |
648 | # CONFIG_SCSI_NSP32 is not set | 657 | # CONFIG_SCSI_NSP32 is not set |
649 | # CONFIG_SCSI_DEBUG is not set | 658 | # CONFIG_SCSI_DEBUG is not set |
659 | # CONFIG_SCSI_PMCRAID is not set | ||
650 | # CONFIG_SCSI_SRP is not set | 660 | # CONFIG_SCSI_SRP is not set |
661 | # CONFIG_SCSI_BFA_FC is not set | ||
651 | # CONFIG_SCSI_DH is not set | 662 | # CONFIG_SCSI_DH is not set |
652 | # CONFIG_SCSI_OSD_INITIATOR is not set | 663 | # CONFIG_SCSI_OSD_INITIATOR is not set |
653 | CONFIG_ATA=y | 664 | CONFIG_ATA=y |
654 | # CONFIG_ATA_NONSTANDARD is not set | 665 | # CONFIG_ATA_NONSTANDARD is not set |
666 | CONFIG_ATA_VERBOSE_ERROR=y | ||
655 | CONFIG_SATA_PMP=y | 667 | CONFIG_SATA_PMP=y |
656 | # CONFIG_SATA_AHCI is not set | 668 | # CONFIG_SATA_AHCI is not set |
657 | # CONFIG_SATA_SIL24 is not set | 669 | # CONFIG_SATA_SIL24 is not set |
@@ -674,6 +686,7 @@ CONFIG_ATA_SFF=y | |||
674 | # CONFIG_PATA_ALI is not set | 686 | # CONFIG_PATA_ALI is not set |
675 | # CONFIG_PATA_AMD is not set | 687 | # CONFIG_PATA_AMD is not set |
676 | # CONFIG_PATA_ARTOP is not set | 688 | # CONFIG_PATA_ARTOP is not set |
689 | # CONFIG_PATA_ATP867X is not set | ||
677 | # CONFIG_PATA_ATIIXP is not set | 690 | # CONFIG_PATA_ATIIXP is not set |
678 | # CONFIG_PATA_CMD640_PCI is not set | 691 | # CONFIG_PATA_CMD640_PCI is not set |
679 | # CONFIG_PATA_CMD64X is not set | 692 | # CONFIG_PATA_CMD64X is not set |
@@ -701,6 +714,7 @@ CONFIG_ATA_SFF=y | |||
701 | # CONFIG_PATA_OPTIDMA is not set | 714 | # CONFIG_PATA_OPTIDMA is not set |
702 | # CONFIG_PATA_PDC_OLD is not set | 715 | # CONFIG_PATA_PDC_OLD is not set |
703 | # CONFIG_PATA_RADISYS is not set | 716 | # CONFIG_PATA_RADISYS is not set |
717 | # CONFIG_PATA_RDC is not set | ||
704 | # CONFIG_PATA_RZ1000 is not set | 718 | # CONFIG_PATA_RZ1000 is not set |
705 | # CONFIG_PATA_SC1200 is not set | 719 | # CONFIG_PATA_SC1200 is not set |
706 | # CONFIG_PATA_SERVERWORKS is not set | 720 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -777,7 +791,9 @@ CONFIG_MII=y | |||
777 | # CONFIG_NET_PCI is not set | 791 | # CONFIG_NET_PCI is not set |
778 | # CONFIG_B44 is not set | 792 | # CONFIG_B44 is not set |
779 | # CONFIG_KS8842 is not set | 793 | # CONFIG_KS8842 is not set |
794 | # CONFIG_KS8851_MLL is not set | ||
780 | # CONFIG_ATL2 is not set | 795 | # CONFIG_ATL2 is not set |
796 | # CONFIG_XILINX_EMACLITE is not set | ||
781 | CONFIG_NETDEV_1000=y | 797 | CONFIG_NETDEV_1000=y |
782 | # CONFIG_ACENIC is not set | 798 | # CONFIG_ACENIC is not set |
783 | # CONFIG_DL2K is not set | 799 | # CONFIG_DL2K is not set |
@@ -800,7 +816,6 @@ CONFIG_NETDEV_1000=y | |||
800 | CONFIG_FSL_PQ_MDIO=y | 816 | CONFIG_FSL_PQ_MDIO=y |
801 | CONFIG_GIANFAR=y | 817 | CONFIG_GIANFAR=y |
802 | CONFIG_UCC_GETH=y | 818 | CONFIG_UCC_GETH=y |
803 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
804 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 819 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
805 | # CONFIG_MV643XX_ETH is not set | 820 | # CONFIG_MV643XX_ETH is not set |
806 | # CONFIG_QLA3XXX is not set | 821 | # CONFIG_QLA3XXX is not set |
@@ -828,10 +843,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
828 | # CONFIG_SFC is not set | 843 | # CONFIG_SFC is not set |
829 | # CONFIG_BE2NET is not set | 844 | # CONFIG_BE2NET is not set |
830 | # CONFIG_TR is not set | 845 | # CONFIG_TR is not set |
831 | 846 | CONFIG_WLAN=y | |
832 | # | ||
833 | # Wireless LAN | ||
834 | # | ||
835 | # CONFIG_WLAN_PRE80211 is not set | 847 | # CONFIG_WLAN_PRE80211 is not set |
836 | # CONFIG_WLAN_80211 is not set | 848 | # CONFIG_WLAN_80211 is not set |
837 | 849 | ||
@@ -935,6 +947,7 @@ CONFIG_GEN_RTC=y | |||
935 | CONFIG_DEVPORT=y | 947 | CONFIG_DEVPORT=y |
936 | CONFIG_I2C=y | 948 | CONFIG_I2C=y |
937 | CONFIG_I2C_BOARDINFO=y | 949 | CONFIG_I2C_BOARDINFO=y |
950 | CONFIG_I2C_COMPAT=y | ||
938 | CONFIG_I2C_CHARDEV=y | 951 | CONFIG_I2C_CHARDEV=y |
939 | CONFIG_I2C_HELPER_AUTO=y | 952 | CONFIG_I2C_HELPER_AUTO=y |
940 | 953 | ||
@@ -990,9 +1003,6 @@ CONFIG_I2C_MPC=y | |||
990 | # Miscellaneous I2C Chip support | 1003 | # Miscellaneous I2C Chip support |
991 | # | 1004 | # |
992 | # CONFIG_DS1682 is not set | 1005 | # CONFIG_DS1682 is not set |
993 | # CONFIG_SENSORS_PCF8574 is not set | ||
994 | # CONFIG_PCF8575 is not set | ||
995 | # CONFIG_SENSORS_PCA9539 is not set | ||
996 | # CONFIG_SENSORS_TSL2550 is not set | 1006 | # CONFIG_SENSORS_TSL2550 is not set |
997 | # CONFIG_I2C_DEBUG_CORE is not set | 1007 | # CONFIG_I2C_DEBUG_CORE is not set |
998 | # CONFIG_I2C_DEBUG_ALGO is not set | 1008 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1025,14 +1035,24 @@ CONFIG_GPIOLIB=y | |||
1025 | # PCI GPIO expanders: | 1035 | # PCI GPIO expanders: |
1026 | # | 1036 | # |
1027 | # CONFIG_GPIO_BT8XX is not set | 1037 | # CONFIG_GPIO_BT8XX is not set |
1038 | # CONFIG_GPIO_LANGWELL is not set | ||
1028 | 1039 | ||
1029 | # | 1040 | # |
1030 | # SPI GPIO expanders: | 1041 | # SPI GPIO expanders: |
1031 | # | 1042 | # |
1043 | |||
1044 | # | ||
1045 | # AC97 GPIO expanders: | ||
1046 | # | ||
1032 | # CONFIG_W1 is not set | 1047 | # CONFIG_W1 is not set |
1033 | # CONFIG_POWER_SUPPLY is not set | 1048 | # CONFIG_POWER_SUPPLY is not set |
1034 | CONFIG_HWMON=y | 1049 | CONFIG_HWMON=y |
1035 | # CONFIG_HWMON_VID is not set | 1050 | # CONFIG_HWMON_VID is not set |
1051 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1052 | |||
1053 | # | ||
1054 | # Native drivers | ||
1055 | # | ||
1036 | # CONFIG_SENSORS_AD7414 is not set | 1056 | # CONFIG_SENSORS_AD7414 is not set |
1037 | # CONFIG_SENSORS_AD7418 is not set | 1057 | # CONFIG_SENSORS_AD7418 is not set |
1038 | # CONFIG_SENSORS_ADM1021 is not set | 1058 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1083,6 +1103,7 @@ CONFIG_HWMON=y | |||
1083 | # CONFIG_SENSORS_ADS7828 is not set | 1103 | # CONFIG_SENSORS_ADS7828 is not set |
1084 | # CONFIG_SENSORS_THMC50 is not set | 1104 | # CONFIG_SENSORS_THMC50 is not set |
1085 | # CONFIG_SENSORS_TMP401 is not set | 1105 | # CONFIG_SENSORS_TMP401 is not set |
1106 | # CONFIG_SENSORS_TMP421 is not set | ||
1086 | # CONFIG_SENSORS_VIA686A is not set | 1107 | # CONFIG_SENSORS_VIA686A is not set |
1087 | # CONFIG_SENSORS_VT1211 is not set | 1108 | # CONFIG_SENSORS_VT1211 is not set |
1088 | # CONFIG_SENSORS_VT8231 is not set | 1109 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1094,9 +1115,7 @@ CONFIG_HWMON=y | |||
1094 | # CONFIG_SENSORS_W83L786NG is not set | 1115 | # CONFIG_SENSORS_W83L786NG is not set |
1095 | # CONFIG_SENSORS_W83627HF is not set | 1116 | # CONFIG_SENSORS_W83627HF is not set |
1096 | # CONFIG_SENSORS_W83627EHF is not set | 1117 | # CONFIG_SENSORS_W83627EHF is not set |
1097 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1098 | # CONFIG_THERMAL is not set | 1118 | # CONFIG_THERMAL is not set |
1099 | # CONFIG_THERMAL_HWMON is not set | ||
1100 | CONFIG_WATCHDOG=y | 1119 | CONFIG_WATCHDOG=y |
1101 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1120 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1102 | 1121 | ||
@@ -1135,6 +1154,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1135 | # CONFIG_MFD_TMIO is not set | 1154 | # CONFIG_MFD_TMIO is not set |
1136 | # CONFIG_PMIC_DA903X is not set | 1155 | # CONFIG_PMIC_DA903X is not set |
1137 | # CONFIG_MFD_WM8400 is not set | 1156 | # CONFIG_MFD_WM8400 is not set |
1157 | # CONFIG_MFD_WM831X is not set | ||
1138 | # CONFIG_MFD_WM8350_I2C is not set | 1158 | # CONFIG_MFD_WM8350_I2C is not set |
1139 | # CONFIG_MFD_PCF50633 is not set | 1159 | # CONFIG_MFD_PCF50633 is not set |
1140 | # CONFIG_AB3100_CORE is not set | 1160 | # CONFIG_AB3100_CORE is not set |
@@ -1145,6 +1165,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1145 | # Graphics support | 1165 | # Graphics support |
1146 | # | 1166 | # |
1147 | # CONFIG_AGP is not set | 1167 | # CONFIG_AGP is not set |
1168 | CONFIG_VGA_ARB=y | ||
1148 | # CONFIG_DRM is not set | 1169 | # CONFIG_DRM is not set |
1149 | # CONFIG_VGASTATE is not set | 1170 | # CONFIG_VGASTATE is not set |
1150 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 1171 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -1158,7 +1179,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m | |||
1158 | # CONFIG_SOUND is not set | 1179 | # CONFIG_SOUND is not set |
1159 | CONFIG_HID_SUPPORT=y | 1180 | CONFIG_HID_SUPPORT=y |
1160 | CONFIG_HID=y | 1181 | CONFIG_HID=y |
1161 | # CONFIG_HID_DEBUG is not set | ||
1162 | # CONFIG_HIDRAW is not set | 1182 | # CONFIG_HIDRAW is not set |
1163 | 1183 | ||
1164 | # | 1184 | # |
@@ -1181,6 +1201,7 @@ CONFIG_HID_CYPRESS=y | |||
1181 | CONFIG_HID_EZKEY=y | 1201 | CONFIG_HID_EZKEY=y |
1182 | # CONFIG_HID_KYE is not set | 1202 | # CONFIG_HID_KYE is not set |
1183 | CONFIG_HID_GYRATION=y | 1203 | CONFIG_HID_GYRATION=y |
1204 | # CONFIG_HID_TWINHAN is not set | ||
1184 | # CONFIG_HID_KENSINGTON is not set | 1205 | # CONFIG_HID_KENSINGTON is not set |
1185 | CONFIG_HID_LOGITECH=y | 1206 | CONFIG_HID_LOGITECH=y |
1186 | # CONFIG_LOGITECH_FF is not set | 1207 | # CONFIG_LOGITECH_FF is not set |
@@ -1233,6 +1254,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1233 | # CONFIG_USB_OXU210HP_HCD is not set | 1254 | # CONFIG_USB_OXU210HP_HCD is not set |
1234 | # CONFIG_USB_ISP116X_HCD is not set | 1255 | # CONFIG_USB_ISP116X_HCD is not set |
1235 | # CONFIG_USB_ISP1760_HCD is not set | 1256 | # CONFIG_USB_ISP1760_HCD is not set |
1257 | # CONFIG_USB_ISP1362_HCD is not set | ||
1236 | # CONFIG_USB_OHCI_HCD is not set | 1258 | # CONFIG_USB_OHCI_HCD is not set |
1237 | # CONFIG_USB_UHCI_HCD is not set | 1259 | # CONFIG_USB_UHCI_HCD is not set |
1238 | # CONFIG_USB_FHCI_HCD is not set | 1260 | # CONFIG_USB_FHCI_HCD is not set |
@@ -1291,6 +1313,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1291 | # CONFIG_USB_LD is not set | 1313 | # CONFIG_USB_LD is not set |
1292 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1314 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1293 | # CONFIG_USB_IOWARRIOR is not set | 1315 | # CONFIG_USB_IOWARRIOR is not set |
1316 | # CONFIG_USB_TEST is not set | ||
1294 | # CONFIG_USB_ISIGHTFW is not set | 1317 | # CONFIG_USB_ISIGHTFW is not set |
1295 | # CONFIG_USB_VST is not set | 1318 | # CONFIG_USB_VST is not set |
1296 | # CONFIG_USB_GADGET is not set | 1319 | # CONFIG_USB_GADGET is not set |
@@ -1338,6 +1361,7 @@ CONFIG_FS_MBCACHE=y | |||
1338 | # CONFIG_GFS2_FS is not set | 1361 | # CONFIG_GFS2_FS is not set |
1339 | # CONFIG_OCFS2_FS is not set | 1362 | # CONFIG_OCFS2_FS is not set |
1340 | # CONFIG_BTRFS_FS is not set | 1363 | # CONFIG_BTRFS_FS is not set |
1364 | # CONFIG_NILFS2_FS is not set | ||
1341 | CONFIG_FILE_LOCKING=y | 1365 | CONFIG_FILE_LOCKING=y |
1342 | CONFIG_FSNOTIFY=y | 1366 | CONFIG_FSNOTIFY=y |
1343 | CONFIG_DNOTIFY=y | 1367 | CONFIG_DNOTIFY=y |
@@ -1397,7 +1421,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1397 | # CONFIG_ROMFS_FS is not set | 1421 | # CONFIG_ROMFS_FS is not set |
1398 | # CONFIG_SYSV_FS is not set | 1422 | # CONFIG_SYSV_FS is not set |
1399 | # CONFIG_UFS_FS is not set | 1423 | # CONFIG_UFS_FS is not set |
1400 | # CONFIG_NILFS2_FS is not set | ||
1401 | CONFIG_NETWORK_FILESYSTEMS=y | 1424 | CONFIG_NETWORK_FILESYSTEMS=y |
1402 | CONFIG_NFS_FS=y | 1425 | CONFIG_NFS_FS=y |
1403 | CONFIG_NFS_V3=y | 1426 | CONFIG_NFS_V3=y |
@@ -1514,6 +1537,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1514 | CONFIG_ENABLE_MUST_CHECK=y | 1537 | CONFIG_ENABLE_MUST_CHECK=y |
1515 | CONFIG_FRAME_WARN=1024 | 1538 | CONFIG_FRAME_WARN=1024 |
1516 | # CONFIG_MAGIC_SYSRQ is not set | 1539 | # CONFIG_MAGIC_SYSRQ is not set |
1540 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1517 | # CONFIG_UNUSED_SYMBOLS is not set | 1541 | # CONFIG_UNUSED_SYMBOLS is not set |
1518 | # CONFIG_DEBUG_FS is not set | 1542 | # CONFIG_DEBUG_FS is not set |
1519 | # CONFIG_HEADERS_CHECK is not set | 1543 | # CONFIG_HEADERS_CHECK is not set |
@@ -1529,6 +1553,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1529 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1553 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1530 | CONFIG_TRACING_SUPPORT=y | 1554 | CONFIG_TRACING_SUPPORT=y |
1531 | # CONFIG_FTRACE is not set | 1555 | # CONFIG_FTRACE is not set |
1556 | # CONFIG_DMA_API_DEBUG is not set | ||
1532 | # CONFIG_SAMPLES is not set | 1557 | # CONFIG_SAMPLES is not set |
1533 | CONFIG_HAVE_ARCH_KGDB=y | 1558 | CONFIG_HAVE_ARCH_KGDB=y |
1534 | # CONFIG_PPC_DISABLE_WERROR is not set | 1559 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1550,7 +1575,6 @@ CONFIG_CRYPTO=y | |||
1550 | # | 1575 | # |
1551 | # Crypto core or helper | 1576 | # Crypto core or helper |
1552 | # | 1577 | # |
1553 | # CONFIG_CRYPTO_FIPS is not set | ||
1554 | CONFIG_CRYPTO_ALGAPI=y | 1578 | CONFIG_CRYPTO_ALGAPI=y |
1555 | CONFIG_CRYPTO_ALGAPI2=y | 1579 | CONFIG_CRYPTO_ALGAPI2=y |
1556 | CONFIG_CRYPTO_AEAD=y | 1580 | CONFIG_CRYPTO_AEAD=y |
@@ -1591,13 +1615,15 @@ CONFIG_CRYPTO_PCBC=m | |||
1591 | # | 1615 | # |
1592 | # Hash modes | 1616 | # Hash modes |
1593 | # | 1617 | # |
1594 | # CONFIG_CRYPTO_HMAC is not set | 1618 | CONFIG_CRYPTO_HMAC=y |
1595 | # CONFIG_CRYPTO_XCBC is not set | 1619 | # CONFIG_CRYPTO_XCBC is not set |
1620 | # CONFIG_CRYPTO_VMAC is not set | ||
1596 | 1621 | ||
1597 | # | 1622 | # |
1598 | # Digest | 1623 | # Digest |
1599 | # | 1624 | # |
1600 | # CONFIG_CRYPTO_CRC32C is not set | 1625 | # CONFIG_CRYPTO_CRC32C is not set |
1626 | # CONFIG_CRYPTO_GHASH is not set | ||
1601 | # CONFIG_CRYPTO_MD4 is not set | 1627 | # CONFIG_CRYPTO_MD4 is not set |
1602 | CONFIG_CRYPTO_MD5=y | 1628 | CONFIG_CRYPTO_MD5=y |
1603 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1629 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
@@ -1605,16 +1631,16 @@ CONFIG_CRYPTO_MD5=y | |||
1605 | # CONFIG_CRYPTO_RMD160 is not set | 1631 | # CONFIG_CRYPTO_RMD160 is not set |
1606 | # CONFIG_CRYPTO_RMD256 is not set | 1632 | # CONFIG_CRYPTO_RMD256 is not set |
1607 | # CONFIG_CRYPTO_RMD320 is not set | 1633 | # CONFIG_CRYPTO_RMD320 is not set |
1608 | # CONFIG_CRYPTO_SHA1 is not set | 1634 | CONFIG_CRYPTO_SHA1=y |
1609 | # CONFIG_CRYPTO_SHA256 is not set | 1635 | CONFIG_CRYPTO_SHA256=y |
1610 | # CONFIG_CRYPTO_SHA512 is not set | 1636 | CONFIG_CRYPTO_SHA512=y |
1611 | # CONFIG_CRYPTO_TGR192 is not set | 1637 | # CONFIG_CRYPTO_TGR192 is not set |
1612 | # CONFIG_CRYPTO_WP512 is not set | 1638 | # CONFIG_CRYPTO_WP512 is not set |
1613 | 1639 | ||
1614 | # | 1640 | # |
1615 | # Ciphers | 1641 | # Ciphers |
1616 | # | 1642 | # |
1617 | # CONFIG_CRYPTO_AES is not set | 1643 | CONFIG_CRYPTO_AES=y |
1618 | # CONFIG_CRYPTO_ANUBIS is not set | 1644 | # CONFIG_CRYPTO_ANUBIS is not set |
1619 | # CONFIG_CRYPTO_ARC4 is not set | 1645 | # CONFIG_CRYPTO_ARC4 is not set |
1620 | # CONFIG_CRYPTO_BLOWFISH is not set | 1646 | # CONFIG_CRYPTO_BLOWFISH is not set |
diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig index ee6acc6557f8..a12e7ba87a43 100644 --- a/arch/powerpc/configs/mpc85xx_defconfig +++ b/arch/powerpc/configs/mpc85xx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:55 2009 | 4 | # Thu Nov 5 08:25:20 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | # CONFIG_SMP is not set | 28 | # CONFIG_SMP is not set |
@@ -36,6 +37,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 37 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
40 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 41 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 42 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 43 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +90,12 @@ CONFIG_AUDIT=y | |||
88 | # | 90 | # |
89 | # RCU Subsystem | 91 | # RCU Subsystem |
90 | # | 92 | # |
91 | CONFIG_CLASSIC_RCU=y | 93 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 94 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 95 | # CONFIG_RCU_TRACE is not set |
96 | CONFIG_RCU_FANOUT=32 | ||
97 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 98 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | CONFIG_IKCONFIG=y | 99 | CONFIG_IKCONFIG=y |
97 | CONFIG_IKCONFIG_PROC=y | 100 | CONFIG_IKCONFIG_PROC=y |
98 | CONFIG_LOG_BUF_SHIFT=14 | 101 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -131,22 +134,21 @@ CONFIG_TIMERFD=y | |||
131 | CONFIG_EVENTFD=y | 134 | CONFIG_EVENTFD=y |
132 | CONFIG_SHMEM=y | 135 | CONFIG_SHMEM=y |
133 | CONFIG_AIO=y | 136 | CONFIG_AIO=y |
134 | CONFIG_HAVE_PERF_COUNTERS=y | 137 | CONFIG_HAVE_PERF_EVENTS=y |
135 | 138 | ||
136 | # | 139 | # |
137 | # Performance Counters | 140 | # Kernel Performance Events And Counters |
138 | # | 141 | # |
142 | # CONFIG_PERF_EVENTS is not set | ||
139 | # CONFIG_PERF_COUNTERS is not set | 143 | # CONFIG_PERF_COUNTERS is not set |
140 | CONFIG_VM_EVENT_COUNTERS=y | 144 | CONFIG_VM_EVENT_COUNTERS=y |
141 | CONFIG_PCI_QUIRKS=y | 145 | CONFIG_PCI_QUIRKS=y |
142 | CONFIG_SLUB_DEBUG=y | 146 | CONFIG_SLUB_DEBUG=y |
143 | # CONFIG_STRIP_ASM_SYMS is not set | ||
144 | CONFIG_COMPAT_BRK=y | 147 | CONFIG_COMPAT_BRK=y |
145 | # CONFIG_SLAB is not set | 148 | # CONFIG_SLAB is not set |
146 | CONFIG_SLUB=y | 149 | CONFIG_SLUB=y |
147 | # CONFIG_SLOB is not set | 150 | # CONFIG_SLOB is not set |
148 | # CONFIG_PROFILING is not set | 151 | # CONFIG_PROFILING is not set |
149 | # CONFIG_MARKERS is not set | ||
150 | CONFIG_HAVE_OPROFILE=y | 152 | CONFIG_HAVE_OPROFILE=y |
151 | # CONFIG_KPROBES is not set | 153 | # CONFIG_KPROBES is not set |
152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 154 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -154,7 +156,9 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
154 | CONFIG_HAVE_KPROBES=y | 156 | CONFIG_HAVE_KPROBES=y |
155 | CONFIG_HAVE_KRETPROBES=y | 157 | CONFIG_HAVE_KRETPROBES=y |
156 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 158 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
159 | CONFIG_HAVE_DMA_ATTRS=y | ||
157 | CONFIG_HAVE_CLK=y | 160 | CONFIG_HAVE_CLK=y |
161 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
158 | 162 | ||
159 | # | 163 | # |
160 | # GCOV-based kernel profiling | 164 | # GCOV-based kernel profiling |
@@ -189,6 +193,7 @@ CONFIG_DEFAULT_CFQ=y | |||
189 | # CONFIG_DEFAULT_NOOP is not set | 193 | # CONFIG_DEFAULT_NOOP is not set |
190 | CONFIG_DEFAULT_IOSCHED="cfq" | 194 | CONFIG_DEFAULT_IOSCHED="cfq" |
191 | # CONFIG_FREEZER is not set | 195 | # CONFIG_FREEZER is not set |
196 | CONFIG_PPC_MSI_BITMAP=y | ||
192 | 197 | ||
193 | # | 198 | # |
194 | # Platform support | 199 | # Platform support |
@@ -206,7 +211,7 @@ CONFIG_MPC85xx_DS=y | |||
206 | CONFIG_MPC85xx_RDB=y | 211 | CONFIG_MPC85xx_RDB=y |
207 | CONFIG_SOCRATES=y | 212 | CONFIG_SOCRATES=y |
208 | CONFIG_KSI8560=y | 213 | CONFIG_KSI8560=y |
209 | # CONFIG_XES_MPC85xx is not set | 214 | CONFIG_XES_MPC85xx=y |
210 | CONFIG_STX_GP3=y | 215 | CONFIG_STX_GP3=y |
211 | CONFIG_TQM8540=y | 216 | CONFIG_TQM8540=y |
212 | CONFIG_TQM8541=y | 217 | CONFIG_TQM8541=y |
@@ -259,10 +264,10 @@ CONFIG_BINFMT_MISC=m | |||
259 | CONFIG_MATH_EMULATION=y | 264 | CONFIG_MATH_EMULATION=y |
260 | CONFIG_IOMMU_HELPER=y | 265 | CONFIG_IOMMU_HELPER=y |
261 | CONFIG_SWIOTLB=y | 266 | CONFIG_SWIOTLB=y |
262 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
263 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 267 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
264 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 268 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
265 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 269 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
270 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
266 | CONFIG_ARCH_FLATMEM_ENABLE=y | 271 | CONFIG_ARCH_FLATMEM_ENABLE=y |
267 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 272 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
268 | CONFIG_SELECT_MEMORY_MODEL=y | 273 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -280,6 +285,7 @@ CONFIG_BOUNCE=y | |||
280 | CONFIG_VIRT_TO_BUS=y | 285 | CONFIG_VIRT_TO_BUS=y |
281 | CONFIG_HAVE_MLOCK=y | 286 | CONFIG_HAVE_MLOCK=y |
282 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 287 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
288 | # CONFIG_KSM is not set | ||
283 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 289 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
284 | CONFIG_PPC_4K_PAGES=y | 290 | CONFIG_PPC_4K_PAGES=y |
285 | # CONFIG_PPC_16K_PAGES is not set | 291 | # CONFIG_PPC_16K_PAGES is not set |
@@ -307,7 +313,7 @@ CONFIG_PCI_DOMAINS=y | |||
307 | CONFIG_PCI_SYSCALL=y | 313 | CONFIG_PCI_SYSCALL=y |
308 | # CONFIG_PCIEPORTBUS is not set | 314 | # CONFIG_PCIEPORTBUS is not set |
309 | CONFIG_ARCH_SUPPORTS_MSI=y | 315 | CONFIG_ARCH_SUPPORTS_MSI=y |
310 | # CONFIG_PCI_MSI is not set | 316 | CONFIG_PCI_MSI=y |
311 | # CONFIG_PCI_LEGACY is not set | 317 | # CONFIG_PCI_LEGACY is not set |
312 | # CONFIG_PCI_DEBUG is not set | 318 | # CONFIG_PCI_DEBUG is not set |
313 | # CONFIG_PCI_STUB is not set | 319 | # CONFIG_PCI_STUB is not set |
@@ -315,7 +321,8 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
315 | # CONFIG_PCCARD is not set | 321 | # CONFIG_PCCARD is not set |
316 | # CONFIG_HOTPLUG_PCI is not set | 322 | # CONFIG_HOTPLUG_PCI is not set |
317 | CONFIG_HAS_RAPIDIO=y | 323 | CONFIG_HAS_RAPIDIO=y |
318 | # CONFIG_RAPIDIO is not set | 324 | CONFIG_RAPIDIO=y |
325 | CONFIG_RAPIDIO_DISC_TIMEOUT=30 | ||
319 | 326 | ||
320 | # | 327 | # |
321 | # Advanced setup | 328 | # Advanced setup |
@@ -345,7 +352,7 @@ CONFIG_XFRM_USER=y | |||
345 | # CONFIG_XFRM_SUB_POLICY is not set | 352 | # CONFIG_XFRM_SUB_POLICY is not set |
346 | # CONFIG_XFRM_MIGRATE is not set | 353 | # CONFIG_XFRM_MIGRATE is not set |
347 | # CONFIG_XFRM_STATISTICS is not set | 354 | # CONFIG_XFRM_STATISTICS is not set |
348 | CONFIG_NET_KEY=m | 355 | CONFIG_NET_KEY=y |
349 | # CONFIG_NET_KEY_MIGRATE is not set | 356 | # CONFIG_NET_KEY_MIGRATE is not set |
350 | CONFIG_INET=y | 357 | CONFIG_INET=y |
351 | CONFIG_IP_MULTICAST=y | 358 | CONFIG_IP_MULTICAST=y |
@@ -369,12 +376,12 @@ CONFIG_IP_PIMSM_V2=y | |||
369 | CONFIG_ARPD=y | 376 | CONFIG_ARPD=y |
370 | # CONFIG_SYN_COOKIES is not set | 377 | # CONFIG_SYN_COOKIES is not set |
371 | # CONFIG_INET_AH is not set | 378 | # CONFIG_INET_AH is not set |
372 | # CONFIG_INET_ESP is not set | 379 | CONFIG_INET_ESP=y |
373 | # CONFIG_INET_IPCOMP is not set | 380 | # CONFIG_INET_IPCOMP is not set |
374 | # CONFIG_INET_XFRM_TUNNEL is not set | 381 | # CONFIG_INET_XFRM_TUNNEL is not set |
375 | CONFIG_INET_TUNNEL=y | 382 | CONFIG_INET_TUNNEL=y |
376 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 383 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
377 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 384 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
378 | # CONFIG_INET_XFRM_MODE_BEET is not set | 385 | # CONFIG_INET_XFRM_MODE_BEET is not set |
379 | # CONFIG_INET_LRO is not set | 386 | # CONFIG_INET_LRO is not set |
380 | CONFIG_INET_DIAG=y | 387 | CONFIG_INET_DIAG=y |
@@ -411,6 +418,7 @@ CONFIG_IP_SCTP=m | |||
411 | # CONFIG_SCTP_HMAC_NONE is not set | 418 | # CONFIG_SCTP_HMAC_NONE is not set |
412 | # CONFIG_SCTP_HMAC_SHA1 is not set | 419 | # CONFIG_SCTP_HMAC_SHA1 is not set |
413 | CONFIG_SCTP_HMAC_MD5=y | 420 | CONFIG_SCTP_HMAC_MD5=y |
421 | # CONFIG_RDS is not set | ||
414 | # CONFIG_TIPC is not set | 422 | # CONFIG_TIPC is not set |
415 | # CONFIG_ATM is not set | 423 | # CONFIG_ATM is not set |
416 | # CONFIG_BRIDGE is not set | 424 | # CONFIG_BRIDGE is not set |
@@ -441,6 +449,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
441 | CONFIG_FIB_RULES=y | 449 | CONFIG_FIB_RULES=y |
442 | CONFIG_WIRELESS=y | 450 | CONFIG_WIRELESS=y |
443 | # CONFIG_CFG80211 is not set | 451 | # CONFIG_CFG80211 is not set |
452 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
444 | CONFIG_WIRELESS_OLD_REGULATORY=y | 453 | CONFIG_WIRELESS_OLD_REGULATORY=y |
445 | # CONFIG_WIRELESS_EXT is not set | 454 | # CONFIG_WIRELESS_EXT is not set |
446 | # CONFIG_LIB80211 is not set | 455 | # CONFIG_LIB80211 is not set |
@@ -448,7 +457,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
448 | # | 457 | # |
449 | # CFG80211 needs to be enabled for MAC80211 | 458 | # CFG80211 needs to be enabled for MAC80211 |
450 | # | 459 | # |
451 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
452 | # CONFIG_WIMAX is not set | 460 | # CONFIG_WIMAX is not set |
453 | # CONFIG_RFKILL is not set | 461 | # CONFIG_RFKILL is not set |
454 | # CONFIG_NET_9P is not set | 462 | # CONFIG_NET_9P is not set |
@@ -461,6 +469,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
461 | # Generic Driver Options | 469 | # Generic Driver Options |
462 | # | 470 | # |
463 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 471 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
472 | # CONFIG_DEVTMPFS is not set | ||
464 | CONFIG_STANDALONE=y | 473 | CONFIG_STANDALONE=y |
465 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 474 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
466 | CONFIG_FW_LOADER=y | 475 | CONFIG_FW_LOADER=y |
@@ -554,6 +563,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
554 | # CONFIG_ISCSI_TCP is not set | 563 | # CONFIG_ISCSI_TCP is not set |
555 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 564 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
556 | # CONFIG_SCSI_BNX2_ISCSI is not set | 565 | # CONFIG_SCSI_BNX2_ISCSI is not set |
566 | # CONFIG_BE2ISCSI is not set | ||
557 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 567 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
558 | # CONFIG_SCSI_3W_9XXX is not set | 568 | # CONFIG_SCSI_3W_9XXX is not set |
559 | # CONFIG_SCSI_ACARD is not set | 569 | # CONFIG_SCSI_ACARD is not set |
@@ -593,11 +603,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
593 | # CONFIG_SCSI_DC390T is not set | 603 | # CONFIG_SCSI_DC390T is not set |
594 | # CONFIG_SCSI_NSP32 is not set | 604 | # CONFIG_SCSI_NSP32 is not set |
595 | # CONFIG_SCSI_DEBUG is not set | 605 | # CONFIG_SCSI_DEBUG is not set |
606 | # CONFIG_SCSI_PMCRAID is not set | ||
596 | # CONFIG_SCSI_SRP is not set | 607 | # CONFIG_SCSI_SRP is not set |
608 | # CONFIG_SCSI_BFA_FC is not set | ||
597 | # CONFIG_SCSI_DH is not set | 609 | # CONFIG_SCSI_DH is not set |
598 | # CONFIG_SCSI_OSD_INITIATOR is not set | 610 | # CONFIG_SCSI_OSD_INITIATOR is not set |
599 | CONFIG_ATA=y | 611 | CONFIG_ATA=y |
600 | # CONFIG_ATA_NONSTANDARD is not set | 612 | # CONFIG_ATA_NONSTANDARD is not set |
613 | CONFIG_ATA_VERBOSE_ERROR=y | ||
601 | CONFIG_SATA_PMP=y | 614 | CONFIG_SATA_PMP=y |
602 | CONFIG_SATA_AHCI=y | 615 | CONFIG_SATA_AHCI=y |
603 | # CONFIG_SATA_SIL24 is not set | 616 | # CONFIG_SATA_SIL24 is not set |
@@ -620,6 +633,7 @@ CONFIG_ATA_SFF=y | |||
620 | CONFIG_PATA_ALI=y | 633 | CONFIG_PATA_ALI=y |
621 | # CONFIG_PATA_AMD is not set | 634 | # CONFIG_PATA_AMD is not set |
622 | # CONFIG_PATA_ARTOP is not set | 635 | # CONFIG_PATA_ARTOP is not set |
636 | # CONFIG_PATA_ATP867X is not set | ||
623 | # CONFIG_PATA_ATIIXP is not set | 637 | # CONFIG_PATA_ATIIXP is not set |
624 | # CONFIG_PATA_CMD640_PCI is not set | 638 | # CONFIG_PATA_CMD640_PCI is not set |
625 | # CONFIG_PATA_CMD64X is not set | 639 | # CONFIG_PATA_CMD64X is not set |
@@ -647,6 +661,7 @@ CONFIG_PATA_ALI=y | |||
647 | # CONFIG_PATA_OPTIDMA is not set | 661 | # CONFIG_PATA_OPTIDMA is not set |
648 | # CONFIG_PATA_PDC_OLD is not set | 662 | # CONFIG_PATA_PDC_OLD is not set |
649 | # CONFIG_PATA_RADISYS is not set | 663 | # CONFIG_PATA_RADISYS is not set |
664 | # CONFIG_PATA_RDC is not set | ||
650 | # CONFIG_PATA_RZ1000 is not set | 665 | # CONFIG_PATA_RZ1000 is not set |
651 | # CONFIG_PATA_SC1200 is not set | 666 | # CONFIG_PATA_SC1200 is not set |
652 | # CONFIG_PATA_SERVERWORKS is not set | 667 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -723,7 +738,9 @@ CONFIG_MII=y | |||
723 | # CONFIG_NET_PCI is not set | 738 | # CONFIG_NET_PCI is not set |
724 | # CONFIG_B44 is not set | 739 | # CONFIG_B44 is not set |
725 | # CONFIG_KS8842 is not set | 740 | # CONFIG_KS8842 is not set |
741 | # CONFIG_KS8851_MLL is not set | ||
726 | # CONFIG_ATL2 is not set | 742 | # CONFIG_ATL2 is not set |
743 | # CONFIG_XILINX_EMACLITE is not set | ||
727 | CONFIG_FS_ENET=y | 744 | CONFIG_FS_ENET=y |
728 | CONFIG_FS_ENET_HAS_SCC=y | 745 | CONFIG_FS_ENET_HAS_SCC=y |
729 | CONFIG_FS_ENET_HAS_FCC=y | 746 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -750,7 +767,6 @@ CONFIG_NETDEV_1000=y | |||
750 | CONFIG_FSL_PQ_MDIO=y | 767 | CONFIG_FSL_PQ_MDIO=y |
751 | CONFIG_GIANFAR=y | 768 | CONFIG_GIANFAR=y |
752 | CONFIG_UCC_GETH=y | 769 | CONFIG_UCC_GETH=y |
753 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
754 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 770 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
755 | # CONFIG_MV643XX_ETH is not set | 771 | # CONFIG_MV643XX_ETH is not set |
756 | # CONFIG_QLA3XXX is not set | 772 | # CONFIG_QLA3XXX is not set |
@@ -778,10 +794,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
778 | # CONFIG_SFC is not set | 794 | # CONFIG_SFC is not set |
779 | # CONFIG_BE2NET is not set | 795 | # CONFIG_BE2NET is not set |
780 | # CONFIG_TR is not set | 796 | # CONFIG_TR is not set |
781 | 797 | CONFIG_WLAN=y | |
782 | # | ||
783 | # Wireless LAN | ||
784 | # | ||
785 | # CONFIG_WLAN_PRE80211 is not set | 798 | # CONFIG_WLAN_PRE80211 is not set |
786 | # CONFIG_WLAN_80211 is not set | 799 | # CONFIG_WLAN_80211 is not set |
787 | 800 | ||
@@ -798,6 +811,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
798 | # CONFIG_USB_RTL8150 is not set | 811 | # CONFIG_USB_RTL8150 is not set |
799 | # CONFIG_USB_USBNET is not set | 812 | # CONFIG_USB_USBNET is not set |
800 | # CONFIG_WAN is not set | 813 | # CONFIG_WAN is not set |
814 | # CONFIG_RIONET is not set | ||
801 | # CONFIG_FDDI is not set | 815 | # CONFIG_FDDI is not set |
802 | # CONFIG_HIPPI is not set | 816 | # CONFIG_HIPPI is not set |
803 | # CONFIG_PPP is not set | 817 | # CONFIG_PPP is not set |
@@ -898,6 +912,7 @@ CONFIG_NVRAM=y | |||
898 | CONFIG_DEVPORT=y | 912 | CONFIG_DEVPORT=y |
899 | CONFIG_I2C=y | 913 | CONFIG_I2C=y |
900 | CONFIG_I2C_BOARDINFO=y | 914 | CONFIG_I2C_BOARDINFO=y |
915 | CONFIG_I2C_COMPAT=y | ||
901 | # CONFIG_I2C_CHARDEV is not set | 916 | # CONFIG_I2C_CHARDEV is not set |
902 | CONFIG_I2C_HELPER_AUTO=y | 917 | CONFIG_I2C_HELPER_AUTO=y |
903 | 918 | ||
@@ -955,9 +970,6 @@ CONFIG_I2C_MPC=y | |||
955 | # Miscellaneous I2C Chip support | 970 | # Miscellaneous I2C Chip support |
956 | # | 971 | # |
957 | # CONFIG_DS1682 is not set | 972 | # CONFIG_DS1682 is not set |
958 | # CONFIG_SENSORS_PCF8574 is not set | ||
959 | # CONFIG_PCF8575 is not set | ||
960 | # CONFIG_SENSORS_PCA9539 is not set | ||
961 | # CONFIG_SENSORS_TSL2550 is not set | 973 | # CONFIG_SENSORS_TSL2550 is not set |
962 | # CONFIG_I2C_DEBUG_CORE is not set | 974 | # CONFIG_I2C_DEBUG_CORE is not set |
963 | # CONFIG_I2C_DEBUG_ALGO is not set | 975 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -991,15 +1003,19 @@ CONFIG_GPIOLIB=y | |||
991 | # PCI GPIO expanders: | 1003 | # PCI GPIO expanders: |
992 | # | 1004 | # |
993 | # CONFIG_GPIO_BT8XX is not set | 1005 | # CONFIG_GPIO_BT8XX is not set |
1006 | # CONFIG_GPIO_LANGWELL is not set | ||
994 | 1007 | ||
995 | # | 1008 | # |
996 | # SPI GPIO expanders: | 1009 | # SPI GPIO expanders: |
997 | # | 1010 | # |
1011 | |||
1012 | # | ||
1013 | # AC97 GPIO expanders: | ||
1014 | # | ||
998 | # CONFIG_W1 is not set | 1015 | # CONFIG_W1 is not set |
999 | # CONFIG_POWER_SUPPLY is not set | 1016 | # CONFIG_POWER_SUPPLY is not set |
1000 | # CONFIG_HWMON is not set | 1017 | # CONFIG_HWMON is not set |
1001 | # CONFIG_THERMAL is not set | 1018 | # CONFIG_THERMAL is not set |
1002 | # CONFIG_THERMAL_HWMON is not set | ||
1003 | # CONFIG_WATCHDOG is not set | 1019 | # CONFIG_WATCHDOG is not set |
1004 | CONFIG_SSB_POSSIBLE=y | 1020 | CONFIG_SSB_POSSIBLE=y |
1005 | 1021 | ||
@@ -1020,6 +1036,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1020 | # CONFIG_MFD_TMIO is not set | 1036 | # CONFIG_MFD_TMIO is not set |
1021 | # CONFIG_PMIC_DA903X is not set | 1037 | # CONFIG_PMIC_DA903X is not set |
1022 | # CONFIG_MFD_WM8400 is not set | 1038 | # CONFIG_MFD_WM8400 is not set |
1039 | # CONFIG_MFD_WM831X is not set | ||
1023 | # CONFIG_MFD_WM8350_I2C is not set | 1040 | # CONFIG_MFD_WM8350_I2C is not set |
1024 | # CONFIG_MFD_PCF50633 is not set | 1041 | # CONFIG_MFD_PCF50633 is not set |
1025 | # CONFIG_AB3100_CORE is not set | 1042 | # CONFIG_AB3100_CORE is not set |
@@ -1030,6 +1047,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1030 | # Graphics support | 1047 | # Graphics support |
1031 | # | 1048 | # |
1032 | # CONFIG_AGP is not set | 1049 | # CONFIG_AGP is not set |
1050 | CONFIG_VGA_ARB=y | ||
1033 | # CONFIG_DRM is not set | 1051 | # CONFIG_DRM is not set |
1034 | # CONFIG_VGASTATE is not set | 1052 | # CONFIG_VGASTATE is not set |
1035 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1053 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1049,6 +1067,7 @@ CONFIG_VGA_CONSOLE=y | |||
1049 | CONFIG_DUMMY_CONSOLE=y | 1067 | CONFIG_DUMMY_CONSOLE=y |
1050 | CONFIG_SOUND=y | 1068 | CONFIG_SOUND=y |
1051 | CONFIG_SOUND_OSS_CORE=y | 1069 | CONFIG_SOUND_OSS_CORE=y |
1070 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1052 | CONFIG_SND=y | 1071 | CONFIG_SND=y |
1053 | CONFIG_SND_TIMER=y | 1072 | CONFIG_SND_TIMER=y |
1054 | CONFIG_SND_PCM=y | 1073 | CONFIG_SND_PCM=y |
@@ -1152,7 +1171,6 @@ CONFIG_SND_USB=y | |||
1152 | CONFIG_AC97_BUS=y | 1171 | CONFIG_AC97_BUS=y |
1153 | CONFIG_HID_SUPPORT=y | 1172 | CONFIG_HID_SUPPORT=y |
1154 | CONFIG_HID=y | 1173 | CONFIG_HID=y |
1155 | # CONFIG_HID_DEBUG is not set | ||
1156 | # CONFIG_HIDRAW is not set | 1174 | # CONFIG_HIDRAW is not set |
1157 | 1175 | ||
1158 | # | 1176 | # |
@@ -1175,6 +1193,7 @@ CONFIG_HID_CYPRESS=y | |||
1175 | CONFIG_HID_EZKEY=y | 1193 | CONFIG_HID_EZKEY=y |
1176 | # CONFIG_HID_KYE is not set | 1194 | # CONFIG_HID_KYE is not set |
1177 | CONFIG_HID_GYRATION=y | 1195 | CONFIG_HID_GYRATION=y |
1196 | # CONFIG_HID_TWINHAN is not set | ||
1178 | # CONFIG_HID_KENSINGTON is not set | 1197 | # CONFIG_HID_KENSINGTON is not set |
1179 | CONFIG_HID_LOGITECH=y | 1198 | CONFIG_HID_LOGITECH=y |
1180 | # CONFIG_LOGITECH_FF is not set | 1199 | # CONFIG_LOGITECH_FF is not set |
@@ -1227,6 +1246,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1227 | # CONFIG_USB_OXU210HP_HCD is not set | 1246 | # CONFIG_USB_OXU210HP_HCD is not set |
1228 | # CONFIG_USB_ISP116X_HCD is not set | 1247 | # CONFIG_USB_ISP116X_HCD is not set |
1229 | # CONFIG_USB_ISP1760_HCD is not set | 1248 | # CONFIG_USB_ISP1760_HCD is not set |
1249 | # CONFIG_USB_ISP1362_HCD is not set | ||
1230 | CONFIG_USB_OHCI_HCD=y | 1250 | CONFIG_USB_OHCI_HCD=y |
1231 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1251 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1232 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | 1252 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y |
@@ -1241,7 +1261,6 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
1241 | # CONFIG_USB_R8A66597_HCD is not set | 1261 | # CONFIG_USB_R8A66597_HCD is not set |
1242 | # CONFIG_USB_WHCI_HCD is not set | 1262 | # CONFIG_USB_WHCI_HCD is not set |
1243 | # CONFIG_USB_HWA_HCD is not set | 1263 | # CONFIG_USB_HWA_HCD is not set |
1244 | # CONFIG_USB_MUSB_HDRC is not set | ||
1245 | 1264 | ||
1246 | # | 1265 | # |
1247 | # USB Device Class drivers | 1266 | # USB Device Class drivers |
@@ -1429,6 +1448,7 @@ CONFIG_FS_MBCACHE=y | |||
1429 | # CONFIG_GFS2_FS is not set | 1448 | # CONFIG_GFS2_FS is not set |
1430 | # CONFIG_OCFS2_FS is not set | 1449 | # CONFIG_OCFS2_FS is not set |
1431 | # CONFIG_BTRFS_FS is not set | 1450 | # CONFIG_BTRFS_FS is not set |
1451 | # CONFIG_NILFS2_FS is not set | ||
1432 | CONFIG_FILE_LOCKING=y | 1452 | CONFIG_FILE_LOCKING=y |
1433 | CONFIG_FSNOTIFY=y | 1453 | CONFIG_FSNOTIFY=y |
1434 | CONFIG_DNOTIFY=y | 1454 | CONFIG_DNOTIFY=y |
@@ -1499,7 +1519,6 @@ CONFIG_SYSV_FS=m | |||
1499 | CONFIG_UFS_FS=m | 1519 | CONFIG_UFS_FS=m |
1500 | # CONFIG_UFS_FS_WRITE is not set | 1520 | # CONFIG_UFS_FS_WRITE is not set |
1501 | # CONFIG_UFS_DEBUG is not set | 1521 | # CONFIG_UFS_DEBUG is not set |
1502 | # CONFIG_NILFS2_FS is not set | ||
1503 | CONFIG_NETWORK_FILESYSTEMS=y | 1522 | CONFIG_NETWORK_FILESYSTEMS=y |
1504 | CONFIG_NFS_FS=y | 1523 | CONFIG_NFS_FS=y |
1505 | CONFIG_NFS_V3=y | 1524 | CONFIG_NFS_V3=y |
@@ -1620,6 +1639,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1620 | CONFIG_ENABLE_MUST_CHECK=y | 1639 | CONFIG_ENABLE_MUST_CHECK=y |
1621 | CONFIG_FRAME_WARN=1024 | 1640 | CONFIG_FRAME_WARN=1024 |
1622 | # CONFIG_MAGIC_SYSRQ is not set | 1641 | # CONFIG_MAGIC_SYSRQ is not set |
1642 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1623 | # CONFIG_UNUSED_SYMBOLS is not set | 1643 | # CONFIG_UNUSED_SYMBOLS is not set |
1624 | CONFIG_DEBUG_FS=y | 1644 | CONFIG_DEBUG_FS=y |
1625 | # CONFIG_HEADERS_CHECK is not set | 1645 | # CONFIG_HEADERS_CHECK is not set |
@@ -1637,6 +1657,7 @@ CONFIG_SCHED_DEBUG=y | |||
1637 | # CONFIG_DEBUG_OBJECTS is not set | 1657 | # CONFIG_DEBUG_OBJECTS is not set |
1638 | # CONFIG_SLUB_DEBUG_ON is not set | 1658 | # CONFIG_SLUB_DEBUG_ON is not set |
1639 | # CONFIG_SLUB_STATS is not set | 1659 | # CONFIG_SLUB_STATS is not set |
1660 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1640 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1661 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1641 | # CONFIG_RT_MUTEX_TESTER is not set | 1662 | # CONFIG_RT_MUTEX_TESTER is not set |
1642 | # CONFIG_DEBUG_SPINLOCK is not set | 1663 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1656,10 +1677,12 @@ CONFIG_DEBUG_INFO=y | |||
1656 | # CONFIG_DEBUG_LIST is not set | 1677 | # CONFIG_DEBUG_LIST is not set |
1657 | # CONFIG_DEBUG_SG is not set | 1678 | # CONFIG_DEBUG_SG is not set |
1658 | # CONFIG_DEBUG_NOTIFIERS is not set | 1679 | # CONFIG_DEBUG_NOTIFIERS is not set |
1680 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1659 | # CONFIG_RCU_TORTURE_TEST is not set | 1681 | # CONFIG_RCU_TORTURE_TEST is not set |
1660 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1682 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1661 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1683 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1662 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1684 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1685 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1663 | # CONFIG_FAULT_INJECTION is not set | 1686 | # CONFIG_FAULT_INJECTION is not set |
1664 | # CONFIG_LATENCYTOP is not set | 1687 | # CONFIG_LATENCYTOP is not set |
1665 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1688 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1683,10 +1706,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1683 | # CONFIG_WORKQUEUE_TRACER is not set | 1706 | # CONFIG_WORKQUEUE_TRACER is not set |
1684 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1707 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1685 | # CONFIG_DYNAMIC_DEBUG is not set | 1708 | # CONFIG_DYNAMIC_DEBUG is not set |
1709 | # CONFIG_DMA_API_DEBUG is not set | ||
1686 | # CONFIG_SAMPLES is not set | 1710 | # CONFIG_SAMPLES is not set |
1687 | CONFIG_HAVE_ARCH_KGDB=y | 1711 | CONFIG_HAVE_ARCH_KGDB=y |
1688 | # CONFIG_KGDB is not set | 1712 | # CONFIG_KGDB is not set |
1689 | # CONFIG_KMEMCHECK is not set | ||
1690 | # CONFIG_PPC_DISABLE_WERROR is not set | 1713 | # CONFIG_PPC_DISABLE_WERROR is not set |
1691 | CONFIG_PPC_WERROR=y | 1714 | CONFIG_PPC_WERROR=y |
1692 | CONFIG_PRINT_STACK_DEPTH=64 | 1715 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1714,7 +1737,6 @@ CONFIG_CRYPTO=y | |||
1714 | # | 1737 | # |
1715 | # Crypto core or helper | 1738 | # Crypto core or helper |
1716 | # | 1739 | # |
1717 | # CONFIG_CRYPTO_FIPS is not set | ||
1718 | CONFIG_CRYPTO_ALGAPI=y | 1740 | CONFIG_CRYPTO_ALGAPI=y |
1719 | CONFIG_CRYPTO_ALGAPI2=y | 1741 | CONFIG_CRYPTO_ALGAPI2=y |
1720 | CONFIG_CRYPTO_AEAD=y | 1742 | CONFIG_CRYPTO_AEAD=y |
@@ -1757,11 +1779,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1757 | # | 1779 | # |
1758 | CONFIG_CRYPTO_HMAC=y | 1780 | CONFIG_CRYPTO_HMAC=y |
1759 | # CONFIG_CRYPTO_XCBC is not set | 1781 | # CONFIG_CRYPTO_XCBC is not set |
1782 | # CONFIG_CRYPTO_VMAC is not set | ||
1760 | 1783 | ||
1761 | # | 1784 | # |
1762 | # Digest | 1785 | # Digest |
1763 | # | 1786 | # |
1764 | CONFIG_CRYPTO_CRC32C=m | 1787 | CONFIG_CRYPTO_CRC32C=m |
1788 | # CONFIG_CRYPTO_GHASH is not set | ||
1765 | # CONFIG_CRYPTO_MD4 is not set | 1789 | # CONFIG_CRYPTO_MD4 is not set |
1766 | CONFIG_CRYPTO_MD5=y | 1790 | CONFIG_CRYPTO_MD5=y |
1767 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1791 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
@@ -1769,16 +1793,16 @@ CONFIG_CRYPTO_MD5=y | |||
1769 | # CONFIG_CRYPTO_RMD160 is not set | 1793 | # CONFIG_CRYPTO_RMD160 is not set |
1770 | # CONFIG_CRYPTO_RMD256 is not set | 1794 | # CONFIG_CRYPTO_RMD256 is not set |
1771 | # CONFIG_CRYPTO_RMD320 is not set | 1795 | # CONFIG_CRYPTO_RMD320 is not set |
1772 | CONFIG_CRYPTO_SHA1=m | 1796 | CONFIG_CRYPTO_SHA1=y |
1773 | # CONFIG_CRYPTO_SHA256 is not set | 1797 | CONFIG_CRYPTO_SHA256=y |
1774 | # CONFIG_CRYPTO_SHA512 is not set | 1798 | CONFIG_CRYPTO_SHA512=y |
1775 | # CONFIG_CRYPTO_TGR192 is not set | 1799 | # CONFIG_CRYPTO_TGR192 is not set |
1776 | # CONFIG_CRYPTO_WP512 is not set | 1800 | # CONFIG_CRYPTO_WP512 is not set |
1777 | 1801 | ||
1778 | # | 1802 | # |
1779 | # Ciphers | 1803 | # Ciphers |
1780 | # | 1804 | # |
1781 | # CONFIG_CRYPTO_AES is not set | 1805 | CONFIG_CRYPTO_AES=y |
1782 | # CONFIG_CRYPTO_ANUBIS is not set | 1806 | # CONFIG_CRYPTO_ANUBIS is not set |
1783 | # CONFIG_CRYPTO_ARC4 is not set | 1807 | # CONFIG_CRYPTO_ARC4 is not set |
1784 | # CONFIG_CRYPTO_BLOWFISH is not set | 1808 | # CONFIG_CRYPTO_BLOWFISH is not set |
diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig index db082ce5a1c5..cd70b4a4ce01 100644 --- a/arch/powerpc/configs/mpc85xx_smp_defconfig +++ b/arch/powerpc/configs/mpc85xx_smp_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:56 2009 | 4 | # Thu Nov 5 08:26:01 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
25 | CONFIG_PPC_MMU_NOHASH_32=y | ||
25 | CONFIG_PPC_BOOK3E_MMU=y | 26 | CONFIG_PPC_BOOK3E_MMU=y |
26 | # CONFIG_PPC_MM_SLICES is not set | 27 | # CONFIG_PPC_MM_SLICES is not set |
27 | CONFIG_SMP=y | 28 | CONFIG_SMP=y |
@@ -37,6 +38,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
37 | CONFIG_GENERIC_HARDIRQS=y | 38 | CONFIG_GENERIC_HARDIRQS=y |
38 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 39 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
39 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 40 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
41 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
40 | CONFIG_IRQ_PER_CPU=y | 42 | CONFIG_IRQ_PER_CPU=y |
41 | CONFIG_STACKTRACE_SUPPORT=y | 43 | CONFIG_STACKTRACE_SUPPORT=y |
42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 44 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -89,11 +91,12 @@ CONFIG_AUDIT=y | |||
89 | # | 91 | # |
90 | # RCU Subsystem | 92 | # RCU Subsystem |
91 | # | 93 | # |
92 | CONFIG_CLASSIC_RCU=y | 94 | CONFIG_TREE_RCU=y |
93 | # CONFIG_TREE_RCU is not set | 95 | # CONFIG_TREE_PREEMPT_RCU is not set |
94 | # CONFIG_PREEMPT_RCU is not set | 96 | # CONFIG_RCU_TRACE is not set |
97 | CONFIG_RCU_FANOUT=32 | ||
98 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
95 | # CONFIG_TREE_RCU_TRACE is not set | 99 | # CONFIG_TREE_RCU_TRACE is not set |
96 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
97 | CONFIG_IKCONFIG=y | 100 | CONFIG_IKCONFIG=y |
98 | CONFIG_IKCONFIG_PROC=y | 101 | CONFIG_IKCONFIG_PROC=y |
99 | CONFIG_LOG_BUF_SHIFT=14 | 102 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -132,22 +135,21 @@ CONFIG_TIMERFD=y | |||
132 | CONFIG_EVENTFD=y | 135 | CONFIG_EVENTFD=y |
133 | CONFIG_SHMEM=y | 136 | CONFIG_SHMEM=y |
134 | CONFIG_AIO=y | 137 | CONFIG_AIO=y |
135 | CONFIG_HAVE_PERF_COUNTERS=y | 138 | CONFIG_HAVE_PERF_EVENTS=y |
136 | 139 | ||
137 | # | 140 | # |
138 | # Performance Counters | 141 | # Kernel Performance Events And Counters |
139 | # | 142 | # |
143 | # CONFIG_PERF_EVENTS is not set | ||
140 | # CONFIG_PERF_COUNTERS is not set | 144 | # CONFIG_PERF_COUNTERS is not set |
141 | CONFIG_VM_EVENT_COUNTERS=y | 145 | CONFIG_VM_EVENT_COUNTERS=y |
142 | CONFIG_PCI_QUIRKS=y | 146 | CONFIG_PCI_QUIRKS=y |
143 | CONFIG_SLUB_DEBUG=y | 147 | CONFIG_SLUB_DEBUG=y |
144 | # CONFIG_STRIP_ASM_SYMS is not set | ||
145 | CONFIG_COMPAT_BRK=y | 148 | CONFIG_COMPAT_BRK=y |
146 | # CONFIG_SLAB is not set | 149 | # CONFIG_SLAB is not set |
147 | CONFIG_SLUB=y | 150 | CONFIG_SLUB=y |
148 | # CONFIG_SLOB is not set | 151 | # CONFIG_SLOB is not set |
149 | # CONFIG_PROFILING is not set | 152 | # CONFIG_PROFILING is not set |
150 | # CONFIG_MARKERS is not set | ||
151 | CONFIG_HAVE_OPROFILE=y | 153 | CONFIG_HAVE_OPROFILE=y |
152 | # CONFIG_KPROBES is not set | 154 | # CONFIG_KPROBES is not set |
153 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 155 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -155,8 +157,10 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
155 | CONFIG_HAVE_KPROBES=y | 157 | CONFIG_HAVE_KPROBES=y |
156 | CONFIG_HAVE_KRETPROBES=y | 158 | CONFIG_HAVE_KRETPROBES=y |
157 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 159 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
160 | CONFIG_HAVE_DMA_ATTRS=y | ||
158 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 161 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
159 | CONFIG_HAVE_CLK=y | 162 | CONFIG_HAVE_CLK=y |
163 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
160 | 164 | ||
161 | # | 165 | # |
162 | # GCOV-based kernel profiling | 166 | # GCOV-based kernel profiling |
@@ -192,6 +196,7 @@ CONFIG_DEFAULT_CFQ=y | |||
192 | # CONFIG_DEFAULT_NOOP is not set | 196 | # CONFIG_DEFAULT_NOOP is not set |
193 | CONFIG_DEFAULT_IOSCHED="cfq" | 197 | CONFIG_DEFAULT_IOSCHED="cfq" |
194 | # CONFIG_FREEZER is not set | 198 | # CONFIG_FREEZER is not set |
199 | CONFIG_PPC_MSI_BITMAP=y | ||
195 | 200 | ||
196 | # | 201 | # |
197 | # Platform support | 202 | # Platform support |
@@ -206,9 +211,10 @@ CONFIG_MPC85xx_CDS=y | |||
206 | CONFIG_MPC85xx_MDS=y | 211 | CONFIG_MPC85xx_MDS=y |
207 | CONFIG_MPC8536_DS=y | 212 | CONFIG_MPC8536_DS=y |
208 | CONFIG_MPC85xx_DS=y | 213 | CONFIG_MPC85xx_DS=y |
214 | CONFIG_MPC85xx_RDB=y | ||
209 | CONFIG_SOCRATES=y | 215 | CONFIG_SOCRATES=y |
210 | CONFIG_KSI8560=y | 216 | CONFIG_KSI8560=y |
211 | # CONFIG_XES_MPC85xx is not set | 217 | CONFIG_XES_MPC85xx=y |
212 | CONFIG_STX_GP3=y | 218 | CONFIG_STX_GP3=y |
213 | CONFIG_TQM8540=y | 219 | CONFIG_TQM8540=y |
214 | CONFIG_TQM8541=y | 220 | CONFIG_TQM8541=y |
@@ -261,11 +267,11 @@ CONFIG_BINFMT_MISC=m | |||
261 | CONFIG_MATH_EMULATION=y | 267 | CONFIG_MATH_EMULATION=y |
262 | CONFIG_IOMMU_HELPER=y | 268 | CONFIG_IOMMU_HELPER=y |
263 | CONFIG_SWIOTLB=y | 269 | CONFIG_SWIOTLB=y |
264 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
265 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 270 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
266 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 271 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
267 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 272 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
268 | # CONFIG_IRQ_ALL_CPUS is not set | 273 | # CONFIG_IRQ_ALL_CPUS is not set |
274 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
269 | CONFIG_ARCH_FLATMEM_ENABLE=y | 275 | CONFIG_ARCH_FLATMEM_ENABLE=y |
270 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 276 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
271 | CONFIG_SELECT_MEMORY_MODEL=y | 277 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -283,6 +289,7 @@ CONFIG_BOUNCE=y | |||
283 | CONFIG_VIRT_TO_BUS=y | 289 | CONFIG_VIRT_TO_BUS=y |
284 | CONFIG_HAVE_MLOCK=y | 290 | CONFIG_HAVE_MLOCK=y |
285 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 291 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
292 | # CONFIG_KSM is not set | ||
286 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 293 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
287 | CONFIG_PPC_4K_PAGES=y | 294 | CONFIG_PPC_4K_PAGES=y |
288 | # CONFIG_PPC_16K_PAGES is not set | 295 | # CONFIG_PPC_16K_PAGES is not set |
@@ -310,7 +317,7 @@ CONFIG_PCI_DOMAINS=y | |||
310 | CONFIG_PCI_SYSCALL=y | 317 | CONFIG_PCI_SYSCALL=y |
311 | # CONFIG_PCIEPORTBUS is not set | 318 | # CONFIG_PCIEPORTBUS is not set |
312 | CONFIG_ARCH_SUPPORTS_MSI=y | 319 | CONFIG_ARCH_SUPPORTS_MSI=y |
313 | # CONFIG_PCI_MSI is not set | 320 | CONFIG_PCI_MSI=y |
314 | # CONFIG_PCI_LEGACY is not set | 321 | # CONFIG_PCI_LEGACY is not set |
315 | # CONFIG_PCI_DEBUG is not set | 322 | # CONFIG_PCI_DEBUG is not set |
316 | # CONFIG_PCI_STUB is not set | 323 | # CONFIG_PCI_STUB is not set |
@@ -318,7 +325,8 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
318 | # CONFIG_PCCARD is not set | 325 | # CONFIG_PCCARD is not set |
319 | # CONFIG_HOTPLUG_PCI is not set | 326 | # CONFIG_HOTPLUG_PCI is not set |
320 | CONFIG_HAS_RAPIDIO=y | 327 | CONFIG_HAS_RAPIDIO=y |
321 | # CONFIG_RAPIDIO is not set | 328 | CONFIG_RAPIDIO=y |
329 | CONFIG_RAPIDIO_DISC_TIMEOUT=30 | ||
322 | 330 | ||
323 | # | 331 | # |
324 | # Advanced setup | 332 | # Advanced setup |
@@ -348,7 +356,7 @@ CONFIG_XFRM_USER=y | |||
348 | # CONFIG_XFRM_SUB_POLICY is not set | 356 | # CONFIG_XFRM_SUB_POLICY is not set |
349 | # CONFIG_XFRM_MIGRATE is not set | 357 | # CONFIG_XFRM_MIGRATE is not set |
350 | # CONFIG_XFRM_STATISTICS is not set | 358 | # CONFIG_XFRM_STATISTICS is not set |
351 | CONFIG_NET_KEY=m | 359 | CONFIG_NET_KEY=y |
352 | # CONFIG_NET_KEY_MIGRATE is not set | 360 | # CONFIG_NET_KEY_MIGRATE is not set |
353 | CONFIG_INET=y | 361 | CONFIG_INET=y |
354 | CONFIG_IP_MULTICAST=y | 362 | CONFIG_IP_MULTICAST=y |
@@ -372,12 +380,12 @@ CONFIG_IP_PIMSM_V2=y | |||
372 | CONFIG_ARPD=y | 380 | CONFIG_ARPD=y |
373 | # CONFIG_SYN_COOKIES is not set | 381 | # CONFIG_SYN_COOKIES is not set |
374 | # CONFIG_INET_AH is not set | 382 | # CONFIG_INET_AH is not set |
375 | # CONFIG_INET_ESP is not set | 383 | CONFIG_INET_ESP=y |
376 | # CONFIG_INET_IPCOMP is not set | 384 | # CONFIG_INET_IPCOMP is not set |
377 | # CONFIG_INET_XFRM_TUNNEL is not set | 385 | # CONFIG_INET_XFRM_TUNNEL is not set |
378 | CONFIG_INET_TUNNEL=y | 386 | CONFIG_INET_TUNNEL=y |
379 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 387 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
380 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 388 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
381 | # CONFIG_INET_XFRM_MODE_BEET is not set | 389 | # CONFIG_INET_XFRM_MODE_BEET is not set |
382 | # CONFIG_INET_LRO is not set | 390 | # CONFIG_INET_LRO is not set |
383 | CONFIG_INET_DIAG=y | 391 | CONFIG_INET_DIAG=y |
@@ -414,6 +422,7 @@ CONFIG_IP_SCTP=m | |||
414 | # CONFIG_SCTP_HMAC_NONE is not set | 422 | # CONFIG_SCTP_HMAC_NONE is not set |
415 | # CONFIG_SCTP_HMAC_SHA1 is not set | 423 | # CONFIG_SCTP_HMAC_SHA1 is not set |
416 | CONFIG_SCTP_HMAC_MD5=y | 424 | CONFIG_SCTP_HMAC_MD5=y |
425 | # CONFIG_RDS is not set | ||
417 | # CONFIG_TIPC is not set | 426 | # CONFIG_TIPC is not set |
418 | # CONFIG_ATM is not set | 427 | # CONFIG_ATM is not set |
419 | # CONFIG_BRIDGE is not set | 428 | # CONFIG_BRIDGE is not set |
@@ -444,6 +453,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
444 | CONFIG_FIB_RULES=y | 453 | CONFIG_FIB_RULES=y |
445 | CONFIG_WIRELESS=y | 454 | CONFIG_WIRELESS=y |
446 | # CONFIG_CFG80211 is not set | 455 | # CONFIG_CFG80211 is not set |
456 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
447 | CONFIG_WIRELESS_OLD_REGULATORY=y | 457 | CONFIG_WIRELESS_OLD_REGULATORY=y |
448 | # CONFIG_WIRELESS_EXT is not set | 458 | # CONFIG_WIRELESS_EXT is not set |
449 | # CONFIG_LIB80211 is not set | 459 | # CONFIG_LIB80211 is not set |
@@ -451,7 +461,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
451 | # | 461 | # |
452 | # CFG80211 needs to be enabled for MAC80211 | 462 | # CFG80211 needs to be enabled for MAC80211 |
453 | # | 463 | # |
454 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
455 | # CONFIG_WIMAX is not set | 464 | # CONFIG_WIMAX is not set |
456 | # CONFIG_RFKILL is not set | 465 | # CONFIG_RFKILL is not set |
457 | # CONFIG_NET_9P is not set | 466 | # CONFIG_NET_9P is not set |
@@ -464,6 +473,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
464 | # Generic Driver Options | 473 | # Generic Driver Options |
465 | # | 474 | # |
466 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 475 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
476 | # CONFIG_DEVTMPFS is not set | ||
467 | CONFIG_STANDALONE=y | 477 | CONFIG_STANDALONE=y |
468 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 478 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
469 | CONFIG_FW_LOADER=y | 479 | CONFIG_FW_LOADER=y |
@@ -557,6 +567,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
557 | # CONFIG_ISCSI_TCP is not set | 567 | # CONFIG_ISCSI_TCP is not set |
558 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 568 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
559 | # CONFIG_SCSI_BNX2_ISCSI is not set | 569 | # CONFIG_SCSI_BNX2_ISCSI is not set |
570 | # CONFIG_BE2ISCSI is not set | ||
560 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 571 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
561 | # CONFIG_SCSI_3W_9XXX is not set | 572 | # CONFIG_SCSI_3W_9XXX is not set |
562 | # CONFIG_SCSI_ACARD is not set | 573 | # CONFIG_SCSI_ACARD is not set |
@@ -596,11 +607,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
596 | # CONFIG_SCSI_DC390T is not set | 607 | # CONFIG_SCSI_DC390T is not set |
597 | # CONFIG_SCSI_NSP32 is not set | 608 | # CONFIG_SCSI_NSP32 is not set |
598 | # CONFIG_SCSI_DEBUG is not set | 609 | # CONFIG_SCSI_DEBUG is not set |
610 | # CONFIG_SCSI_PMCRAID is not set | ||
599 | # CONFIG_SCSI_SRP is not set | 611 | # CONFIG_SCSI_SRP is not set |
612 | # CONFIG_SCSI_BFA_FC is not set | ||
600 | # CONFIG_SCSI_DH is not set | 613 | # CONFIG_SCSI_DH is not set |
601 | # CONFIG_SCSI_OSD_INITIATOR is not set | 614 | # CONFIG_SCSI_OSD_INITIATOR is not set |
602 | CONFIG_ATA=y | 615 | CONFIG_ATA=y |
603 | # CONFIG_ATA_NONSTANDARD is not set | 616 | # CONFIG_ATA_NONSTANDARD is not set |
617 | CONFIG_ATA_VERBOSE_ERROR=y | ||
604 | CONFIG_SATA_PMP=y | 618 | CONFIG_SATA_PMP=y |
605 | CONFIG_SATA_AHCI=y | 619 | CONFIG_SATA_AHCI=y |
606 | # CONFIG_SATA_SIL24 is not set | 620 | # CONFIG_SATA_SIL24 is not set |
@@ -623,6 +637,7 @@ CONFIG_ATA_SFF=y | |||
623 | CONFIG_PATA_ALI=y | 637 | CONFIG_PATA_ALI=y |
624 | # CONFIG_PATA_AMD is not set | 638 | # CONFIG_PATA_AMD is not set |
625 | # CONFIG_PATA_ARTOP is not set | 639 | # CONFIG_PATA_ARTOP is not set |
640 | # CONFIG_PATA_ATP867X is not set | ||
626 | # CONFIG_PATA_ATIIXP is not set | 641 | # CONFIG_PATA_ATIIXP is not set |
627 | # CONFIG_PATA_CMD640_PCI is not set | 642 | # CONFIG_PATA_CMD640_PCI is not set |
628 | # CONFIG_PATA_CMD64X is not set | 643 | # CONFIG_PATA_CMD64X is not set |
@@ -650,6 +665,7 @@ CONFIG_PATA_ALI=y | |||
650 | # CONFIG_PATA_OPTIDMA is not set | 665 | # CONFIG_PATA_OPTIDMA is not set |
651 | # CONFIG_PATA_PDC_OLD is not set | 666 | # CONFIG_PATA_PDC_OLD is not set |
652 | # CONFIG_PATA_RADISYS is not set | 667 | # CONFIG_PATA_RADISYS is not set |
668 | # CONFIG_PATA_RDC is not set | ||
653 | # CONFIG_PATA_RZ1000 is not set | 669 | # CONFIG_PATA_RZ1000 is not set |
654 | # CONFIG_PATA_SC1200 is not set | 670 | # CONFIG_PATA_SC1200 is not set |
655 | # CONFIG_PATA_SERVERWORKS is not set | 671 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -726,7 +742,9 @@ CONFIG_MII=y | |||
726 | # CONFIG_NET_PCI is not set | 742 | # CONFIG_NET_PCI is not set |
727 | # CONFIG_B44 is not set | 743 | # CONFIG_B44 is not set |
728 | # CONFIG_KS8842 is not set | 744 | # CONFIG_KS8842 is not set |
745 | # CONFIG_KS8851_MLL is not set | ||
729 | # CONFIG_ATL2 is not set | 746 | # CONFIG_ATL2 is not set |
747 | # CONFIG_XILINX_EMACLITE is not set | ||
730 | CONFIG_FS_ENET=y | 748 | CONFIG_FS_ENET=y |
731 | CONFIG_FS_ENET_HAS_SCC=y | 749 | CONFIG_FS_ENET_HAS_SCC=y |
732 | CONFIG_FS_ENET_HAS_FCC=y | 750 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -753,7 +771,6 @@ CONFIG_NETDEV_1000=y | |||
753 | CONFIG_FSL_PQ_MDIO=y | 771 | CONFIG_FSL_PQ_MDIO=y |
754 | CONFIG_GIANFAR=y | 772 | CONFIG_GIANFAR=y |
755 | CONFIG_UCC_GETH=y | 773 | CONFIG_UCC_GETH=y |
756 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
757 | # CONFIG_UGETH_TX_ON_DEMAND is not set | 774 | # CONFIG_UGETH_TX_ON_DEMAND is not set |
758 | # CONFIG_MV643XX_ETH is not set | 775 | # CONFIG_MV643XX_ETH is not set |
759 | # CONFIG_QLA3XXX is not set | 776 | # CONFIG_QLA3XXX is not set |
@@ -781,10 +798,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
781 | # CONFIG_SFC is not set | 798 | # CONFIG_SFC is not set |
782 | # CONFIG_BE2NET is not set | 799 | # CONFIG_BE2NET is not set |
783 | # CONFIG_TR is not set | 800 | # CONFIG_TR is not set |
784 | 801 | CONFIG_WLAN=y | |
785 | # | ||
786 | # Wireless LAN | ||
787 | # | ||
788 | # CONFIG_WLAN_PRE80211 is not set | 802 | # CONFIG_WLAN_PRE80211 is not set |
789 | # CONFIG_WLAN_80211 is not set | 803 | # CONFIG_WLAN_80211 is not set |
790 | 804 | ||
@@ -801,6 +815,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
801 | # CONFIG_USB_RTL8150 is not set | 815 | # CONFIG_USB_RTL8150 is not set |
802 | # CONFIG_USB_USBNET is not set | 816 | # CONFIG_USB_USBNET is not set |
803 | # CONFIG_WAN is not set | 817 | # CONFIG_WAN is not set |
818 | # CONFIG_RIONET is not set | ||
804 | # CONFIG_FDDI is not set | 819 | # CONFIG_FDDI is not set |
805 | # CONFIG_HIPPI is not set | 820 | # CONFIG_HIPPI is not set |
806 | # CONFIG_PPP is not set | 821 | # CONFIG_PPP is not set |
@@ -901,6 +916,7 @@ CONFIG_NVRAM=y | |||
901 | CONFIG_DEVPORT=y | 916 | CONFIG_DEVPORT=y |
902 | CONFIG_I2C=y | 917 | CONFIG_I2C=y |
903 | CONFIG_I2C_BOARDINFO=y | 918 | CONFIG_I2C_BOARDINFO=y |
919 | CONFIG_I2C_COMPAT=y | ||
904 | # CONFIG_I2C_CHARDEV is not set | 920 | # CONFIG_I2C_CHARDEV is not set |
905 | CONFIG_I2C_HELPER_AUTO=y | 921 | CONFIG_I2C_HELPER_AUTO=y |
906 | 922 | ||
@@ -958,9 +974,6 @@ CONFIG_I2C_MPC=y | |||
958 | # Miscellaneous I2C Chip support | 974 | # Miscellaneous I2C Chip support |
959 | # | 975 | # |
960 | # CONFIG_DS1682 is not set | 976 | # CONFIG_DS1682 is not set |
961 | # CONFIG_SENSORS_PCF8574 is not set | ||
962 | # CONFIG_PCF8575 is not set | ||
963 | # CONFIG_SENSORS_PCA9539 is not set | ||
964 | # CONFIG_SENSORS_TSL2550 is not set | 977 | # CONFIG_SENSORS_TSL2550 is not set |
965 | # CONFIG_I2C_DEBUG_CORE is not set | 978 | # CONFIG_I2C_DEBUG_CORE is not set |
966 | # CONFIG_I2C_DEBUG_ALGO is not set | 979 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -994,15 +1007,19 @@ CONFIG_GPIOLIB=y | |||
994 | # PCI GPIO expanders: | 1007 | # PCI GPIO expanders: |
995 | # | 1008 | # |
996 | # CONFIG_GPIO_BT8XX is not set | 1009 | # CONFIG_GPIO_BT8XX is not set |
1010 | # CONFIG_GPIO_LANGWELL is not set | ||
997 | 1011 | ||
998 | # | 1012 | # |
999 | # SPI GPIO expanders: | 1013 | # SPI GPIO expanders: |
1000 | # | 1014 | # |
1015 | |||
1016 | # | ||
1017 | # AC97 GPIO expanders: | ||
1018 | # | ||
1001 | # CONFIG_W1 is not set | 1019 | # CONFIG_W1 is not set |
1002 | # CONFIG_POWER_SUPPLY is not set | 1020 | # CONFIG_POWER_SUPPLY is not set |
1003 | # CONFIG_HWMON is not set | 1021 | # CONFIG_HWMON is not set |
1004 | # CONFIG_THERMAL is not set | 1022 | # CONFIG_THERMAL is not set |
1005 | # CONFIG_THERMAL_HWMON is not set | ||
1006 | # CONFIG_WATCHDOG is not set | 1023 | # CONFIG_WATCHDOG is not set |
1007 | CONFIG_SSB_POSSIBLE=y | 1024 | CONFIG_SSB_POSSIBLE=y |
1008 | 1025 | ||
@@ -1023,6 +1040,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1023 | # CONFIG_MFD_TMIO is not set | 1040 | # CONFIG_MFD_TMIO is not set |
1024 | # CONFIG_PMIC_DA903X is not set | 1041 | # CONFIG_PMIC_DA903X is not set |
1025 | # CONFIG_MFD_WM8400 is not set | 1042 | # CONFIG_MFD_WM8400 is not set |
1043 | # CONFIG_MFD_WM831X is not set | ||
1026 | # CONFIG_MFD_WM8350_I2C is not set | 1044 | # CONFIG_MFD_WM8350_I2C is not set |
1027 | # CONFIG_MFD_PCF50633 is not set | 1045 | # CONFIG_MFD_PCF50633 is not set |
1028 | # CONFIG_AB3100_CORE is not set | 1046 | # CONFIG_AB3100_CORE is not set |
@@ -1033,6 +1051,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1033 | # Graphics support | 1051 | # Graphics support |
1034 | # | 1052 | # |
1035 | # CONFIG_AGP is not set | 1053 | # CONFIG_AGP is not set |
1054 | CONFIG_VGA_ARB=y | ||
1036 | # CONFIG_DRM is not set | 1055 | # CONFIG_DRM is not set |
1037 | # CONFIG_VGASTATE is not set | 1056 | # CONFIG_VGASTATE is not set |
1038 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1057 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1052,6 +1071,7 @@ CONFIG_VGA_CONSOLE=y | |||
1052 | CONFIG_DUMMY_CONSOLE=y | 1071 | CONFIG_DUMMY_CONSOLE=y |
1053 | CONFIG_SOUND=y | 1072 | CONFIG_SOUND=y |
1054 | CONFIG_SOUND_OSS_CORE=y | 1073 | CONFIG_SOUND_OSS_CORE=y |
1074 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1055 | CONFIG_SND=y | 1075 | CONFIG_SND=y |
1056 | CONFIG_SND_TIMER=y | 1076 | CONFIG_SND_TIMER=y |
1057 | CONFIG_SND_PCM=y | 1077 | CONFIG_SND_PCM=y |
@@ -1155,7 +1175,6 @@ CONFIG_SND_USB=y | |||
1155 | CONFIG_AC97_BUS=y | 1175 | CONFIG_AC97_BUS=y |
1156 | CONFIG_HID_SUPPORT=y | 1176 | CONFIG_HID_SUPPORT=y |
1157 | CONFIG_HID=y | 1177 | CONFIG_HID=y |
1158 | # CONFIG_HID_DEBUG is not set | ||
1159 | # CONFIG_HIDRAW is not set | 1178 | # CONFIG_HIDRAW is not set |
1160 | 1179 | ||
1161 | # | 1180 | # |
@@ -1178,6 +1197,7 @@ CONFIG_HID_CYPRESS=y | |||
1178 | CONFIG_HID_EZKEY=y | 1197 | CONFIG_HID_EZKEY=y |
1179 | # CONFIG_HID_KYE is not set | 1198 | # CONFIG_HID_KYE is not set |
1180 | CONFIG_HID_GYRATION=y | 1199 | CONFIG_HID_GYRATION=y |
1200 | # CONFIG_HID_TWINHAN is not set | ||
1181 | # CONFIG_HID_KENSINGTON is not set | 1201 | # CONFIG_HID_KENSINGTON is not set |
1182 | CONFIG_HID_LOGITECH=y | 1202 | CONFIG_HID_LOGITECH=y |
1183 | # CONFIG_LOGITECH_FF is not set | 1203 | # CONFIG_LOGITECH_FF is not set |
@@ -1230,6 +1250,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1230 | # CONFIG_USB_OXU210HP_HCD is not set | 1250 | # CONFIG_USB_OXU210HP_HCD is not set |
1231 | # CONFIG_USB_ISP116X_HCD is not set | 1251 | # CONFIG_USB_ISP116X_HCD is not set |
1232 | # CONFIG_USB_ISP1760_HCD is not set | 1252 | # CONFIG_USB_ISP1760_HCD is not set |
1253 | # CONFIG_USB_ISP1362_HCD is not set | ||
1233 | CONFIG_USB_OHCI_HCD=y | 1254 | CONFIG_USB_OHCI_HCD=y |
1234 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1255 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1235 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | 1256 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y |
@@ -1244,7 +1265,6 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
1244 | # CONFIG_USB_R8A66597_HCD is not set | 1265 | # CONFIG_USB_R8A66597_HCD is not set |
1245 | # CONFIG_USB_WHCI_HCD is not set | 1266 | # CONFIG_USB_WHCI_HCD is not set |
1246 | # CONFIG_USB_HWA_HCD is not set | 1267 | # CONFIG_USB_HWA_HCD is not set |
1247 | # CONFIG_USB_MUSB_HDRC is not set | ||
1248 | 1268 | ||
1249 | # | 1269 | # |
1250 | # USB Device Class drivers | 1270 | # USB Device Class drivers |
@@ -1432,6 +1452,7 @@ CONFIG_FS_MBCACHE=y | |||
1432 | # CONFIG_GFS2_FS is not set | 1452 | # CONFIG_GFS2_FS is not set |
1433 | # CONFIG_OCFS2_FS is not set | 1453 | # CONFIG_OCFS2_FS is not set |
1434 | # CONFIG_BTRFS_FS is not set | 1454 | # CONFIG_BTRFS_FS is not set |
1455 | # CONFIG_NILFS2_FS is not set | ||
1435 | CONFIG_FILE_LOCKING=y | 1456 | CONFIG_FILE_LOCKING=y |
1436 | CONFIG_FSNOTIFY=y | 1457 | CONFIG_FSNOTIFY=y |
1437 | CONFIG_DNOTIFY=y | 1458 | CONFIG_DNOTIFY=y |
@@ -1502,7 +1523,6 @@ CONFIG_SYSV_FS=m | |||
1502 | CONFIG_UFS_FS=m | 1523 | CONFIG_UFS_FS=m |
1503 | # CONFIG_UFS_FS_WRITE is not set | 1524 | # CONFIG_UFS_FS_WRITE is not set |
1504 | # CONFIG_UFS_DEBUG is not set | 1525 | # CONFIG_UFS_DEBUG is not set |
1505 | # CONFIG_NILFS2_FS is not set | ||
1506 | CONFIG_NETWORK_FILESYSTEMS=y | 1526 | CONFIG_NETWORK_FILESYSTEMS=y |
1507 | CONFIG_NFS_FS=y | 1527 | CONFIG_NFS_FS=y |
1508 | CONFIG_NFS_V3=y | 1528 | CONFIG_NFS_V3=y |
@@ -1623,6 +1643,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1623 | CONFIG_ENABLE_MUST_CHECK=y | 1643 | CONFIG_ENABLE_MUST_CHECK=y |
1624 | CONFIG_FRAME_WARN=1024 | 1644 | CONFIG_FRAME_WARN=1024 |
1625 | # CONFIG_MAGIC_SYSRQ is not set | 1645 | # CONFIG_MAGIC_SYSRQ is not set |
1646 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1626 | # CONFIG_UNUSED_SYMBOLS is not set | 1647 | # CONFIG_UNUSED_SYMBOLS is not set |
1627 | CONFIG_DEBUG_FS=y | 1648 | CONFIG_DEBUG_FS=y |
1628 | # CONFIG_HEADERS_CHECK is not set | 1649 | # CONFIG_HEADERS_CHECK is not set |
@@ -1640,6 +1661,7 @@ CONFIG_SCHED_DEBUG=y | |||
1640 | # CONFIG_DEBUG_OBJECTS is not set | 1661 | # CONFIG_DEBUG_OBJECTS is not set |
1641 | # CONFIG_SLUB_DEBUG_ON is not set | 1662 | # CONFIG_SLUB_DEBUG_ON is not set |
1642 | # CONFIG_SLUB_STATS is not set | 1663 | # CONFIG_SLUB_STATS is not set |
1664 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1643 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1665 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1644 | # CONFIG_RT_MUTEX_TESTER is not set | 1666 | # CONFIG_RT_MUTEX_TESTER is not set |
1645 | # CONFIG_DEBUG_SPINLOCK is not set | 1667 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1659,10 +1681,12 @@ CONFIG_DEBUG_INFO=y | |||
1659 | # CONFIG_DEBUG_LIST is not set | 1681 | # CONFIG_DEBUG_LIST is not set |
1660 | # CONFIG_DEBUG_SG is not set | 1682 | # CONFIG_DEBUG_SG is not set |
1661 | # CONFIG_DEBUG_NOTIFIERS is not set | 1683 | # CONFIG_DEBUG_NOTIFIERS is not set |
1684 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1662 | # CONFIG_RCU_TORTURE_TEST is not set | 1685 | # CONFIG_RCU_TORTURE_TEST is not set |
1663 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1686 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1664 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1687 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1665 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1688 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1689 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1666 | # CONFIG_FAULT_INJECTION is not set | 1690 | # CONFIG_FAULT_INJECTION is not set |
1667 | # CONFIG_LATENCYTOP is not set | 1691 | # CONFIG_LATENCYTOP is not set |
1668 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1692 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1686,10 +1710,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1686 | # CONFIG_WORKQUEUE_TRACER is not set | 1710 | # CONFIG_WORKQUEUE_TRACER is not set |
1687 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1711 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1688 | # CONFIG_DYNAMIC_DEBUG is not set | 1712 | # CONFIG_DYNAMIC_DEBUG is not set |
1713 | # CONFIG_DMA_API_DEBUG is not set | ||
1689 | # CONFIG_SAMPLES is not set | 1714 | # CONFIG_SAMPLES is not set |
1690 | CONFIG_HAVE_ARCH_KGDB=y | 1715 | CONFIG_HAVE_ARCH_KGDB=y |
1691 | # CONFIG_KGDB is not set | 1716 | # CONFIG_KGDB is not set |
1692 | # CONFIG_KMEMCHECK is not set | ||
1693 | # CONFIG_PPC_DISABLE_WERROR is not set | 1717 | # CONFIG_PPC_DISABLE_WERROR is not set |
1694 | CONFIG_PPC_WERROR=y | 1718 | CONFIG_PPC_WERROR=y |
1695 | CONFIG_PRINT_STACK_DEPTH=64 | 1719 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1717,7 +1741,6 @@ CONFIG_CRYPTO=y | |||
1717 | # | 1741 | # |
1718 | # Crypto core or helper | 1742 | # Crypto core or helper |
1719 | # | 1743 | # |
1720 | # CONFIG_CRYPTO_FIPS is not set | ||
1721 | CONFIG_CRYPTO_ALGAPI=y | 1744 | CONFIG_CRYPTO_ALGAPI=y |
1722 | CONFIG_CRYPTO_ALGAPI2=y | 1745 | CONFIG_CRYPTO_ALGAPI2=y |
1723 | CONFIG_CRYPTO_AEAD=y | 1746 | CONFIG_CRYPTO_AEAD=y |
@@ -1760,11 +1783,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1760 | # | 1783 | # |
1761 | CONFIG_CRYPTO_HMAC=y | 1784 | CONFIG_CRYPTO_HMAC=y |
1762 | # CONFIG_CRYPTO_XCBC is not set | 1785 | # CONFIG_CRYPTO_XCBC is not set |
1786 | # CONFIG_CRYPTO_VMAC is not set | ||
1763 | 1787 | ||
1764 | # | 1788 | # |
1765 | # Digest | 1789 | # Digest |
1766 | # | 1790 | # |
1767 | CONFIG_CRYPTO_CRC32C=m | 1791 | CONFIG_CRYPTO_CRC32C=m |
1792 | # CONFIG_CRYPTO_GHASH is not set | ||
1768 | # CONFIG_CRYPTO_MD4 is not set | 1793 | # CONFIG_CRYPTO_MD4 is not set |
1769 | CONFIG_CRYPTO_MD5=y | 1794 | CONFIG_CRYPTO_MD5=y |
1770 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1795 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
@@ -1772,16 +1797,16 @@ CONFIG_CRYPTO_MD5=y | |||
1772 | # CONFIG_CRYPTO_RMD160 is not set | 1797 | # CONFIG_CRYPTO_RMD160 is not set |
1773 | # CONFIG_CRYPTO_RMD256 is not set | 1798 | # CONFIG_CRYPTO_RMD256 is not set |
1774 | # CONFIG_CRYPTO_RMD320 is not set | 1799 | # CONFIG_CRYPTO_RMD320 is not set |
1775 | CONFIG_CRYPTO_SHA1=m | 1800 | CONFIG_CRYPTO_SHA1=y |
1776 | # CONFIG_CRYPTO_SHA256 is not set | 1801 | CONFIG_CRYPTO_SHA256=y |
1777 | # CONFIG_CRYPTO_SHA512 is not set | 1802 | CONFIG_CRYPTO_SHA512=y |
1778 | # CONFIG_CRYPTO_TGR192 is not set | 1803 | # CONFIG_CRYPTO_TGR192 is not set |
1779 | # CONFIG_CRYPTO_WP512 is not set | 1804 | # CONFIG_CRYPTO_WP512 is not set |
1780 | 1805 | ||
1781 | # | 1806 | # |
1782 | # Ciphers | 1807 | # Ciphers |
1783 | # | 1808 | # |
1784 | # CONFIG_CRYPTO_AES is not set | 1809 | CONFIG_CRYPTO_AES=y |
1785 | # CONFIG_CRYPTO_ANUBIS is not set | 1810 | # CONFIG_CRYPTO_ANUBIS is not set |
1786 | # CONFIG_CRYPTO_ARC4 is not set | 1811 | # CONFIG_CRYPTO_ARC4 is not set |
1787 | # CONFIG_CRYPTO_BLOWFISH is not set | 1812 | # CONFIG_CRYPTO_BLOWFISH is not set |
diff --git a/arch/powerpc/configs/mpc866_ads_defconfig b/arch/powerpc/configs/mpc866_ads_defconfig index 6809b61ed3de..40d6f0568ca5 100644 --- a/arch/powerpc/configs/mpc866_ads_defconfig +++ b/arch/powerpc/configs/mpc866_ads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:57 2009 | 4 | # Thu Nov 5 08:20:15 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -16,6 +16,7 @@ CONFIG_PPC_8xx=y | |||
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_8xx=y | 17 | CONFIG_8xx=y |
18 | CONFIG_PPC_MMU_NOHASH=y | 18 | CONFIG_PPC_MMU_NOHASH=y |
19 | CONFIG_PPC_MMU_NOHASH_32=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | 20 | # CONFIG_PPC_MM_SLICES is not set |
20 | CONFIG_NOT_COHERENT_CACHE=y | 21 | CONFIG_NOT_COHERENT_CACHE=y |
21 | CONFIG_PPC32=y | 22 | CONFIG_PPC32=y |
@@ -29,6 +30,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
29 | CONFIG_GENERIC_HARDIRQS=y | 30 | CONFIG_GENERIC_HARDIRQS=y |
30 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 31 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
31 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 32 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
33 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
32 | CONFIG_IRQ_PER_CPU=y | 34 | CONFIG_IRQ_PER_CPU=y |
33 | CONFIG_STACKTRACE_SUPPORT=y | 35 | CONFIG_STACKTRACE_SUPPORT=y |
34 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -76,11 +78,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
76 | # | 78 | # |
77 | # RCU Subsystem | 79 | # RCU Subsystem |
78 | # | 80 | # |
79 | CONFIG_CLASSIC_RCU=y | 81 | CONFIG_TREE_RCU=y |
80 | # CONFIG_TREE_RCU is not set | 82 | # CONFIG_TREE_PREEMPT_RCU is not set |
81 | # CONFIG_PREEMPT_RCU is not set | 83 | # CONFIG_RCU_TRACE is not set |
84 | CONFIG_RCU_FANOUT=32 | ||
85 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
82 | # CONFIG_TREE_RCU_TRACE is not set | 86 | # CONFIG_TREE_RCU_TRACE is not set |
83 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
84 | # CONFIG_IKCONFIG is not set | 87 | # CONFIG_IKCONFIG is not set |
85 | CONFIG_LOG_BUF_SHIFT=14 | 88 | CONFIG_LOG_BUF_SHIFT=14 |
86 | CONFIG_GROUP_SCHED=y | 89 | CONFIG_GROUP_SCHED=y |
@@ -113,28 +116,29 @@ CONFIG_TIMERFD=y | |||
113 | CONFIG_EVENTFD=y | 116 | CONFIG_EVENTFD=y |
114 | CONFIG_SHMEM=y | 117 | CONFIG_SHMEM=y |
115 | CONFIG_AIO=y | 118 | CONFIG_AIO=y |
116 | CONFIG_HAVE_PERF_COUNTERS=y | 119 | CONFIG_HAVE_PERF_EVENTS=y |
117 | 120 | ||
118 | # | 121 | # |
119 | # Performance Counters | 122 | # Kernel Performance Events And Counters |
120 | # | 123 | # |
124 | # CONFIG_PERF_EVENTS is not set | ||
121 | # CONFIG_PERF_COUNTERS is not set | 125 | # CONFIG_PERF_COUNTERS is not set |
122 | # CONFIG_VM_EVENT_COUNTERS is not set | 126 | # CONFIG_VM_EVENT_COUNTERS is not set |
123 | CONFIG_SLUB_DEBUG=y | 127 | CONFIG_SLUB_DEBUG=y |
124 | # CONFIG_STRIP_ASM_SYMS is not set | ||
125 | CONFIG_COMPAT_BRK=y | 128 | CONFIG_COMPAT_BRK=y |
126 | # CONFIG_SLAB is not set | 129 | # CONFIG_SLAB is not set |
127 | CONFIG_SLUB=y | 130 | CONFIG_SLUB=y |
128 | # CONFIG_SLOB is not set | 131 | # CONFIG_SLOB is not set |
129 | # CONFIG_PROFILING is not set | 132 | # CONFIG_PROFILING is not set |
130 | # CONFIG_MARKERS is not set | ||
131 | CONFIG_HAVE_OPROFILE=y | 133 | CONFIG_HAVE_OPROFILE=y |
132 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 134 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
133 | CONFIG_HAVE_IOREMAP_PROT=y | 135 | CONFIG_HAVE_IOREMAP_PROT=y |
134 | CONFIG_HAVE_KPROBES=y | 136 | CONFIG_HAVE_KPROBES=y |
135 | CONFIG_HAVE_KRETPROBES=y | 137 | CONFIG_HAVE_KRETPROBES=y |
136 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 138 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
139 | CONFIG_HAVE_DMA_ATTRS=y | ||
137 | CONFIG_HAVE_CLK=y | 140 | CONFIG_HAVE_CLK=y |
141 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
138 | 142 | ||
139 | # | 143 | # |
140 | # GCOV-based kernel profiling | 144 | # GCOV-based kernel profiling |
@@ -233,10 +237,10 @@ CONFIG_BINFMT_ELF=y | |||
233 | CONFIG_MATH_EMULATION=y | 237 | CONFIG_MATH_EMULATION=y |
234 | # CONFIG_IOMMU_HELPER is not set | 238 | # CONFIG_IOMMU_HELPER is not set |
235 | # CONFIG_SWIOTLB is not set | 239 | # CONFIG_SWIOTLB is not set |
236 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
237 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 240 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
238 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 241 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
239 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 242 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
243 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
240 | CONFIG_ARCH_FLATMEM_ENABLE=y | 244 | CONFIG_ARCH_FLATMEM_ENABLE=y |
241 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 245 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
242 | CONFIG_SELECT_MEMORY_MODEL=y | 246 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -254,6 +258,7 @@ CONFIG_BOUNCE=y | |||
254 | CONFIG_VIRT_TO_BUS=y | 258 | CONFIG_VIRT_TO_BUS=y |
255 | CONFIG_HAVE_MLOCK=y | 259 | CONFIG_HAVE_MLOCK=y |
256 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 260 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
261 | # CONFIG_KSM is not set | ||
257 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 262 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
258 | CONFIG_PPC_4K_PAGES=y | 263 | CONFIG_PPC_4K_PAGES=y |
259 | # CONFIG_PPC_16K_PAGES is not set | 264 | # CONFIG_PPC_16K_PAGES is not set |
@@ -340,6 +345,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
340 | # CONFIG_NETFILTER is not set | 345 | # CONFIG_NETFILTER is not set |
341 | # CONFIG_IP_DCCP is not set | 346 | # CONFIG_IP_DCCP is not set |
342 | # CONFIG_IP_SCTP is not set | 347 | # CONFIG_IP_SCTP is not set |
348 | # CONFIG_RDS is not set | ||
343 | # CONFIG_TIPC is not set | 349 | # CONFIG_TIPC is not set |
344 | # CONFIG_ATM is not set | 350 | # CONFIG_ATM is not set |
345 | # CONFIG_BRIDGE is not set | 351 | # CONFIG_BRIDGE is not set |
@@ -369,6 +375,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
369 | # CONFIG_AF_RXRPC is not set | 375 | # CONFIG_AF_RXRPC is not set |
370 | CONFIG_WIRELESS=y | 376 | CONFIG_WIRELESS=y |
371 | # CONFIG_CFG80211 is not set | 377 | # CONFIG_CFG80211 is not set |
378 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
372 | CONFIG_WIRELESS_OLD_REGULATORY=y | 379 | CONFIG_WIRELESS_OLD_REGULATORY=y |
373 | # CONFIG_WIRELESS_EXT is not set | 380 | # CONFIG_WIRELESS_EXT is not set |
374 | # CONFIG_LIB80211 is not set | 381 | # CONFIG_LIB80211 is not set |
@@ -376,7 +383,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
376 | # | 383 | # |
377 | # CFG80211 needs to be enabled for MAC80211 | 384 | # CFG80211 needs to be enabled for MAC80211 |
378 | # | 385 | # |
379 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
380 | # CONFIG_WIMAX is not set | 386 | # CONFIG_WIMAX is not set |
381 | # CONFIG_RFKILL is not set | 387 | # CONFIG_RFKILL is not set |
382 | # CONFIG_NET_9P is not set | 388 | # CONFIG_NET_9P is not set |
@@ -467,6 +473,8 @@ CONFIG_MII=y | |||
467 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 473 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
468 | # CONFIG_B44 is not set | 474 | # CONFIG_B44 is not set |
469 | # CONFIG_KS8842 is not set | 475 | # CONFIG_KS8842 is not set |
476 | # CONFIG_KS8851_MLL is not set | ||
477 | # CONFIG_XILINX_EMACLITE is not set | ||
470 | CONFIG_FS_ENET=y | 478 | CONFIG_FS_ENET=y |
471 | CONFIG_FS_ENET_HAS_SCC=y | 479 | CONFIG_FS_ENET_HAS_SCC=y |
472 | CONFIG_FS_ENET_HAS_FEC=y | 480 | CONFIG_FS_ENET_HAS_FEC=y |
@@ -476,10 +484,7 @@ CONFIG_NETDEV_1000=y | |||
476 | # CONFIG_GIANFAR is not set | 484 | # CONFIG_GIANFAR is not set |
477 | # CONFIG_MV643XX_ETH is not set | 485 | # CONFIG_MV643XX_ETH is not set |
478 | CONFIG_NETDEV_10000=y | 486 | CONFIG_NETDEV_10000=y |
479 | 487 | CONFIG_WLAN=y | |
480 | # | ||
481 | # Wireless LAN | ||
482 | # | ||
483 | # CONFIG_WLAN_PRE80211 is not set | 488 | # CONFIG_WLAN_PRE80211 is not set |
484 | # CONFIG_WLAN_80211 is not set | 489 | # CONFIG_WLAN_80211 is not set |
485 | 490 | ||
@@ -520,6 +525,7 @@ CONFIG_INPUT_KEYBOARD=y | |||
520 | CONFIG_KEYBOARD_ATKBD=y | 525 | CONFIG_KEYBOARD_ATKBD=y |
521 | # CONFIG_KEYBOARD_LKKBD is not set | 526 | # CONFIG_KEYBOARD_LKKBD is not set |
522 | # CONFIG_KEYBOARD_NEWTON is not set | 527 | # CONFIG_KEYBOARD_NEWTON is not set |
528 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
523 | # CONFIG_KEYBOARD_STOWAWAY is not set | 529 | # CONFIG_KEYBOARD_STOWAWAY is not set |
524 | # CONFIG_KEYBOARD_SUNKBD is not set | 530 | # CONFIG_KEYBOARD_SUNKBD is not set |
525 | # CONFIG_KEYBOARD_XTKBD is not set | 531 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -530,6 +536,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
530 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 536 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
531 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 537 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
532 | # CONFIG_MOUSE_PS2_ELANTECH is not set | 538 | # CONFIG_MOUSE_PS2_ELANTECH is not set |
539 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
533 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 540 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
534 | # CONFIG_MOUSE_SERIAL is not set | 541 | # CONFIG_MOUSE_SERIAL is not set |
535 | # CONFIG_MOUSE_VSXXXAA is not set | 542 | # CONFIG_MOUSE_VSXXXAA is not set |
@@ -595,6 +602,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
595 | # CONFIG_POWER_SUPPLY is not set | 602 | # CONFIG_POWER_SUPPLY is not set |
596 | CONFIG_HWMON=y | 603 | CONFIG_HWMON=y |
597 | # CONFIG_HWMON_VID is not set | 604 | # CONFIG_HWMON_VID is not set |
605 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
606 | |||
607 | # | ||
608 | # Native drivers | ||
609 | # | ||
598 | # CONFIG_SENSORS_F71805F is not set | 610 | # CONFIG_SENSORS_F71805F is not set |
599 | # CONFIG_SENSORS_F71882FG is not set | 611 | # CONFIG_SENSORS_F71882FG is not set |
600 | # CONFIG_SENSORS_IT87 is not set | 612 | # CONFIG_SENSORS_IT87 is not set |
@@ -605,9 +617,7 @@ CONFIG_HWMON=y | |||
605 | # CONFIG_SENSORS_VT1211 is not set | 617 | # CONFIG_SENSORS_VT1211 is not set |
606 | # CONFIG_SENSORS_W83627HF is not set | 618 | # CONFIG_SENSORS_W83627HF is not set |
607 | # CONFIG_SENSORS_W83627EHF is not set | 619 | # CONFIG_SENSORS_W83627EHF is not set |
608 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
609 | # CONFIG_THERMAL is not set | 620 | # CONFIG_THERMAL is not set |
610 | # CONFIG_THERMAL_HWMON is not set | ||
611 | # CONFIG_WATCHDOG is not set | 621 | # CONFIG_WATCHDOG is not set |
612 | CONFIG_SSB_POSSIBLE=y | 622 | CONFIG_SSB_POSSIBLE=y |
613 | 623 | ||
@@ -641,7 +651,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y | |||
641 | # CONFIG_SOUND is not set | 651 | # CONFIG_SOUND is not set |
642 | CONFIG_HID_SUPPORT=y | 652 | CONFIG_HID_SUPPORT=y |
643 | CONFIG_HID=y | 653 | CONFIG_HID=y |
644 | # CONFIG_HID_DEBUG is not set | ||
645 | # CONFIG_HIDRAW is not set | 654 | # CONFIG_HIDRAW is not set |
646 | # CONFIG_HID_PID is not set | 655 | # CONFIG_HID_PID is not set |
647 | 656 | ||
@@ -705,6 +714,7 @@ CONFIG_FS_MBCACHE=y | |||
705 | # CONFIG_GFS2_FS is not set | 714 | # CONFIG_GFS2_FS is not set |
706 | # CONFIG_OCFS2_FS is not set | 715 | # CONFIG_OCFS2_FS is not set |
707 | # CONFIG_BTRFS_FS is not set | 716 | # CONFIG_BTRFS_FS is not set |
717 | # CONFIG_NILFS2_FS is not set | ||
708 | CONFIG_FILE_LOCKING=y | 718 | CONFIG_FILE_LOCKING=y |
709 | CONFIG_FSNOTIFY=y | 719 | CONFIG_FSNOTIFY=y |
710 | CONFIG_DNOTIFY=y | 720 | CONFIG_DNOTIFY=y |
@@ -763,7 +773,6 @@ CONFIG_CRAMFS=y | |||
763 | # CONFIG_ROMFS_FS is not set | 773 | # CONFIG_ROMFS_FS is not set |
764 | # CONFIG_SYSV_FS is not set | 774 | # CONFIG_SYSV_FS is not set |
765 | # CONFIG_UFS_FS is not set | 775 | # CONFIG_UFS_FS is not set |
766 | # CONFIG_NILFS2_FS is not set | ||
767 | CONFIG_NETWORK_FILESYSTEMS=y | 776 | CONFIG_NETWORK_FILESYSTEMS=y |
768 | CONFIG_NFS_FS=y | 777 | CONFIG_NFS_FS=y |
769 | CONFIG_NFS_V3=y | 778 | CONFIG_NFS_V3=y |
@@ -836,6 +845,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
836 | CONFIG_ENABLE_MUST_CHECK=y | 845 | CONFIG_ENABLE_MUST_CHECK=y |
837 | CONFIG_FRAME_WARN=1024 | 846 | CONFIG_FRAME_WARN=1024 |
838 | # CONFIG_MAGIC_SYSRQ is not set | 847 | # CONFIG_MAGIC_SYSRQ is not set |
848 | # CONFIG_STRIP_ASM_SYMS is not set | ||
839 | # CONFIG_UNUSED_SYMBOLS is not set | 849 | # CONFIG_UNUSED_SYMBOLS is not set |
840 | # CONFIG_DEBUG_FS is not set | 850 | # CONFIG_DEBUG_FS is not set |
841 | # CONFIG_HEADERS_CHECK is not set | 851 | # CONFIG_HEADERS_CHECK is not set |
@@ -851,6 +861,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
851 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 861 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
852 | CONFIG_TRACING_SUPPORT=y | 862 | CONFIG_TRACING_SUPPORT=y |
853 | # CONFIG_FTRACE is not set | 863 | # CONFIG_FTRACE is not set |
864 | # CONFIG_DMA_API_DEBUG is not set | ||
854 | # CONFIG_SAMPLES is not set | 865 | # CONFIG_SAMPLES is not set |
855 | CONFIG_HAVE_ARCH_KGDB=y | 866 | CONFIG_HAVE_ARCH_KGDB=y |
856 | # CONFIG_PPC_DISABLE_WERROR is not set | 867 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -871,7 +882,6 @@ CONFIG_CRYPTO=y | |||
871 | # | 882 | # |
872 | # Crypto core or helper | 883 | # Crypto core or helper |
873 | # | 884 | # |
874 | # CONFIG_CRYPTO_FIPS is not set | ||
875 | # CONFIG_CRYPTO_MANAGER is not set | 885 | # CONFIG_CRYPTO_MANAGER is not set |
876 | # CONFIG_CRYPTO_MANAGER2 is not set | 886 | # CONFIG_CRYPTO_MANAGER2 is not set |
877 | # CONFIG_CRYPTO_GF128MUL is not set | 887 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -902,11 +912,13 @@ CONFIG_CRYPTO=y | |||
902 | # | 912 | # |
903 | # CONFIG_CRYPTO_HMAC is not set | 913 | # CONFIG_CRYPTO_HMAC is not set |
904 | # CONFIG_CRYPTO_XCBC is not set | 914 | # CONFIG_CRYPTO_XCBC is not set |
915 | # CONFIG_CRYPTO_VMAC is not set | ||
905 | 916 | ||
906 | # | 917 | # |
907 | # Digest | 918 | # Digest |
908 | # | 919 | # |
909 | # CONFIG_CRYPTO_CRC32C is not set | 920 | # CONFIG_CRYPTO_CRC32C is not set |
921 | # CONFIG_CRYPTO_GHASH is not set | ||
910 | # CONFIG_CRYPTO_MD4 is not set | 922 | # CONFIG_CRYPTO_MD4 is not set |
911 | # CONFIG_CRYPTO_MD5 is not set | 923 | # CONFIG_CRYPTO_MD5 is not set |
912 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 924 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc86xx_defconfig b/arch/powerpc/configs/mpc86xx_defconfig index 0e8684a3138d..5b3abb42ae30 100644 --- a/arch/powerpc/configs/mpc86xx_defconfig +++ b/arch/powerpc/configs/mpc86xx_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:58 2009 | 4 | # Thu Nov 5 08:20:16 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -88,11 +89,12 @@ CONFIG_AUDIT=y | |||
88 | # | 89 | # |
89 | # RCU Subsystem | 90 | # RCU Subsystem |
90 | # | 91 | # |
91 | CONFIG_CLASSIC_RCU=y | 92 | CONFIG_TREE_RCU=y |
92 | # CONFIG_TREE_RCU is not set | 93 | # CONFIG_TREE_PREEMPT_RCU is not set |
93 | # CONFIG_PREEMPT_RCU is not set | 94 | # CONFIG_RCU_TRACE is not set |
95 | CONFIG_RCU_FANOUT=32 | ||
96 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
94 | # CONFIG_TREE_RCU_TRACE is not set | 97 | # CONFIG_TREE_RCU_TRACE is not set |
95 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
96 | CONFIG_IKCONFIG=y | 98 | CONFIG_IKCONFIG=y |
97 | CONFIG_IKCONFIG_PROC=y | 99 | CONFIG_IKCONFIG_PROC=y |
98 | CONFIG_LOG_BUF_SHIFT=14 | 100 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -131,22 +133,21 @@ CONFIG_TIMERFD=y | |||
131 | CONFIG_EVENTFD=y | 133 | CONFIG_EVENTFD=y |
132 | CONFIG_SHMEM=y | 134 | CONFIG_SHMEM=y |
133 | CONFIG_AIO=y | 135 | CONFIG_AIO=y |
134 | CONFIG_HAVE_PERF_COUNTERS=y | 136 | CONFIG_HAVE_PERF_EVENTS=y |
135 | 137 | ||
136 | # | 138 | # |
137 | # Performance Counters | 139 | # Kernel Performance Events And Counters |
138 | # | 140 | # |
141 | # CONFIG_PERF_EVENTS is not set | ||
139 | # CONFIG_PERF_COUNTERS is not set | 142 | # CONFIG_PERF_COUNTERS is not set |
140 | CONFIG_VM_EVENT_COUNTERS=y | 143 | CONFIG_VM_EVENT_COUNTERS=y |
141 | CONFIG_PCI_QUIRKS=y | 144 | CONFIG_PCI_QUIRKS=y |
142 | CONFIG_SLUB_DEBUG=y | 145 | CONFIG_SLUB_DEBUG=y |
143 | # CONFIG_STRIP_ASM_SYMS is not set | ||
144 | CONFIG_COMPAT_BRK=y | 146 | CONFIG_COMPAT_BRK=y |
145 | # CONFIG_SLAB is not set | 147 | # CONFIG_SLAB is not set |
146 | CONFIG_SLUB=y | 148 | CONFIG_SLUB=y |
147 | # CONFIG_SLOB is not set | 149 | # CONFIG_SLOB is not set |
148 | # CONFIG_PROFILING is not set | 150 | # CONFIG_PROFILING is not set |
149 | # CONFIG_MARKERS is not set | ||
150 | CONFIG_HAVE_OPROFILE=y | 151 | CONFIG_HAVE_OPROFILE=y |
151 | # CONFIG_KPROBES is not set | 152 | # CONFIG_KPROBES is not set |
152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 153 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -154,7 +155,9 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
154 | CONFIG_HAVE_KPROBES=y | 155 | CONFIG_HAVE_KPROBES=y |
155 | CONFIG_HAVE_KRETPROBES=y | 156 | CONFIG_HAVE_KRETPROBES=y |
156 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 157 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
158 | CONFIG_HAVE_DMA_ATTRS=y | ||
157 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 159 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
160 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
158 | 161 | ||
159 | # | 162 | # |
160 | # GCOV-based kernel profiling | 163 | # GCOV-based kernel profiling |
@@ -253,13 +256,13 @@ CONFIG_BINFMT_ELF=y | |||
253 | CONFIG_BINFMT_MISC=m | 256 | CONFIG_BINFMT_MISC=m |
254 | CONFIG_IOMMU_HELPER=y | 257 | CONFIG_IOMMU_HELPER=y |
255 | CONFIG_SWIOTLB=y | 258 | CONFIG_SWIOTLB=y |
256 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
257 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 259 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
258 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 260 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
259 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 261 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
260 | # CONFIG_KEXEC is not set | 262 | # CONFIG_KEXEC is not set |
261 | # CONFIG_CRASH_DUMP is not set | 263 | # CONFIG_CRASH_DUMP is not set |
262 | # CONFIG_IRQ_ALL_CPUS is not set | 264 | # CONFIG_IRQ_ALL_CPUS is not set |
265 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
263 | CONFIG_ARCH_FLATMEM_ENABLE=y | 266 | CONFIG_ARCH_FLATMEM_ENABLE=y |
264 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 267 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
265 | CONFIG_SELECT_MEMORY_MODEL=y | 268 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -277,6 +280,7 @@ CONFIG_BOUNCE=y | |||
277 | CONFIG_VIRT_TO_BUS=y | 280 | CONFIG_VIRT_TO_BUS=y |
278 | CONFIG_HAVE_MLOCK=y | 281 | CONFIG_HAVE_MLOCK=y |
279 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 282 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
283 | # CONFIG_KSM is not set | ||
280 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 284 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
281 | CONFIG_PPC_4K_PAGES=y | 285 | CONFIG_PPC_4K_PAGES=y |
282 | # CONFIG_PPC_16K_PAGES is not set | 286 | # CONFIG_PPC_16K_PAGES is not set |
@@ -406,6 +410,7 @@ CONFIG_IP_SCTP=m | |||
406 | # CONFIG_SCTP_HMAC_NONE is not set | 410 | # CONFIG_SCTP_HMAC_NONE is not set |
407 | # CONFIG_SCTP_HMAC_SHA1 is not set | 411 | # CONFIG_SCTP_HMAC_SHA1 is not set |
408 | CONFIG_SCTP_HMAC_MD5=y | 412 | CONFIG_SCTP_HMAC_MD5=y |
413 | # CONFIG_RDS is not set | ||
409 | # CONFIG_TIPC is not set | 414 | # CONFIG_TIPC is not set |
410 | # CONFIG_ATM is not set | 415 | # CONFIG_ATM is not set |
411 | # CONFIG_BRIDGE is not set | 416 | # CONFIG_BRIDGE is not set |
@@ -436,6 +441,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
436 | CONFIG_FIB_RULES=y | 441 | CONFIG_FIB_RULES=y |
437 | CONFIG_WIRELESS=y | 442 | CONFIG_WIRELESS=y |
438 | # CONFIG_CFG80211 is not set | 443 | # CONFIG_CFG80211 is not set |
444 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
439 | CONFIG_WIRELESS_OLD_REGULATORY=y | 445 | CONFIG_WIRELESS_OLD_REGULATORY=y |
440 | # CONFIG_WIRELESS_EXT is not set | 446 | # CONFIG_WIRELESS_EXT is not set |
441 | # CONFIG_LIB80211 is not set | 447 | # CONFIG_LIB80211 is not set |
@@ -443,7 +449,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
443 | # | 449 | # |
444 | # CFG80211 needs to be enabled for MAC80211 | 450 | # CFG80211 needs to be enabled for MAC80211 |
445 | # | 451 | # |
446 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
447 | # CONFIG_WIMAX is not set | 452 | # CONFIG_WIMAX is not set |
448 | # CONFIG_RFKILL is not set | 453 | # CONFIG_RFKILL is not set |
449 | # CONFIG_NET_9P is not set | 454 | # CONFIG_NET_9P is not set |
@@ -456,6 +461,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
456 | # Generic Driver Options | 461 | # Generic Driver Options |
457 | # | 462 | # |
458 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 463 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
464 | # CONFIG_DEVTMPFS is not set | ||
459 | CONFIG_STANDALONE=y | 465 | CONFIG_STANDALONE=y |
460 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 466 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
461 | CONFIG_FW_LOADER=y | 467 | CONFIG_FW_LOADER=y |
@@ -549,6 +555,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
549 | # CONFIG_ISCSI_TCP is not set | 555 | # CONFIG_ISCSI_TCP is not set |
550 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 556 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
551 | # CONFIG_SCSI_BNX2_ISCSI is not set | 557 | # CONFIG_SCSI_BNX2_ISCSI is not set |
558 | # CONFIG_BE2ISCSI is not set | ||
552 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 559 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
553 | # CONFIG_SCSI_3W_9XXX is not set | 560 | # CONFIG_SCSI_3W_9XXX is not set |
554 | # CONFIG_SCSI_ACARD is not set | 561 | # CONFIG_SCSI_ACARD is not set |
@@ -588,11 +595,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
588 | # CONFIG_SCSI_DC390T is not set | 595 | # CONFIG_SCSI_DC390T is not set |
589 | # CONFIG_SCSI_NSP32 is not set | 596 | # CONFIG_SCSI_NSP32 is not set |
590 | # CONFIG_SCSI_DEBUG is not set | 597 | # CONFIG_SCSI_DEBUG is not set |
598 | # CONFIG_SCSI_PMCRAID is not set | ||
591 | # CONFIG_SCSI_SRP is not set | 599 | # CONFIG_SCSI_SRP is not set |
600 | # CONFIG_SCSI_BFA_FC is not set | ||
592 | # CONFIG_SCSI_DH is not set | 601 | # CONFIG_SCSI_DH is not set |
593 | # CONFIG_SCSI_OSD_INITIATOR is not set | 602 | # CONFIG_SCSI_OSD_INITIATOR is not set |
594 | CONFIG_ATA=y | 603 | CONFIG_ATA=y |
595 | # CONFIG_ATA_NONSTANDARD is not set | 604 | # CONFIG_ATA_NONSTANDARD is not set |
605 | CONFIG_ATA_VERBOSE_ERROR=y | ||
596 | CONFIG_SATA_PMP=y | 606 | CONFIG_SATA_PMP=y |
597 | CONFIG_SATA_AHCI=y | 607 | CONFIG_SATA_AHCI=y |
598 | # CONFIG_SATA_SIL24 is not set | 608 | # CONFIG_SATA_SIL24 is not set |
@@ -615,6 +625,7 @@ CONFIG_ATA_SFF=y | |||
615 | CONFIG_PATA_ALI=y | 625 | CONFIG_PATA_ALI=y |
616 | # CONFIG_PATA_AMD is not set | 626 | # CONFIG_PATA_AMD is not set |
617 | # CONFIG_PATA_ARTOP is not set | 627 | # CONFIG_PATA_ARTOP is not set |
628 | # CONFIG_PATA_ATP867X is not set | ||
618 | # CONFIG_PATA_ATIIXP is not set | 629 | # CONFIG_PATA_ATIIXP is not set |
619 | # CONFIG_PATA_CMD640_PCI is not set | 630 | # CONFIG_PATA_CMD640_PCI is not set |
620 | # CONFIG_PATA_CMD64X is not set | 631 | # CONFIG_PATA_CMD64X is not set |
@@ -642,6 +653,7 @@ CONFIG_PATA_ALI=y | |||
642 | # CONFIG_PATA_OPTIDMA is not set | 653 | # CONFIG_PATA_OPTIDMA is not set |
643 | # CONFIG_PATA_PDC_OLD is not set | 654 | # CONFIG_PATA_PDC_OLD is not set |
644 | # CONFIG_PATA_RADISYS is not set | 655 | # CONFIG_PATA_RADISYS is not set |
656 | # CONFIG_PATA_RDC is not set | ||
645 | # CONFIG_PATA_RZ1000 is not set | 657 | # CONFIG_PATA_RZ1000 is not set |
646 | # CONFIG_PATA_SC1200 is not set | 658 | # CONFIG_PATA_SC1200 is not set |
647 | # CONFIG_PATA_SERVERWORKS is not set | 659 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -718,7 +730,9 @@ CONFIG_MII=y | |||
718 | # CONFIG_NET_PCI is not set | 730 | # CONFIG_NET_PCI is not set |
719 | # CONFIG_B44 is not set | 731 | # CONFIG_B44 is not set |
720 | # CONFIG_KS8842 is not set | 732 | # CONFIG_KS8842 is not set |
733 | # CONFIG_KS8851_MLL is not set | ||
721 | # CONFIG_ATL2 is not set | 734 | # CONFIG_ATL2 is not set |
735 | # CONFIG_XILINX_EMACLITE is not set | ||
722 | CONFIG_NETDEV_1000=y | 736 | CONFIG_NETDEV_1000=y |
723 | # CONFIG_ACENIC is not set | 737 | # CONFIG_ACENIC is not set |
724 | # CONFIG_DL2K is not set | 738 | # CONFIG_DL2K is not set |
@@ -766,10 +780,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
766 | # CONFIG_SFC is not set | 780 | # CONFIG_SFC is not set |
767 | # CONFIG_BE2NET is not set | 781 | # CONFIG_BE2NET is not set |
768 | # CONFIG_TR is not set | 782 | # CONFIG_TR is not set |
769 | 783 | CONFIG_WLAN=y | |
770 | # | ||
771 | # Wireless LAN | ||
772 | # | ||
773 | # CONFIG_WLAN_PRE80211 is not set | 784 | # CONFIG_WLAN_PRE80211 is not set |
774 | # CONFIG_WLAN_80211 is not set | 785 | # CONFIG_WLAN_80211 is not set |
775 | 786 | ||
@@ -883,6 +894,7 @@ CONFIG_NVRAM=y | |||
883 | CONFIG_DEVPORT=y | 894 | CONFIG_DEVPORT=y |
884 | CONFIG_I2C=y | 895 | CONFIG_I2C=y |
885 | CONFIG_I2C_BOARDINFO=y | 896 | CONFIG_I2C_BOARDINFO=y |
897 | CONFIG_I2C_COMPAT=y | ||
886 | # CONFIG_I2C_CHARDEV is not set | 898 | # CONFIG_I2C_CHARDEV is not set |
887 | CONFIG_I2C_HELPER_AUTO=y | 899 | CONFIG_I2C_HELPER_AUTO=y |
888 | 900 | ||
@@ -938,9 +950,6 @@ CONFIG_I2C_MPC=y | |||
938 | # Miscellaneous I2C Chip support | 950 | # Miscellaneous I2C Chip support |
939 | # | 951 | # |
940 | # CONFIG_DS1682 is not set | 952 | # CONFIG_DS1682 is not set |
941 | # CONFIG_SENSORS_PCF8574 is not set | ||
942 | # CONFIG_PCF8575 is not set | ||
943 | # CONFIG_SENSORS_PCA9539 is not set | ||
944 | # CONFIG_SENSORS_TSL2550 is not set | 953 | # CONFIG_SENSORS_TSL2550 is not set |
945 | # CONFIG_I2C_DEBUG_CORE is not set | 954 | # CONFIG_I2C_DEBUG_CORE is not set |
946 | # CONFIG_I2C_DEBUG_ALGO is not set | 955 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -974,15 +983,19 @@ CONFIG_GPIOLIB=y | |||
974 | # PCI GPIO expanders: | 983 | # PCI GPIO expanders: |
975 | # | 984 | # |
976 | # CONFIG_GPIO_BT8XX is not set | 985 | # CONFIG_GPIO_BT8XX is not set |
986 | # CONFIG_GPIO_LANGWELL is not set | ||
977 | 987 | ||
978 | # | 988 | # |
979 | # SPI GPIO expanders: | 989 | # SPI GPIO expanders: |
980 | # | 990 | # |
991 | |||
992 | # | ||
993 | # AC97 GPIO expanders: | ||
994 | # | ||
981 | # CONFIG_W1 is not set | 995 | # CONFIG_W1 is not set |
982 | # CONFIG_POWER_SUPPLY is not set | 996 | # CONFIG_POWER_SUPPLY is not set |
983 | # CONFIG_HWMON is not set | 997 | # CONFIG_HWMON is not set |
984 | # CONFIG_THERMAL is not set | 998 | # CONFIG_THERMAL is not set |
985 | # CONFIG_THERMAL_HWMON is not set | ||
986 | # CONFIG_WATCHDOG is not set | 999 | # CONFIG_WATCHDOG is not set |
987 | CONFIG_SSB_POSSIBLE=y | 1000 | CONFIG_SSB_POSSIBLE=y |
988 | 1001 | ||
@@ -1003,6 +1016,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1003 | # CONFIG_MFD_TMIO is not set | 1016 | # CONFIG_MFD_TMIO is not set |
1004 | # CONFIG_PMIC_DA903X is not set | 1017 | # CONFIG_PMIC_DA903X is not set |
1005 | # CONFIG_MFD_WM8400 is not set | 1018 | # CONFIG_MFD_WM8400 is not set |
1019 | # CONFIG_MFD_WM831X is not set | ||
1006 | # CONFIG_MFD_WM8350_I2C is not set | 1020 | # CONFIG_MFD_WM8350_I2C is not set |
1007 | # CONFIG_MFD_PCF50633 is not set | 1021 | # CONFIG_MFD_PCF50633 is not set |
1008 | # CONFIG_AB3100_CORE is not set | 1022 | # CONFIG_AB3100_CORE is not set |
@@ -1013,6 +1027,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1013 | # Graphics support | 1027 | # Graphics support |
1014 | # | 1028 | # |
1015 | # CONFIG_AGP is not set | 1029 | # CONFIG_AGP is not set |
1030 | CONFIG_VGA_ARB=y | ||
1016 | # CONFIG_DRM is not set | 1031 | # CONFIG_DRM is not set |
1017 | # CONFIG_VGASTATE is not set | 1032 | # CONFIG_VGASTATE is not set |
1018 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1033 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1032,6 +1047,7 @@ CONFIG_VGA_CONSOLE=y | |||
1032 | CONFIG_DUMMY_CONSOLE=y | 1047 | CONFIG_DUMMY_CONSOLE=y |
1033 | CONFIG_SOUND=y | 1048 | CONFIG_SOUND=y |
1034 | CONFIG_SOUND_OSS_CORE=y | 1049 | CONFIG_SOUND_OSS_CORE=y |
1050 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1035 | CONFIG_SND=y | 1051 | CONFIG_SND=y |
1036 | CONFIG_SND_TIMER=y | 1052 | CONFIG_SND_TIMER=y |
1037 | CONFIG_SND_PCM=y | 1053 | CONFIG_SND_PCM=y |
@@ -1135,7 +1151,6 @@ CONFIG_SND_USB=y | |||
1135 | CONFIG_AC97_BUS=y | 1151 | CONFIG_AC97_BUS=y |
1136 | CONFIG_HID_SUPPORT=y | 1152 | CONFIG_HID_SUPPORT=y |
1137 | CONFIG_HID=y | 1153 | CONFIG_HID=y |
1138 | # CONFIG_HID_DEBUG is not set | ||
1139 | # CONFIG_HIDRAW is not set | 1154 | # CONFIG_HIDRAW is not set |
1140 | 1155 | ||
1141 | # | 1156 | # |
@@ -1158,6 +1173,7 @@ CONFIG_HID_CYPRESS=y | |||
1158 | CONFIG_HID_EZKEY=y | 1173 | CONFIG_HID_EZKEY=y |
1159 | # CONFIG_HID_KYE is not set | 1174 | # CONFIG_HID_KYE is not set |
1160 | CONFIG_HID_GYRATION=y | 1175 | CONFIG_HID_GYRATION=y |
1176 | # CONFIG_HID_TWINHAN is not set | ||
1161 | # CONFIG_HID_KENSINGTON is not set | 1177 | # CONFIG_HID_KENSINGTON is not set |
1162 | CONFIG_HID_LOGITECH=y | 1178 | CONFIG_HID_LOGITECH=y |
1163 | # CONFIG_LOGITECH_FF is not set | 1179 | # CONFIG_LOGITECH_FF is not set |
@@ -1210,6 +1226,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1210 | # CONFIG_USB_OXU210HP_HCD is not set | 1226 | # CONFIG_USB_OXU210HP_HCD is not set |
1211 | # CONFIG_USB_ISP116X_HCD is not set | 1227 | # CONFIG_USB_ISP116X_HCD is not set |
1212 | # CONFIG_USB_ISP1760_HCD is not set | 1228 | # CONFIG_USB_ISP1760_HCD is not set |
1229 | # CONFIG_USB_ISP1362_HCD is not set | ||
1213 | CONFIG_USB_OHCI_HCD=y | 1230 | CONFIG_USB_OHCI_HCD=y |
1214 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1231 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1215 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | 1232 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y |
@@ -1389,6 +1406,7 @@ CONFIG_FS_MBCACHE=y | |||
1389 | # CONFIG_GFS2_FS is not set | 1406 | # CONFIG_GFS2_FS is not set |
1390 | # CONFIG_OCFS2_FS is not set | 1407 | # CONFIG_OCFS2_FS is not set |
1391 | # CONFIG_BTRFS_FS is not set | 1408 | # CONFIG_BTRFS_FS is not set |
1409 | # CONFIG_NILFS2_FS is not set | ||
1392 | CONFIG_FILE_LOCKING=y | 1410 | CONFIG_FILE_LOCKING=y |
1393 | CONFIG_FSNOTIFY=y | 1411 | CONFIG_FSNOTIFY=y |
1394 | CONFIG_DNOTIFY=y | 1412 | CONFIG_DNOTIFY=y |
@@ -1459,7 +1477,6 @@ CONFIG_SYSV_FS=m | |||
1459 | CONFIG_UFS_FS=m | 1477 | CONFIG_UFS_FS=m |
1460 | # CONFIG_UFS_FS_WRITE is not set | 1478 | # CONFIG_UFS_FS_WRITE is not set |
1461 | # CONFIG_UFS_DEBUG is not set | 1479 | # CONFIG_UFS_DEBUG is not set |
1462 | # CONFIG_NILFS2_FS is not set | ||
1463 | CONFIG_NETWORK_FILESYSTEMS=y | 1480 | CONFIG_NETWORK_FILESYSTEMS=y |
1464 | CONFIG_NFS_FS=y | 1481 | CONFIG_NFS_FS=y |
1465 | CONFIG_NFS_V3=y | 1482 | CONFIG_NFS_V3=y |
@@ -1577,6 +1594,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1577 | CONFIG_ENABLE_MUST_CHECK=y | 1594 | CONFIG_ENABLE_MUST_CHECK=y |
1578 | CONFIG_FRAME_WARN=1024 | 1595 | CONFIG_FRAME_WARN=1024 |
1579 | # CONFIG_MAGIC_SYSRQ is not set | 1596 | # CONFIG_MAGIC_SYSRQ is not set |
1597 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1580 | # CONFIG_UNUSED_SYMBOLS is not set | 1598 | # CONFIG_UNUSED_SYMBOLS is not set |
1581 | # CONFIG_DEBUG_FS is not set | 1599 | # CONFIG_DEBUG_FS is not set |
1582 | # CONFIG_HEADERS_CHECK is not set | 1600 | # CONFIG_HEADERS_CHECK is not set |
@@ -1594,6 +1612,7 @@ CONFIG_SCHED_DEBUG=y | |||
1594 | # CONFIG_DEBUG_OBJECTS is not set | 1612 | # CONFIG_DEBUG_OBJECTS is not set |
1595 | # CONFIG_SLUB_DEBUG_ON is not set | 1613 | # CONFIG_SLUB_DEBUG_ON is not set |
1596 | # CONFIG_SLUB_STATS is not set | 1614 | # CONFIG_SLUB_STATS is not set |
1615 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1597 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1616 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1598 | # CONFIG_RT_MUTEX_TESTER is not set | 1617 | # CONFIG_RT_MUTEX_TESTER is not set |
1599 | # CONFIG_DEBUG_SPINLOCK is not set | 1618 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1613,10 +1632,12 @@ CONFIG_DEBUG_INFO=y | |||
1613 | # CONFIG_DEBUG_LIST is not set | 1632 | # CONFIG_DEBUG_LIST is not set |
1614 | # CONFIG_DEBUG_SG is not set | 1633 | # CONFIG_DEBUG_SG is not set |
1615 | # CONFIG_DEBUG_NOTIFIERS is not set | 1634 | # CONFIG_DEBUG_NOTIFIERS is not set |
1635 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1616 | # CONFIG_RCU_TORTURE_TEST is not set | 1636 | # CONFIG_RCU_TORTURE_TEST is not set |
1617 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1637 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1618 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1638 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1619 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1639 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1640 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1620 | # CONFIG_FAULT_INJECTION is not set | 1641 | # CONFIG_FAULT_INJECTION is not set |
1621 | # CONFIG_LATENCYTOP is not set | 1642 | # CONFIG_LATENCYTOP is not set |
1622 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1643 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1639,10 +1660,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1639 | # CONFIG_KMEMTRACE is not set | 1660 | # CONFIG_KMEMTRACE is not set |
1640 | # CONFIG_WORKQUEUE_TRACER is not set | 1661 | # CONFIG_WORKQUEUE_TRACER is not set |
1641 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1662 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1663 | # CONFIG_DMA_API_DEBUG is not set | ||
1642 | # CONFIG_SAMPLES is not set | 1664 | # CONFIG_SAMPLES is not set |
1643 | CONFIG_HAVE_ARCH_KGDB=y | 1665 | CONFIG_HAVE_ARCH_KGDB=y |
1644 | # CONFIG_KGDB is not set | 1666 | # CONFIG_KGDB is not set |
1645 | # CONFIG_KMEMCHECK is not set | ||
1646 | # CONFIG_PPC_DISABLE_WERROR is not set | 1667 | # CONFIG_PPC_DISABLE_WERROR is not set |
1647 | CONFIG_PPC_WERROR=y | 1668 | CONFIG_PPC_WERROR=y |
1648 | CONFIG_PRINT_STACK_DEPTH=64 | 1669 | CONFIG_PRINT_STACK_DEPTH=64 |
@@ -1669,7 +1690,6 @@ CONFIG_CRYPTO=y | |||
1669 | # | 1690 | # |
1670 | # Crypto core or helper | 1691 | # Crypto core or helper |
1671 | # | 1692 | # |
1672 | # CONFIG_CRYPTO_FIPS is not set | ||
1673 | CONFIG_CRYPTO_ALGAPI=y | 1693 | CONFIG_CRYPTO_ALGAPI=y |
1674 | CONFIG_CRYPTO_ALGAPI2=y | 1694 | CONFIG_CRYPTO_ALGAPI2=y |
1675 | CONFIG_CRYPTO_AEAD2=y | 1695 | CONFIG_CRYPTO_AEAD2=y |
@@ -1711,11 +1731,13 @@ CONFIG_CRYPTO_PCBC=m | |||
1711 | # | 1731 | # |
1712 | CONFIG_CRYPTO_HMAC=y | 1732 | CONFIG_CRYPTO_HMAC=y |
1713 | # CONFIG_CRYPTO_XCBC is not set | 1733 | # CONFIG_CRYPTO_XCBC is not set |
1734 | # CONFIG_CRYPTO_VMAC is not set | ||
1714 | 1735 | ||
1715 | # | 1736 | # |
1716 | # Digest | 1737 | # Digest |
1717 | # | 1738 | # |
1718 | CONFIG_CRYPTO_CRC32C=m | 1739 | CONFIG_CRYPTO_CRC32C=m |
1740 | # CONFIG_CRYPTO_GHASH is not set | ||
1719 | # CONFIG_CRYPTO_MD4 is not set | 1741 | # CONFIG_CRYPTO_MD4 is not set |
1720 | CONFIG_CRYPTO_MD5=y | 1742 | CONFIG_CRYPTO_MD5=y |
1721 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1743 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc885_ads_defconfig b/arch/powerpc/configs/mpc885_ads_defconfig index dbe8e869a827..1da3488a603d 100644 --- a/arch/powerpc/configs/mpc885_ads_defconfig +++ b/arch/powerpc/configs/mpc885_ads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:31:59 2009 | 4 | # Thu Nov 5 08:20:17 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -16,6 +16,7 @@ CONFIG_PPC_8xx=y | |||
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_8xx=y | 17 | CONFIG_8xx=y |
18 | CONFIG_PPC_MMU_NOHASH=y | 18 | CONFIG_PPC_MMU_NOHASH=y |
19 | CONFIG_PPC_MMU_NOHASH_32=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | 20 | # CONFIG_PPC_MM_SLICES is not set |
20 | CONFIG_NOT_COHERENT_CACHE=y | 21 | CONFIG_NOT_COHERENT_CACHE=y |
21 | CONFIG_PPC32=y | 22 | CONFIG_PPC32=y |
@@ -29,6 +30,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
29 | CONFIG_GENERIC_HARDIRQS=y | 30 | CONFIG_GENERIC_HARDIRQS=y |
30 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 31 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
31 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 32 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
33 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
32 | CONFIG_IRQ_PER_CPU=y | 34 | CONFIG_IRQ_PER_CPU=y |
33 | CONFIG_STACKTRACE_SUPPORT=y | 35 | CONFIG_STACKTRACE_SUPPORT=y |
34 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -77,11 +79,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
77 | # | 79 | # |
78 | # RCU Subsystem | 80 | # RCU Subsystem |
79 | # | 81 | # |
80 | CONFIG_CLASSIC_RCU=y | 82 | CONFIG_TREE_RCU=y |
81 | # CONFIG_TREE_RCU is not set | 83 | # CONFIG_TREE_PREEMPT_RCU is not set |
82 | # CONFIG_PREEMPT_RCU is not set | 84 | # CONFIG_RCU_TRACE is not set |
85 | CONFIG_RCU_FANOUT=32 | ||
86 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
83 | # CONFIG_TREE_RCU_TRACE is not set | 87 | # CONFIG_TREE_RCU_TRACE is not set |
84 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
85 | # CONFIG_IKCONFIG is not set | 88 | # CONFIG_IKCONFIG is not set |
86 | CONFIG_LOG_BUF_SHIFT=14 | 89 | CONFIG_LOG_BUF_SHIFT=14 |
87 | CONFIG_GROUP_SCHED=y | 90 | CONFIG_GROUP_SCHED=y |
@@ -115,28 +118,29 @@ CONFIG_TIMERFD=y | |||
115 | CONFIG_EVENTFD=y | 118 | CONFIG_EVENTFD=y |
116 | CONFIG_SHMEM=y | 119 | CONFIG_SHMEM=y |
117 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
118 | CONFIG_HAVE_PERF_COUNTERS=y | 121 | CONFIG_HAVE_PERF_EVENTS=y |
119 | 122 | ||
120 | # | 123 | # |
121 | # Performance Counters | 124 | # Kernel Performance Events And Counters |
122 | # | 125 | # |
126 | # CONFIG_PERF_EVENTS is not set | ||
123 | # CONFIG_PERF_COUNTERS is not set | 127 | # CONFIG_PERF_COUNTERS is not set |
124 | # CONFIG_VM_EVENT_COUNTERS is not set | 128 | # CONFIG_VM_EVENT_COUNTERS is not set |
125 | CONFIG_SLUB_DEBUG=y | 129 | CONFIG_SLUB_DEBUG=y |
126 | # CONFIG_STRIP_ASM_SYMS is not set | ||
127 | CONFIG_COMPAT_BRK=y | 130 | CONFIG_COMPAT_BRK=y |
128 | # CONFIG_SLAB is not set | 131 | # CONFIG_SLAB is not set |
129 | CONFIG_SLUB=y | 132 | CONFIG_SLUB=y |
130 | # CONFIG_SLOB is not set | 133 | # CONFIG_SLOB is not set |
131 | # CONFIG_PROFILING is not set | 134 | # CONFIG_PROFILING is not set |
132 | # CONFIG_MARKERS is not set | ||
133 | CONFIG_HAVE_OPROFILE=y | 135 | CONFIG_HAVE_OPROFILE=y |
134 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 136 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
135 | CONFIG_HAVE_IOREMAP_PROT=y | 137 | CONFIG_HAVE_IOREMAP_PROT=y |
136 | CONFIG_HAVE_KPROBES=y | 138 | CONFIG_HAVE_KPROBES=y |
137 | CONFIG_HAVE_KRETPROBES=y | 139 | CONFIG_HAVE_KRETPROBES=y |
138 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 140 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
141 | CONFIG_HAVE_DMA_ATTRS=y | ||
139 | CONFIG_HAVE_CLK=y | 142 | CONFIG_HAVE_CLK=y |
143 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
140 | 144 | ||
141 | # | 145 | # |
142 | # GCOV-based kernel profiling | 146 | # GCOV-based kernel profiling |
@@ -241,10 +245,10 @@ CONFIG_BINFMT_ELF=y | |||
241 | CONFIG_8XX_MINIMAL_FPEMU=y | 245 | CONFIG_8XX_MINIMAL_FPEMU=y |
242 | # CONFIG_IOMMU_HELPER is not set | 246 | # CONFIG_IOMMU_HELPER is not set |
243 | # CONFIG_SWIOTLB is not set | 247 | # CONFIG_SWIOTLB is not set |
244 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
245 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 248 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
246 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 249 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
247 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
251 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
248 | CONFIG_ARCH_FLATMEM_ENABLE=y | 252 | CONFIG_ARCH_FLATMEM_ENABLE=y |
249 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 253 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
250 | CONFIG_SELECT_MEMORY_MODEL=y | 254 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -262,6 +266,7 @@ CONFIG_BOUNCE=y | |||
262 | CONFIG_VIRT_TO_BUS=y | 266 | CONFIG_VIRT_TO_BUS=y |
263 | CONFIG_HAVE_MLOCK=y | 267 | CONFIG_HAVE_MLOCK=y |
264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 268 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
269 | # CONFIG_KSM is not set | ||
265 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 270 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
266 | CONFIG_PPC_4K_PAGES=y | 271 | CONFIG_PPC_4K_PAGES=y |
267 | # CONFIG_PPC_16K_PAGES is not set | 272 | # CONFIG_PPC_16K_PAGES is not set |
@@ -344,6 +349,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
344 | # CONFIG_NETFILTER is not set | 349 | # CONFIG_NETFILTER is not set |
345 | # CONFIG_IP_DCCP is not set | 350 | # CONFIG_IP_DCCP is not set |
346 | # CONFIG_IP_SCTP is not set | 351 | # CONFIG_IP_SCTP is not set |
352 | # CONFIG_RDS is not set | ||
347 | # CONFIG_TIPC is not set | 353 | # CONFIG_TIPC is not set |
348 | # CONFIG_ATM is not set | 354 | # CONFIG_ATM is not set |
349 | # CONFIG_BRIDGE is not set | 355 | # CONFIG_BRIDGE is not set |
@@ -373,6 +379,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
373 | # CONFIG_AF_RXRPC is not set | 379 | # CONFIG_AF_RXRPC is not set |
374 | CONFIG_WIRELESS=y | 380 | CONFIG_WIRELESS=y |
375 | # CONFIG_CFG80211 is not set | 381 | # CONFIG_CFG80211 is not set |
382 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
376 | CONFIG_WIRELESS_OLD_REGULATORY=y | 383 | CONFIG_WIRELESS_OLD_REGULATORY=y |
377 | # CONFIG_WIRELESS_EXT is not set | 384 | # CONFIG_WIRELESS_EXT is not set |
378 | # CONFIG_LIB80211 is not set | 385 | # CONFIG_LIB80211 is not set |
@@ -380,7 +387,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
380 | # | 387 | # |
381 | # CFG80211 needs to be enabled for MAC80211 | 388 | # CFG80211 needs to be enabled for MAC80211 |
382 | # | 389 | # |
383 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
384 | # CONFIG_WIMAX is not set | 390 | # CONFIG_WIMAX is not set |
385 | # CONFIG_RFKILL is not set | 391 | # CONFIG_RFKILL is not set |
386 | # CONFIG_NET_9P is not set | 392 | # CONFIG_NET_9P is not set |
@@ -393,6 +399,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
393 | # Generic Driver Options | 399 | # Generic Driver Options |
394 | # | 400 | # |
395 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 401 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
402 | # CONFIG_DEVTMPFS is not set | ||
396 | CONFIG_STANDALONE=y | 403 | CONFIG_STANDALONE=y |
397 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 404 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
398 | # CONFIG_FW_LOADER is not set | 405 | # CONFIG_FW_LOADER is not set |
@@ -540,16 +547,15 @@ CONFIG_MII=y | |||
540 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 547 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
541 | # CONFIG_B44 is not set | 548 | # CONFIG_B44 is not set |
542 | # CONFIG_KS8842 is not set | 549 | # CONFIG_KS8842 is not set |
550 | # CONFIG_KS8851_MLL is not set | ||
551 | # CONFIG_XILINX_EMACLITE is not set | ||
543 | CONFIG_FS_ENET=y | 552 | CONFIG_FS_ENET=y |
544 | # CONFIG_FS_ENET_HAS_SCC is not set | 553 | # CONFIG_FS_ENET_HAS_SCC is not set |
545 | CONFIG_FS_ENET_HAS_FEC=y | 554 | CONFIG_FS_ENET_HAS_FEC=y |
546 | CONFIG_FS_ENET_MDIO_FEC=y | 555 | CONFIG_FS_ENET_MDIO_FEC=y |
547 | # CONFIG_NETDEV_1000 is not set | 556 | # CONFIG_NETDEV_1000 is not set |
548 | # CONFIG_NETDEV_10000 is not set | 557 | # CONFIG_NETDEV_10000 is not set |
549 | 558 | CONFIG_WLAN=y | |
550 | # | ||
551 | # Wireless LAN | ||
552 | # | ||
553 | # CONFIG_WLAN_PRE80211 is not set | 559 | # CONFIG_WLAN_PRE80211 is not set |
554 | # CONFIG_WLAN_80211 is not set | 560 | # CONFIG_WLAN_80211 is not set |
555 | 561 | ||
@@ -622,7 +628,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
622 | # CONFIG_POWER_SUPPLY is not set | 628 | # CONFIG_POWER_SUPPLY is not set |
623 | # CONFIG_HWMON is not set | 629 | # CONFIG_HWMON is not set |
624 | # CONFIG_THERMAL is not set | 630 | # CONFIG_THERMAL is not set |
625 | # CONFIG_THERMAL_HWMON is not set | ||
626 | # CONFIG_WATCHDOG is not set | 631 | # CONFIG_WATCHDOG is not set |
627 | CONFIG_SSB_POSSIBLE=y | 632 | CONFIG_SSB_POSSIBLE=y |
628 | 633 | ||
@@ -683,6 +688,7 @@ CONFIG_SSB_POSSIBLE=y | |||
683 | # CONFIG_GFS2_FS is not set | 688 | # CONFIG_GFS2_FS is not set |
684 | # CONFIG_OCFS2_FS is not set | 689 | # CONFIG_OCFS2_FS is not set |
685 | # CONFIG_BTRFS_FS is not set | 690 | # CONFIG_BTRFS_FS is not set |
691 | # CONFIG_NILFS2_FS is not set | ||
686 | CONFIG_FILE_LOCKING=y | 692 | CONFIG_FILE_LOCKING=y |
687 | CONFIG_FSNOTIFY=y | 693 | CONFIG_FSNOTIFY=y |
688 | # CONFIG_DNOTIFY is not set | 694 | # CONFIG_DNOTIFY is not set |
@@ -742,7 +748,6 @@ CONFIG_CRAMFS=y | |||
742 | # CONFIG_ROMFS_FS is not set | 748 | # CONFIG_ROMFS_FS is not set |
743 | # CONFIG_SYSV_FS is not set | 749 | # CONFIG_SYSV_FS is not set |
744 | # CONFIG_UFS_FS is not set | 750 | # CONFIG_UFS_FS is not set |
745 | # CONFIG_NILFS2_FS is not set | ||
746 | CONFIG_NETWORK_FILESYSTEMS=y | 751 | CONFIG_NETWORK_FILESYSTEMS=y |
747 | CONFIG_NFS_FS=y | 752 | CONFIG_NFS_FS=y |
748 | CONFIG_NFS_V3=y | 753 | CONFIG_NFS_V3=y |
@@ -814,6 +819,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
814 | CONFIG_ENABLE_MUST_CHECK=y | 819 | CONFIG_ENABLE_MUST_CHECK=y |
815 | CONFIG_FRAME_WARN=1024 | 820 | CONFIG_FRAME_WARN=1024 |
816 | CONFIG_MAGIC_SYSRQ=y | 821 | CONFIG_MAGIC_SYSRQ=y |
822 | # CONFIG_STRIP_ASM_SYMS is not set | ||
817 | # CONFIG_UNUSED_SYMBOLS is not set | 823 | # CONFIG_UNUSED_SYMBOLS is not set |
818 | # CONFIG_DEBUG_FS is not set | 824 | # CONFIG_DEBUG_FS is not set |
819 | # CONFIG_HEADERS_CHECK is not set | 825 | # CONFIG_HEADERS_CHECK is not set |
@@ -831,6 +837,7 @@ CONFIG_SCHED_DEBUG=y | |||
831 | # CONFIG_DEBUG_OBJECTS is not set | 837 | # CONFIG_DEBUG_OBJECTS is not set |
832 | # CONFIG_SLUB_DEBUG_ON is not set | 838 | # CONFIG_SLUB_DEBUG_ON is not set |
833 | # CONFIG_SLUB_STATS is not set | 839 | # CONFIG_SLUB_STATS is not set |
840 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
834 | # CONFIG_DEBUG_SPINLOCK is not set | 841 | # CONFIG_DEBUG_SPINLOCK is not set |
835 | # CONFIG_DEBUG_MUTEXES is not set | 842 | # CONFIG_DEBUG_MUTEXES is not set |
836 | # CONFIG_DEBUG_LOCK_ALLOC is not set | 843 | # CONFIG_DEBUG_LOCK_ALLOC is not set |
@@ -847,10 +854,12 @@ CONFIG_DEBUG_INFO=y | |||
847 | # CONFIG_DEBUG_LIST is not set | 854 | # CONFIG_DEBUG_LIST is not set |
848 | # CONFIG_DEBUG_SG is not set | 855 | # CONFIG_DEBUG_SG is not set |
849 | # CONFIG_DEBUG_NOTIFIERS is not set | 856 | # CONFIG_DEBUG_NOTIFIERS is not set |
857 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
850 | # CONFIG_RCU_TORTURE_TEST is not set | 858 | # CONFIG_RCU_TORTURE_TEST is not set |
851 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 859 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
852 | # CONFIG_BACKTRACE_SELF_TEST is not set | 860 | # CONFIG_BACKTRACE_SELF_TEST is not set |
853 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 861 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
862 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
854 | # CONFIG_FAULT_INJECTION is not set | 863 | # CONFIG_FAULT_INJECTION is not set |
855 | # CONFIG_LATENCYTOP is not set | 864 | # CONFIG_LATENCYTOP is not set |
856 | # CONFIG_DEBUG_PAGEALLOC is not set | 865 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -872,10 +881,10 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
872 | # CONFIG_KMEMTRACE is not set | 881 | # CONFIG_KMEMTRACE is not set |
873 | # CONFIG_WORKQUEUE_TRACER is not set | 882 | # CONFIG_WORKQUEUE_TRACER is not set |
874 | # CONFIG_BLK_DEV_IO_TRACE is not set | 883 | # CONFIG_BLK_DEV_IO_TRACE is not set |
884 | # CONFIG_DMA_API_DEBUG is not set | ||
875 | # CONFIG_SAMPLES is not set | 885 | # CONFIG_SAMPLES is not set |
876 | CONFIG_HAVE_ARCH_KGDB=y | 886 | CONFIG_HAVE_ARCH_KGDB=y |
877 | # CONFIG_KGDB is not set | 887 | # CONFIG_KGDB is not set |
878 | # CONFIG_KMEMCHECK is not set | ||
879 | # CONFIG_PPC_DISABLE_WERROR is not set | 888 | # CONFIG_PPC_DISABLE_WERROR is not set |
880 | CONFIG_PPC_WERROR=y | 889 | CONFIG_PPC_WERROR=y |
881 | CONFIG_PRINT_STACK_DEPTH=64 | 890 | CONFIG_PRINT_STACK_DEPTH=64 |
diff --git a/arch/powerpc/configs/pasemi_defconfig b/arch/powerpc/configs/pasemi_defconfig index 4f8681cc8d77..20ba0cfff8ba 100644 --- a/arch/powerpc/configs/pasemi_defconfig +++ b/arch/powerpc/configs/pasemi_defconfig | |||
@@ -1,49 +1,58 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.26-rc3 | 3 | # Linux kernel version: 2.6.32-rc3 |
4 | # Tue May 27 16:08:06 2008 | 4 | # Tue Oct 6 10:27:18 2009 |
5 | # | 5 | # |
6 | CONFIG_PPC64=y | 6 | CONFIG_PPC64=y |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_PPC_BOOK3S_64=y | ||
12 | # CONFIG_PPC_BOOK3E_64 is not set | ||
13 | CONFIG_PPC_BOOK3S=y | ||
11 | CONFIG_POWER4_ONLY=y | 14 | CONFIG_POWER4_ONLY=y |
12 | CONFIG_POWER4=y | 15 | CONFIG_POWER4=y |
13 | # CONFIG_TUNE_CELL is not set | 16 | # CONFIG_TUNE_CELL is not set |
14 | CONFIG_PPC_FPU=y | 17 | CONFIG_PPC_FPU=y |
15 | CONFIG_ALTIVEC=y | 18 | CONFIG_ALTIVEC=y |
19 | # CONFIG_VSX is not set | ||
16 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_64=y | ||
17 | CONFIG_PPC_MM_SLICES=y | 22 | CONFIG_PPC_MM_SLICES=y |
18 | # CONFIG_VIRT_CPU_ACCOUNTING is not set | 23 | # CONFIG_VIRT_CPU_ACCOUNTING is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
25 | CONFIG_PPC_PERF_CTRS=y | ||
19 | CONFIG_SMP=y | 26 | CONFIG_SMP=y |
20 | CONFIG_NR_CPUS=2 | 27 | CONFIG_NR_CPUS=2 |
21 | CONFIG_64BIT=y | 28 | CONFIG_64BIT=y |
22 | CONFIG_WORD_SIZE=64 | 29 | CONFIG_WORD_SIZE=64 |
23 | CONFIG_PPC_MERGE=y | 30 | CONFIG_ARCH_PHYS_ADDR_T_64BIT=y |
24 | CONFIG_MMU=y | 31 | CONFIG_MMU=y |
25 | CONFIG_GENERIC_CMOS_UPDATE=y | 32 | CONFIG_GENERIC_CMOS_UPDATE=y |
26 | CONFIG_GENERIC_TIME=y | 33 | CONFIG_GENERIC_TIME=y |
27 | CONFIG_GENERIC_TIME_VSYSCALL=y | 34 | CONFIG_GENERIC_TIME_VSYSCALL=y |
28 | CONFIG_GENERIC_CLOCKEVENTS=y | 35 | CONFIG_GENERIC_CLOCKEVENTS=y |
29 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
30 | CONFIG_HAVE_SETUP_PER_CPU_AREA=y | 38 | CONFIG_HAVE_SETUP_PER_CPU_AREA=y |
39 | CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y | ||
31 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
32 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
33 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | 43 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y |
34 | CONFIG_LOCKDEP_SUPPORT=y | 44 | CONFIG_LOCKDEP_SUPPORT=y |
35 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 45 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
36 | CONFIG_ARCH_HAS_ILOG2_U32=y | 46 | CONFIG_ARCH_HAS_ILOG2_U32=y |
37 | CONFIG_ARCH_HAS_ILOG2_U64=y | 47 | CONFIG_ARCH_HAS_ILOG2_U64=y |
38 | CONFIG_GENERIC_HWEIGHT=y | 48 | CONFIG_GENERIC_HWEIGHT=y |
39 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
40 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 49 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
41 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | 50 | CONFIG_ARCH_NO_VIRT_TO_BUS=y |
42 | CONFIG_PPC=y | 51 | CONFIG_PPC=y |
43 | CONFIG_EARLY_PRINTK=y | 52 | CONFIG_EARLY_PRINTK=y |
44 | CONFIG_COMPAT=y | 53 | CONFIG_COMPAT=y |
45 | CONFIG_SYSVIPC_COMPAT=y | 54 | CONFIG_SYSVIPC_COMPAT=y |
46 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | 55 | CONFIG_SCHED_OMIT_FRAME_POINTER=y |
47 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | 56 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y |
48 | CONFIG_PPC_OF=y | 57 | CONFIG_PPC_OF=y |
49 | CONFIG_OF=y | 58 | CONFIG_OF=y |
@@ -51,11 +60,14 @@ CONFIG_PPC_UDBG_16550=y | |||
51 | # CONFIG_GENERIC_TBSYNC is not set | 60 | # CONFIG_GENERIC_TBSYNC is not set |
52 | CONFIG_AUDIT_ARCH=y | 61 | CONFIG_AUDIT_ARCH=y |
53 | CONFIG_GENERIC_BUG=y | 62 | CONFIG_GENERIC_BUG=y |
63 | CONFIG_DTC=y | ||
54 | # CONFIG_DEFAULT_UIMAGE is not set | 64 | # CONFIG_DEFAULT_UIMAGE is not set |
55 | # CONFIG_PPC_DCR_NATIVE is not set | 65 | # CONFIG_PPC_DCR_NATIVE is not set |
56 | # CONFIG_PPC_DCR_MMIO is not set | 66 | # CONFIG_PPC_DCR_MMIO is not set |
57 | # CONFIG_PPC_OF_PLATFORM_PCI is not set | 67 | # CONFIG_PPC_OF_PLATFORM_PCI is not set |
68 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
58 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 69 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
70 | CONFIG_CONSTRUCTORS=y | ||
59 | 71 | ||
60 | # | 72 | # |
61 | # General setup | 73 | # General setup |
@@ -72,10 +84,20 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
72 | # CONFIG_BSD_PROCESS_ACCT is not set | 84 | # CONFIG_BSD_PROCESS_ACCT is not set |
73 | # CONFIG_TASKSTATS is not set | 85 | # CONFIG_TASKSTATS is not set |
74 | # CONFIG_AUDIT is not set | 86 | # CONFIG_AUDIT is not set |
87 | |||
88 | # | ||
89 | # RCU Subsystem | ||
90 | # | ||
91 | CONFIG_TREE_RCU=y | ||
92 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
93 | # CONFIG_RCU_TRACE is not set | ||
94 | CONFIG_RCU_FANOUT=64 | ||
95 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
96 | # CONFIG_TREE_RCU_TRACE is not set | ||
75 | # CONFIG_IKCONFIG is not set | 97 | # CONFIG_IKCONFIG is not set |
76 | CONFIG_LOG_BUF_SHIFT=17 | 98 | CONFIG_LOG_BUF_SHIFT=17 |
77 | # CONFIG_CGROUPS is not set | ||
78 | # CONFIG_GROUP_SCHED is not set | 99 | # CONFIG_GROUP_SCHED is not set |
100 | # CONFIG_CGROUPS is not set | ||
79 | CONFIG_SYSFS_DEPRECATED=y | 101 | CONFIG_SYSFS_DEPRECATED=y |
80 | CONFIG_SYSFS_DEPRECATED_V2=y | 102 | CONFIG_SYSFS_DEPRECATED_V2=y |
81 | # CONFIG_RELAY is not set | 103 | # CONFIG_RELAY is not set |
@@ -84,13 +106,17 @@ CONFIG_NAMESPACES=y | |||
84 | # CONFIG_IPC_NS is not set | 106 | # CONFIG_IPC_NS is not set |
85 | # CONFIG_USER_NS is not set | 107 | # CONFIG_USER_NS is not set |
86 | # CONFIG_PID_NS is not set | 108 | # CONFIG_PID_NS is not set |
109 | # CONFIG_NET_NS is not set | ||
87 | CONFIG_BLK_DEV_INITRD=y | 110 | CONFIG_BLK_DEV_INITRD=y |
88 | CONFIG_INITRAMFS_SOURCE="" | 111 | CONFIG_INITRAMFS_SOURCE="" |
112 | CONFIG_RD_GZIP=y | ||
113 | CONFIG_RD_BZIP2=y | ||
114 | CONFIG_RD_LZMA=y | ||
89 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 115 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
90 | CONFIG_SYSCTL=y | 116 | CONFIG_SYSCTL=y |
117 | CONFIG_ANON_INODES=y | ||
91 | # CONFIG_EMBEDDED is not set | 118 | # CONFIG_EMBEDDED is not set |
92 | CONFIG_SYSCTL_SYSCALL=y | 119 | CONFIG_SYSCTL_SYSCALL=y |
93 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
94 | CONFIG_KALLSYMS=y | 120 | CONFIG_KALLSYMS=y |
95 | # CONFIG_KALLSYMS_ALL is not set | 121 | # CONFIG_KALLSYMS_ALL is not set |
96 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 122 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
@@ -98,32 +124,52 @@ CONFIG_HOTPLUG=y | |||
98 | CONFIG_PRINTK=y | 124 | CONFIG_PRINTK=y |
99 | CONFIG_BUG=y | 125 | CONFIG_BUG=y |
100 | CONFIG_ELF_CORE=y | 126 | CONFIG_ELF_CORE=y |
101 | CONFIG_COMPAT_BRK=y | ||
102 | CONFIG_BASE_FULL=y | 127 | CONFIG_BASE_FULL=y |
103 | CONFIG_FUTEX=y | 128 | CONFIG_FUTEX=y |
104 | CONFIG_ANON_INODES=y | ||
105 | CONFIG_EPOLL=y | 129 | CONFIG_EPOLL=y |
106 | CONFIG_SIGNALFD=y | 130 | CONFIG_SIGNALFD=y |
107 | CONFIG_TIMERFD=y | 131 | CONFIG_TIMERFD=y |
108 | CONFIG_EVENTFD=y | 132 | CONFIG_EVENTFD=y |
109 | CONFIG_SHMEM=y | 133 | CONFIG_SHMEM=y |
134 | CONFIG_AIO=y | ||
135 | CONFIG_HAVE_PERF_EVENTS=y | ||
136 | |||
137 | # | ||
138 | # Kernel Performance Events And Counters | ||
139 | # | ||
140 | CONFIG_PERF_EVENTS=y | ||
141 | CONFIG_EVENT_PROFILE=y | ||
142 | # CONFIG_PERF_COUNTERS is not set | ||
110 | CONFIG_VM_EVENT_COUNTERS=y | 143 | CONFIG_VM_EVENT_COUNTERS=y |
144 | CONFIG_PCI_QUIRKS=y | ||
111 | CONFIG_SLUB_DEBUG=y | 145 | CONFIG_SLUB_DEBUG=y |
146 | CONFIG_COMPAT_BRK=y | ||
112 | # CONFIG_SLAB is not set | 147 | # CONFIG_SLAB is not set |
113 | CONFIG_SLUB=y | 148 | CONFIG_SLUB=y |
114 | # CONFIG_SLOB is not set | 149 | # CONFIG_SLOB is not set |
115 | CONFIG_PROFILING=y | 150 | CONFIG_PROFILING=y |
116 | # CONFIG_MARKERS is not set | 151 | CONFIG_TRACEPOINTS=y |
117 | CONFIG_OPROFILE=y | 152 | CONFIG_OPROFILE=y |
118 | CONFIG_HAVE_OPROFILE=y | 153 | CONFIG_HAVE_OPROFILE=y |
119 | # CONFIG_KPROBES is not set | 154 | # CONFIG_KPROBES is not set |
155 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
156 | CONFIG_HAVE_SYSCALL_WRAPPERS=y | ||
157 | CONFIG_HAVE_IOREMAP_PROT=y | ||
120 | CONFIG_HAVE_KPROBES=y | 158 | CONFIG_HAVE_KPROBES=y |
121 | CONFIG_HAVE_KRETPROBES=y | 159 | CONFIG_HAVE_KRETPROBES=y |
122 | # CONFIG_HAVE_DMA_ATTRS is not set | 160 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
123 | CONFIG_PROC_PAGE_MONITOR=y | 161 | CONFIG_HAVE_DMA_ATTRS=y |
162 | CONFIG_USE_GENERIC_SMP_HELPERS=y | ||
163 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
164 | |||
165 | # | ||
166 | # GCOV-based kernel profiling | ||
167 | # | ||
168 | # CONFIG_GCOV_KERNEL is not set | ||
169 | # CONFIG_SLOW_WORK is not set | ||
170 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
124 | CONFIG_SLABINFO=y | 171 | CONFIG_SLABINFO=y |
125 | CONFIG_RT_MUTEXES=y | 172 | CONFIG_RT_MUTEXES=y |
126 | # CONFIG_TINY_SHMEM is not set | ||
127 | CONFIG_BASE_SMALL=0 | 173 | CONFIG_BASE_SMALL=0 |
128 | CONFIG_MODULES=y | 174 | CONFIG_MODULES=y |
129 | # CONFIG_MODULE_FORCE_LOAD is not set | 175 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -131,11 +177,10 @@ CONFIG_MODULE_UNLOAD=y | |||
131 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 177 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
132 | # CONFIG_MODVERSIONS is not set | 178 | # CONFIG_MODVERSIONS is not set |
133 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 179 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
134 | # CONFIG_KMOD is not set | ||
135 | CONFIG_STOP_MACHINE=y | 180 | CONFIG_STOP_MACHINE=y |
136 | CONFIG_BLOCK=y | 181 | CONFIG_BLOCK=y |
137 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
138 | # CONFIG_BLK_DEV_BSG is not set | 182 | # CONFIG_BLK_DEV_BSG is not set |
183 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
139 | CONFIG_BLOCK_COMPAT=y | 184 | CONFIG_BLOCK_COMPAT=y |
140 | 185 | ||
141 | # | 186 | # |
@@ -150,19 +195,14 @@ CONFIG_DEFAULT_AS=y | |||
150 | # CONFIG_DEFAULT_CFQ is not set | 195 | # CONFIG_DEFAULT_CFQ is not set |
151 | # CONFIG_DEFAULT_NOOP is not set | 196 | # CONFIG_DEFAULT_NOOP is not set |
152 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 197 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
153 | CONFIG_CLASSIC_RCU=y | 198 | # CONFIG_FREEZER is not set |
199 | CONFIG_PPC_MSI_BITMAP=y | ||
154 | 200 | ||
155 | # | 201 | # |
156 | # Platform support | 202 | # Platform support |
157 | # | 203 | # |
158 | CONFIG_PPC_MULTIPLATFORM=y | ||
159 | # CONFIG_PPC_82xx is not set | ||
160 | # CONFIG_PPC_83xx is not set | ||
161 | # CONFIG_PPC_86xx is not set | ||
162 | # CONFIG_PPC_PSERIES is not set | 204 | # CONFIG_PPC_PSERIES is not set |
163 | # CONFIG_PPC_ISERIES is not set | 205 | # CONFIG_PPC_ISERIES is not set |
164 | # CONFIG_PPC_MPC512x is not set | ||
165 | # CONFIG_PPC_MPC5121 is not set | ||
166 | # CONFIG_PPC_PMAC is not set | 206 | # CONFIG_PPC_PMAC is not set |
167 | # CONFIG_PPC_MAPLE is not set | 207 | # CONFIG_PPC_MAPLE is not set |
168 | CONFIG_PPC_PASEMI=y | 208 | CONFIG_PPC_PASEMI=y |
@@ -178,8 +218,10 @@ CONFIG_PPC_PASEMI_MDIO=y | |||
178 | # CONFIG_PPC_CELL_NATIVE is not set | 218 | # CONFIG_PPC_CELL_NATIVE is not set |
179 | # CONFIG_PPC_IBM_CELL_BLADE is not set | 219 | # CONFIG_PPC_IBM_CELL_BLADE is not set |
180 | # CONFIG_PPC_CELLEB is not set | 220 | # CONFIG_PPC_CELLEB is not set |
221 | # CONFIG_PPC_CELL_QPACE is not set | ||
181 | # CONFIG_PQ2ADS is not set | 222 | # CONFIG_PQ2ADS is not set |
182 | CONFIG_PPC_NATIVE=y | 223 | CONFIG_PPC_NATIVE=y |
224 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
183 | # CONFIG_IPIC is not set | 225 | # CONFIG_IPIC is not set |
184 | CONFIG_MPIC=y | 226 | CONFIG_MPIC=y |
185 | # CONFIG_MPIC_WEIRD is not set | 227 | # CONFIG_MPIC_WEIRD is not set |
@@ -213,6 +255,7 @@ CONFIG_CPU_FREQ_GOV_ONDEMAND=y | |||
213 | # | 255 | # |
214 | CONFIG_PPC_PASEMI_CPUFREQ=y | 256 | CONFIG_PPC_PASEMI_CPUFREQ=y |
215 | # CONFIG_FSL_ULI1575 is not set | 257 | # CONFIG_FSL_ULI1575 is not set |
258 | # CONFIG_SIMPLE_GPIO is not set | ||
216 | 259 | ||
217 | # | 260 | # |
218 | # Kernel options | 261 | # Kernel options |
@@ -226,16 +269,19 @@ CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | |||
226 | # CONFIG_HZ_300 is not set | 269 | # CONFIG_HZ_300 is not set |
227 | CONFIG_HZ_1000=y | 270 | CONFIG_HZ_1000=y |
228 | CONFIG_HZ=1000 | 271 | CONFIG_HZ=1000 |
229 | # CONFIG_SCHED_HRTICK is not set | 272 | CONFIG_SCHED_HRTICK=y |
230 | CONFIG_PREEMPT_NONE=y | 273 | CONFIG_PREEMPT_NONE=y |
231 | # CONFIG_PREEMPT_VOLUNTARY is not set | 274 | # CONFIG_PREEMPT_VOLUNTARY is not set |
232 | # CONFIG_PREEMPT is not set | 275 | # CONFIG_PREEMPT is not set |
233 | CONFIG_BINFMT_ELF=y | 276 | CONFIG_BINFMT_ELF=y |
234 | CONFIG_COMPAT_BINFMT_ELF=y | 277 | CONFIG_COMPAT_BINFMT_ELF=y |
278 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
279 | # CONFIG_HAVE_AOUT is not set | ||
235 | # CONFIG_BINFMT_MISC is not set | 280 | # CONFIG_BINFMT_MISC is not set |
236 | CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y | 281 | CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y |
237 | CONFIG_IOMMU_VMERGE=y | 282 | CONFIG_IOMMU_VMERGE=y |
238 | CONFIG_IOMMU_HELPER=y | 283 | CONFIG_IOMMU_HELPER=y |
284 | # CONFIG_SWIOTLB is not set | ||
239 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 285 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
240 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 286 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
241 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 287 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
@@ -243,6 +289,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | |||
243 | # CONFIG_CRASH_DUMP is not set | 289 | # CONFIG_CRASH_DUMP is not set |
244 | # CONFIG_IRQ_ALL_CPUS is not set | 290 | # CONFIG_IRQ_ALL_CPUS is not set |
245 | # CONFIG_NUMA is not set | 291 | # CONFIG_NUMA is not set |
292 | CONFIG_MAX_ACTIVE_REGIONS=256 | ||
246 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | 293 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y |
247 | CONFIG_ARCH_FLATMEM_ENABLE=y | 294 | CONFIG_ARCH_FLATMEM_ENABLE=y |
248 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | 295 | CONFIG_ARCH_SPARSEMEM_ENABLE=y |
@@ -253,20 +300,28 @@ CONFIG_FLATMEM_MANUAL=y | |||
253 | # CONFIG_SPARSEMEM_MANUAL is not set | 300 | # CONFIG_SPARSEMEM_MANUAL is not set |
254 | CONFIG_FLATMEM=y | 301 | CONFIG_FLATMEM=y |
255 | CONFIG_FLAT_NODE_MEM_MAP=y | 302 | CONFIG_FLAT_NODE_MEM_MAP=y |
256 | # CONFIG_SPARSEMEM_STATIC is not set | ||
257 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y | 303 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y |
258 | CONFIG_PAGEFLAGS_EXTENDED=y | 304 | CONFIG_PAGEFLAGS_EXTENDED=y |
259 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 305 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
260 | CONFIG_RESOURCES_64BIT=y | 306 | CONFIG_MIGRATION=y |
307 | CONFIG_PHYS_ADDR_T_64BIT=y | ||
261 | CONFIG_ZONE_DMA_FLAG=1 | 308 | CONFIG_ZONE_DMA_FLAG=1 |
262 | CONFIG_BOUNCE=y | 309 | CONFIG_BOUNCE=y |
310 | CONFIG_HAVE_MLOCK=y | ||
311 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
312 | # CONFIG_KSM is not set | ||
313 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
263 | CONFIG_PPC_HAS_HASH_64K=y | 314 | CONFIG_PPC_HAS_HASH_64K=y |
315 | # CONFIG_PPC_4K_PAGES is not set | ||
316 | # CONFIG_PPC_16K_PAGES is not set | ||
264 | CONFIG_PPC_64K_PAGES=y | 317 | CONFIG_PPC_64K_PAGES=y |
318 | # CONFIG_PPC_256K_PAGES is not set | ||
265 | CONFIG_FORCE_MAX_ZONEORDER=9 | 319 | CONFIG_FORCE_MAX_ZONEORDER=9 |
266 | # CONFIG_PPC_SUBPAGE_PROT is not set | 320 | # CONFIG_PPC_SUBPAGE_PROT is not set |
267 | # CONFIG_SCHED_SMT is not set | 321 | # CONFIG_SCHED_SMT is not set |
268 | CONFIG_PROC_DEVICETREE=y | 322 | CONFIG_PROC_DEVICETREE=y |
269 | # CONFIG_CMDLINE_BOOL is not set | 323 | # CONFIG_CMDLINE_BOOL is not set |
324 | CONFIG_EXTRA_TARGETS="" | ||
270 | # CONFIG_PM is not set | 325 | # CONFIG_PM is not set |
271 | # CONFIG_SECCOMP is not set | 326 | # CONFIG_SECCOMP is not set |
272 | CONFIG_ISA_DMA_API=y | 327 | CONFIG_ISA_DMA_API=y |
@@ -285,6 +340,8 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
285 | CONFIG_PCI_MSI=y | 340 | CONFIG_PCI_MSI=y |
286 | CONFIG_PCI_LEGACY=y | 341 | CONFIG_PCI_LEGACY=y |
287 | # CONFIG_PCI_DEBUG is not set | 342 | # CONFIG_PCI_DEBUG is not set |
343 | # CONFIG_PCI_STUB is not set | ||
344 | # CONFIG_PCI_IOV is not set | ||
288 | CONFIG_PCCARD=y | 345 | CONFIG_PCCARD=y |
289 | CONFIG_PCMCIA_DEBUG=y | 346 | CONFIG_PCMCIA_DEBUG=y |
290 | CONFIG_PCMCIA=y | 347 | CONFIG_PCMCIA=y |
@@ -301,13 +358,10 @@ CONFIG_CARDBUS=y | |||
301 | CONFIG_ELECTRA_CF=y | 358 | CONFIG_ELECTRA_CF=y |
302 | # CONFIG_HOTPLUG_PCI is not set | 359 | # CONFIG_HOTPLUG_PCI is not set |
303 | # CONFIG_HAS_RAPIDIO is not set | 360 | # CONFIG_HAS_RAPIDIO is not set |
361 | # CONFIG_RELOCATABLE is not set | ||
304 | CONFIG_PAGE_OFFSET=0xc000000000000000 | 362 | CONFIG_PAGE_OFFSET=0xc000000000000000 |
305 | CONFIG_KERNEL_START=0xc000000000000000 | 363 | CONFIG_KERNEL_START=0xc000000000000000 |
306 | CONFIG_PHYSICAL_START=0x00000000 | 364 | CONFIG_PHYSICAL_START=0x00000000 |
307 | |||
308 | # | ||
309 | # Networking | ||
310 | # | ||
311 | CONFIG_NET=y | 365 | CONFIG_NET=y |
312 | 366 | ||
313 | # | 367 | # |
@@ -356,9 +410,11 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
356 | # CONFIG_NETFILTER is not set | 410 | # CONFIG_NETFILTER is not set |
357 | # CONFIG_IP_DCCP is not set | 411 | # CONFIG_IP_DCCP is not set |
358 | # CONFIG_IP_SCTP is not set | 412 | # CONFIG_IP_SCTP is not set |
413 | # CONFIG_RDS is not set | ||
359 | # CONFIG_TIPC is not set | 414 | # CONFIG_TIPC is not set |
360 | # CONFIG_ATM is not set | 415 | # CONFIG_ATM is not set |
361 | # CONFIG_BRIDGE is not set | 416 | # CONFIG_BRIDGE is not set |
417 | # CONFIG_NET_DSA is not set | ||
362 | # CONFIG_VLAN_8021Q is not set | 418 | # CONFIG_VLAN_8021Q is not set |
363 | # CONFIG_DECNET is not set | 419 | # CONFIG_DECNET is not set |
364 | # CONFIG_LLC2 is not set | 420 | # CONFIG_LLC2 is not set |
@@ -368,25 +424,32 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_LAPB is not set | 424 | # CONFIG_LAPB is not set |
369 | # CONFIG_ECONET is not set | 425 | # CONFIG_ECONET is not set |
370 | # CONFIG_WAN_ROUTER is not set | 426 | # CONFIG_WAN_ROUTER is not set |
427 | # CONFIG_PHONET is not set | ||
428 | # CONFIG_IEEE802154 is not set | ||
371 | # CONFIG_NET_SCHED is not set | 429 | # CONFIG_NET_SCHED is not set |
430 | # CONFIG_DCB is not set | ||
372 | 431 | ||
373 | # | 432 | # |
374 | # Network testing | 433 | # Network testing |
375 | # | 434 | # |
376 | # CONFIG_NET_PKTGEN is not set | 435 | # CONFIG_NET_PKTGEN is not set |
436 | # CONFIG_NET_DROP_MONITOR is not set | ||
377 | # CONFIG_HAMRADIO is not set | 437 | # CONFIG_HAMRADIO is not set |
378 | # CONFIG_CAN is not set | 438 | # CONFIG_CAN is not set |
379 | # CONFIG_IRDA is not set | 439 | # CONFIG_IRDA is not set |
380 | # CONFIG_BT is not set | 440 | # CONFIG_BT is not set |
381 | # CONFIG_AF_RXRPC is not set | 441 | # CONFIG_AF_RXRPC is not set |
442 | CONFIG_WIRELESS=y | ||
443 | # CONFIG_CFG80211 is not set | ||
444 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
445 | # CONFIG_WIRELESS_OLD_REGULATORY is not set | ||
446 | # CONFIG_WIRELESS_EXT is not set | ||
447 | # CONFIG_LIB80211 is not set | ||
382 | 448 | ||
383 | # | 449 | # |
384 | # Wireless | 450 | # CFG80211 needs to be enabled for MAC80211 |
385 | # | 451 | # |
386 | # CONFIG_CFG80211 is not set | 452 | # CONFIG_WIMAX is not set |
387 | # CONFIG_WIRELESS_EXT is not set | ||
388 | # CONFIG_MAC80211 is not set | ||
389 | # CONFIG_IEEE80211 is not set | ||
390 | # CONFIG_RFKILL is not set | 453 | # CONFIG_RFKILL is not set |
391 | # CONFIG_NET_9P is not set | 454 | # CONFIG_NET_9P is not set |
392 | 455 | ||
@@ -398,15 +461,19 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
398 | # Generic Driver Options | 461 | # Generic Driver Options |
399 | # | 462 | # |
400 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 463 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
464 | # CONFIG_DEVTMPFS is not set | ||
401 | CONFIG_STANDALONE=y | 465 | CONFIG_STANDALONE=y |
402 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 466 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
403 | CONFIG_FW_LOADER=y | 467 | CONFIG_FW_LOADER=y |
468 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
469 | CONFIG_EXTRA_FIRMWARE="" | ||
404 | # CONFIG_DEBUG_DRIVER is not set | 470 | # CONFIG_DEBUG_DRIVER is not set |
405 | # CONFIG_DEBUG_DEVRES is not set | 471 | # CONFIG_DEBUG_DEVRES is not set |
406 | # CONFIG_SYS_HYPERVISOR is not set | 472 | # CONFIG_SYS_HYPERVISOR is not set |
407 | # CONFIG_CONNECTOR is not set | 473 | # CONFIG_CONNECTOR is not set |
408 | CONFIG_MTD=y | 474 | CONFIG_MTD=y |
409 | # CONFIG_MTD_DEBUG is not set | 475 | # CONFIG_MTD_DEBUG is not set |
476 | # CONFIG_MTD_TESTS is not set | ||
410 | CONFIG_MTD_CONCAT=y | 477 | CONFIG_MTD_CONCAT=y |
411 | # CONFIG_MTD_PARTITIONS is not set | 478 | # CONFIG_MTD_PARTITIONS is not set |
412 | 479 | ||
@@ -478,11 +545,17 @@ CONFIG_MTD_NAND_PASEMI=y | |||
478 | # CONFIG_MTD_ONENAND is not set | 545 | # CONFIG_MTD_ONENAND is not set |
479 | 546 | ||
480 | # | 547 | # |
548 | # LPDDR flash memory drivers | ||
549 | # | ||
550 | # CONFIG_MTD_LPDDR is not set | ||
551 | |||
552 | # | ||
481 | # UBI - Unsorted block images | 553 | # UBI - Unsorted block images |
482 | # | 554 | # |
483 | # CONFIG_MTD_UBI is not set | 555 | # CONFIG_MTD_UBI is not set |
484 | CONFIG_OF_DEVICE=y | 556 | CONFIG_OF_DEVICE=y |
485 | CONFIG_OF_I2C=y | 557 | CONFIG_OF_I2C=y |
558 | CONFIG_OF_MDIO=y | ||
486 | # CONFIG_PARPORT is not set | 559 | # CONFIG_PARPORT is not set |
487 | CONFIG_BLK_DEV=y | 560 | CONFIG_BLK_DEV=y |
488 | # CONFIG_BLK_DEV_FD is not set | 561 | # CONFIG_BLK_DEV_FD is not set |
@@ -501,29 +574,41 @@ CONFIG_BLK_DEV_RAM_SIZE=16384 | |||
501 | # CONFIG_BLK_DEV_XIP is not set | 574 | # CONFIG_BLK_DEV_XIP is not set |
502 | # CONFIG_CDROM_PKTCDVD is not set | 575 | # CONFIG_CDROM_PKTCDVD is not set |
503 | # CONFIG_ATA_OVER_ETH is not set | 576 | # CONFIG_ATA_OVER_ETH is not set |
577 | # CONFIG_BLK_DEV_HD is not set | ||
504 | CONFIG_MISC_DEVICES=y | 578 | CONFIG_MISC_DEVICES=y |
505 | # CONFIG_PHANTOM is not set | 579 | # CONFIG_PHANTOM is not set |
506 | # CONFIG_EEPROM_93CX6 is not set | ||
507 | # CONFIG_SGI_IOC4 is not set | 580 | # CONFIG_SGI_IOC4 is not set |
508 | # CONFIG_TIFM_CORE is not set | 581 | # CONFIG_TIFM_CORE is not set |
582 | # CONFIG_ICS932S401 is not set | ||
509 | # CONFIG_ENCLOSURE_SERVICES is not set | 583 | # CONFIG_ENCLOSURE_SERVICES is not set |
584 | # CONFIG_HP_ILO is not set | ||
585 | # CONFIG_ISL29003 is not set | ||
586 | # CONFIG_C2PORT is not set | ||
587 | |||
588 | # | ||
589 | # EEPROM support | ||
590 | # | ||
591 | # CONFIG_EEPROM_AT24 is not set | ||
592 | CONFIG_EEPROM_LEGACY=y | ||
593 | # CONFIG_EEPROM_MAX6875 is not set | ||
594 | # CONFIG_EEPROM_93CX6 is not set | ||
595 | # CONFIG_CB710_CORE is not set | ||
510 | CONFIG_HAVE_IDE=y | 596 | CONFIG_HAVE_IDE=y |
511 | CONFIG_IDE=y | 597 | CONFIG_IDE=y |
512 | CONFIG_BLK_DEV_IDE=y | ||
513 | 598 | ||
514 | # | 599 | # |
515 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | 600 | # Please see Documentation/ide/ide.txt for help/info on IDE drives |
516 | # | 601 | # |
602 | CONFIG_IDE_ATAPI=y | ||
517 | # CONFIG_BLK_DEV_IDE_SATA is not set | 603 | # CONFIG_BLK_DEV_IDE_SATA is not set |
518 | CONFIG_BLK_DEV_IDEDISK=y | 604 | CONFIG_IDE_GD=y |
519 | CONFIG_IDEDISK_MULTI_MODE=y | 605 | CONFIG_IDE_GD_ATA=y |
606 | # CONFIG_IDE_GD_ATAPI is not set | ||
520 | # CONFIG_BLK_DEV_IDECS is not set | 607 | # CONFIG_BLK_DEV_IDECS is not set |
521 | # CONFIG_BLK_DEV_DELKIN is not set | 608 | # CONFIG_BLK_DEV_DELKIN is not set |
522 | CONFIG_BLK_DEV_IDECD=y | 609 | CONFIG_BLK_DEV_IDECD=y |
523 | CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y | 610 | CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y |
524 | # CONFIG_BLK_DEV_IDETAPE is not set | 611 | # CONFIG_BLK_DEV_IDETAPE is not set |
525 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
526 | CONFIG_BLK_DEV_IDESCSI=y | ||
527 | CONFIG_IDE_TASK_IOCTL=y | 612 | CONFIG_IDE_TASK_IOCTL=y |
528 | CONFIG_IDE_PROC_FS=y | 613 | CONFIG_IDE_PROC_FS=y |
529 | 614 | ||
@@ -542,14 +627,13 @@ CONFIG_IDE_PROC_FS=y | |||
542 | # CONFIG_BLK_DEV_AMD74XX is not set | 627 | # CONFIG_BLK_DEV_AMD74XX is not set |
543 | # CONFIG_BLK_DEV_CMD64X is not set | 628 | # CONFIG_BLK_DEV_CMD64X is not set |
544 | # CONFIG_BLK_DEV_TRIFLEX is not set | 629 | # CONFIG_BLK_DEV_TRIFLEX is not set |
545 | # CONFIG_BLK_DEV_CY82C693 is not set | ||
546 | # CONFIG_BLK_DEV_CS5520 is not set | 630 | # CONFIG_BLK_DEV_CS5520 is not set |
547 | # CONFIG_BLK_DEV_CS5530 is not set | 631 | # CONFIG_BLK_DEV_CS5530 is not set |
548 | # CONFIG_BLK_DEV_HPT34X is not set | ||
549 | # CONFIG_BLK_DEV_HPT366 is not set | 632 | # CONFIG_BLK_DEV_HPT366 is not set |
550 | # CONFIG_BLK_DEV_JMICRON is not set | 633 | # CONFIG_BLK_DEV_JMICRON is not set |
551 | # CONFIG_BLK_DEV_SC1200 is not set | 634 | # CONFIG_BLK_DEV_SC1200 is not set |
552 | # CONFIG_BLK_DEV_PIIX is not set | 635 | # CONFIG_BLK_DEV_PIIX is not set |
636 | # CONFIG_BLK_DEV_IT8172 is not set | ||
553 | # CONFIG_BLK_DEV_IT8213 is not set | 637 | # CONFIG_BLK_DEV_IT8213 is not set |
554 | # CONFIG_BLK_DEV_IT821X is not set | 638 | # CONFIG_BLK_DEV_IT821X is not set |
555 | # CONFIG_BLK_DEV_NS87415 is not set | 639 | # CONFIG_BLK_DEV_NS87415 is not set |
@@ -563,8 +647,6 @@ CONFIG_IDE_PROC_FS=y | |||
563 | # CONFIG_BLK_DEV_VIA82CXXX is not set | 647 | # CONFIG_BLK_DEV_VIA82CXXX is not set |
564 | # CONFIG_BLK_DEV_TC86C001 is not set | 648 | # CONFIG_BLK_DEV_TC86C001 is not set |
565 | # CONFIG_BLK_DEV_IDEDMA is not set | 649 | # CONFIG_BLK_DEV_IDEDMA is not set |
566 | # CONFIG_BLK_DEV_HD_ONLY is not set | ||
567 | # CONFIG_BLK_DEV_HD is not set | ||
568 | 650 | ||
569 | # | 651 | # |
570 | # SCSI device support | 652 | # SCSI device support |
@@ -586,10 +668,6 @@ CONFIG_BLK_DEV_SR=y | |||
586 | CONFIG_BLK_DEV_SR_VENDOR=y | 668 | CONFIG_BLK_DEV_SR_VENDOR=y |
587 | CONFIG_CHR_DEV_SG=y | 669 | CONFIG_CHR_DEV_SG=y |
588 | CONFIG_CHR_DEV_SCH=y | 670 | CONFIG_CHR_DEV_SCH=y |
589 | |||
590 | # | ||
591 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
592 | # | ||
593 | CONFIG_SCSI_MULTI_LUN=y | 671 | CONFIG_SCSI_MULTI_LUN=y |
594 | CONFIG_SCSI_CONSTANTS=y | 672 | CONFIG_SCSI_CONSTANTS=y |
595 | CONFIG_SCSI_LOGGING=y | 673 | CONFIG_SCSI_LOGGING=y |
@@ -606,6 +684,8 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
606 | # CONFIG_SCSI_SRP_ATTRS is not set | 684 | # CONFIG_SCSI_SRP_ATTRS is not set |
607 | CONFIG_SCSI_LOWLEVEL=y | 685 | CONFIG_SCSI_LOWLEVEL=y |
608 | # CONFIG_ISCSI_TCP is not set | 686 | # CONFIG_ISCSI_TCP is not set |
687 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
688 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
609 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 689 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
610 | # CONFIG_SCSI_3W_9XXX is not set | 690 | # CONFIG_SCSI_3W_9XXX is not set |
611 | # CONFIG_SCSI_ACARD is not set | 691 | # CONFIG_SCSI_ACARD is not set |
@@ -614,11 +694,16 @@ CONFIG_SCSI_LOWLEVEL=y | |||
614 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 694 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
615 | # CONFIG_SCSI_AIC79XX is not set | 695 | # CONFIG_SCSI_AIC79XX is not set |
616 | # CONFIG_SCSI_AIC94XX is not set | 696 | # CONFIG_SCSI_AIC94XX is not set |
697 | # CONFIG_SCSI_MVSAS is not set | ||
617 | # CONFIG_SCSI_ARCMSR is not set | 698 | # CONFIG_SCSI_ARCMSR is not set |
618 | # CONFIG_MEGARAID_NEWGEN is not set | 699 | # CONFIG_MEGARAID_NEWGEN is not set |
619 | # CONFIG_MEGARAID_LEGACY is not set | 700 | # CONFIG_MEGARAID_LEGACY is not set |
620 | # CONFIG_MEGARAID_SAS is not set | 701 | # CONFIG_MEGARAID_SAS is not set |
702 | # CONFIG_SCSI_MPT2SAS is not set | ||
621 | # CONFIG_SCSI_HPTIOP is not set | 703 | # CONFIG_SCSI_HPTIOP is not set |
704 | # CONFIG_LIBFC is not set | ||
705 | # CONFIG_LIBFCOE is not set | ||
706 | # CONFIG_FCOE is not set | ||
622 | # CONFIG_SCSI_DMX3191D is not set | 707 | # CONFIG_SCSI_DMX3191D is not set |
623 | # CONFIG_SCSI_EATA is not set | 708 | # CONFIG_SCSI_EATA is not set |
624 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 709 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
@@ -626,7 +711,6 @@ CONFIG_SCSI_LOWLEVEL=y | |||
626 | # CONFIG_SCSI_IPS is not set | 711 | # CONFIG_SCSI_IPS is not set |
627 | # CONFIG_SCSI_INITIO is not set | 712 | # CONFIG_SCSI_INITIO is not set |
628 | # CONFIG_SCSI_INIA100 is not set | 713 | # CONFIG_SCSI_INIA100 is not set |
629 | # CONFIG_SCSI_MVSAS is not set | ||
630 | # CONFIG_SCSI_STEX is not set | 714 | # CONFIG_SCSI_STEX is not set |
631 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 715 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
632 | # CONFIG_SCSI_IPR is not set | 716 | # CONFIG_SCSI_IPR is not set |
@@ -637,10 +721,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
637 | # CONFIG_SCSI_DC395x is not set | 721 | # CONFIG_SCSI_DC395x is not set |
638 | # CONFIG_SCSI_DC390T is not set | 722 | # CONFIG_SCSI_DC390T is not set |
639 | # CONFIG_SCSI_DEBUG is not set | 723 | # CONFIG_SCSI_DEBUG is not set |
724 | # CONFIG_SCSI_PMCRAID is not set | ||
640 | # CONFIG_SCSI_SRP is not set | 725 | # CONFIG_SCSI_SRP is not set |
641 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set | 726 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set |
727 | # CONFIG_SCSI_DH is not set | ||
728 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
642 | CONFIG_ATA=y | 729 | CONFIG_ATA=y |
643 | # CONFIG_ATA_NONSTANDARD is not set | 730 | # CONFIG_ATA_NONSTANDARD is not set |
731 | CONFIG_ATA_VERBOSE_ERROR=y | ||
644 | CONFIG_SATA_PMP=y | 732 | CONFIG_SATA_PMP=y |
645 | # CONFIG_SATA_AHCI is not set | 733 | # CONFIG_SATA_AHCI is not set |
646 | CONFIG_SATA_SIL24=y | 734 | CONFIG_SATA_SIL24=y |
@@ -662,6 +750,7 @@ CONFIG_SATA_MV=y | |||
662 | # CONFIG_PATA_ALI is not set | 750 | # CONFIG_PATA_ALI is not set |
663 | # CONFIG_PATA_AMD is not set | 751 | # CONFIG_PATA_AMD is not set |
664 | # CONFIG_PATA_ARTOP is not set | 752 | # CONFIG_PATA_ARTOP is not set |
753 | # CONFIG_PATA_ATP867X is not set | ||
665 | # CONFIG_PATA_ATIIXP is not set | 754 | # CONFIG_PATA_ATIIXP is not set |
666 | # CONFIG_PATA_CMD640_PCI is not set | 755 | # CONFIG_PATA_CMD640_PCI is not set |
667 | # CONFIG_PATA_CMD64X is not set | 756 | # CONFIG_PATA_CMD64X is not set |
@@ -690,6 +779,7 @@ CONFIG_ATA_GENERIC=y | |||
690 | CONFIG_PATA_PCMCIA=y | 779 | CONFIG_PATA_PCMCIA=y |
691 | # CONFIG_PATA_PDC_OLD is not set | 780 | # CONFIG_PATA_PDC_OLD is not set |
692 | # CONFIG_PATA_RADISYS is not set | 781 | # CONFIG_PATA_RADISYS is not set |
782 | # CONFIG_PATA_RDC is not set | ||
693 | # CONFIG_PATA_RZ1000 is not set | 783 | # CONFIG_PATA_RZ1000 is not set |
694 | # CONFIG_PATA_SC1200 is not set | 784 | # CONFIG_PATA_SC1200 is not set |
695 | # CONFIG_PATA_SERVERWORKS is not set | 785 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -703,12 +793,15 @@ CONFIG_PATA_OF_PLATFORM=y | |||
703 | # CONFIG_PATA_SCH is not set | 793 | # CONFIG_PATA_SCH is not set |
704 | CONFIG_MD=y | 794 | CONFIG_MD=y |
705 | CONFIG_BLK_DEV_MD=y | 795 | CONFIG_BLK_DEV_MD=y |
796 | CONFIG_MD_AUTODETECT=y | ||
706 | CONFIG_MD_LINEAR=y | 797 | CONFIG_MD_LINEAR=y |
707 | CONFIG_MD_RAID0=y | 798 | CONFIG_MD_RAID0=y |
708 | CONFIG_MD_RAID1=y | 799 | CONFIG_MD_RAID1=y |
709 | CONFIG_MD_RAID10=y | 800 | CONFIG_MD_RAID10=y |
710 | CONFIG_MD_RAID456=y | 801 | CONFIG_MD_RAID456=y |
711 | CONFIG_MD_RAID5_RESHAPE=y | 802 | # CONFIG_MULTICORE_RAID456 is not set |
803 | CONFIG_MD_RAID6_PQ=y | ||
804 | # CONFIG_ASYNC_RAID6_TEST is not set | ||
712 | # CONFIG_MD_MULTIPATH is not set | 805 | # CONFIG_MD_MULTIPATH is not set |
713 | # CONFIG_MD_FAULTY is not set | 806 | # CONFIG_MD_FAULTY is not set |
714 | CONFIG_BLK_DEV_DM=y | 807 | CONFIG_BLK_DEV_DM=y |
@@ -725,12 +818,19 @@ CONFIG_DM_CRYPT=y | |||
725 | # | 818 | # |
726 | # IEEE 1394 (FireWire) support | 819 | # IEEE 1394 (FireWire) support |
727 | # | 820 | # |
821 | |||
822 | # | ||
823 | # You can enable one or both FireWire driver stacks. | ||
824 | # | ||
825 | |||
826 | # | ||
827 | # See the help texts for more information. | ||
828 | # | ||
728 | # CONFIG_FIREWIRE is not set | 829 | # CONFIG_FIREWIRE is not set |
729 | # CONFIG_IEEE1394 is not set | 830 | # CONFIG_IEEE1394 is not set |
730 | # CONFIG_I2O is not set | 831 | # CONFIG_I2O is not set |
731 | # CONFIG_MACINTOSH_DRIVERS is not set | 832 | # CONFIG_MACINTOSH_DRIVERS is not set |
732 | CONFIG_NETDEVICES=y | 833 | CONFIG_NETDEVICES=y |
733 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
734 | CONFIG_DUMMY=y | 834 | CONFIG_DUMMY=y |
735 | # CONFIG_BONDING is not set | 835 | # CONFIG_BONDING is not set |
736 | # CONFIG_MACVLAN is not set | 836 | # CONFIG_MACVLAN is not set |
@@ -753,6 +853,9 @@ CONFIG_MARVELL_PHY=y | |||
753 | # CONFIG_BROADCOM_PHY is not set | 853 | # CONFIG_BROADCOM_PHY is not set |
754 | # CONFIG_ICPLUS_PHY is not set | 854 | # CONFIG_ICPLUS_PHY is not set |
755 | # CONFIG_REALTEK_PHY is not set | 855 | # CONFIG_REALTEK_PHY is not set |
856 | # CONFIG_NATIONAL_PHY is not set | ||
857 | # CONFIG_STE10XP is not set | ||
858 | # CONFIG_LSI_ET1011C_PHY is not set | ||
756 | # CONFIG_FIXED_PHY is not set | 859 | # CONFIG_FIXED_PHY is not set |
757 | # CONFIG_MDIO_BITBANG is not set | 860 | # CONFIG_MDIO_BITBANG is not set |
758 | CONFIG_NET_ETHERNET=y | 861 | CONFIG_NET_ETHERNET=y |
@@ -761,19 +864,23 @@ CONFIG_MII=y | |||
761 | # CONFIG_SUNGEM is not set | 864 | # CONFIG_SUNGEM is not set |
762 | # CONFIG_CASSINI is not set | 865 | # CONFIG_CASSINI is not set |
763 | # CONFIG_NET_VENDOR_3COM is not set | 866 | # CONFIG_NET_VENDOR_3COM is not set |
867 | # CONFIG_ETHOC is not set | ||
868 | # CONFIG_DNET is not set | ||
764 | # CONFIG_NET_TULIP is not set | 869 | # CONFIG_NET_TULIP is not set |
765 | # CONFIG_HP100 is not set | 870 | # CONFIG_HP100 is not set |
766 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 871 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
767 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 872 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
768 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 873 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
769 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | 874 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
875 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
876 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
877 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
770 | CONFIG_NET_PCI=y | 878 | CONFIG_NET_PCI=y |
771 | # CONFIG_PCNET32 is not set | 879 | # CONFIG_PCNET32 is not set |
772 | # CONFIG_AMD8111_ETH is not set | 880 | # CONFIG_AMD8111_ETH is not set |
773 | # CONFIG_ADAPTEC_STARFIRE is not set | 881 | # CONFIG_ADAPTEC_STARFIRE is not set |
774 | # CONFIG_B44 is not set | 882 | # CONFIG_B44 is not set |
775 | # CONFIG_FORCEDETH is not set | 883 | # CONFIG_FORCEDETH is not set |
776 | # CONFIG_EEPRO100 is not set | ||
777 | # CONFIG_E100 is not set | 884 | # CONFIG_E100 is not set |
778 | # CONFIG_FEALNX is not set | 885 | # CONFIG_FEALNX is not set |
779 | # CONFIG_NATSEMI is not set | 886 | # CONFIG_NATSEMI is not set |
@@ -783,19 +890,22 @@ CONFIG_NET_PCI=y | |||
783 | # CONFIG_R6040 is not set | 890 | # CONFIG_R6040 is not set |
784 | # CONFIG_SIS900 is not set | 891 | # CONFIG_SIS900 is not set |
785 | # CONFIG_EPIC100 is not set | 892 | # CONFIG_EPIC100 is not set |
893 | # CONFIG_SMSC9420 is not set | ||
786 | # CONFIG_SUNDANCE is not set | 894 | # CONFIG_SUNDANCE is not set |
895 | # CONFIG_TLAN is not set | ||
896 | # CONFIG_KS8842 is not set | ||
897 | # CONFIG_KS8851_MLL is not set | ||
787 | # CONFIG_VIA_RHINE is not set | 898 | # CONFIG_VIA_RHINE is not set |
788 | # CONFIG_SC92031 is not set | 899 | # CONFIG_SC92031 is not set |
900 | # CONFIG_ATL2 is not set | ||
789 | CONFIG_NETDEV_1000=y | 901 | CONFIG_NETDEV_1000=y |
790 | # CONFIG_ACENIC is not set | 902 | # CONFIG_ACENIC is not set |
791 | # CONFIG_DL2K is not set | 903 | # CONFIG_DL2K is not set |
792 | CONFIG_E1000=y | 904 | CONFIG_E1000=y |
793 | CONFIG_E1000_NAPI=y | ||
794 | # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set | ||
795 | # CONFIG_E1000E is not set | 905 | # CONFIG_E1000E is not set |
796 | # CONFIG_E1000E_ENABLED is not set | ||
797 | # CONFIG_IP1000 is not set | 906 | # CONFIG_IP1000 is not set |
798 | # CONFIG_IGB is not set | 907 | # CONFIG_IGB is not set |
908 | # CONFIG_IGBVF is not set | ||
799 | # CONFIG_NS83820 is not set | 909 | # CONFIG_NS83820 is not set |
800 | # CONFIG_HAMACHI is not set | 910 | # CONFIG_HAMACHI is not set |
801 | # CONFIG_YELLOWFIN is not set | 911 | # CONFIG_YELLOWFIN is not set |
@@ -806,30 +916,40 @@ CONFIG_E1000_NAPI=y | |||
806 | # CONFIG_VIA_VELOCITY is not set | 916 | # CONFIG_VIA_VELOCITY is not set |
807 | CONFIG_TIGON3=y | 917 | CONFIG_TIGON3=y |
808 | # CONFIG_BNX2 is not set | 918 | # CONFIG_BNX2 is not set |
919 | # CONFIG_CNIC is not set | ||
809 | # CONFIG_QLA3XXX is not set | 920 | # CONFIG_QLA3XXX is not set |
810 | # CONFIG_ATL1 is not set | 921 | # CONFIG_ATL1 is not set |
922 | # CONFIG_ATL1E is not set | ||
923 | # CONFIG_ATL1C is not set | ||
924 | # CONFIG_JME is not set | ||
811 | CONFIG_NETDEV_10000=y | 925 | CONFIG_NETDEV_10000=y |
812 | # CONFIG_CHELSIO_T1 is not set | 926 | # CONFIG_CHELSIO_T1 is not set |
927 | CONFIG_CHELSIO_T3_DEPENDS=y | ||
813 | # CONFIG_CHELSIO_T3 is not set | 928 | # CONFIG_CHELSIO_T3 is not set |
929 | # CONFIG_ENIC is not set | ||
814 | # CONFIG_IXGBE is not set | 930 | # CONFIG_IXGBE is not set |
815 | # CONFIG_IXGB is not set | 931 | # CONFIG_IXGB is not set |
816 | # CONFIG_S2IO is not set | 932 | # CONFIG_S2IO is not set |
933 | # CONFIG_VXGE is not set | ||
817 | # CONFIG_MYRI10GE is not set | 934 | # CONFIG_MYRI10GE is not set |
818 | # CONFIG_NETXEN_NIC is not set | 935 | # CONFIG_NETXEN_NIC is not set |
819 | # CONFIG_NIU is not set | 936 | # CONFIG_NIU is not set |
820 | CONFIG_PASEMI_MAC=y | 937 | CONFIG_PASEMI_MAC=y |
938 | # CONFIG_MLX4_EN is not set | ||
821 | # CONFIG_MLX4_CORE is not set | 939 | # CONFIG_MLX4_CORE is not set |
822 | # CONFIG_TEHUTI is not set | 940 | # CONFIG_TEHUTI is not set |
823 | # CONFIG_BNX2X is not set | 941 | # CONFIG_BNX2X is not set |
942 | # CONFIG_QLGE is not set | ||
824 | # CONFIG_SFC is not set | 943 | # CONFIG_SFC is not set |
944 | # CONFIG_BE2NET is not set | ||
825 | # CONFIG_TR is not set | 945 | # CONFIG_TR is not set |
946 | CONFIG_WLAN=y | ||
947 | # CONFIG_WLAN_PRE80211 is not set | ||
948 | # CONFIG_WLAN_80211 is not set | ||
826 | 949 | ||
827 | # | 950 | # |
828 | # Wireless LAN | 951 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
829 | # | 952 | # |
830 | # CONFIG_WLAN_PRE80211 is not set | ||
831 | # CONFIG_WLAN_80211 is not set | ||
832 | # CONFIG_IWLWIFI_LEDS is not set | ||
833 | 953 | ||
834 | # | 954 | # |
835 | # USB Network Adapters | 955 | # USB Network Adapters |
@@ -874,17 +994,23 @@ CONFIG_INPUT_EVDEV=y | |||
874 | # Input Device Drivers | 994 | # Input Device Drivers |
875 | # | 995 | # |
876 | CONFIG_INPUT_KEYBOARD=y | 996 | CONFIG_INPUT_KEYBOARD=y |
997 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
877 | # CONFIG_KEYBOARD_ATKBD is not set | 998 | # CONFIG_KEYBOARD_ATKBD is not set |
878 | # CONFIG_KEYBOARD_SUNKBD is not set | 999 | # CONFIG_QT2160 is not set |
879 | # CONFIG_KEYBOARD_LKKBD is not set | 1000 | # CONFIG_KEYBOARD_LKKBD is not set |
880 | # CONFIG_KEYBOARD_XTKBD is not set | 1001 | # CONFIG_KEYBOARD_MAX7359 is not set |
881 | # CONFIG_KEYBOARD_NEWTON is not set | 1002 | # CONFIG_KEYBOARD_NEWTON is not set |
1003 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
882 | # CONFIG_KEYBOARD_STOWAWAY is not set | 1004 | # CONFIG_KEYBOARD_STOWAWAY is not set |
1005 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
1006 | # CONFIG_KEYBOARD_XTKBD is not set | ||
883 | CONFIG_INPUT_MOUSE=y | 1007 | CONFIG_INPUT_MOUSE=y |
884 | # CONFIG_MOUSE_PS2 is not set | 1008 | # CONFIG_MOUSE_PS2 is not set |
885 | # CONFIG_MOUSE_SERIAL is not set | 1009 | # CONFIG_MOUSE_SERIAL is not set |
886 | # CONFIG_MOUSE_APPLETOUCH is not set | 1010 | # CONFIG_MOUSE_APPLETOUCH is not set |
1011 | # CONFIG_MOUSE_BCM5974 is not set | ||
887 | # CONFIG_MOUSE_VSXXXAA is not set | 1012 | # CONFIG_MOUSE_VSXXXAA is not set |
1013 | # CONFIG_MOUSE_SYNAPTICS_I2C is not set | ||
888 | # CONFIG_INPUT_JOYSTICK is not set | 1014 | # CONFIG_INPUT_JOYSTICK is not set |
889 | # CONFIG_INPUT_TABLET is not set | 1015 | # CONFIG_INPUT_TABLET is not set |
890 | # CONFIG_INPUT_TOUCHSCREEN is not set | 1016 | # CONFIG_INPUT_TOUCHSCREEN is not set |
@@ -900,6 +1026,7 @@ CONFIG_INPUT_MOUSE=y | |||
900 | # Character devices | 1026 | # Character devices |
901 | # | 1027 | # |
902 | CONFIG_VT=y | 1028 | CONFIG_VT=y |
1029 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
903 | CONFIG_VT_CONSOLE=y | 1030 | CONFIG_VT_CONSOLE=y |
904 | CONFIG_HW_CONSOLE=y | 1031 | CONFIG_HW_CONSOLE=y |
905 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | 1032 | # CONFIG_VT_HW_CONSOLE_BINDING is not set |
@@ -926,10 +1053,13 @@ CONFIG_SERIAL_CORE_CONSOLE=y | |||
926 | # CONFIG_SERIAL_JSM is not set | 1053 | # CONFIG_SERIAL_JSM is not set |
927 | # CONFIG_SERIAL_OF_PLATFORM is not set | 1054 | # CONFIG_SERIAL_OF_PLATFORM is not set |
928 | CONFIG_UNIX98_PTYS=y | 1055 | CONFIG_UNIX98_PTYS=y |
1056 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
929 | CONFIG_LEGACY_PTYS=y | 1057 | CONFIG_LEGACY_PTYS=y |
930 | CONFIG_LEGACY_PTY_COUNT=4 | 1058 | CONFIG_LEGACY_PTY_COUNT=4 |
1059 | # CONFIG_HVC_UDBG is not set | ||
931 | # CONFIG_IPMI_HANDLER is not set | 1060 | # CONFIG_IPMI_HANDLER is not set |
932 | CONFIG_HW_RANDOM=y | 1061 | CONFIG_HW_RANDOM=y |
1062 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
933 | CONFIG_HW_RANDOM_PASEMI=y | 1063 | CONFIG_HW_RANDOM_PASEMI=y |
934 | # CONFIG_R3964 is not set | 1064 | # CONFIG_R3964 is not set |
935 | # CONFIG_APPLICOM is not set | 1065 | # CONFIG_APPLICOM is not set |
@@ -948,57 +1078,85 @@ CONFIG_MAX_RAW_DEVS=256 | |||
948 | CONFIG_DEVPORT=y | 1078 | CONFIG_DEVPORT=y |
949 | CONFIG_I2C=y | 1079 | CONFIG_I2C=y |
950 | CONFIG_I2C_BOARDINFO=y | 1080 | CONFIG_I2C_BOARDINFO=y |
1081 | CONFIG_I2C_COMPAT=y | ||
951 | CONFIG_I2C_CHARDEV=y | 1082 | CONFIG_I2C_CHARDEV=y |
1083 | CONFIG_I2C_HELPER_AUTO=y | ||
952 | CONFIG_I2C_ALGOBIT=y | 1084 | CONFIG_I2C_ALGOBIT=y |
953 | 1085 | ||
954 | # | 1086 | # |
955 | # I2C Hardware Bus support | 1087 | # I2C Hardware Bus support |
956 | # | 1088 | # |
1089 | |||
1090 | # | ||
1091 | # PC SMBus host controller drivers | ||
1092 | # | ||
957 | # CONFIG_I2C_ALI1535 is not set | 1093 | # CONFIG_I2C_ALI1535 is not set |
958 | # CONFIG_I2C_ALI1563 is not set | 1094 | # CONFIG_I2C_ALI1563 is not set |
959 | # CONFIG_I2C_ALI15X3 is not set | 1095 | # CONFIG_I2C_ALI15X3 is not set |
960 | # CONFIG_I2C_AMD756 is not set | 1096 | # CONFIG_I2C_AMD756 is not set |
961 | # CONFIG_I2C_AMD8111 is not set | 1097 | # CONFIG_I2C_AMD8111 is not set |
962 | # CONFIG_I2C_I801 is not set | 1098 | # CONFIG_I2C_I801 is not set |
963 | # CONFIG_I2C_I810 is not set | 1099 | # CONFIG_I2C_ISCH is not set |
964 | # CONFIG_I2C_PIIX4 is not set | 1100 | # CONFIG_I2C_PIIX4 is not set |
965 | # CONFIG_I2C_NFORCE2 is not set | 1101 | # CONFIG_I2C_NFORCE2 is not set |
966 | # CONFIG_I2C_OCORES is not set | ||
967 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
968 | CONFIG_I2C_PASEMI=y | ||
969 | # CONFIG_I2C_PROSAVAGE is not set | ||
970 | # CONFIG_I2C_SAVAGE4 is not set | ||
971 | # CONFIG_I2C_SIMTEC is not set | ||
972 | # CONFIG_I2C_SIS5595 is not set | 1102 | # CONFIG_I2C_SIS5595 is not set |
973 | # CONFIG_I2C_SIS630 is not set | 1103 | # CONFIG_I2C_SIS630 is not set |
974 | # CONFIG_I2C_SIS96X is not set | 1104 | # CONFIG_I2C_SIS96X is not set |
975 | # CONFIG_I2C_TAOS_EVM is not set | ||
976 | # CONFIG_I2C_STUB is not set | ||
977 | # CONFIG_I2C_TINY_USB is not set | ||
978 | # CONFIG_I2C_VIA is not set | 1105 | # CONFIG_I2C_VIA is not set |
979 | # CONFIG_I2C_VIAPRO is not set | 1106 | # CONFIG_I2C_VIAPRO is not set |
1107 | |||
1108 | # | ||
1109 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1110 | # | ||
1111 | # CONFIG_I2C_OCORES is not set | ||
1112 | CONFIG_I2C_PASEMI=y | ||
1113 | # CONFIG_I2C_SIMTEC is not set | ||
1114 | |||
1115 | # | ||
1116 | # External I2C/SMBus adapter drivers | ||
1117 | # | ||
1118 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1119 | # CONFIG_I2C_TAOS_EVM is not set | ||
1120 | # CONFIG_I2C_TINY_USB is not set | ||
1121 | |||
1122 | # | ||
1123 | # Graphics adapter I2C/DDC channel drivers | ||
1124 | # | ||
980 | # CONFIG_I2C_VOODOO3 is not set | 1125 | # CONFIG_I2C_VOODOO3 is not set |
1126 | |||
1127 | # | ||
1128 | # Other I2C/SMBus bus drivers | ||
1129 | # | ||
981 | # CONFIG_I2C_PCA_PLATFORM is not set | 1130 | # CONFIG_I2C_PCA_PLATFORM is not set |
1131 | # CONFIG_I2C_STUB is not set | ||
982 | 1132 | ||
983 | # | 1133 | # |
984 | # Miscellaneous I2C Chip support | 1134 | # Miscellaneous I2C Chip support |
985 | # | 1135 | # |
986 | # CONFIG_DS1682 is not set | 1136 | # CONFIG_DS1682 is not set |
987 | CONFIG_EEPROM_LEGACY=y | ||
988 | # CONFIG_SENSORS_PCF8574 is not set | ||
989 | # CONFIG_PCF8575 is not set | ||
990 | # CONFIG_SENSORS_PCF8591 is not set | ||
991 | # CONFIG_SENSORS_MAX6875 is not set | ||
992 | # CONFIG_SENSORS_TSL2550 is not set | 1137 | # CONFIG_SENSORS_TSL2550 is not set |
993 | # CONFIG_I2C_DEBUG_CORE is not set | 1138 | # CONFIG_I2C_DEBUG_CORE is not set |
994 | # CONFIG_I2C_DEBUG_ALGO is not set | 1139 | # CONFIG_I2C_DEBUG_ALGO is not set |
995 | # CONFIG_I2C_DEBUG_BUS is not set | 1140 | # CONFIG_I2C_DEBUG_BUS is not set |
996 | # CONFIG_I2C_DEBUG_CHIP is not set | 1141 | # CONFIG_I2C_DEBUG_CHIP is not set |
997 | # CONFIG_SPI is not set | 1142 | # CONFIG_SPI is not set |
1143 | |||
1144 | # | ||
1145 | # PPS support | ||
1146 | # | ||
1147 | # CONFIG_PPS is not set | ||
1148 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
1149 | # CONFIG_GPIOLIB is not set | ||
998 | # CONFIG_W1 is not set | 1150 | # CONFIG_W1 is not set |
999 | # CONFIG_POWER_SUPPLY is not set | 1151 | # CONFIG_POWER_SUPPLY is not set |
1000 | CONFIG_HWMON=y | 1152 | CONFIG_HWMON=y |
1001 | CONFIG_HWMON_VID=y | 1153 | CONFIG_HWMON_VID=y |
1154 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1155 | |||
1156 | # | ||
1157 | # Native drivers | ||
1158 | # | ||
1159 | # CONFIG_SENSORS_AD7414 is not set | ||
1002 | # CONFIG_SENSORS_AD7418 is not set | 1160 | # CONFIG_SENSORS_AD7418 is not set |
1003 | # CONFIG_SENSORS_ADM1021 is not set | 1161 | # CONFIG_SENSORS_ADM1021 is not set |
1004 | # CONFIG_SENSORS_ADM1025 is not set | 1162 | # CONFIG_SENSORS_ADM1025 is not set |
@@ -1006,14 +1164,17 @@ CONFIG_HWMON_VID=y | |||
1006 | # CONFIG_SENSORS_ADM1029 is not set | 1164 | # CONFIG_SENSORS_ADM1029 is not set |
1007 | # CONFIG_SENSORS_ADM1031 is not set | 1165 | # CONFIG_SENSORS_ADM1031 is not set |
1008 | # CONFIG_SENSORS_ADM9240 is not set | 1166 | # CONFIG_SENSORS_ADM9240 is not set |
1167 | # CONFIG_SENSORS_ADT7462 is not set | ||
1009 | # CONFIG_SENSORS_ADT7470 is not set | 1168 | # CONFIG_SENSORS_ADT7470 is not set |
1010 | # CONFIG_SENSORS_ADT7473 is not set | 1169 | # CONFIG_SENSORS_ADT7473 is not set |
1170 | # CONFIG_SENSORS_ADT7475 is not set | ||
1011 | # CONFIG_SENSORS_ATXP1 is not set | 1171 | # CONFIG_SENSORS_ATXP1 is not set |
1012 | # CONFIG_SENSORS_DS1621 is not set | 1172 | # CONFIG_SENSORS_DS1621 is not set |
1013 | # CONFIG_SENSORS_I5K_AMB is not set | 1173 | # CONFIG_SENSORS_I5K_AMB is not set |
1014 | # CONFIG_SENSORS_F71805F is not set | 1174 | # CONFIG_SENSORS_F71805F is not set |
1015 | # CONFIG_SENSORS_F71882FG is not set | 1175 | # CONFIG_SENSORS_F71882FG is not set |
1016 | # CONFIG_SENSORS_F75375S is not set | 1176 | # CONFIG_SENSORS_F75375S is not set |
1177 | # CONFIG_SENSORS_G760A is not set | ||
1017 | # CONFIG_SENSORS_GL518SM is not set | 1178 | # CONFIG_SENSORS_GL518SM is not set |
1018 | # CONFIG_SENSORS_GL520SM is not set | 1179 | # CONFIG_SENSORS_GL520SM is not set |
1019 | # CONFIG_SENSORS_IT87 is not set | 1180 | # CONFIG_SENSORS_IT87 is not set |
@@ -1028,10 +1189,14 @@ CONFIG_SENSORS_LM85=y | |||
1028 | CONFIG_SENSORS_LM90=y | 1189 | CONFIG_SENSORS_LM90=y |
1029 | # CONFIG_SENSORS_LM92 is not set | 1190 | # CONFIG_SENSORS_LM92 is not set |
1030 | # CONFIG_SENSORS_LM93 is not set | 1191 | # CONFIG_SENSORS_LM93 is not set |
1192 | # CONFIG_SENSORS_LTC4215 is not set | ||
1193 | # CONFIG_SENSORS_LTC4245 is not set | ||
1194 | # CONFIG_SENSORS_LM95241 is not set | ||
1031 | # CONFIG_SENSORS_MAX1619 is not set | 1195 | # CONFIG_SENSORS_MAX1619 is not set |
1032 | # CONFIG_SENSORS_MAX6650 is not set | 1196 | # CONFIG_SENSORS_MAX6650 is not set |
1033 | # CONFIG_SENSORS_PC87360 is not set | 1197 | # CONFIG_SENSORS_PC87360 is not set |
1034 | # CONFIG_SENSORS_PC87427 is not set | 1198 | # CONFIG_SENSORS_PC87427 is not set |
1199 | # CONFIG_SENSORS_PCF8591 is not set | ||
1035 | # CONFIG_SENSORS_SIS5595 is not set | 1200 | # CONFIG_SENSORS_SIS5595 is not set |
1036 | # CONFIG_SENSORS_DME1737 is not set | 1201 | # CONFIG_SENSORS_DME1737 is not set |
1037 | # CONFIG_SENSORS_SMSC47M1 is not set | 1202 | # CONFIG_SENSORS_SMSC47M1 is not set |
@@ -1039,6 +1204,8 @@ CONFIG_SENSORS_LM90=y | |||
1039 | # CONFIG_SENSORS_SMSC47B397 is not set | 1204 | # CONFIG_SENSORS_SMSC47B397 is not set |
1040 | # CONFIG_SENSORS_ADS7828 is not set | 1205 | # CONFIG_SENSORS_ADS7828 is not set |
1041 | # CONFIG_SENSORS_THMC50 is not set | 1206 | # CONFIG_SENSORS_THMC50 is not set |
1207 | # CONFIG_SENSORS_TMP401 is not set | ||
1208 | # CONFIG_SENSORS_TMP421 is not set | ||
1042 | # CONFIG_SENSORS_VIA686A is not set | 1209 | # CONFIG_SENSORS_VIA686A is not set |
1043 | # CONFIG_SENSORS_VT1211 is not set | 1210 | # CONFIG_SENSORS_VT1211 is not set |
1044 | # CONFIG_SENSORS_VT8231 is not set | 1211 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1050,44 +1217,40 @@ CONFIG_SENSORS_LM90=y | |||
1050 | # CONFIG_SENSORS_W83L786NG is not set | 1217 | # CONFIG_SENSORS_W83L786NG is not set |
1051 | # CONFIG_SENSORS_W83627HF is not set | 1218 | # CONFIG_SENSORS_W83627HF is not set |
1052 | # CONFIG_SENSORS_W83627EHF is not set | 1219 | # CONFIG_SENSORS_W83627EHF is not set |
1053 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1054 | # CONFIG_THERMAL is not set | 1220 | # CONFIG_THERMAL is not set |
1055 | # CONFIG_WATCHDOG is not set | 1221 | # CONFIG_WATCHDOG is not set |
1222 | CONFIG_SSB_POSSIBLE=y | ||
1056 | 1223 | ||
1057 | # | 1224 | # |
1058 | # Sonics Silicon Backplane | 1225 | # Sonics Silicon Backplane |
1059 | # | 1226 | # |
1060 | CONFIG_SSB_POSSIBLE=y | ||
1061 | # CONFIG_SSB is not set | 1227 | # CONFIG_SSB is not set |
1062 | 1228 | ||
1063 | # | 1229 | # |
1064 | # Multifunction device drivers | 1230 | # Multifunction device drivers |
1065 | # | 1231 | # |
1232 | # CONFIG_MFD_CORE is not set | ||
1066 | # CONFIG_MFD_SM501 is not set | 1233 | # CONFIG_MFD_SM501 is not set |
1067 | # CONFIG_HTC_PASIC3 is not set | 1234 | # CONFIG_HTC_PASIC3 is not set |
1068 | 1235 | # CONFIG_TWL4030_CORE is not set | |
1069 | # | 1236 | # CONFIG_MFD_TMIO is not set |
1070 | # Multimedia devices | 1237 | # CONFIG_PMIC_DA903X is not set |
1071 | # | 1238 | # CONFIG_MFD_WM8400 is not set |
1072 | 1239 | # CONFIG_MFD_WM831X is not set | |
1073 | # | 1240 | # CONFIG_MFD_WM8350_I2C is not set |
1074 | # Multimedia core support | 1241 | # CONFIG_MFD_PCF50633 is not set |
1075 | # | 1242 | # CONFIG_AB3100_CORE is not set |
1076 | # CONFIG_VIDEO_DEV is not set | 1243 | # CONFIG_REGULATOR is not set |
1077 | # CONFIG_DVB_CORE is not set | 1244 | # CONFIG_MEDIA_SUPPORT is not set |
1078 | # CONFIG_VIDEO_MEDIA is not set | ||
1079 | |||
1080 | # | ||
1081 | # Multimedia drivers | ||
1082 | # | ||
1083 | CONFIG_DAB=y | ||
1084 | # CONFIG_USB_DABUSB is not set | ||
1085 | 1245 | ||
1086 | # | 1246 | # |
1087 | # Graphics support | 1247 | # Graphics support |
1088 | # | 1248 | # |
1089 | # CONFIG_AGP is not set | 1249 | # CONFIG_AGP is not set |
1250 | CONFIG_VGA_ARB=y | ||
1090 | CONFIG_DRM=y | 1251 | CONFIG_DRM=y |
1252 | CONFIG_DRM_KMS_HELPER=y | ||
1253 | CONFIG_DRM_TTM=y | ||
1091 | # CONFIG_DRM_TDFX is not set | 1254 | # CONFIG_DRM_TDFX is not set |
1092 | # CONFIG_DRM_R128 is not set | 1255 | # CONFIG_DRM_R128 is not set |
1093 | CONFIG_DRM_RADEON=y | 1256 | CONFIG_DRM_RADEON=y |
@@ -1099,6 +1262,7 @@ CONFIG_VGASTATE=y | |||
1099 | CONFIG_FB=y | 1262 | CONFIG_FB=y |
1100 | CONFIG_FIRMWARE_EDID=y | 1263 | CONFIG_FIRMWARE_EDID=y |
1101 | CONFIG_FB_DDC=y | 1264 | CONFIG_FB_DDC=y |
1265 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1102 | CONFIG_FB_CFB_FILLRECT=y | 1266 | CONFIG_FB_CFB_FILLRECT=y |
1103 | CONFIG_FB_CFB_COPYAREA=y | 1267 | CONFIG_FB_CFB_COPYAREA=y |
1104 | CONFIG_FB_CFB_IMAGEBLIT=y | 1268 | CONFIG_FB_CFB_IMAGEBLIT=y |
@@ -1140,6 +1304,7 @@ CONFIG_FB_RADEON_BACKLIGHT=y | |||
1140 | # CONFIG_FB_S3 is not set | 1304 | # CONFIG_FB_S3 is not set |
1141 | # CONFIG_FB_SAVAGE is not set | 1305 | # CONFIG_FB_SAVAGE is not set |
1142 | # CONFIG_FB_SIS is not set | 1306 | # CONFIG_FB_SIS is not set |
1307 | # CONFIG_FB_VIA is not set | ||
1143 | # CONFIG_FB_NEOMAGIC is not set | 1308 | # CONFIG_FB_NEOMAGIC is not set |
1144 | # CONFIG_FB_KYRO is not set | 1309 | # CONFIG_FB_KYRO is not set |
1145 | # CONFIG_FB_3DFX is not set | 1310 | # CONFIG_FB_3DFX is not set |
@@ -1148,12 +1313,16 @@ CONFIG_FB_RADEON_BACKLIGHT=y | |||
1148 | # CONFIG_FB_TRIDENT is not set | 1313 | # CONFIG_FB_TRIDENT is not set |
1149 | # CONFIG_FB_ARK is not set | 1314 | # CONFIG_FB_ARK is not set |
1150 | # CONFIG_FB_PM3 is not set | 1315 | # CONFIG_FB_PM3 is not set |
1316 | # CONFIG_FB_CARMINE is not set | ||
1151 | # CONFIG_FB_IBM_GXT4500 is not set | 1317 | # CONFIG_FB_IBM_GXT4500 is not set |
1152 | # CONFIG_FB_VIRTUAL is not set | 1318 | # CONFIG_FB_VIRTUAL is not set |
1319 | # CONFIG_FB_METRONOME is not set | ||
1320 | # CONFIG_FB_MB862XX is not set | ||
1321 | # CONFIG_FB_BROADSHEET is not set | ||
1153 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 1322 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
1154 | # CONFIG_LCD_CLASS_DEVICE is not set | 1323 | # CONFIG_LCD_CLASS_DEVICE is not set |
1155 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | 1324 | CONFIG_BACKLIGHT_CLASS_DEVICE=y |
1156 | # CONFIG_BACKLIGHT_CORGI is not set | 1325 | CONFIG_BACKLIGHT_GENERIC=y |
1157 | 1326 | ||
1158 | # | 1327 | # |
1159 | # Display device support | 1328 | # Display device support |
@@ -1177,15 +1346,9 @@ CONFIG_LOGO=y | |||
1177 | CONFIG_LOGO_LINUX_MONO=y | 1346 | CONFIG_LOGO_LINUX_MONO=y |
1178 | CONFIG_LOGO_LINUX_VGA16=y | 1347 | CONFIG_LOGO_LINUX_VGA16=y |
1179 | CONFIG_LOGO_LINUX_CLUT224=y | 1348 | CONFIG_LOGO_LINUX_CLUT224=y |
1180 | |||
1181 | # | ||
1182 | # Sound | ||
1183 | # | ||
1184 | CONFIG_SOUND=y | 1349 | CONFIG_SOUND=y |
1185 | 1350 | CONFIG_SOUND_OSS_CORE=y | |
1186 | # | 1351 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y |
1187 | # Advanced Linux Sound Architecture | ||
1188 | # | ||
1189 | CONFIG_SND=y | 1352 | CONFIG_SND=y |
1190 | CONFIG_SND_TIMER=y | 1353 | CONFIG_SND_TIMER=y |
1191 | CONFIG_SND_PCM=y | 1354 | CONFIG_SND_PCM=y |
@@ -1198,24 +1361,24 @@ CONFIG_SND_MIXER_OSS=y | |||
1198 | CONFIG_SND_PCM_OSS=y | 1361 | CONFIG_SND_PCM_OSS=y |
1199 | CONFIG_SND_PCM_OSS_PLUGINS=y | 1362 | CONFIG_SND_PCM_OSS_PLUGINS=y |
1200 | CONFIG_SND_SEQUENCER_OSS=y | 1363 | CONFIG_SND_SEQUENCER_OSS=y |
1364 | # CONFIG_SND_HRTIMER is not set | ||
1201 | # CONFIG_SND_DYNAMIC_MINORS is not set | 1365 | # CONFIG_SND_DYNAMIC_MINORS is not set |
1202 | CONFIG_SND_SUPPORT_OLD_API=y | 1366 | CONFIG_SND_SUPPORT_OLD_API=y |
1203 | CONFIG_SND_VERBOSE_PROCFS=y | 1367 | CONFIG_SND_VERBOSE_PROCFS=y |
1204 | # CONFIG_SND_VERBOSE_PRINTK is not set | 1368 | # CONFIG_SND_VERBOSE_PRINTK is not set |
1205 | # CONFIG_SND_DEBUG is not set | 1369 | # CONFIG_SND_DEBUG is not set |
1206 | 1370 | CONFIG_SND_RAWMIDI_SEQ=y | |
1207 | # | 1371 | # CONFIG_SND_OPL3_LIB_SEQ is not set |
1208 | # Generic devices | 1372 | # CONFIG_SND_OPL4_LIB_SEQ is not set |
1209 | # | 1373 | # CONFIG_SND_SBAWE_SEQ is not set |
1374 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1375 | CONFIG_SND_DRIVERS=y | ||
1210 | # CONFIG_SND_DUMMY is not set | 1376 | # CONFIG_SND_DUMMY is not set |
1211 | # CONFIG_SND_VIRMIDI is not set | 1377 | # CONFIG_SND_VIRMIDI is not set |
1212 | # CONFIG_SND_MTPAV is not set | 1378 | # CONFIG_SND_MTPAV is not set |
1213 | # CONFIG_SND_SERIAL_U16550 is not set | 1379 | # CONFIG_SND_SERIAL_U16550 is not set |
1214 | # CONFIG_SND_MPU401 is not set | 1380 | # CONFIG_SND_MPU401 is not set |
1215 | 1381 | CONFIG_SND_PCI=y | |
1216 | # | ||
1217 | # PCI devices | ||
1218 | # | ||
1219 | # CONFIG_SND_AD1889 is not set | 1382 | # CONFIG_SND_AD1889 is not set |
1220 | # CONFIG_SND_ALS300 is not set | 1383 | # CONFIG_SND_ALS300 is not set |
1221 | # CONFIG_SND_ALS4000 is not set | 1384 | # CONFIG_SND_ALS4000 is not set |
@@ -1234,6 +1397,7 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
1234 | # CONFIG_SND_CS4281 is not set | 1397 | # CONFIG_SND_CS4281 is not set |
1235 | # CONFIG_SND_CS46XX is not set | 1398 | # CONFIG_SND_CS46XX is not set |
1236 | # CONFIG_SND_CS5530 is not set | 1399 | # CONFIG_SND_CS5530 is not set |
1400 | # CONFIG_SND_CTXFI is not set | ||
1237 | # CONFIG_SND_DARLA20 is not set | 1401 | # CONFIG_SND_DARLA20 is not set |
1238 | # CONFIG_SND_GINA20 is not set | 1402 | # CONFIG_SND_GINA20 is not set |
1239 | # CONFIG_SND_LAYLA20 is not set | 1403 | # CONFIG_SND_LAYLA20 is not set |
@@ -1246,6 +1410,8 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
1246 | # CONFIG_SND_INDIGO is not set | 1410 | # CONFIG_SND_INDIGO is not set |
1247 | # CONFIG_SND_INDIGOIO is not set | 1411 | # CONFIG_SND_INDIGOIO is not set |
1248 | # CONFIG_SND_INDIGODJ is not set | 1412 | # CONFIG_SND_INDIGODJ is not set |
1413 | # CONFIG_SND_INDIGOIOX is not set | ||
1414 | # CONFIG_SND_INDIGODJX is not set | ||
1249 | # CONFIG_SND_EMU10K1 is not set | 1415 | # CONFIG_SND_EMU10K1 is not set |
1250 | # CONFIG_SND_EMU10K1X is not set | 1416 | # CONFIG_SND_EMU10K1X is not set |
1251 | # CONFIG_SND_ENS1370 is not set | 1417 | # CONFIG_SND_ENS1370 is not set |
@@ -1262,6 +1428,7 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
1262 | # CONFIG_SND_INTEL8X0 is not set | 1428 | # CONFIG_SND_INTEL8X0 is not set |
1263 | # CONFIG_SND_INTEL8X0M is not set | 1429 | # CONFIG_SND_INTEL8X0M is not set |
1264 | # CONFIG_SND_KORG1212 is not set | 1430 | # CONFIG_SND_KORG1212 is not set |
1431 | # CONFIG_SND_LX6464ES is not set | ||
1265 | # CONFIG_SND_MAESTRO3 is not set | 1432 | # CONFIG_SND_MAESTRO3 is not set |
1266 | # CONFIG_SND_MIXART is not set | 1433 | # CONFIG_SND_MIXART is not set |
1267 | # CONFIG_SND_NM256 is not set | 1434 | # CONFIG_SND_NM256 is not set |
@@ -1277,57 +1444,64 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
1277 | # CONFIG_SND_VIRTUOSO is not set | 1444 | # CONFIG_SND_VIRTUOSO is not set |
1278 | # CONFIG_SND_VX222 is not set | 1445 | # CONFIG_SND_VX222 is not set |
1279 | # CONFIG_SND_YMFPCI is not set | 1446 | # CONFIG_SND_YMFPCI is not set |
1280 | 1447 | CONFIG_SND_PPC=y | |
1281 | # | 1448 | CONFIG_SND_USB=y |
1282 | # ALSA PowerMac devices | ||
1283 | # | ||
1284 | |||
1285 | # | ||
1286 | # ALSA PowerPC devices | ||
1287 | # | ||
1288 | |||
1289 | # | ||
1290 | # USB devices | ||
1291 | # | ||
1292 | CONFIG_SND_USB_AUDIO=y | 1449 | CONFIG_SND_USB_AUDIO=y |
1293 | CONFIG_SND_USB_USX2Y=y | 1450 | CONFIG_SND_USB_USX2Y=y |
1294 | # CONFIG_SND_USB_CAIAQ is not set | 1451 | # CONFIG_SND_USB_CAIAQ is not set |
1295 | 1452 | CONFIG_SND_PCMCIA=y | |
1296 | # | ||
1297 | # PCMCIA devices | ||
1298 | # | ||
1299 | # CONFIG_SND_VXPOCKET is not set | 1453 | # CONFIG_SND_VXPOCKET is not set |
1300 | # CONFIG_SND_PDAUDIOCF is not set | 1454 | # CONFIG_SND_PDAUDIOCF is not set |
1301 | |||
1302 | # | ||
1303 | # System on Chip audio support | ||
1304 | # | ||
1305 | # CONFIG_SND_SOC is not set | 1455 | # CONFIG_SND_SOC is not set |
1306 | |||
1307 | # | ||
1308 | # ALSA SoC audio for Freescale SOCs | ||
1309 | # | ||
1310 | |||
1311 | # | ||
1312 | # SoC Audio for the Texas Instruments OMAP | ||
1313 | # | ||
1314 | |||
1315 | # | ||
1316 | # Open Sound System | ||
1317 | # | ||
1318 | # CONFIG_SOUND_PRIME is not set | 1456 | # CONFIG_SOUND_PRIME is not set |
1319 | CONFIG_HID_SUPPORT=y | 1457 | CONFIG_HID_SUPPORT=y |
1320 | CONFIG_HID=y | 1458 | CONFIG_HID=y |
1321 | # CONFIG_HID_DEBUG is not set | ||
1322 | # CONFIG_HIDRAW is not set | 1459 | # CONFIG_HIDRAW is not set |
1323 | 1460 | ||
1324 | # | 1461 | # |
1325 | # USB Input Devices | 1462 | # USB Input Devices |
1326 | # | 1463 | # |
1327 | CONFIG_USB_HID=y | 1464 | CONFIG_USB_HID=y |
1328 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | 1465 | # CONFIG_HID_PID is not set |
1329 | # CONFIG_HID_FF is not set | ||
1330 | # CONFIG_USB_HIDDEV is not set | 1466 | # CONFIG_USB_HIDDEV is not set |
1467 | |||
1468 | # | ||
1469 | # Special HID drivers | ||
1470 | # | ||
1471 | CONFIG_HID_A4TECH=y | ||
1472 | CONFIG_HID_APPLE=y | ||
1473 | CONFIG_HID_BELKIN=y | ||
1474 | CONFIG_HID_CHERRY=y | ||
1475 | CONFIG_HID_CHICONY=y | ||
1476 | CONFIG_HID_CYPRESS=y | ||
1477 | CONFIG_HID_DRAGONRISE=y | ||
1478 | # CONFIG_DRAGONRISE_FF is not set | ||
1479 | CONFIG_HID_EZKEY=y | ||
1480 | CONFIG_HID_KYE=y | ||
1481 | CONFIG_HID_GYRATION=y | ||
1482 | CONFIG_HID_TWINHAN=y | ||
1483 | CONFIG_HID_KENSINGTON=y | ||
1484 | CONFIG_HID_LOGITECH=y | ||
1485 | # CONFIG_LOGITECH_FF is not set | ||
1486 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
1487 | CONFIG_HID_MICROSOFT=y | ||
1488 | CONFIG_HID_MONTEREY=y | ||
1489 | CONFIG_HID_NTRIG=y | ||
1490 | CONFIG_HID_PANTHERLORD=y | ||
1491 | # CONFIG_PANTHERLORD_FF is not set | ||
1492 | CONFIG_HID_PETALYNX=y | ||
1493 | CONFIG_HID_SAMSUNG=y | ||
1494 | CONFIG_HID_SONY=y | ||
1495 | CONFIG_HID_SUNPLUS=y | ||
1496 | CONFIG_HID_GREENASIA=y | ||
1497 | # CONFIG_GREENASIA_FF is not set | ||
1498 | CONFIG_HID_SMARTJOYPLUS=y | ||
1499 | # CONFIG_SMARTJOYPLUS_FF is not set | ||
1500 | CONFIG_HID_TOPSEED=y | ||
1501 | CONFIG_HID_THRUSTMASTER=y | ||
1502 | # CONFIG_THRUSTMASTER_FF is not set | ||
1503 | CONFIG_HID_ZEROPLUS=y | ||
1504 | # CONFIG_ZEROPLUS_FF is not set | ||
1331 | CONFIG_USB_SUPPORT=y | 1505 | CONFIG_USB_SUPPORT=y |
1332 | CONFIG_USB_ARCH_HAS_HCD=y | 1506 | CONFIG_USB_ARCH_HAS_HCD=y |
1333 | CONFIG_USB_ARCH_HAS_OHCI=y | 1507 | CONFIG_USB_ARCH_HAS_OHCI=y |
@@ -1343,18 +1517,26 @@ CONFIG_USB_DEVICEFS=y | |||
1343 | # CONFIG_USB_DEVICE_CLASS is not set | 1517 | # CONFIG_USB_DEVICE_CLASS is not set |
1344 | # CONFIG_USB_DYNAMIC_MINORS is not set | 1518 | # CONFIG_USB_DYNAMIC_MINORS is not set |
1345 | # CONFIG_USB_OTG is not set | 1519 | # CONFIG_USB_OTG is not set |
1520 | # CONFIG_USB_MON is not set | ||
1521 | # CONFIG_USB_WUSB is not set | ||
1522 | # CONFIG_USB_WUSB_CBAF is not set | ||
1346 | 1523 | ||
1347 | # | 1524 | # |
1348 | # USB Host Controller Drivers | 1525 | # USB Host Controller Drivers |
1349 | # | 1526 | # |
1350 | # CONFIG_USB_C67X00_HCD is not set | 1527 | # CONFIG_USB_C67X00_HCD is not set |
1528 | # CONFIG_USB_XHCI_HCD is not set | ||
1351 | CONFIG_USB_EHCI_HCD=y | 1529 | CONFIG_USB_EHCI_HCD=y |
1352 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | 1530 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set |
1353 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | 1531 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set |
1354 | CONFIG_USB_EHCI_HCD_PPC_OF=y | 1532 | CONFIG_USB_EHCI_HCD_PPC_OF=y |
1533 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1355 | # CONFIG_USB_ISP116X_HCD is not set | 1534 | # CONFIG_USB_ISP116X_HCD is not set |
1356 | # CONFIG_USB_ISP1760_HCD is not set | 1535 | # CONFIG_USB_ISP1760_HCD is not set |
1536 | # CONFIG_USB_ISP1362_HCD is not set | ||
1357 | CONFIG_USB_OHCI_HCD=y | 1537 | CONFIG_USB_OHCI_HCD=y |
1538 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | ||
1539 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | ||
1358 | # CONFIG_USB_OHCI_HCD_PPC_OF is not set | 1540 | # CONFIG_USB_OHCI_HCD_PPC_OF is not set |
1359 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | 1541 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set |
1360 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | 1542 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set |
@@ -1363,6 +1545,8 @@ CONFIG_USB_UHCI_HCD=y | |||
1363 | CONFIG_USB_SL811_HCD=y | 1545 | CONFIG_USB_SL811_HCD=y |
1364 | # CONFIG_USB_SL811_CS is not set | 1546 | # CONFIG_USB_SL811_CS is not set |
1365 | # CONFIG_USB_R8A66597_HCD is not set | 1547 | # CONFIG_USB_R8A66597_HCD is not set |
1548 | # CONFIG_USB_WHCI_HCD is not set | ||
1549 | # CONFIG_USB_HWA_HCD is not set | ||
1366 | 1550 | ||
1367 | # | 1551 | # |
1368 | # USB Device Class drivers | 1552 | # USB Device Class drivers |
@@ -1370,20 +1554,20 @@ CONFIG_USB_SL811_HCD=y | |||
1370 | # CONFIG_USB_ACM is not set | 1554 | # CONFIG_USB_ACM is not set |
1371 | # CONFIG_USB_PRINTER is not set | 1555 | # CONFIG_USB_PRINTER is not set |
1372 | # CONFIG_USB_WDM is not set | 1556 | # CONFIG_USB_WDM is not set |
1557 | # CONFIG_USB_TMC is not set | ||
1373 | 1558 | ||
1374 | # | 1559 | # |
1375 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 1560 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
1376 | # | 1561 | # |
1377 | 1562 | ||
1378 | # | 1563 | # |
1379 | # may also be needed; see USB_STORAGE Help for more information | 1564 | # also be needed; see USB_STORAGE Help for more info |
1380 | # | 1565 | # |
1381 | CONFIG_USB_STORAGE=y | 1566 | CONFIG_USB_STORAGE=y |
1382 | # CONFIG_USB_STORAGE_DEBUG is not set | 1567 | # CONFIG_USB_STORAGE_DEBUG is not set |
1383 | # CONFIG_USB_STORAGE_DATAFAB is not set | 1568 | # CONFIG_USB_STORAGE_DATAFAB is not set |
1384 | # CONFIG_USB_STORAGE_FREECOM is not set | 1569 | # CONFIG_USB_STORAGE_FREECOM is not set |
1385 | # CONFIG_USB_STORAGE_ISD200 is not set | 1570 | # CONFIG_USB_STORAGE_ISD200 is not set |
1386 | # CONFIG_USB_STORAGE_DPCM is not set | ||
1387 | # CONFIG_USB_STORAGE_USBAT is not set | 1571 | # CONFIG_USB_STORAGE_USBAT is not set |
1388 | # CONFIG_USB_STORAGE_SDDR09 is not set | 1572 | # CONFIG_USB_STORAGE_SDDR09 is not set |
1389 | # CONFIG_USB_STORAGE_SDDR55 is not set | 1573 | # CONFIG_USB_STORAGE_SDDR55 is not set |
@@ -1399,7 +1583,6 @@ CONFIG_USB_LIBUSUAL=y | |||
1399 | # | 1583 | # |
1400 | # CONFIG_USB_MDC800 is not set | 1584 | # CONFIG_USB_MDC800 is not set |
1401 | # CONFIG_USB_MICROTEK is not set | 1585 | # CONFIG_USB_MICROTEK is not set |
1402 | # CONFIG_USB_MON is not set | ||
1403 | 1586 | ||
1404 | # | 1587 | # |
1405 | # USB port drivers | 1588 | # USB port drivers |
@@ -1412,7 +1595,7 @@ CONFIG_USB_LIBUSUAL=y | |||
1412 | # CONFIG_USB_EMI62 is not set | 1595 | # CONFIG_USB_EMI62 is not set |
1413 | # CONFIG_USB_EMI26 is not set | 1596 | # CONFIG_USB_EMI26 is not set |
1414 | # CONFIG_USB_ADUTUX is not set | 1597 | # CONFIG_USB_ADUTUX is not set |
1415 | # CONFIG_USB_AUERSWALD is not set | 1598 | # CONFIG_USB_SEVSEG is not set |
1416 | # CONFIG_USB_RIO500 is not set | 1599 | # CONFIG_USB_RIO500 is not set |
1417 | # CONFIG_USB_LEGOTOWER is not set | 1600 | # CONFIG_USB_LEGOTOWER is not set |
1418 | # CONFIG_USB_LCD is not set | 1601 | # CONFIG_USB_LCD is not set |
@@ -1420,7 +1603,6 @@ CONFIG_USB_LIBUSUAL=y | |||
1420 | # CONFIG_USB_LED is not set | 1603 | # CONFIG_USB_LED is not set |
1421 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1604 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
1422 | # CONFIG_USB_CYTHERM is not set | 1605 | # CONFIG_USB_CYTHERM is not set |
1423 | # CONFIG_USB_PHIDGET is not set | ||
1424 | # CONFIG_USB_IDMOUSE is not set | 1606 | # CONFIG_USB_IDMOUSE is not set |
1425 | # CONFIG_USB_FTDI_ELAN is not set | 1607 | # CONFIG_USB_FTDI_ELAN is not set |
1426 | # CONFIG_USB_APPLEDISPLAY is not set | 1608 | # CONFIG_USB_APPLEDISPLAY is not set |
@@ -1429,7 +1611,15 @@ CONFIG_USB_LIBUSUAL=y | |||
1429 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1611 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1430 | # CONFIG_USB_IOWARRIOR is not set | 1612 | # CONFIG_USB_IOWARRIOR is not set |
1431 | # CONFIG_USB_TEST is not set | 1613 | # CONFIG_USB_TEST is not set |
1614 | # CONFIG_USB_ISIGHTFW is not set | ||
1615 | # CONFIG_USB_VST is not set | ||
1432 | # CONFIG_USB_GADGET is not set | 1616 | # CONFIG_USB_GADGET is not set |
1617 | |||
1618 | # | ||
1619 | # OTG and related infrastructure | ||
1620 | # | ||
1621 | # CONFIG_NOP_USB_XCEIV is not set | ||
1622 | # CONFIG_UWB is not set | ||
1433 | # CONFIG_MMC is not set | 1623 | # CONFIG_MMC is not set |
1434 | # CONFIG_MEMSTICK is not set | 1624 | # CONFIG_MEMSTICK is not set |
1435 | # CONFIG_NEW_LEDS is not set | 1625 | # CONFIG_NEW_LEDS is not set |
@@ -1443,6 +1633,7 @@ CONFIG_EDAC=y | |||
1443 | # CONFIG_EDAC_DEBUG is not set | 1633 | # CONFIG_EDAC_DEBUG is not set |
1444 | CONFIG_EDAC_MM_EDAC=y | 1634 | CONFIG_EDAC_MM_EDAC=y |
1445 | CONFIG_EDAC_PASEMI=y | 1635 | CONFIG_EDAC_PASEMI=y |
1636 | # CONFIG_EDAC_CPC925 is not set | ||
1446 | CONFIG_RTC_LIB=y | 1637 | CONFIG_RTC_LIB=y |
1447 | CONFIG_RTC_CLASS=y | 1638 | CONFIG_RTC_CLASS=y |
1448 | CONFIG_RTC_HCTOSYS=y | 1639 | CONFIG_RTC_HCTOSYS=y |
@@ -1472,6 +1663,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
1472 | # CONFIG_RTC_DRV_PCF8583 is not set | 1663 | # CONFIG_RTC_DRV_PCF8583 is not set |
1473 | # CONFIG_RTC_DRV_M41T80 is not set | 1664 | # CONFIG_RTC_DRV_M41T80 is not set |
1474 | # CONFIG_RTC_DRV_S35390A is not set | 1665 | # CONFIG_RTC_DRV_S35390A is not set |
1666 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1667 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1668 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1475 | 1669 | ||
1476 | # | 1670 | # |
1477 | # SPI RTC drivers | 1671 | # SPI RTC drivers |
@@ -1481,21 +1675,31 @@ CONFIG_RTC_DRV_DS1307=y | |||
1481 | # Platform RTC drivers | 1675 | # Platform RTC drivers |
1482 | # | 1676 | # |
1483 | # CONFIG_RTC_DRV_CMOS is not set | 1677 | # CONFIG_RTC_DRV_CMOS is not set |
1678 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1484 | # CONFIG_RTC_DRV_DS1511 is not set | 1679 | # CONFIG_RTC_DRV_DS1511 is not set |
1485 | # CONFIG_RTC_DRV_DS1553 is not set | 1680 | # CONFIG_RTC_DRV_DS1553 is not set |
1486 | # CONFIG_RTC_DRV_DS1742 is not set | 1681 | # CONFIG_RTC_DRV_DS1742 is not set |
1487 | # CONFIG_RTC_DRV_STK17TA8 is not set | 1682 | # CONFIG_RTC_DRV_STK17TA8 is not set |
1488 | # CONFIG_RTC_DRV_M48T86 is not set | 1683 | # CONFIG_RTC_DRV_M48T86 is not set |
1684 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1489 | # CONFIG_RTC_DRV_M48T59 is not set | 1685 | # CONFIG_RTC_DRV_M48T59 is not set |
1686 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1490 | # CONFIG_RTC_DRV_V3020 is not set | 1687 | # CONFIG_RTC_DRV_V3020 is not set |
1491 | 1688 | ||
1492 | # | 1689 | # |
1493 | # on-CPU RTC drivers | 1690 | # on-CPU RTC drivers |
1494 | # | 1691 | # |
1692 | # CONFIG_RTC_DRV_GENERIC is not set | ||
1495 | # CONFIG_DMADEVICES is not set | 1693 | # CONFIG_DMADEVICES is not set |
1694 | # CONFIG_AUXDISPLAY is not set | ||
1496 | # CONFIG_UIO is not set | 1695 | # CONFIG_UIO is not set |
1497 | 1696 | ||
1498 | # | 1697 | # |
1698 | # TI VLYNQ | ||
1699 | # | ||
1700 | # CONFIG_STAGING is not set | ||
1701 | |||
1702 | # | ||
1499 | # File systems | 1703 | # File systems |
1500 | # | 1704 | # |
1501 | CONFIG_EXT2_FS=y | 1705 | CONFIG_EXT2_FS=y |
@@ -1504,11 +1708,13 @@ CONFIG_EXT2_FS_POSIX_ACL=y | |||
1504 | # CONFIG_EXT2_FS_SECURITY is not set | 1708 | # CONFIG_EXT2_FS_SECURITY is not set |
1505 | # CONFIG_EXT2_FS_XIP is not set | 1709 | # CONFIG_EXT2_FS_XIP is not set |
1506 | CONFIG_EXT3_FS=y | 1710 | CONFIG_EXT3_FS=y |
1711 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
1507 | CONFIG_EXT3_FS_XATTR=y | 1712 | CONFIG_EXT3_FS_XATTR=y |
1508 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1713 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
1509 | # CONFIG_EXT3_FS_SECURITY is not set | 1714 | # CONFIG_EXT3_FS_SECURITY is not set |
1510 | # CONFIG_EXT4DEV_FS is not set | 1715 | # CONFIG_EXT4_FS is not set |
1511 | CONFIG_JBD=y | 1716 | CONFIG_JBD=y |
1717 | # CONFIG_JBD_DEBUG is not set | ||
1512 | CONFIG_FS_MBCACHE=y | 1718 | CONFIG_FS_MBCACHE=y |
1513 | # CONFIG_REISERFS_FS is not set | 1719 | # CONFIG_REISERFS_FS is not set |
1514 | # CONFIG_JFS_FS is not set | 1720 | # CONFIG_JFS_FS is not set |
@@ -1516,6 +1722,10 @@ CONFIG_FS_POSIX_ACL=y | |||
1516 | # CONFIG_XFS_FS is not set | 1722 | # CONFIG_XFS_FS is not set |
1517 | # CONFIG_GFS2_FS is not set | 1723 | # CONFIG_GFS2_FS is not set |
1518 | # CONFIG_OCFS2_FS is not set | 1724 | # CONFIG_OCFS2_FS is not set |
1725 | # CONFIG_BTRFS_FS is not set | ||
1726 | # CONFIG_NILFS2_FS is not set | ||
1727 | CONFIG_FILE_LOCKING=y | ||
1728 | CONFIG_FSNOTIFY=y | ||
1519 | CONFIG_DNOTIFY=y | 1729 | CONFIG_DNOTIFY=y |
1520 | CONFIG_INOTIFY=y | 1730 | CONFIG_INOTIFY=y |
1521 | CONFIG_INOTIFY_USER=y | 1731 | CONFIG_INOTIFY_USER=y |
@@ -1525,6 +1735,11 @@ CONFIG_AUTOFS4_FS=y | |||
1525 | # CONFIG_FUSE_FS is not set | 1735 | # CONFIG_FUSE_FS is not set |
1526 | 1736 | ||
1527 | # | 1737 | # |
1738 | # Caches | ||
1739 | # | ||
1740 | # CONFIG_FSCACHE is not set | ||
1741 | |||
1742 | # | ||
1528 | # CD-ROM/DVD Filesystems | 1743 | # CD-ROM/DVD Filesystems |
1529 | # | 1744 | # |
1530 | CONFIG_ISO9660_FS=y | 1745 | CONFIG_ISO9660_FS=y |
@@ -1549,16 +1764,14 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |||
1549 | CONFIG_PROC_FS=y | 1764 | CONFIG_PROC_FS=y |
1550 | CONFIG_PROC_KCORE=y | 1765 | CONFIG_PROC_KCORE=y |
1551 | CONFIG_PROC_SYSCTL=y | 1766 | CONFIG_PROC_SYSCTL=y |
1767 | CONFIG_PROC_PAGE_MONITOR=y | ||
1552 | CONFIG_SYSFS=y | 1768 | CONFIG_SYSFS=y |
1553 | CONFIG_TMPFS=y | 1769 | CONFIG_TMPFS=y |
1554 | # CONFIG_TMPFS_POSIX_ACL is not set | 1770 | # CONFIG_TMPFS_POSIX_ACL is not set |
1555 | CONFIG_HUGETLBFS=y | 1771 | CONFIG_HUGETLBFS=y |
1556 | CONFIG_HUGETLB_PAGE=y | 1772 | CONFIG_HUGETLB_PAGE=y |
1557 | CONFIG_CONFIGFS_FS=y | 1773 | CONFIG_CONFIGFS_FS=y |
1558 | 1774 | CONFIG_MISC_FILESYSTEMS=y | |
1559 | # | ||
1560 | # Miscellaneous filesystems | ||
1561 | # | ||
1562 | # CONFIG_ADFS_FS is not set | 1775 | # CONFIG_ADFS_FS is not set |
1563 | # CONFIG_AFFS_FS is not set | 1776 | # CONFIG_AFFS_FS is not set |
1564 | # CONFIG_HFS_FS is not set | 1777 | # CONFIG_HFS_FS is not set |
@@ -1578,8 +1791,10 @@ CONFIG_JFFS2_ZLIB=y | |||
1578 | CONFIG_JFFS2_RTIME=y | 1791 | CONFIG_JFFS2_RTIME=y |
1579 | # CONFIG_JFFS2_RUBIN is not set | 1792 | # CONFIG_JFFS2_RUBIN is not set |
1580 | # CONFIG_CRAMFS is not set | 1793 | # CONFIG_CRAMFS is not set |
1794 | # CONFIG_SQUASHFS is not set | ||
1581 | # CONFIG_VXFS_FS is not set | 1795 | # CONFIG_VXFS_FS is not set |
1582 | # CONFIG_MINIX_FS is not set | 1796 | # CONFIG_MINIX_FS is not set |
1797 | # CONFIG_OMFS_FS is not set | ||
1583 | # CONFIG_HPFS_FS is not set | 1798 | # CONFIG_HPFS_FS is not set |
1584 | # CONFIG_QNX4FS_FS is not set | 1799 | # CONFIG_QNX4FS_FS is not set |
1585 | # CONFIG_ROMFS_FS is not set | 1800 | # CONFIG_ROMFS_FS is not set |
@@ -1590,18 +1805,17 @@ CONFIG_NFS_FS=y | |||
1590 | CONFIG_NFS_V3=y | 1805 | CONFIG_NFS_V3=y |
1591 | # CONFIG_NFS_V3_ACL is not set | 1806 | # CONFIG_NFS_V3_ACL is not set |
1592 | # CONFIG_NFS_V4 is not set | 1807 | # CONFIG_NFS_V4 is not set |
1808 | CONFIG_ROOT_NFS=y | ||
1593 | CONFIG_NFSD=y | 1809 | CONFIG_NFSD=y |
1594 | CONFIG_NFSD_V3=y | 1810 | CONFIG_NFSD_V3=y |
1595 | # CONFIG_NFSD_V3_ACL is not set | 1811 | # CONFIG_NFSD_V3_ACL is not set |
1596 | CONFIG_NFSD_V4=y | 1812 | CONFIG_NFSD_V4=y |
1597 | CONFIG_ROOT_NFS=y | ||
1598 | CONFIG_LOCKD=y | 1813 | CONFIG_LOCKD=y |
1599 | CONFIG_LOCKD_V4=y | 1814 | CONFIG_LOCKD_V4=y |
1600 | CONFIG_EXPORTFS=y | 1815 | CONFIG_EXPORTFS=y |
1601 | CONFIG_NFS_COMMON=y | 1816 | CONFIG_NFS_COMMON=y |
1602 | CONFIG_SUNRPC=y | 1817 | CONFIG_SUNRPC=y |
1603 | CONFIG_SUNRPC_GSS=y | 1818 | CONFIG_SUNRPC_GSS=y |
1604 | # CONFIG_SUNRPC_BIND34 is not set | ||
1605 | CONFIG_RPCSEC_GSS_KRB5=y | 1819 | CONFIG_RPCSEC_GSS_KRB5=y |
1606 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1820 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1607 | # CONFIG_SMB_FS is not set | 1821 | # CONFIG_SMB_FS is not set |
@@ -1672,25 +1886,30 @@ CONFIG_NLS_ISO8859_1=y | |||
1672 | # CONFIG_NLS_KOI8_U is not set | 1886 | # CONFIG_NLS_KOI8_U is not set |
1673 | # CONFIG_NLS_UTF8 is not set | 1887 | # CONFIG_NLS_UTF8 is not set |
1674 | # CONFIG_DLM is not set | 1888 | # CONFIG_DLM is not set |
1889 | CONFIG_BINARY_PRINTF=y | ||
1675 | 1890 | ||
1676 | # | 1891 | # |
1677 | # Library routines | 1892 | # Library routines |
1678 | # | 1893 | # |
1679 | CONFIG_BITREVERSE=y | 1894 | CONFIG_BITREVERSE=y |
1680 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | 1895 | CONFIG_GENERIC_FIND_LAST_BIT=y |
1681 | CONFIG_CRC_CCITT=y | 1896 | CONFIG_CRC_CCITT=y |
1682 | # CONFIG_CRC16 is not set | 1897 | # CONFIG_CRC16 is not set |
1898 | # CONFIG_CRC_T10DIF is not set | ||
1683 | CONFIG_CRC_ITU_T=y | 1899 | CONFIG_CRC_ITU_T=y |
1684 | CONFIG_CRC32=y | 1900 | CONFIG_CRC32=y |
1685 | # CONFIG_CRC7 is not set | 1901 | # CONFIG_CRC7 is not set |
1686 | CONFIG_LIBCRC32C=m | 1902 | # CONFIG_LIBCRC32C is not set |
1687 | CONFIG_ZLIB_INFLATE=y | 1903 | CONFIG_ZLIB_INFLATE=y |
1688 | CONFIG_ZLIB_DEFLATE=y | 1904 | CONFIG_ZLIB_DEFLATE=y |
1689 | CONFIG_PLIST=y | 1905 | CONFIG_DECOMPRESS_GZIP=y |
1906 | CONFIG_DECOMPRESS_BZIP2=y | ||
1907 | CONFIG_DECOMPRESS_LZMA=y | ||
1690 | CONFIG_HAS_IOMEM=y | 1908 | CONFIG_HAS_IOMEM=y |
1691 | CONFIG_HAS_IOPORT=y | 1909 | CONFIG_HAS_IOPORT=y |
1692 | CONFIG_HAS_DMA=y | 1910 | CONFIG_HAS_DMA=y |
1693 | CONFIG_HAVE_LMB=y | 1911 | CONFIG_HAVE_LMB=y |
1912 | CONFIG_NLATTR=y | ||
1694 | 1913 | ||
1695 | # | 1914 | # |
1696 | # Kernel hacking | 1915 | # Kernel hacking |
@@ -1700,18 +1919,25 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1700 | CONFIG_ENABLE_MUST_CHECK=y | 1919 | CONFIG_ENABLE_MUST_CHECK=y |
1701 | CONFIG_FRAME_WARN=2048 | 1920 | CONFIG_FRAME_WARN=2048 |
1702 | CONFIG_MAGIC_SYSRQ=y | 1921 | CONFIG_MAGIC_SYSRQ=y |
1922 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1703 | # CONFIG_UNUSED_SYMBOLS is not set | 1923 | # CONFIG_UNUSED_SYMBOLS is not set |
1704 | # CONFIG_DEBUG_FS is not set | 1924 | CONFIG_DEBUG_FS=y |
1705 | # CONFIG_HEADERS_CHECK is not set | 1925 | # CONFIG_HEADERS_CHECK is not set |
1706 | CONFIG_DEBUG_KERNEL=y | 1926 | CONFIG_DEBUG_KERNEL=y |
1707 | # CONFIG_DEBUG_SHIRQ is not set | 1927 | # CONFIG_DEBUG_SHIRQ is not set |
1708 | CONFIG_DETECT_SOFTLOCKUP=y | 1928 | CONFIG_DETECT_SOFTLOCKUP=y |
1929 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1930 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1931 | CONFIG_DETECT_HUNG_TASK=y | ||
1932 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1933 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1709 | # CONFIG_SCHED_DEBUG is not set | 1934 | # CONFIG_SCHED_DEBUG is not set |
1710 | # CONFIG_SCHEDSTATS is not set | 1935 | # CONFIG_SCHEDSTATS is not set |
1711 | # CONFIG_TIMER_STATS is not set | 1936 | # CONFIG_TIMER_STATS is not set |
1712 | # CONFIG_DEBUG_OBJECTS is not set | 1937 | # CONFIG_DEBUG_OBJECTS is not set |
1713 | # CONFIG_SLUB_DEBUG_ON is not set | 1938 | # CONFIG_SLUB_DEBUG_ON is not set |
1714 | # CONFIG_SLUB_STATS is not set | 1939 | # CONFIG_SLUB_STATS is not set |
1940 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1715 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1941 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1716 | # CONFIG_RT_MUTEX_TESTER is not set | 1942 | # CONFIG_RT_MUTEX_TESTER is not set |
1717 | # CONFIG_DEBUG_SPINLOCK is not set | 1943 | # CONFIG_DEBUG_SPINLOCK is not set |
@@ -1721,26 +1947,71 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
1721 | # CONFIG_LOCK_STAT is not set | 1947 | # CONFIG_LOCK_STAT is not set |
1722 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1948 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1723 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1949 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1950 | CONFIG_STACKTRACE=y | ||
1724 | # CONFIG_DEBUG_KOBJECT is not set | 1951 | # CONFIG_DEBUG_KOBJECT is not set |
1725 | CONFIG_DEBUG_BUGVERBOSE=y | 1952 | CONFIG_DEBUG_BUGVERBOSE=y |
1726 | # CONFIG_DEBUG_INFO is not set | 1953 | # CONFIG_DEBUG_INFO is not set |
1727 | # CONFIG_DEBUG_VM is not set | 1954 | # CONFIG_DEBUG_VM is not set |
1728 | # CONFIG_DEBUG_WRITECOUNT is not set | 1955 | # CONFIG_DEBUG_WRITECOUNT is not set |
1956 | CONFIG_DEBUG_MEMORY_INIT=y | ||
1729 | # CONFIG_DEBUG_LIST is not set | 1957 | # CONFIG_DEBUG_LIST is not set |
1730 | # CONFIG_DEBUG_SG is not set | 1958 | # CONFIG_DEBUG_SG is not set |
1731 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1959 | # CONFIG_DEBUG_NOTIFIERS is not set |
1960 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1732 | # CONFIG_RCU_TORTURE_TEST is not set | 1961 | # CONFIG_RCU_TORTURE_TEST is not set |
1962 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1733 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1963 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1964 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
1965 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1734 | # CONFIG_FAULT_INJECTION is not set | 1966 | # CONFIG_FAULT_INJECTION is not set |
1967 | # CONFIG_LATENCYTOP is not set | ||
1968 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
1969 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
1970 | CONFIG_NOP_TRACER=y | ||
1971 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1972 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1973 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
1974 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
1975 | CONFIG_RING_BUFFER=y | ||
1976 | CONFIG_EVENT_TRACING=y | ||
1977 | CONFIG_CONTEXT_SWITCH_TRACER=y | ||
1978 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
1979 | CONFIG_TRACING=y | ||
1980 | CONFIG_TRACING_SUPPORT=y | ||
1981 | CONFIG_FTRACE=y | ||
1982 | # CONFIG_FUNCTION_TRACER is not set | ||
1983 | # CONFIG_IRQSOFF_TRACER is not set | ||
1984 | # CONFIG_SCHED_TRACER is not set | ||
1985 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set | ||
1986 | # CONFIG_BOOT_TRACER is not set | ||
1987 | CONFIG_BRANCH_PROFILE_NONE=y | ||
1988 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1989 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1990 | # CONFIG_STACK_TRACER is not set | ||
1991 | # CONFIG_KMEMTRACE is not set | ||
1992 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1993 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1994 | # CONFIG_RING_BUFFER_BENCHMARK is not set | ||
1995 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1996 | # CONFIG_DMA_API_DEBUG is not set | ||
1735 | # CONFIG_SAMPLES is not set | 1997 | # CONFIG_SAMPLES is not set |
1998 | CONFIG_HAVE_ARCH_KGDB=y | ||
1999 | # CONFIG_KGDB is not set | ||
2000 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
2001 | CONFIG_PPC_WERROR=y | ||
2002 | CONFIG_PRINT_STACK_DEPTH=64 | ||
1736 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 2003 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1737 | # CONFIG_DEBUG_STACK_USAGE is not set | 2004 | # CONFIG_DEBUG_STACK_USAGE is not set |
1738 | # CONFIG_DEBUG_PAGEALLOC is not set | 2005 | # CONFIG_PPC_EMULATED_STATS is not set |
1739 | CONFIG_DEBUGGER=y | 2006 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
2007 | # CONFIG_FTR_FIXUP_SELFTEST is not set | ||
2008 | # CONFIG_MSI_BITMAP_SELFTEST is not set | ||
1740 | CONFIG_XMON=y | 2009 | CONFIG_XMON=y |
1741 | CONFIG_XMON_DEFAULT=y | 2010 | CONFIG_XMON_DEFAULT=y |
1742 | CONFIG_XMON_DISASSEMBLY=y | 2011 | CONFIG_XMON_DISASSEMBLY=y |
2012 | CONFIG_DEBUGGER=y | ||
1743 | # CONFIG_IRQSTACKS is not set | 2013 | # CONFIG_IRQSTACKS is not set |
2014 | # CONFIG_VIRQ_DEBUG is not set | ||
1744 | # CONFIG_BOOTX_TEXT is not set | 2015 | # CONFIG_BOOTX_TEXT is not set |
1745 | # CONFIG_PPC_EARLY_DEBUG is not set | 2016 | # CONFIG_PPC_EARLY_DEBUG is not set |
1746 | 2017 | ||
@@ -1749,23 +2020,34 @@ CONFIG_XMON_DISASSEMBLY=y | |||
1749 | # | 2020 | # |
1750 | # CONFIG_KEYS is not set | 2021 | # CONFIG_KEYS is not set |
1751 | # CONFIG_SECURITY is not set | 2022 | # CONFIG_SECURITY is not set |
2023 | # CONFIG_SECURITYFS is not set | ||
1752 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 2024 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1753 | CONFIG_XOR_BLOCKS=y | 2025 | CONFIG_XOR_BLOCKS=y |
1754 | CONFIG_ASYNC_CORE=y | 2026 | CONFIG_ASYNC_CORE=y |
1755 | CONFIG_ASYNC_MEMCPY=y | 2027 | CONFIG_ASYNC_MEMCPY=y |
1756 | CONFIG_ASYNC_XOR=y | 2028 | CONFIG_ASYNC_XOR=y |
2029 | CONFIG_ASYNC_PQ=y | ||
2030 | CONFIG_ASYNC_RAID6_RECOV=y | ||
1757 | CONFIG_CRYPTO=y | 2031 | CONFIG_CRYPTO=y |
1758 | 2032 | ||
1759 | # | 2033 | # |
1760 | # Crypto core or helper | 2034 | # Crypto core or helper |
1761 | # | 2035 | # |
1762 | CONFIG_CRYPTO_ALGAPI=y | 2036 | CONFIG_CRYPTO_ALGAPI=y |
2037 | CONFIG_CRYPTO_ALGAPI2=y | ||
1763 | CONFIG_CRYPTO_AEAD=y | 2038 | CONFIG_CRYPTO_AEAD=y |
2039 | CONFIG_CRYPTO_AEAD2=y | ||
1764 | CONFIG_CRYPTO_BLKCIPHER=y | 2040 | CONFIG_CRYPTO_BLKCIPHER=y |
2041 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
1765 | CONFIG_CRYPTO_HASH=y | 2042 | CONFIG_CRYPTO_HASH=y |
2043 | CONFIG_CRYPTO_HASH2=y | ||
2044 | CONFIG_CRYPTO_RNG2=y | ||
2045 | CONFIG_CRYPTO_PCOMP=y | ||
1766 | CONFIG_CRYPTO_MANAGER=y | 2046 | CONFIG_CRYPTO_MANAGER=y |
2047 | CONFIG_CRYPTO_MANAGER2=y | ||
1767 | # CONFIG_CRYPTO_GF128MUL is not set | 2048 | # CONFIG_CRYPTO_GF128MUL is not set |
1768 | # CONFIG_CRYPTO_NULL is not set | 2049 | # CONFIG_CRYPTO_NULL is not set |
2050 | CONFIG_CRYPTO_WORKQUEUE=y | ||
1769 | # CONFIG_CRYPTO_CRYPTD is not set | 2051 | # CONFIG_CRYPTO_CRYPTD is not set |
1770 | CONFIG_CRYPTO_AUTHENC=y | 2052 | CONFIG_CRYPTO_AUTHENC=y |
1771 | # CONFIG_CRYPTO_TEST is not set | 2053 | # CONFIG_CRYPTO_TEST is not set |
@@ -1793,14 +2075,20 @@ CONFIG_CRYPTO_CBC=y | |||
1793 | # | 2075 | # |
1794 | CONFIG_CRYPTO_HMAC=y | 2076 | CONFIG_CRYPTO_HMAC=y |
1795 | # CONFIG_CRYPTO_XCBC is not set | 2077 | # CONFIG_CRYPTO_XCBC is not set |
2078 | # CONFIG_CRYPTO_VMAC is not set | ||
1796 | 2079 | ||
1797 | # | 2080 | # |
1798 | # Digest | 2081 | # Digest |
1799 | # | 2082 | # |
1800 | # CONFIG_CRYPTO_CRC32C is not set | 2083 | # CONFIG_CRYPTO_CRC32C is not set |
2084 | # CONFIG_CRYPTO_GHASH is not set | ||
1801 | CONFIG_CRYPTO_MD4=y | 2085 | CONFIG_CRYPTO_MD4=y |
1802 | CONFIG_CRYPTO_MD5=y | 2086 | CONFIG_CRYPTO_MD5=y |
1803 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 2087 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
2088 | # CONFIG_CRYPTO_RMD128 is not set | ||
2089 | # CONFIG_CRYPTO_RMD160 is not set | ||
2090 | # CONFIG_CRYPTO_RMD256 is not set | ||
2091 | # CONFIG_CRYPTO_RMD320 is not set | ||
1804 | CONFIG_CRYPTO_SHA1=y | 2092 | CONFIG_CRYPTO_SHA1=y |
1805 | CONFIG_CRYPTO_SHA256=y | 2093 | CONFIG_CRYPTO_SHA256=y |
1806 | CONFIG_CRYPTO_SHA512=y | 2094 | CONFIG_CRYPTO_SHA512=y |
@@ -1830,7 +2118,13 @@ CONFIG_CRYPTO_DES=y | |||
1830 | # Compression | 2118 | # Compression |
1831 | # | 2119 | # |
1832 | # CONFIG_CRYPTO_DEFLATE is not set | 2120 | # CONFIG_CRYPTO_DEFLATE is not set |
2121 | # CONFIG_CRYPTO_ZLIB is not set | ||
1833 | # CONFIG_CRYPTO_LZO is not set | 2122 | # CONFIG_CRYPTO_LZO is not set |
2123 | |||
2124 | # | ||
2125 | # Random Number Generation | ||
2126 | # | ||
2127 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
1834 | CONFIG_CRYPTO_HW=y | 2128 | CONFIG_CRYPTO_HW=y |
1835 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 2129 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
1836 | # CONFIG_PPC_CLOCK is not set | 2130 | # CONFIG_PPC_CLOCK is not set |
diff --git a/arch/powerpc/configs/pq2fads_defconfig b/arch/powerpc/configs/pq2fads_defconfig index ff96bb43c32d..b7911216af78 100644 --- a/arch/powerpc/configs/pq2fads_defconfig +++ b/arch/powerpc/configs/pq2fads_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:00 2009 | 4 | # Thu Nov 5 08:20:17 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -82,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
82 | # | 83 | # |
83 | # RCU Subsystem | 84 | # RCU Subsystem |
84 | # | 85 | # |
85 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
86 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
87 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
88 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
89 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
90 | CONFIG_IKCONFIG=y | 92 | CONFIG_IKCONFIG=y |
91 | CONFIG_IKCONFIG_PROC=y | 93 | CONFIG_IKCONFIG_PROC=y |
92 | CONFIG_LOG_BUF_SHIFT=14 | 94 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -120,29 +122,30 @@ CONFIG_TIMERFD=y | |||
120 | CONFIG_EVENTFD=y | 122 | CONFIG_EVENTFD=y |
121 | CONFIG_SHMEM=y | 123 | CONFIG_SHMEM=y |
122 | CONFIG_AIO=y | 124 | CONFIG_AIO=y |
123 | CONFIG_HAVE_PERF_COUNTERS=y | 125 | CONFIG_HAVE_PERF_EVENTS=y |
124 | 126 | ||
125 | # | 127 | # |
126 | # Performance Counters | 128 | # Kernel Performance Events And Counters |
127 | # | 129 | # |
130 | # CONFIG_PERF_EVENTS is not set | ||
128 | # CONFIG_PERF_COUNTERS is not set | 131 | # CONFIG_PERF_COUNTERS is not set |
129 | CONFIG_VM_EVENT_COUNTERS=y | 132 | CONFIG_VM_EVENT_COUNTERS=y |
130 | CONFIG_PCI_QUIRKS=y | 133 | CONFIG_PCI_QUIRKS=y |
131 | CONFIG_SLUB_DEBUG=y | 134 | CONFIG_SLUB_DEBUG=y |
132 | # CONFIG_STRIP_ASM_SYMS is not set | ||
133 | CONFIG_COMPAT_BRK=y | 135 | CONFIG_COMPAT_BRK=y |
134 | # CONFIG_SLAB is not set | 136 | # CONFIG_SLAB is not set |
135 | CONFIG_SLUB=y | 137 | CONFIG_SLUB=y |
136 | # CONFIG_SLOB is not set | 138 | # CONFIG_SLOB is not set |
137 | # CONFIG_PROFILING is not set | 139 | # CONFIG_PROFILING is not set |
138 | # CONFIG_MARKERS is not set | ||
139 | CONFIG_HAVE_OPROFILE=y | 140 | CONFIG_HAVE_OPROFILE=y |
140 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 141 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
141 | CONFIG_HAVE_IOREMAP_PROT=y | 142 | CONFIG_HAVE_IOREMAP_PROT=y |
142 | CONFIG_HAVE_KPROBES=y | 143 | CONFIG_HAVE_KPROBES=y |
143 | CONFIG_HAVE_KRETPROBES=y | 144 | CONFIG_HAVE_KRETPROBES=y |
144 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 145 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
146 | CONFIG_HAVE_DMA_ATTRS=y | ||
145 | CONFIG_HAVE_CLK=y | 147 | CONFIG_HAVE_CLK=y |
148 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
146 | 149 | ||
147 | # | 150 | # |
148 | # GCOV-based kernel profiling | 151 | # GCOV-based kernel profiling |
@@ -155,6 +158,7 @@ CONFIG_BASE_SMALL=0 | |||
155 | # CONFIG_MODULES is not set | 158 | # CONFIG_MODULES is not set |
156 | CONFIG_BLOCK=y | 159 | CONFIG_BLOCK=y |
157 | CONFIG_LBDAF=y | 160 | CONFIG_LBDAF=y |
161 | CONFIG_BLK_DEV_BSG=y | ||
158 | # CONFIG_BLK_DEV_INTEGRITY is not set | 162 | # CONFIG_BLK_DEV_INTEGRITY is not set |
159 | 163 | ||
160 | # | 164 | # |
@@ -239,6 +243,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | |||
239 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 243 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
240 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
241 | # CONFIG_CRASH_DUMP is not set | 245 | # CONFIG_CRASH_DUMP is not set |
246 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
242 | CONFIG_ARCH_FLATMEM_ENABLE=y | 247 | CONFIG_ARCH_FLATMEM_ENABLE=y |
243 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 248 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
244 | CONFIG_FLATMEM=y | 249 | CONFIG_FLATMEM=y |
@@ -252,6 +257,7 @@ CONFIG_BOUNCE=y | |||
252 | CONFIG_VIRT_TO_BUS=y | 257 | CONFIG_VIRT_TO_BUS=y |
253 | CONFIG_HAVE_MLOCK=y | 258 | CONFIG_HAVE_MLOCK=y |
254 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 259 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
260 | # CONFIG_KSM is not set | ||
255 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 261 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
256 | CONFIG_PPC_4K_PAGES=y | 262 | CONFIG_PPC_4K_PAGES=y |
257 | # CONFIG_PPC_16K_PAGES is not set | 263 | # CONFIG_PPC_16K_PAGES is not set |
@@ -401,6 +407,7 @@ CONFIG_NETFILTER_ADVANCED=y | |||
401 | # CONFIG_BT is not set | 407 | # CONFIG_BT is not set |
402 | CONFIG_WIRELESS=y | 408 | CONFIG_WIRELESS=y |
403 | # CONFIG_CFG80211 is not set | 409 | # CONFIG_CFG80211 is not set |
410 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
404 | CONFIG_WIRELESS_OLD_REGULATORY=y | 411 | CONFIG_WIRELESS_OLD_REGULATORY=y |
405 | # CONFIG_WIRELESS_EXT is not set | 412 | # CONFIG_WIRELESS_EXT is not set |
406 | # CONFIG_LIB80211 is not set | 413 | # CONFIG_LIB80211 is not set |
@@ -408,7 +415,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
408 | # | 415 | # |
409 | # CFG80211 needs to be enabled for MAC80211 | 416 | # CFG80211 needs to be enabled for MAC80211 |
410 | # | 417 | # |
411 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
412 | # CONFIG_WIMAX is not set | 418 | # CONFIG_WIMAX is not set |
413 | # CONFIG_RFKILL is not set | 419 | # CONFIG_RFKILL is not set |
414 | 420 | ||
@@ -420,6 +426,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
420 | # Generic Driver Options | 426 | # Generic Driver Options |
421 | # | 427 | # |
422 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 428 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
429 | # CONFIG_DEVTMPFS is not set | ||
423 | CONFIG_STANDALONE=y | 430 | CONFIG_STANDALONE=y |
424 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 431 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
425 | # CONFIG_FW_LOADER is not set | 432 | # CONFIG_FW_LOADER is not set |
@@ -481,7 +488,6 @@ CONFIG_MTD_CFI_UTIL=y | |||
481 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 488 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
482 | # CONFIG_MTD_PHYSMAP is not set | 489 | # CONFIG_MTD_PHYSMAP is not set |
483 | CONFIG_MTD_PHYSMAP_OF=y | 490 | CONFIG_MTD_PHYSMAP_OF=y |
484 | # CONFIG_MTD_SBC8240 is not set | ||
485 | # CONFIG_MTD_INTEL_VR_NOR is not set | 491 | # CONFIG_MTD_INTEL_VR_NOR is not set |
486 | # CONFIG_MTD_PLATRAM is not set | 492 | # CONFIG_MTD_PLATRAM is not set |
487 | 493 | ||
@@ -664,7 +670,9 @@ CONFIG_MII=y | |||
664 | # CONFIG_NET_PCI is not set | 670 | # CONFIG_NET_PCI is not set |
665 | # CONFIG_B44 is not set | 671 | # CONFIG_B44 is not set |
666 | # CONFIG_KS8842 is not set | 672 | # CONFIG_KS8842 is not set |
673 | # CONFIG_KS8851_MLL is not set | ||
667 | # CONFIG_ATL2 is not set | 674 | # CONFIG_ATL2 is not set |
675 | # CONFIG_XILINX_EMACLITE is not set | ||
668 | CONFIG_FS_ENET=y | 676 | CONFIG_FS_ENET=y |
669 | # CONFIG_FS_ENET_HAS_SCC is not set | 677 | # CONFIG_FS_ENET_HAS_SCC is not set |
670 | CONFIG_FS_ENET_HAS_FCC=y | 678 | CONFIG_FS_ENET_HAS_FCC=y |
@@ -712,10 +720,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
712 | # CONFIG_SFC is not set | 720 | # CONFIG_SFC is not set |
713 | # CONFIG_BE2NET is not set | 721 | # CONFIG_BE2NET is not set |
714 | # CONFIG_TR is not set | 722 | # CONFIG_TR is not set |
715 | 723 | CONFIG_WLAN=y | |
716 | # | ||
717 | # Wireless LAN | ||
718 | # | ||
719 | # CONFIG_WLAN_PRE80211 is not set | 724 | # CONFIG_WLAN_PRE80211 is not set |
720 | # CONFIG_WLAN_80211 is not set | 725 | # CONFIG_WLAN_80211 is not set |
721 | 726 | ||
@@ -764,6 +769,7 @@ CONFIG_KEYBOARD_ATKBD=y | |||
764 | # CONFIG_KEYBOARD_GPIO is not set | 769 | # CONFIG_KEYBOARD_GPIO is not set |
765 | # CONFIG_KEYBOARD_MATRIX is not set | 770 | # CONFIG_KEYBOARD_MATRIX is not set |
766 | # CONFIG_KEYBOARD_NEWTON is not set | 771 | # CONFIG_KEYBOARD_NEWTON is not set |
772 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
767 | # CONFIG_KEYBOARD_STOWAWAY is not set | 773 | # CONFIG_KEYBOARD_STOWAWAY is not set |
768 | # CONFIG_KEYBOARD_SUNKBD is not set | 774 | # CONFIG_KEYBOARD_SUNKBD is not set |
769 | # CONFIG_KEYBOARD_XTKBD is not set | 775 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -774,6 +780,7 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
774 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 780 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
775 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 781 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
776 | # CONFIG_MOUSE_PS2_ELANTECH is not set | 782 | # CONFIG_MOUSE_PS2_ELANTECH is not set |
783 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
777 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 784 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
778 | # CONFIG_MOUSE_SERIAL is not set | 785 | # CONFIG_MOUSE_SERIAL is not set |
779 | # CONFIG_MOUSE_APPLETOUCH is not set | 786 | # CONFIG_MOUSE_APPLETOUCH is not set |
@@ -855,15 +862,19 @@ CONFIG_GPIOLIB=y | |||
855 | # PCI GPIO expanders: | 862 | # PCI GPIO expanders: |
856 | # | 863 | # |
857 | # CONFIG_GPIO_BT8XX is not set | 864 | # CONFIG_GPIO_BT8XX is not set |
865 | # CONFIG_GPIO_LANGWELL is not set | ||
858 | 866 | ||
859 | # | 867 | # |
860 | # SPI GPIO expanders: | 868 | # SPI GPIO expanders: |
861 | # | 869 | # |
870 | |||
871 | # | ||
872 | # AC97 GPIO expanders: | ||
873 | # | ||
862 | # CONFIG_W1 is not set | 874 | # CONFIG_W1 is not set |
863 | # CONFIG_POWER_SUPPLY is not set | 875 | # CONFIG_POWER_SUPPLY is not set |
864 | # CONFIG_HWMON is not set | 876 | # CONFIG_HWMON is not set |
865 | # CONFIG_THERMAL is not set | 877 | # CONFIG_THERMAL is not set |
866 | # CONFIG_THERMAL_HWMON is not set | ||
867 | # CONFIG_WATCHDOG is not set | 878 | # CONFIG_WATCHDOG is not set |
868 | CONFIG_SSB_POSSIBLE=y | 879 | CONFIG_SSB_POSSIBLE=y |
869 | 880 | ||
@@ -886,6 +897,7 @@ CONFIG_SSB_POSSIBLE=y | |||
886 | # Graphics support | 897 | # Graphics support |
887 | # | 898 | # |
888 | # CONFIG_AGP is not set | 899 | # CONFIG_AGP is not set |
900 | CONFIG_VGA_ARB=y | ||
889 | # CONFIG_DRM is not set | 901 | # CONFIG_DRM is not set |
890 | # CONFIG_VGASTATE is not set | 902 | # CONFIG_VGASTATE is not set |
891 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 903 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -905,7 +917,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
905 | # CONFIG_USB is not set | 917 | # CONFIG_USB is not set |
906 | # CONFIG_USB_OTG_WHITELIST is not set | 918 | # CONFIG_USB_OTG_WHITELIST is not set |
907 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | 919 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set |
908 | # CONFIG_USB_MUSB_HDRC is not set | ||
909 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | 920 | # CONFIG_USB_GADGET_MUSB_HDRC is not set |
910 | 921 | ||
911 | # | 922 | # |
@@ -922,6 +933,7 @@ CONFIG_USB_GADGET_SELECTED=y | |||
922 | # CONFIG_USB_GADGET_LH7A40X is not set | 933 | # CONFIG_USB_GADGET_LH7A40X is not set |
923 | # CONFIG_USB_GADGET_OMAP is not set | 934 | # CONFIG_USB_GADGET_OMAP is not set |
924 | # CONFIG_USB_GADGET_PXA25X is not set | 935 | # CONFIG_USB_GADGET_PXA25X is not set |
936 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
925 | # CONFIG_USB_GADGET_PXA27X is not set | 937 | # CONFIG_USB_GADGET_PXA27X is not set |
926 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | 938 | # CONFIG_USB_GADGET_S3C_HSOTG is not set |
927 | # CONFIG_USB_GADGET_IMX is not set | 939 | # CONFIG_USB_GADGET_IMX is not set |
@@ -940,6 +952,7 @@ CONFIG_USB_GADGET_DUALSPEED=y | |||
940 | # CONFIG_USB_AUDIO is not set | 952 | # CONFIG_USB_AUDIO is not set |
941 | CONFIG_USB_ETH=y | 953 | CONFIG_USB_ETH=y |
942 | CONFIG_USB_ETH_RNDIS=y | 954 | CONFIG_USB_ETH_RNDIS=y |
955 | # CONFIG_USB_ETH_EEM is not set | ||
943 | # CONFIG_USB_GADGETFS is not set | 956 | # CONFIG_USB_GADGETFS is not set |
944 | # CONFIG_USB_FILE_STORAGE is not set | 957 | # CONFIG_USB_FILE_STORAGE is not set |
945 | # CONFIG_USB_G_SERIAL is not set | 958 | # CONFIG_USB_G_SERIAL is not set |
@@ -1148,6 +1161,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1148 | CONFIG_ENABLE_MUST_CHECK=y | 1161 | CONFIG_ENABLE_MUST_CHECK=y |
1149 | CONFIG_FRAME_WARN=1024 | 1162 | CONFIG_FRAME_WARN=1024 |
1150 | CONFIG_MAGIC_SYSRQ=y | 1163 | CONFIG_MAGIC_SYSRQ=y |
1164 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1151 | # CONFIG_UNUSED_SYMBOLS is not set | 1165 | # CONFIG_UNUSED_SYMBOLS is not set |
1152 | # CONFIG_DEBUG_FS is not set | 1166 | # CONFIG_DEBUG_FS is not set |
1153 | # CONFIG_HEADERS_CHECK is not set | 1167 | # CONFIG_HEADERS_CHECK is not set |
@@ -1183,10 +1197,12 @@ CONFIG_DEBUG_INFO=y | |||
1183 | # CONFIG_DEBUG_LIST is not set | 1197 | # CONFIG_DEBUG_LIST is not set |
1184 | # CONFIG_DEBUG_SG is not set | 1198 | # CONFIG_DEBUG_SG is not set |
1185 | # CONFIG_DEBUG_NOTIFIERS is not set | 1199 | # CONFIG_DEBUG_NOTIFIERS is not set |
1200 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1186 | # CONFIG_RCU_TORTURE_TEST is not set | 1201 | # CONFIG_RCU_TORTURE_TEST is not set |
1187 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1202 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1188 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1203 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1189 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1204 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1205 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1190 | # CONFIG_FAULT_INJECTION is not set | 1206 | # CONFIG_FAULT_INJECTION is not set |
1191 | # CONFIG_LATENCYTOP is not set | 1207 | # CONFIG_LATENCYTOP is not set |
1192 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1208 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
@@ -1209,6 +1225,7 @@ CONFIG_BRANCH_PROFILE_NONE=y | |||
1209 | # CONFIG_KMEMTRACE is not set | 1225 | # CONFIG_KMEMTRACE is not set |
1210 | # CONFIG_WORKQUEUE_TRACER is not set | 1226 | # CONFIG_WORKQUEUE_TRACER is not set |
1211 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1227 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1228 | # CONFIG_DMA_API_DEBUG is not set | ||
1212 | # CONFIG_SAMPLES is not set | 1229 | # CONFIG_SAMPLES is not set |
1213 | CONFIG_HAVE_ARCH_KGDB=y | 1230 | CONFIG_HAVE_ARCH_KGDB=y |
1214 | # CONFIG_PPC_DISABLE_WERROR is not set | 1231 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1237,7 +1254,6 @@ CONFIG_CRYPTO=y | |||
1237 | # | 1254 | # |
1238 | # Crypto core or helper | 1255 | # Crypto core or helper |
1239 | # | 1256 | # |
1240 | # CONFIG_CRYPTO_FIPS is not set | ||
1241 | CONFIG_CRYPTO_ALGAPI=y | 1257 | CONFIG_CRYPTO_ALGAPI=y |
1242 | CONFIG_CRYPTO_ALGAPI2=y | 1258 | CONFIG_CRYPTO_ALGAPI2=y |
1243 | CONFIG_CRYPTO_AEAD2=y | 1259 | CONFIG_CRYPTO_AEAD2=y |
@@ -1279,6 +1295,7 @@ CONFIG_CRYPTO_PCBC=y | |||
1279 | # Digest | 1295 | # Digest |
1280 | # | 1296 | # |
1281 | # CONFIG_CRYPTO_CRC32C is not set | 1297 | # CONFIG_CRYPTO_CRC32C is not set |
1298 | # CONFIG_CRYPTO_GHASH is not set | ||
1282 | # CONFIG_CRYPTO_MD4 is not set | 1299 | # CONFIG_CRYPTO_MD4 is not set |
1283 | CONFIG_CRYPTO_MD5=y | 1300 | CONFIG_CRYPTO_MD5=y |
1284 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1301 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/prpmc2800_defconfig b/arch/powerpc/configs/prpmc2800_defconfig index 1293c465d7fa..ef50ce45d50b 100644 --- a/arch/powerpc/configs/prpmc2800_defconfig +++ b/arch/powerpc/configs/prpmc2800_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:01 2009 | 4 | # Thu Nov 5 08:20:18 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -36,6 +36,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
36 | CONFIG_GENERIC_HARDIRQS=y | 36 | CONFIG_GENERIC_HARDIRQS=y |
37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 37 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 38 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
39 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
39 | CONFIG_IRQ_PER_CPU=y | 40 | CONFIG_IRQ_PER_CPU=y |
40 | CONFIG_STACKTRACE_SUPPORT=y | 41 | CONFIG_STACKTRACE_SUPPORT=y |
41 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 42 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -85,11 +86,12 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y | |||
85 | # | 86 | # |
86 | # RCU Subsystem | 87 | # RCU Subsystem |
87 | # | 88 | # |
88 | CONFIG_CLASSIC_RCU=y | 89 | CONFIG_TREE_RCU=y |
89 | # CONFIG_TREE_RCU is not set | 90 | # CONFIG_TREE_PREEMPT_RCU is not set |
90 | # CONFIG_PREEMPT_RCU is not set | 91 | # CONFIG_RCU_TRACE is not set |
92 | CONFIG_RCU_FANOUT=32 | ||
93 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
91 | # CONFIG_TREE_RCU_TRACE is not set | 94 | # CONFIG_TREE_RCU_TRACE is not set |
92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
93 | # CONFIG_IKCONFIG is not set | 95 | # CONFIG_IKCONFIG is not set |
94 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
95 | CONFIG_GROUP_SCHED=y | 97 | CONFIG_GROUP_SCHED=y |
@@ -131,28 +133,29 @@ CONFIG_TIMERFD=y | |||
131 | CONFIG_EVENTFD=y | 133 | CONFIG_EVENTFD=y |
132 | CONFIG_SHMEM=y | 134 | CONFIG_SHMEM=y |
133 | CONFIG_AIO=y | 135 | CONFIG_AIO=y |
134 | CONFIG_HAVE_PERF_COUNTERS=y | 136 | CONFIG_HAVE_PERF_EVENTS=y |
135 | 137 | ||
136 | # | 138 | # |
137 | # Performance Counters | 139 | # Kernel Performance Events And Counters |
138 | # | 140 | # |
141 | # CONFIG_PERF_EVENTS is not set | ||
139 | # CONFIG_PERF_COUNTERS is not set | 142 | # CONFIG_PERF_COUNTERS is not set |
140 | CONFIG_VM_EVENT_COUNTERS=y | 143 | CONFIG_VM_EVENT_COUNTERS=y |
141 | CONFIG_PCI_QUIRKS=y | 144 | CONFIG_PCI_QUIRKS=y |
142 | CONFIG_SLUB_DEBUG=y | 145 | CONFIG_SLUB_DEBUG=y |
143 | # CONFIG_STRIP_ASM_SYMS is not set | ||
144 | CONFIG_COMPAT_BRK=y | 146 | CONFIG_COMPAT_BRK=y |
145 | # CONFIG_SLAB is not set | 147 | # CONFIG_SLAB is not set |
146 | CONFIG_SLUB=y | 148 | CONFIG_SLUB=y |
147 | # CONFIG_SLOB is not set | 149 | # CONFIG_SLOB is not set |
148 | # CONFIG_PROFILING is not set | 150 | # CONFIG_PROFILING is not set |
149 | # CONFIG_MARKERS is not set | ||
150 | CONFIG_HAVE_OPROFILE=y | 151 | CONFIG_HAVE_OPROFILE=y |
151 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 152 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
152 | CONFIG_HAVE_IOREMAP_PROT=y | 153 | CONFIG_HAVE_IOREMAP_PROT=y |
153 | CONFIG_HAVE_KPROBES=y | 154 | CONFIG_HAVE_KPROBES=y |
154 | CONFIG_HAVE_KRETPROBES=y | 155 | CONFIG_HAVE_KRETPROBES=y |
155 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 156 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
157 | CONFIG_HAVE_DMA_ATTRS=y | ||
158 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
156 | 159 | ||
157 | # | 160 | # |
158 | # GCOV-based kernel profiling | 161 | # GCOV-based kernel profiling |
@@ -244,12 +247,12 @@ CONFIG_BINFMT_ELF=y | |||
244 | CONFIG_BINFMT_MISC=y | 247 | CONFIG_BINFMT_MISC=y |
245 | # CONFIG_IOMMU_HELPER is not set | 248 | # CONFIG_IOMMU_HELPER is not set |
246 | # CONFIG_SWIOTLB is not set | 249 | # CONFIG_SWIOTLB is not set |
247 | CONFIG_PPC_NEED_DMA_SYNC_OPS=y | ||
248 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
249 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 251 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
250 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 252 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
251 | # CONFIG_KEXEC is not set | 253 | # CONFIG_KEXEC is not set |
252 | # CONFIG_CRASH_DUMP is not set | 254 | # CONFIG_CRASH_DUMP is not set |
255 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
253 | CONFIG_ARCH_FLATMEM_ENABLE=y | 256 | CONFIG_ARCH_FLATMEM_ENABLE=y |
254 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 257 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
255 | CONFIG_SELECT_MEMORY_MODEL=y | 258 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -267,6 +270,7 @@ CONFIG_BOUNCE=y | |||
267 | CONFIG_VIRT_TO_BUS=y | 270 | CONFIG_VIRT_TO_BUS=y |
268 | CONFIG_HAVE_MLOCK=y | 271 | CONFIG_HAVE_MLOCK=y |
269 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 272 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
273 | # CONFIG_KSM is not set | ||
270 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 274 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
271 | CONFIG_PPC_4K_PAGES=y | 275 | CONFIG_PPC_4K_PAGES=y |
272 | # CONFIG_PPC_16K_PAGES is not set | 276 | # CONFIG_PPC_16K_PAGES is not set |
@@ -360,6 +364,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
360 | # CONFIG_NETFILTER is not set | 364 | # CONFIG_NETFILTER is not set |
361 | # CONFIG_IP_DCCP is not set | 365 | # CONFIG_IP_DCCP is not set |
362 | # CONFIG_IP_SCTP is not set | 366 | # CONFIG_IP_SCTP is not set |
367 | # CONFIG_RDS is not set | ||
363 | # CONFIG_TIPC is not set | 368 | # CONFIG_TIPC is not set |
364 | # CONFIG_ATM is not set | 369 | # CONFIG_ATM is not set |
365 | # CONFIG_BRIDGE is not set | 370 | # CONFIG_BRIDGE is not set |
@@ -389,6 +394,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
389 | # CONFIG_AF_RXRPC is not set | 394 | # CONFIG_AF_RXRPC is not set |
390 | CONFIG_WIRELESS=y | 395 | CONFIG_WIRELESS=y |
391 | # CONFIG_CFG80211 is not set | 396 | # CONFIG_CFG80211 is not set |
397 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
392 | CONFIG_WIRELESS_OLD_REGULATORY=y | 398 | CONFIG_WIRELESS_OLD_REGULATORY=y |
393 | # CONFIG_WIRELESS_EXT is not set | 399 | # CONFIG_WIRELESS_EXT is not set |
394 | # CONFIG_LIB80211 is not set | 400 | # CONFIG_LIB80211 is not set |
@@ -396,7 +402,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
396 | # | 402 | # |
397 | # CFG80211 needs to be enabled for MAC80211 | 403 | # CFG80211 needs to be enabled for MAC80211 |
398 | # | 404 | # |
399 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
400 | # CONFIG_WIMAX is not set | 405 | # CONFIG_WIMAX is not set |
401 | # CONFIG_RFKILL is not set | 406 | # CONFIG_RFKILL is not set |
402 | # CONFIG_NET_9P is not set | 407 | # CONFIG_NET_9P is not set |
@@ -409,6 +414,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
409 | # Generic Driver Options | 414 | # Generic Driver Options |
410 | # | 415 | # |
411 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 416 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
417 | # CONFIG_DEVTMPFS is not set | ||
412 | CONFIG_STANDALONE=y | 418 | CONFIG_STANDALONE=y |
413 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 419 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
414 | CONFIG_FW_LOADER=y | 420 | CONFIG_FW_LOADER=y |
@@ -633,6 +639,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
633 | # CONFIG_ISCSI_TCP is not set | 639 | # CONFIG_ISCSI_TCP is not set |
634 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 640 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
635 | # CONFIG_SCSI_BNX2_ISCSI is not set | 641 | # CONFIG_SCSI_BNX2_ISCSI is not set |
642 | # CONFIG_BE2ISCSI is not set | ||
636 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 643 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
637 | # CONFIG_SCSI_3W_9XXX is not set | 644 | # CONFIG_SCSI_3W_9XXX is not set |
638 | # CONFIG_SCSI_ACARD is not set | 645 | # CONFIG_SCSI_ACARD is not set |
@@ -672,11 +679,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
672 | # CONFIG_SCSI_DC390T is not set | 679 | # CONFIG_SCSI_DC390T is not set |
673 | # CONFIG_SCSI_NSP32 is not set | 680 | # CONFIG_SCSI_NSP32 is not set |
674 | # CONFIG_SCSI_DEBUG is not set | 681 | # CONFIG_SCSI_DEBUG is not set |
682 | # CONFIG_SCSI_PMCRAID is not set | ||
675 | # CONFIG_SCSI_SRP is not set | 683 | # CONFIG_SCSI_SRP is not set |
684 | # CONFIG_SCSI_BFA_FC is not set | ||
676 | # CONFIG_SCSI_DH is not set | 685 | # CONFIG_SCSI_DH is not set |
677 | # CONFIG_SCSI_OSD_INITIATOR is not set | 686 | # CONFIG_SCSI_OSD_INITIATOR is not set |
678 | CONFIG_ATA=y | 687 | CONFIG_ATA=y |
679 | # CONFIG_ATA_NONSTANDARD is not set | 688 | # CONFIG_ATA_NONSTANDARD is not set |
689 | CONFIG_ATA_VERBOSE_ERROR=y | ||
680 | CONFIG_SATA_PMP=y | 690 | CONFIG_SATA_PMP=y |
681 | # CONFIG_SATA_AHCI is not set | 691 | # CONFIG_SATA_AHCI is not set |
682 | # CONFIG_SATA_SIL24 is not set | 692 | # CONFIG_SATA_SIL24 is not set |
@@ -698,6 +708,7 @@ CONFIG_SATA_MV=y | |||
698 | # CONFIG_PATA_ALI is not set | 708 | # CONFIG_PATA_ALI is not set |
699 | # CONFIG_PATA_AMD is not set | 709 | # CONFIG_PATA_AMD is not set |
700 | # CONFIG_PATA_ARTOP is not set | 710 | # CONFIG_PATA_ARTOP is not set |
711 | # CONFIG_PATA_ATP867X is not set | ||
701 | # CONFIG_PATA_ATIIXP is not set | 712 | # CONFIG_PATA_ATIIXP is not set |
702 | # CONFIG_PATA_CMD640_PCI is not set | 713 | # CONFIG_PATA_CMD640_PCI is not set |
703 | # CONFIG_PATA_CMD64X is not set | 714 | # CONFIG_PATA_CMD64X is not set |
@@ -725,6 +736,7 @@ CONFIG_SATA_MV=y | |||
725 | # CONFIG_PATA_OPTIDMA is not set | 736 | # CONFIG_PATA_OPTIDMA is not set |
726 | # CONFIG_PATA_PDC_OLD is not set | 737 | # CONFIG_PATA_PDC_OLD is not set |
727 | # CONFIG_PATA_RADISYS is not set | 738 | # CONFIG_PATA_RADISYS is not set |
739 | # CONFIG_PATA_RDC is not set | ||
728 | # CONFIG_PATA_RZ1000 is not set | 740 | # CONFIG_PATA_RZ1000 is not set |
729 | # CONFIG_PATA_SC1200 is not set | 741 | # CONFIG_PATA_SC1200 is not set |
730 | # CONFIG_PATA_SERVERWORKS is not set | 742 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -823,9 +835,11 @@ CONFIG_8139TOO=y | |||
823 | # CONFIG_SUNDANCE is not set | 835 | # CONFIG_SUNDANCE is not set |
824 | # CONFIG_TLAN is not set | 836 | # CONFIG_TLAN is not set |
825 | # CONFIG_KS8842 is not set | 837 | # CONFIG_KS8842 is not set |
838 | # CONFIG_KS8851_MLL is not set | ||
826 | # CONFIG_VIA_RHINE is not set | 839 | # CONFIG_VIA_RHINE is not set |
827 | # CONFIG_SC92031 is not set | 840 | # CONFIG_SC92031 is not set |
828 | # CONFIG_ATL2 is not set | 841 | # CONFIG_ATL2 is not set |
842 | # CONFIG_XILINX_EMACLITE is not set | ||
829 | CONFIG_NETDEV_1000=y | 843 | CONFIG_NETDEV_1000=y |
830 | # CONFIG_ACENIC is not set | 844 | # CONFIG_ACENIC is not set |
831 | # CONFIG_DL2K is not set | 845 | # CONFIG_DL2K is not set |
@@ -871,10 +885,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
871 | # CONFIG_SFC is not set | 885 | # CONFIG_SFC is not set |
872 | # CONFIG_BE2NET is not set | 886 | # CONFIG_BE2NET is not set |
873 | # CONFIG_TR is not set | 887 | # CONFIG_TR is not set |
874 | 888 | CONFIG_WLAN=y | |
875 | # | ||
876 | # Wireless LAN | ||
877 | # | ||
878 | # CONFIG_WLAN_PRE80211 is not set | 889 | # CONFIG_WLAN_PRE80211 is not set |
879 | # CONFIG_WLAN_80211 is not set | 890 | # CONFIG_WLAN_80211 is not set |
880 | 891 | ||
@@ -977,6 +988,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
977 | CONFIG_DEVPORT=y | 988 | CONFIG_DEVPORT=y |
978 | CONFIG_I2C=y | 989 | CONFIG_I2C=y |
979 | CONFIG_I2C_BOARDINFO=y | 990 | CONFIG_I2C_BOARDINFO=y |
991 | CONFIG_I2C_COMPAT=y | ||
980 | CONFIG_I2C_CHARDEV=y | 992 | CONFIG_I2C_CHARDEV=y |
981 | CONFIG_I2C_HELPER_AUTO=y | 993 | CONFIG_I2C_HELPER_AUTO=y |
982 | 994 | ||
@@ -1031,9 +1043,6 @@ CONFIG_I2C_MV64XXX=y | |||
1031 | # Miscellaneous I2C Chip support | 1043 | # Miscellaneous I2C Chip support |
1032 | # | 1044 | # |
1033 | # CONFIG_DS1682 is not set | 1045 | # CONFIG_DS1682 is not set |
1034 | # CONFIG_SENSORS_PCF8574 is not set | ||
1035 | # CONFIG_PCF8575 is not set | ||
1036 | # CONFIG_SENSORS_PCA9539 is not set | ||
1037 | # CONFIG_SENSORS_TSL2550 is not set | 1046 | # CONFIG_SENSORS_TSL2550 is not set |
1038 | # CONFIG_I2C_DEBUG_CORE is not set | 1047 | # CONFIG_I2C_DEBUG_CORE is not set |
1039 | # CONFIG_I2C_DEBUG_ALGO is not set | 1048 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -1051,6 +1060,11 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
1051 | # CONFIG_POWER_SUPPLY is not set | 1060 | # CONFIG_POWER_SUPPLY is not set |
1052 | CONFIG_HWMON=y | 1061 | CONFIG_HWMON=y |
1053 | # CONFIG_HWMON_VID is not set | 1062 | # CONFIG_HWMON_VID is not set |
1063 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1064 | |||
1065 | # | ||
1066 | # Native drivers | ||
1067 | # | ||
1054 | # CONFIG_SENSORS_AD7414 is not set | 1068 | # CONFIG_SENSORS_AD7414 is not set |
1055 | # CONFIG_SENSORS_AD7418 is not set | 1069 | # CONFIG_SENSORS_AD7418 is not set |
1056 | # CONFIG_SENSORS_ADM1021 is not set | 1070 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -1100,6 +1114,7 @@ CONFIG_HWMON=y | |||
1100 | # CONFIG_SENSORS_ADS7828 is not set | 1114 | # CONFIG_SENSORS_ADS7828 is not set |
1101 | # CONFIG_SENSORS_THMC50 is not set | 1115 | # CONFIG_SENSORS_THMC50 is not set |
1102 | # CONFIG_SENSORS_TMP401 is not set | 1116 | # CONFIG_SENSORS_TMP401 is not set |
1117 | # CONFIG_SENSORS_TMP421 is not set | ||
1103 | # CONFIG_SENSORS_VIA686A is not set | 1118 | # CONFIG_SENSORS_VIA686A is not set |
1104 | # CONFIG_SENSORS_VT1211 is not set | 1119 | # CONFIG_SENSORS_VT1211 is not set |
1105 | # CONFIG_SENSORS_VT8231 is not set | 1120 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1111,9 +1126,7 @@ CONFIG_HWMON=y | |||
1111 | # CONFIG_SENSORS_W83L786NG is not set | 1126 | # CONFIG_SENSORS_W83L786NG is not set |
1112 | # CONFIG_SENSORS_W83627HF is not set | 1127 | # CONFIG_SENSORS_W83627HF is not set |
1113 | # CONFIG_SENSORS_W83627EHF is not set | 1128 | # CONFIG_SENSORS_W83627EHF is not set |
1114 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1115 | # CONFIG_THERMAL is not set | 1129 | # CONFIG_THERMAL is not set |
1116 | # CONFIG_THERMAL_HWMON is not set | ||
1117 | # CONFIG_WATCHDOG is not set | 1130 | # CONFIG_WATCHDOG is not set |
1118 | CONFIG_SSB_POSSIBLE=y | 1131 | CONFIG_SSB_POSSIBLE=y |
1119 | 1132 | ||
@@ -1132,6 +1145,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1132 | # CONFIG_MFD_TMIO is not set | 1145 | # CONFIG_MFD_TMIO is not set |
1133 | # CONFIG_PMIC_DA903X is not set | 1146 | # CONFIG_PMIC_DA903X is not set |
1134 | # CONFIG_MFD_WM8400 is not set | 1147 | # CONFIG_MFD_WM8400 is not set |
1148 | # CONFIG_MFD_WM831X is not set | ||
1135 | # CONFIG_MFD_WM8350_I2C is not set | 1149 | # CONFIG_MFD_WM8350_I2C is not set |
1136 | # CONFIG_MFD_PCF50633 is not set | 1150 | # CONFIG_MFD_PCF50633 is not set |
1137 | # CONFIG_AB3100_CORE is not set | 1151 | # CONFIG_AB3100_CORE is not set |
@@ -1142,6 +1156,7 @@ CONFIG_SSB_POSSIBLE=y | |||
1142 | # Graphics support | 1156 | # Graphics support |
1143 | # | 1157 | # |
1144 | # CONFIG_AGP is not set | 1158 | # CONFIG_AGP is not set |
1159 | CONFIG_VGA_ARB=y | ||
1145 | # CONFIG_DRM is not set | 1160 | # CONFIG_DRM is not set |
1146 | # CONFIG_VGASTATE is not set | 1161 | # CONFIG_VGASTATE is not set |
1147 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 1162 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
@@ -1162,7 +1177,6 @@ CONFIG_DUMMY_CONSOLE=y | |||
1162 | # CONFIG_SOUND is not set | 1177 | # CONFIG_SOUND is not set |
1163 | CONFIG_HID_SUPPORT=y | 1178 | CONFIG_HID_SUPPORT=y |
1164 | CONFIG_HID=y | 1179 | CONFIG_HID=y |
1165 | # CONFIG_HID_DEBUG is not set | ||
1166 | # CONFIG_HIDRAW is not set | 1180 | # CONFIG_HIDRAW is not set |
1167 | 1181 | ||
1168 | # | 1182 | # |
@@ -1186,6 +1200,7 @@ CONFIG_HID_DRAGONRISE=y | |||
1186 | CONFIG_HID_EZKEY=y | 1200 | CONFIG_HID_EZKEY=y |
1187 | CONFIG_HID_KYE=y | 1201 | CONFIG_HID_KYE=y |
1188 | CONFIG_HID_GYRATION=y | 1202 | CONFIG_HID_GYRATION=y |
1203 | CONFIG_HID_TWINHAN=y | ||
1189 | CONFIG_HID_KENSINGTON=y | 1204 | CONFIG_HID_KENSINGTON=y |
1190 | CONFIG_HID_LOGITECH=y | 1205 | CONFIG_HID_LOGITECH=y |
1191 | # CONFIG_LOGITECH_FF is not set | 1206 | # CONFIG_LOGITECH_FF is not set |
@@ -1239,6 +1254,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
1239 | # CONFIG_USB_OXU210HP_HCD is not set | 1254 | # CONFIG_USB_OXU210HP_HCD is not set |
1240 | # CONFIG_USB_ISP116X_HCD is not set | 1255 | # CONFIG_USB_ISP116X_HCD is not set |
1241 | # CONFIG_USB_ISP1760_HCD is not set | 1256 | # CONFIG_USB_ISP1760_HCD is not set |
1257 | # CONFIG_USB_ISP1362_HCD is not set | ||
1242 | CONFIG_USB_OHCI_HCD=y | 1258 | CONFIG_USB_OHCI_HCD=y |
1243 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | 1259 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set |
1244 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1260 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1404,6 +1420,7 @@ CONFIG_FS_MBCACHE=y | |||
1404 | # CONFIG_GFS2_FS is not set | 1420 | # CONFIG_GFS2_FS is not set |
1405 | # CONFIG_OCFS2_FS is not set | 1421 | # CONFIG_OCFS2_FS is not set |
1406 | # CONFIG_BTRFS_FS is not set | 1422 | # CONFIG_BTRFS_FS is not set |
1423 | # CONFIG_NILFS2_FS is not set | ||
1407 | CONFIG_FILE_LOCKING=y | 1424 | CONFIG_FILE_LOCKING=y |
1408 | CONFIG_FSNOTIFY=y | 1425 | CONFIG_FSNOTIFY=y |
1409 | CONFIG_DNOTIFY=y | 1426 | CONFIG_DNOTIFY=y |
@@ -1463,7 +1480,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
1463 | # CONFIG_ROMFS_FS is not set | 1480 | # CONFIG_ROMFS_FS is not set |
1464 | # CONFIG_SYSV_FS is not set | 1481 | # CONFIG_SYSV_FS is not set |
1465 | # CONFIG_UFS_FS is not set | 1482 | # CONFIG_UFS_FS is not set |
1466 | # CONFIG_NILFS2_FS is not set | ||
1467 | CONFIG_NETWORK_FILESYSTEMS=y | 1483 | CONFIG_NETWORK_FILESYSTEMS=y |
1468 | CONFIG_NFS_FS=y | 1484 | CONFIG_NFS_FS=y |
1469 | # CONFIG_NFS_V3 is not set | 1485 | # CONFIG_NFS_V3 is not set |
@@ -1576,6 +1592,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1576 | CONFIG_ENABLE_MUST_CHECK=y | 1592 | CONFIG_ENABLE_MUST_CHECK=y |
1577 | CONFIG_FRAME_WARN=1024 | 1593 | CONFIG_FRAME_WARN=1024 |
1578 | # CONFIG_MAGIC_SYSRQ is not set | 1594 | # CONFIG_MAGIC_SYSRQ is not set |
1595 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1579 | # CONFIG_UNUSED_SYMBOLS is not set | 1596 | # CONFIG_UNUSED_SYMBOLS is not set |
1580 | # CONFIG_DEBUG_FS is not set | 1597 | # CONFIG_DEBUG_FS is not set |
1581 | # CONFIG_HEADERS_CHECK is not set | 1598 | # CONFIG_HEADERS_CHECK is not set |
@@ -1593,6 +1610,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1593 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1610 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1594 | CONFIG_TRACING_SUPPORT=y | 1611 | CONFIG_TRACING_SUPPORT=y |
1595 | # CONFIG_FTRACE is not set | 1612 | # CONFIG_FTRACE is not set |
1613 | # CONFIG_DMA_API_DEBUG is not set | ||
1596 | # CONFIG_SAMPLES is not set | 1614 | # CONFIG_SAMPLES is not set |
1597 | CONFIG_HAVE_ARCH_KGDB=y | 1615 | CONFIG_HAVE_ARCH_KGDB=y |
1598 | # CONFIG_PPC_DISABLE_WERROR is not set | 1616 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1614,7 +1632,6 @@ CONFIG_CRYPTO=y | |||
1614 | # | 1632 | # |
1615 | # Crypto core or helper | 1633 | # Crypto core or helper |
1616 | # | 1634 | # |
1617 | # CONFIG_CRYPTO_FIPS is not set | ||
1618 | # CONFIG_CRYPTO_MANAGER is not set | 1635 | # CONFIG_CRYPTO_MANAGER is not set |
1619 | # CONFIG_CRYPTO_MANAGER2 is not set | 1636 | # CONFIG_CRYPTO_MANAGER2 is not set |
1620 | # CONFIG_CRYPTO_GF128MUL is not set | 1637 | # CONFIG_CRYPTO_GF128MUL is not set |
@@ -1645,11 +1662,13 @@ CONFIG_CRYPTO=y | |||
1645 | # | 1662 | # |
1646 | # CONFIG_CRYPTO_HMAC is not set | 1663 | # CONFIG_CRYPTO_HMAC is not set |
1647 | # CONFIG_CRYPTO_XCBC is not set | 1664 | # CONFIG_CRYPTO_XCBC is not set |
1665 | # CONFIG_CRYPTO_VMAC is not set | ||
1648 | 1666 | ||
1649 | # | 1667 | # |
1650 | # Digest | 1668 | # Digest |
1651 | # | 1669 | # |
1652 | # CONFIG_CRYPTO_CRC32C is not set | 1670 | # CONFIG_CRYPTO_CRC32C is not set |
1671 | # CONFIG_CRYPTO_GHASH is not set | ||
1653 | # CONFIG_CRYPTO_MD4 is not set | 1672 | # CONFIG_CRYPTO_MD4 is not set |
1654 | # CONFIG_CRYPTO_MD5 is not set | 1673 | # CONFIG_CRYPTO_MD5 is not set |
1655 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1674 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/storcenter_defconfig b/arch/powerpc/configs/storcenter_defconfig index 28384dc01003..524263158fc0 100644 --- a/arch/powerpc/configs/storcenter_defconfig +++ b/arch/powerpc/configs/storcenter_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc4 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Wed Jul 29 23:32:01 2009 | 4 | # Thu Nov 5 08:20:19 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -34,6 +34,7 @@ CONFIG_GENERIC_CLOCKEVENTS=y | |||
34 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | 35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y |
36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
37 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
38 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -82,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
82 | # | 83 | # |
83 | # RCU Subsystem | 84 | # RCU Subsystem |
84 | # | 85 | # |
85 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
86 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
87 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
88 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
89 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
90 | # CONFIG_IKCONFIG is not set | 92 | # CONFIG_IKCONFIG is not set |
91 | CONFIG_LOG_BUF_SHIFT=14 | 93 | CONFIG_LOG_BUF_SHIFT=14 |
92 | CONFIG_GROUP_SCHED=y | 94 | CONFIG_GROUP_SCHED=y |
@@ -118,28 +120,29 @@ CONFIG_TIMERFD=y | |||
118 | CONFIG_EVENTFD=y | 120 | CONFIG_EVENTFD=y |
119 | CONFIG_SHMEM=y | 121 | CONFIG_SHMEM=y |
120 | CONFIG_AIO=y | 122 | CONFIG_AIO=y |
121 | CONFIG_HAVE_PERF_COUNTERS=y | 123 | CONFIG_HAVE_PERF_EVENTS=y |
122 | 124 | ||
123 | # | 125 | # |
124 | # Performance Counters | 126 | # Kernel Performance Events And Counters |
125 | # | 127 | # |
128 | # CONFIG_PERF_EVENTS is not set | ||
126 | # CONFIG_PERF_COUNTERS is not set | 129 | # CONFIG_PERF_COUNTERS is not set |
127 | CONFIG_VM_EVENT_COUNTERS=y | 130 | CONFIG_VM_EVENT_COUNTERS=y |
128 | CONFIG_PCI_QUIRKS=y | 131 | CONFIG_PCI_QUIRKS=y |
129 | CONFIG_SLUB_DEBUG=y | 132 | CONFIG_SLUB_DEBUG=y |
130 | # CONFIG_STRIP_ASM_SYMS is not set | ||
131 | CONFIG_COMPAT_BRK=y | 133 | CONFIG_COMPAT_BRK=y |
132 | # CONFIG_SLAB is not set | 134 | # CONFIG_SLAB is not set |
133 | CONFIG_SLUB=y | 135 | CONFIG_SLUB=y |
134 | # CONFIG_SLOB is not set | 136 | # CONFIG_SLOB is not set |
135 | # CONFIG_PROFILING is not set | 137 | # CONFIG_PROFILING is not set |
136 | # CONFIG_MARKERS is not set | ||
137 | CONFIG_HAVE_OPROFILE=y | 138 | CONFIG_HAVE_OPROFILE=y |
138 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 139 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
139 | CONFIG_HAVE_IOREMAP_PROT=y | 140 | CONFIG_HAVE_IOREMAP_PROT=y |
140 | CONFIG_HAVE_KPROBES=y | 141 | CONFIG_HAVE_KPROBES=y |
141 | CONFIG_HAVE_KRETPROBES=y | 142 | CONFIG_HAVE_KRETPROBES=y |
142 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 143 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
144 | CONFIG_HAVE_DMA_ATTRS=y | ||
145 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
143 | 146 | ||
144 | # | 147 | # |
145 | # GCOV-based kernel profiling | 148 | # GCOV-based kernel profiling |
@@ -243,6 +246,7 @@ CONFIG_ARCH_HAS_WALK_MEMORY=y | |||
243 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 246 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
244 | # CONFIG_KEXEC is not set | 247 | # CONFIG_KEXEC is not set |
245 | # CONFIG_CRASH_DUMP is not set | 248 | # CONFIG_CRASH_DUMP is not set |
249 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
246 | CONFIG_ARCH_FLATMEM_ENABLE=y | 250 | CONFIG_ARCH_FLATMEM_ENABLE=y |
247 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 251 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
248 | CONFIG_SELECT_MEMORY_MODEL=y | 252 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -260,6 +264,7 @@ CONFIG_BOUNCE=y | |||
260 | CONFIG_VIRT_TO_BUS=y | 264 | CONFIG_VIRT_TO_BUS=y |
261 | CONFIG_HAVE_MLOCK=y | 265 | CONFIG_HAVE_MLOCK=y |
262 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 266 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
267 | # CONFIG_KSM is not set | ||
263 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 268 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
264 | CONFIG_PPC_4K_PAGES=y | 269 | CONFIG_PPC_4K_PAGES=y |
265 | # CONFIG_PPC_16K_PAGES is not set | 270 | # CONFIG_PPC_16K_PAGES is not set |
@@ -349,6 +354,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
349 | # CONFIG_NETFILTER is not set | 354 | # CONFIG_NETFILTER is not set |
350 | # CONFIG_IP_DCCP is not set | 355 | # CONFIG_IP_DCCP is not set |
351 | # CONFIG_IP_SCTP is not set | 356 | # CONFIG_IP_SCTP is not set |
357 | # CONFIG_RDS is not set | ||
352 | # CONFIG_TIPC is not set | 358 | # CONFIG_TIPC is not set |
353 | # CONFIG_ATM is not set | 359 | # CONFIG_ATM is not set |
354 | # CONFIG_BRIDGE is not set | 360 | # CONFIG_BRIDGE is not set |
@@ -378,6 +384,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
378 | # CONFIG_AF_RXRPC is not set | 384 | # CONFIG_AF_RXRPC is not set |
379 | CONFIG_WIRELESS=y | 385 | CONFIG_WIRELESS=y |
380 | # CONFIG_CFG80211 is not set | 386 | # CONFIG_CFG80211 is not set |
387 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
381 | CONFIG_WIRELESS_OLD_REGULATORY=y | 388 | CONFIG_WIRELESS_OLD_REGULATORY=y |
382 | # CONFIG_WIRELESS_EXT is not set | 389 | # CONFIG_WIRELESS_EXT is not set |
383 | # CONFIG_LIB80211 is not set | 390 | # CONFIG_LIB80211 is not set |
@@ -385,7 +392,6 @@ CONFIG_WIRELESS_OLD_REGULATORY=y | |||
385 | # | 392 | # |
386 | # CFG80211 needs to be enabled for MAC80211 | 393 | # CFG80211 needs to be enabled for MAC80211 |
387 | # | 394 | # |
388 | CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | ||
389 | # CONFIG_WIMAX is not set | 395 | # CONFIG_WIMAX is not set |
390 | # CONFIG_RFKILL is not set | 396 | # CONFIG_RFKILL is not set |
391 | # CONFIG_NET_9P is not set | 397 | # CONFIG_NET_9P is not set |
@@ -398,6 +404,7 @@ CONFIG_MAC80211_DEFAULT_PS_VALUE=0 | |||
398 | # Generic Driver Options | 404 | # Generic Driver Options |
399 | # | 405 | # |
400 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 406 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
407 | # CONFIG_DEVTMPFS is not set | ||
401 | CONFIG_STANDALONE=y | 408 | CONFIG_STANDALONE=y |
402 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 409 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
403 | # CONFIG_FW_LOADER is not set | 410 | # CONFIG_FW_LOADER is not set |
@@ -405,9 +412,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
405 | # CONFIG_CONNECTOR is not set | 412 | # CONFIG_CONNECTOR is not set |
406 | CONFIG_MTD=y | 413 | CONFIG_MTD=y |
407 | # CONFIG_MTD_DEBUG is not set | 414 | # CONFIG_MTD_DEBUG is not set |
415 | # CONFIG_MTD_TESTS is not set | ||
408 | # CONFIG_MTD_CONCAT is not set | 416 | # CONFIG_MTD_CONCAT is not set |
409 | CONFIG_MTD_PARTITIONS=y | 417 | CONFIG_MTD_PARTITIONS=y |
410 | # CONFIG_MTD_TESTS is not set | ||
411 | # CONFIG_MTD_REDBOOT_PARTS is not set | 418 | # CONFIG_MTD_REDBOOT_PARTS is not set |
412 | CONFIG_MTD_CMDLINE_PARTS=y | 419 | CONFIG_MTD_CMDLINE_PARTS=y |
413 | CONFIG_MTD_OF_PARTS=y | 420 | CONFIG_MTD_OF_PARTS=y |
@@ -619,6 +626,7 @@ CONFIG_SCSI_SPI_ATTRS=y | |||
619 | CONFIG_SCSI_LOWLEVEL=y | 626 | CONFIG_SCSI_LOWLEVEL=y |
620 | # CONFIG_ISCSI_TCP is not set | 627 | # CONFIG_ISCSI_TCP is not set |
621 | # CONFIG_SCSI_BNX2_ISCSI is not set | 628 | # CONFIG_SCSI_BNX2_ISCSI is not set |
629 | # CONFIG_BE2ISCSI is not set | ||
622 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 630 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
623 | # CONFIG_SCSI_3W_9XXX is not set | 631 | # CONFIG_SCSI_3W_9XXX is not set |
624 | # CONFIG_SCSI_ACARD is not set | 632 | # CONFIG_SCSI_ACARD is not set |
@@ -657,7 +665,9 @@ CONFIG_SCSI_LOWLEVEL=y | |||
657 | # CONFIG_SCSI_DC390T is not set | 665 | # CONFIG_SCSI_DC390T is not set |
658 | # CONFIG_SCSI_NSP32 is not set | 666 | # CONFIG_SCSI_NSP32 is not set |
659 | # CONFIG_SCSI_DEBUG is not set | 667 | # CONFIG_SCSI_DEBUG is not set |
668 | # CONFIG_SCSI_PMCRAID is not set | ||
660 | # CONFIG_SCSI_SRP is not set | 669 | # CONFIG_SCSI_SRP is not set |
670 | # CONFIG_SCSI_BFA_FC is not set | ||
661 | # CONFIG_SCSI_DH is not set | 671 | # CONFIG_SCSI_DH is not set |
662 | # CONFIG_SCSI_OSD_INITIATOR is not set | 672 | # CONFIG_SCSI_OSD_INITIATOR is not set |
663 | # CONFIG_ATA is not set | 673 | # CONFIG_ATA is not set |
@@ -670,6 +680,7 @@ CONFIG_MD_RAID1=y | |||
670 | # CONFIG_MD_RAID10 is not set | 680 | # CONFIG_MD_RAID10 is not set |
671 | CONFIG_MD_RAID456=y | 681 | CONFIG_MD_RAID456=y |
672 | CONFIG_MD_RAID6_PQ=y | 682 | CONFIG_MD_RAID6_PQ=y |
683 | # CONFIG_ASYNC_RAID6_TEST is not set | ||
673 | # CONFIG_MD_MULTIPATH is not set | 684 | # CONFIG_MD_MULTIPATH is not set |
674 | # CONFIG_MD_FAULTY is not set | 685 | # CONFIG_MD_FAULTY is not set |
675 | # CONFIG_BLK_DEV_DM is not set | 686 | # CONFIG_BLK_DEV_DM is not set |
@@ -729,10 +740,7 @@ CONFIG_R8169=y | |||
729 | # CONFIG_JME is not set | 740 | # CONFIG_JME is not set |
730 | # CONFIG_NETDEV_10000 is not set | 741 | # CONFIG_NETDEV_10000 is not set |
731 | # CONFIG_TR is not set | 742 | # CONFIG_TR is not set |
732 | 743 | CONFIG_WLAN=y | |
733 | # | ||
734 | # Wireless LAN | ||
735 | # | ||
736 | # CONFIG_WLAN_PRE80211 is not set | 744 | # CONFIG_WLAN_PRE80211 is not set |
737 | # CONFIG_WLAN_80211 is not set | 745 | # CONFIG_WLAN_80211 is not set |
738 | 746 | ||
@@ -813,6 +821,7 @@ CONFIG_NVRAM=y | |||
813 | CONFIG_DEVPORT=y | 821 | CONFIG_DEVPORT=y |
814 | CONFIG_I2C=y | 822 | CONFIG_I2C=y |
815 | CONFIG_I2C_BOARDINFO=y | 823 | CONFIG_I2C_BOARDINFO=y |
824 | CONFIG_I2C_COMPAT=y | ||
816 | CONFIG_I2C_CHARDEV=y | 825 | CONFIG_I2C_CHARDEV=y |
817 | CONFIG_I2C_HELPER_AUTO=y | 826 | CONFIG_I2C_HELPER_AUTO=y |
818 | 827 | ||
@@ -867,9 +876,6 @@ CONFIG_I2C_MPC=y | |||
867 | # Miscellaneous I2C Chip support | 876 | # Miscellaneous I2C Chip support |
868 | # | 877 | # |
869 | # CONFIG_DS1682 is not set | 878 | # CONFIG_DS1682 is not set |
870 | # CONFIG_SENSORS_PCF8574 is not set | ||
871 | # CONFIG_PCF8575 is not set | ||
872 | # CONFIG_SENSORS_PCA9539 is not set | ||
873 | # CONFIG_SENSORS_TSL2550 is not set | 879 | # CONFIG_SENSORS_TSL2550 is not set |
874 | # CONFIG_I2C_DEBUG_CORE is not set | 880 | # CONFIG_I2C_DEBUG_CORE is not set |
875 | # CONFIG_I2C_DEBUG_ALGO is not set | 881 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -887,7 +893,6 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | |||
887 | # CONFIG_POWER_SUPPLY is not set | 893 | # CONFIG_POWER_SUPPLY is not set |
888 | # CONFIG_HWMON is not set | 894 | # CONFIG_HWMON is not set |
889 | # CONFIG_THERMAL is not set | 895 | # CONFIG_THERMAL is not set |
890 | # CONFIG_THERMAL_HWMON is not set | ||
891 | # CONFIG_WATCHDOG is not set | 896 | # CONFIG_WATCHDOG is not set |
892 | CONFIG_SSB_POSSIBLE=y | 897 | CONFIG_SSB_POSSIBLE=y |
893 | 898 | ||
@@ -906,6 +911,7 @@ CONFIG_SSB_POSSIBLE=y | |||
906 | # CONFIG_MFD_TMIO is not set | 911 | # CONFIG_MFD_TMIO is not set |
907 | # CONFIG_PMIC_DA903X is not set | 912 | # CONFIG_PMIC_DA903X is not set |
908 | # CONFIG_MFD_WM8400 is not set | 913 | # CONFIG_MFD_WM8400 is not set |
914 | # CONFIG_MFD_WM831X is not set | ||
909 | # CONFIG_MFD_WM8350_I2C is not set | 915 | # CONFIG_MFD_WM8350_I2C is not set |
910 | # CONFIG_MFD_PCF50633 is not set | 916 | # CONFIG_MFD_PCF50633 is not set |
911 | # CONFIG_AB3100_CORE is not set | 917 | # CONFIG_AB3100_CORE is not set |
@@ -916,6 +922,7 @@ CONFIG_SSB_POSSIBLE=y | |||
916 | # Graphics support | 922 | # Graphics support |
917 | # | 923 | # |
918 | # CONFIG_AGP is not set | 924 | # CONFIG_AGP is not set |
925 | CONFIG_VGA_ARB=y | ||
919 | # CONFIG_DRM is not set | 926 | # CONFIG_DRM is not set |
920 | # CONFIG_VGASTATE is not set | 927 | # CONFIG_VGASTATE is not set |
921 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 928 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -961,6 +968,7 @@ CONFIG_USB_EHCI_HCD_PPC_OF=y | |||
961 | # CONFIG_USB_OXU210HP_HCD is not set | 968 | # CONFIG_USB_OXU210HP_HCD is not set |
962 | # CONFIG_USB_ISP116X_HCD is not set | 969 | # CONFIG_USB_ISP116X_HCD is not set |
963 | # CONFIG_USB_ISP1760_HCD is not set | 970 | # CONFIG_USB_ISP1760_HCD is not set |
971 | # CONFIG_USB_ISP1362_HCD is not set | ||
964 | CONFIG_USB_OHCI_HCD=y | 972 | CONFIG_USB_OHCI_HCD=y |
965 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | 973 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set |
966 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 974 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
@@ -1141,6 +1149,7 @@ CONFIG_XFS_FS=m | |||
1141 | # CONFIG_GFS2_FS is not set | 1149 | # CONFIG_GFS2_FS is not set |
1142 | # CONFIG_OCFS2_FS is not set | 1150 | # CONFIG_OCFS2_FS is not set |
1143 | # CONFIG_BTRFS_FS is not set | 1151 | # CONFIG_BTRFS_FS is not set |
1152 | # CONFIG_NILFS2_FS is not set | ||
1144 | CONFIG_FILE_LOCKING=y | 1153 | CONFIG_FILE_LOCKING=y |
1145 | CONFIG_FSNOTIFY=y | 1154 | CONFIG_FSNOTIFY=y |
1146 | CONFIG_DNOTIFY=y | 1155 | CONFIG_DNOTIFY=y |
@@ -1210,7 +1219,6 @@ CONFIG_JFFS2_RTIME=y | |||
1210 | # CONFIG_ROMFS_FS is not set | 1219 | # CONFIG_ROMFS_FS is not set |
1211 | # CONFIG_SYSV_FS is not set | 1220 | # CONFIG_SYSV_FS is not set |
1212 | # CONFIG_UFS_FS is not set | 1221 | # CONFIG_UFS_FS is not set |
1213 | # CONFIG_NILFS2_FS is not set | ||
1214 | # CONFIG_NETWORK_FILESYSTEMS is not set | 1222 | # CONFIG_NETWORK_FILESYSTEMS is not set |
1215 | CONFIG_EXPORTFS=m | 1223 | CONFIG_EXPORTFS=m |
1216 | 1224 | ||
@@ -1307,6 +1315,7 @@ CONFIG_GENERIC_ATOMIC64=y | |||
1307 | # CONFIG_ENABLE_MUST_CHECK is not set | 1315 | # CONFIG_ENABLE_MUST_CHECK is not set |
1308 | CONFIG_FRAME_WARN=1024 | 1316 | CONFIG_FRAME_WARN=1024 |
1309 | # CONFIG_MAGIC_SYSRQ is not set | 1317 | # CONFIG_MAGIC_SYSRQ is not set |
1318 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1310 | # CONFIG_UNUSED_SYMBOLS is not set | 1319 | # CONFIG_UNUSED_SYMBOLS is not set |
1311 | # CONFIG_DEBUG_FS is not set | 1320 | # CONFIG_DEBUG_FS is not set |
1312 | # CONFIG_HEADERS_CHECK is not set | 1321 | # CONFIG_HEADERS_CHECK is not set |
@@ -1324,6 +1333,7 @@ CONFIG_HAVE_DYNAMIC_FTRACE=y | |||
1324 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1333 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1325 | CONFIG_TRACING_SUPPORT=y | 1334 | CONFIG_TRACING_SUPPORT=y |
1326 | # CONFIG_FTRACE is not set | 1335 | # CONFIG_FTRACE is not set |
1336 | # CONFIG_DMA_API_DEBUG is not set | ||
1327 | # CONFIG_SAMPLES is not set | 1337 | # CONFIG_SAMPLES is not set |
1328 | CONFIG_HAVE_ARCH_KGDB=y | 1338 | CONFIG_HAVE_ARCH_KGDB=y |
1329 | # CONFIG_PPC_DISABLE_WERROR is not set | 1339 | # CONFIG_PPC_DISABLE_WERROR is not set |
@@ -1344,6 +1354,8 @@ CONFIG_XOR_BLOCKS=y | |||
1344 | CONFIG_ASYNC_CORE=y | 1354 | CONFIG_ASYNC_CORE=y |
1345 | CONFIG_ASYNC_MEMCPY=y | 1355 | CONFIG_ASYNC_MEMCPY=y |
1346 | CONFIG_ASYNC_XOR=y | 1356 | CONFIG_ASYNC_XOR=y |
1357 | CONFIG_ASYNC_PQ=y | ||
1358 | CONFIG_ASYNC_RAID6_RECOV=y | ||
1347 | # CONFIG_CRYPTO is not set | 1359 | # CONFIG_CRYPTO is not set |
1348 | # CONFIG_PPC_CLOCK is not set | 1360 | # CONFIG_PPC_CLOCK is not set |
1349 | # CONFIG_VIRTUALIZATION is not set | 1361 | # CONFIG_VIRTUALIZATION is not set |
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 92dc844299b6..a136a11c490d 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -777,7 +777,7 @@ int update_persistent_clock(struct timespec now) | |||
777 | return ppc_md.set_rtc_time(&tm); | 777 | return ppc_md.set_rtc_time(&tm); |
778 | } | 778 | } |
779 | 779 | ||
780 | void read_persistent_clock(struct timespec *ts) | 780 | static void __read_persistent_clock(struct timespec *ts) |
781 | { | 781 | { |
782 | struct rtc_time tm; | 782 | struct rtc_time tm; |
783 | static int first = 1; | 783 | static int first = 1; |
@@ -800,10 +800,23 @@ void read_persistent_clock(struct timespec *ts) | |||
800 | return; | 800 | return; |
801 | } | 801 | } |
802 | ppc_md.get_rtc_time(&tm); | 802 | ppc_md.get_rtc_time(&tm); |
803 | |||
803 | ts->tv_sec = mktime(tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, | 804 | ts->tv_sec = mktime(tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, |
804 | tm.tm_hour, tm.tm_min, tm.tm_sec); | 805 | tm.tm_hour, tm.tm_min, tm.tm_sec); |
805 | } | 806 | } |
806 | 807 | ||
808 | void read_persistent_clock(struct timespec *ts) | ||
809 | { | ||
810 | __read_persistent_clock(ts); | ||
811 | |||
812 | /* Sanitize it in case real time clock is set below EPOCH */ | ||
813 | if (ts->tv_sec < 0) { | ||
814 | ts->tv_sec = 0; | ||
815 | ts->tv_nsec = 0; | ||
816 | } | ||
817 | |||
818 | } | ||
819 | |||
807 | /* clocksource code */ | 820 | /* clocksource code */ |
808 | static cycle_t rtc_read(struct clocksource *cs) | 821 | static cycle_t rtc_read(struct clocksource *cs) |
809 | { | 822 | { |
diff --git a/arch/powerpc/kvm/timing.h b/arch/powerpc/kvm/timing.h index bb13b1f3cd5a..806ef67868bd 100644 --- a/arch/powerpc/kvm/timing.h +++ b/arch/powerpc/kvm/timing.h | |||
@@ -48,7 +48,11 @@ static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} | |||
48 | static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) | 48 | static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) |
49 | { | 49 | { |
50 | /* type has to be known at build time for optimization */ | 50 | /* type has to be known at build time for optimization */ |
51 | |||
52 | /* The BUILD_BUG_ON below breaks in funny ways, commented out | ||
53 | * for now ... -BenH | ||
51 | BUILD_BUG_ON(__builtin_constant_p(type)); | 54 | BUILD_BUG_ON(__builtin_constant_p(type)); |
55 | */ | ||
52 | switch (type) { | 56 | switch (type) { |
53 | case EXT_INTR_EXITS: | 57 | case EXT_INTR_EXITS: |
54 | vcpu->stat.ext_intr_exits++; | 58 | vcpu->stat.ext_intr_exits++; |
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c index c2f93dc470e6..be4f34c30a0b 100644 --- a/arch/powerpc/mm/mmu_context_nohash.c +++ b/arch/powerpc/mm/mmu_context_nohash.c | |||
@@ -25,8 +25,8 @@ | |||
25 | * also clear mm->cpu_vm_mask bits when processes are migrated | 25 | * also clear mm->cpu_vm_mask bits when processes are migrated |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #define DEBUG_MAP_CONSISTENCY | 28 | //#define DEBUG_MAP_CONSISTENCY |
29 | #define DEBUG_CLAMP_LAST_CONTEXT 31 | 29 | //#define DEBUG_CLAMP_LAST_CONTEXT 31 |
30 | //#define DEBUG_HARDER | 30 | //#define DEBUG_HARDER |
31 | 31 | ||
32 | /* We don't use DEBUG because it tends to be compiled in always nowadays | 32 | /* We don't use DEBUG because it tends to be compiled in always nowadays |
diff --git a/arch/powerpc/platforms/82xx/ep8248e.c b/arch/powerpc/platforms/82xx/ep8248e.c index 51fcae41f08a..f9aee182e6f7 100644 --- a/arch/powerpc/platforms/82xx/ep8248e.c +++ b/arch/powerpc/platforms/82xx/ep8248e.c | |||
@@ -132,12 +132,25 @@ static int __devinit ep8248e_mdio_probe(struct of_device *ofdev, | |||
132 | return -ENOMEM; | 132 | return -ENOMEM; |
133 | 133 | ||
134 | bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); | 134 | bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); |
135 | if (bus->irq == NULL) { | ||
136 | ret = -ENOMEM; | ||
137 | goto err_free_bus; | ||
138 | } | ||
135 | 139 | ||
136 | bus->name = "ep8248e-mdio-bitbang"; | 140 | bus->name = "ep8248e-mdio-bitbang"; |
137 | bus->parent = &ofdev->dev; | 141 | bus->parent = &ofdev->dev; |
138 | snprintf(bus->id, MII_BUS_ID_SIZE, "%x", res.start); | 142 | snprintf(bus->id, MII_BUS_ID_SIZE, "%x", res.start); |
139 | 143 | ||
140 | return of_mdiobus_register(bus, ofdev->node); | 144 | ret = of_mdiobus_register(bus, ofdev->node); |
145 | if (ret) | ||
146 | goto err_free_irq; | ||
147 | |||
148 | return 0; | ||
149 | err_free_irq: | ||
150 | kfree(bus->irq); | ||
151 | err_free_bus: | ||
152 | free_mdio_bitbang(bus); | ||
153 | return ret; | ||
141 | } | 154 | } |
142 | 155 | ||
143 | static int ep8248e_mdio_remove(struct of_device *ofdev) | 156 | static int ep8248e_mdio_remove(struct of_device *ofdev) |
diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c index bf2e1ac41308..1164c3430f2c 100644 --- a/arch/powerpc/platforms/pseries/msi.c +++ b/arch/powerpc/platforms/pseries/msi.c | |||
@@ -432,8 +432,6 @@ static int rtas_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) | |||
432 | /* Read config space back so we can restore after reset */ | 432 | /* Read config space back so we can restore after reset */ |
433 | read_msi_msg(virq, &msg); | 433 | read_msi_msg(virq, &msg); |
434 | entry->msg = msg; | 434 | entry->msg = msg; |
435 | |||
436 | unmask_msi_irq(virq); | ||
437 | } | 435 | } |
438 | 436 | ||
439 | return 0; | 437 | return 0; |
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index 419f8a637ffe..b9bf0eedccf2 100644 --- a/arch/powerpc/platforms/pseries/xics.c +++ b/arch/powerpc/platforms/pseries/xics.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/radix-tree.h> | 19 | #include <linux/radix-tree.h> |
20 | #include <linux/cpu.h> | 20 | #include <linux/cpu.h> |
21 | #include <linux/msi.h> | ||
21 | #include <linux/of.h> | 22 | #include <linux/of.h> |
22 | 23 | ||
23 | #include <asm/firmware.h> | 24 | #include <asm/firmware.h> |
@@ -219,6 +220,14 @@ static void xics_unmask_irq(unsigned int virq) | |||
219 | 220 | ||
220 | static unsigned int xics_startup(unsigned int virq) | 221 | static unsigned int xics_startup(unsigned int virq) |
221 | { | 222 | { |
223 | /* | ||
224 | * The generic MSI code returns with the interrupt disabled on the | ||
225 | * card, using the MSI mask bits. Firmware doesn't appear to unmask | ||
226 | * at that level, so we do it here by hand. | ||
227 | */ | ||
228 | if (irq_to_desc(virq)->msi_desc) | ||
229 | unmask_msi_irq(virq); | ||
230 | |||
222 | /* unmask it */ | 231 | /* unmask it */ |
223 | xics_unmask_irq(virq); | 232 | xics_unmask_irq(virq); |
224 | return 0; | 233 | return 0; |
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index bf8b4ae7ff2d..e49e9e0c69fd 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
@@ -55,6 +55,7 @@ static void __init reset_tod_clock(void) | |||
55 | disabled_wait(0); | 55 | disabled_wait(0); |
56 | 56 | ||
57 | sched_clock_base_cc = TOD_UNIX_EPOCH; | 57 | sched_clock_base_cc = TOD_UNIX_EPOCH; |
58 | S390_lowcore.last_update_clock = sched_clock_base_cc; | ||
58 | } | 59 | } |
59 | 60 | ||
60 | #ifdef CONFIG_SHARED_KERNEL | 61 | #ifdef CONFIG_SHARED_KERNEL |
@@ -167,6 +168,14 @@ static noinline __init void create_kernel_nss(void) | |||
167 | return; | 168 | return; |
168 | } | 169 | } |
169 | 170 | ||
171 | /* re-initialize cputime accounting. */ | ||
172 | sched_clock_base_cc = get_clock(); | ||
173 | S390_lowcore.last_update_clock = sched_clock_base_cc; | ||
174 | S390_lowcore.last_update_timer = 0x7fffffffffffffffULL; | ||
175 | S390_lowcore.user_timer = 0; | ||
176 | S390_lowcore.system_timer = 0; | ||
177 | asm volatile("SPT 0(%0)" : : "a" (&S390_lowcore.last_update_timer)); | ||
178 | |||
170 | /* re-setup boot command line with new ipl vm parms */ | 179 | /* re-setup boot command line with new ipl vm parms */ |
171 | ipl_update_parameters(); | 180 | ipl_update_parameters(); |
172 | setup_boot_command_line(); | 181 | setup_boot_command_line(); |
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index f43d2ee54464..48215d15762b 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S | |||
@@ -565,10 +565,10 @@ pgm_svcper: | |||
565 | lh %r7,0x8a # get svc number from lowcore | 565 | lh %r7,0x8a # get svc number from lowcore |
566 | l %r9,__LC_THREAD_INFO # load pointer to thread_info struct | 566 | l %r9,__LC_THREAD_INFO # load pointer to thread_info struct |
567 | TRACE_IRQS_OFF | 567 | TRACE_IRQS_OFF |
568 | l %r1,__TI_task(%r9) | 568 | l %r8,__TI_task(%r9) |
569 | mvc __THREAD_per+__PER_atmid(2,%r1),__LC_PER_ATMID | 569 | mvc __THREAD_per+__PER_atmid(2,%r8),__LC_PER_ATMID |
570 | mvc __THREAD_per+__PER_address(4,%r1),__LC_PER_ADDRESS | 570 | mvc __THREAD_per+__PER_address(4,%r8),__LC_PER_ADDRESS |
571 | mvc __THREAD_per+__PER_access_id(1,%r1),__LC_PER_ACCESS_ID | 571 | mvc __THREAD_per+__PER_access_id(1,%r8),__LC_PER_ACCESS_ID |
572 | oi __TI_flags+3(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP | 572 | oi __TI_flags+3(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP |
573 | TRACE_IRQS_ON | 573 | TRACE_IRQS_ON |
574 | stosm __SF_EMPTY(%r15),0x03 # reenable interrupts | 574 | stosm __SF_EMPTY(%r15),0x03 # reenable interrupts |
diff --git a/arch/s390/kernel/entry64.S b/arch/s390/kernel/entry64.S index a6f7b20df616..9aff1d449b6e 100644 --- a/arch/s390/kernel/entry64.S +++ b/arch/s390/kernel/entry64.S | |||
@@ -543,10 +543,10 @@ pgm_svcper: | |||
543 | mvc __LC_LAST_UPDATE_TIMER(8),__LC_SYNC_ENTER_TIMER | 543 | mvc __LC_LAST_UPDATE_TIMER(8),__LC_SYNC_ENTER_TIMER |
544 | llgh %r7,__LC_SVC_INT_CODE # get svc number from lowcore | 544 | llgh %r7,__LC_SVC_INT_CODE # get svc number from lowcore |
545 | lg %r9,__LC_THREAD_INFO # load pointer to thread_info struct | 545 | lg %r9,__LC_THREAD_INFO # load pointer to thread_info struct |
546 | lg %r1,__TI_task(%r9) | 546 | lg %r8,__TI_task(%r9) |
547 | mvc __THREAD_per+__PER_atmid(2,%r1),__LC_PER_ATMID | 547 | mvc __THREAD_per+__PER_atmid(2,%r8),__LC_PER_ATMID |
548 | mvc __THREAD_per+__PER_address(8,%r1),__LC_PER_ADDRESS | 548 | mvc __THREAD_per+__PER_address(8,%r8),__LC_PER_ADDRESS |
549 | mvc __THREAD_per+__PER_access_id(1,%r1),__LC_PER_ACCESS_ID | 549 | mvc __THREAD_per+__PER_access_id(1,%r8),__LC_PER_ACCESS_ID |
550 | oi __TI_flags+7(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP | 550 | oi __TI_flags+7(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP |
551 | TRACE_IRQS_ON | 551 | TRACE_IRQS_ON |
552 | stosm __SF_EMPTY(%r15),0x03 # reenable interrupts | 552 | stosm __SF_EMPTY(%r15),0x03 # reenable interrupts |
diff --git a/arch/sh/boards/mach-hp6xx/setup.c b/arch/sh/boards/mach-hp6xx/setup.c index 8f305b36358b..e6dd5e96321e 100644 --- a/arch/sh/boards/mach-hp6xx/setup.c +++ b/arch/sh/boards/mach-hp6xx/setup.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <sound/sh_dac_audio.h> | ||
16 | #include <asm/hd64461.h> | 17 | #include <asm/hd64461.h> |
17 | #include <asm/io.h> | 18 | #include <asm/io.h> |
18 | #include <mach/hp6xx.h> | 19 | #include <mach/hp6xx.h> |
@@ -51,9 +52,63 @@ static struct platform_device jornadakbd_device = { | |||
51 | .id = -1, | 52 | .id = -1, |
52 | }; | 53 | }; |
53 | 54 | ||
55 | static void dac_audio_start(struct dac_audio_pdata *pdata) | ||
56 | { | ||
57 | u16 v; | ||
58 | u8 v8; | ||
59 | |||
60 | /* HP Jornada 680/690 speaker on */ | ||
61 | v = inw(HD64461_GPADR); | ||
62 | v &= ~HD64461_GPADR_SPEAKER; | ||
63 | outw(v, HD64461_GPADR); | ||
64 | |||
65 | /* HP Palmtop 620lx/660lx speaker on */ | ||
66 | v8 = inb(PKDR); | ||
67 | v8 &= ~PKDR_SPEAKER; | ||
68 | outb(v8, PKDR); | ||
69 | |||
70 | sh_dac_enable(pdata->channel); | ||
71 | } | ||
72 | |||
73 | static void dac_audio_stop(struct dac_audio_pdata *pdata) | ||
74 | { | ||
75 | u16 v; | ||
76 | u8 v8; | ||
77 | |||
78 | /* HP Jornada 680/690 speaker off */ | ||
79 | v = inw(HD64461_GPADR); | ||
80 | v |= HD64461_GPADR_SPEAKER; | ||
81 | outw(v, HD64461_GPADR); | ||
82 | |||
83 | /* HP Palmtop 620lx/660lx speaker off */ | ||
84 | v8 = inb(PKDR); | ||
85 | v8 |= PKDR_SPEAKER; | ||
86 | outb(v8, PKDR); | ||
87 | |||
88 | sh_dac_output(0, pdata->channel); | ||
89 | sh_dac_disable(pdata->channel); | ||
90 | } | ||
91 | |||
92 | static struct dac_audio_pdata dac_audio_platform_data = { | ||
93 | .buffer_size = 64000, | ||
94 | .channel = 1, | ||
95 | .start = dac_audio_start, | ||
96 | .stop = dac_audio_stop, | ||
97 | }; | ||
98 | |||
99 | static struct platform_device dac_audio_device = { | ||
100 | .name = "dac_audio", | ||
101 | .id = -1, | ||
102 | .dev = { | ||
103 | .platform_data = &dac_audio_platform_data, | ||
104 | } | ||
105 | |||
106 | }; | ||
107 | |||
54 | static struct platform_device *hp6xx_devices[] __initdata = { | 108 | static struct platform_device *hp6xx_devices[] __initdata = { |
55 | &cf_ide_device, | 109 | &cf_ide_device, |
56 | &jornadakbd_device, | 110 | &jornadakbd_device, |
111 | &dac_audio_device, | ||
57 | }; | 112 | }; |
58 | 113 | ||
59 | static void __init hp6xx_init_irq(void) | 114 | static void __init hp6xx_init_irq(void) |
diff --git a/arch/sh/include/asm/rwsem.h b/arch/sh/include/asm/rwsem.h index 1987f3ea7f1b..06e2251a5e48 100644 --- a/arch/sh/include/asm/rwsem.h +++ b/arch/sh/include/asm/rwsem.h | |||
@@ -41,7 +41,7 @@ struct rw_semaphore { | |||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #define __RWSEM_INITIALIZER(name) \ | 43 | #define __RWSEM_INITIALIZER(name) \ |
44 | { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ | 44 | { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ |
45 | LIST_HEAD_INIT((name).wait_list) \ | 45 | LIST_HEAD_INIT((name).wait_list) \ |
46 | __RWSEM_DEP_MAP_INIT(name) } | 46 | __RWSEM_DEP_MAP_INIT(name) } |
47 | 47 | ||
diff --git a/arch/sh/include/mach-common/mach/hp6xx.h b/arch/sh/include/mach-common/mach/hp6xx.h index 0d4165a32dcd..bcc301ac12f4 100644 --- a/arch/sh/include/mach-common/mach/hp6xx.h +++ b/arch/sh/include/mach-common/mach/hp6xx.h | |||
@@ -29,6 +29,9 @@ | |||
29 | 29 | ||
30 | #define PKDR_LED_GREEN 0x10 | 30 | #define PKDR_LED_GREEN 0x10 |
31 | 31 | ||
32 | /* HP Palmtop 620lx/660lx speaker on/off */ | ||
33 | #define PKDR_SPEAKER 0x20 | ||
34 | |||
32 | #define SCPDR_TS_SCAN_ENABLE 0x20 | 35 | #define SCPDR_TS_SCAN_ENABLE 0x20 |
33 | #define SCPDR_TS_SCAN_Y 0x02 | 36 | #define SCPDR_TS_SCAN_Y 0x02 |
34 | #define SCPDR_TS_SCAN_X 0x01 | 37 | #define SCPDR_TS_SCAN_X 0x01 |
@@ -42,6 +45,7 @@ | |||
42 | #define ADC_CHANNEL_BACKUP 4 | 45 | #define ADC_CHANNEL_BACKUP 4 |
43 | #define ADC_CHANNEL_CHARGE 5 | 46 | #define ADC_CHANNEL_CHARGE 5 |
44 | 47 | ||
48 | /* HP Jornada 680/690 speaker on/off */ | ||
45 | #define HD64461_GPADR_SPEAKER 0x01 | 49 | #define HD64461_GPADR_SPEAKER 0x01 |
46 | #define HD64461_GPADR_PCMCIA0 (0x02|0x08) | 50 | #define HD64461_GPADR_PCMCIA0 (0x02|0x08) |
47 | 51 | ||
diff --git a/arch/sh/kernel/cpu/irq/imask.c b/arch/sh/kernel/cpu/irq/imask.c index 6b5d191eec3a..a351ed84eec5 100644 --- a/arch/sh/kernel/cpu/irq/imask.c +++ b/arch/sh/kernel/cpu/irq/imask.c | |||
@@ -68,7 +68,7 @@ static void unmask_imask_irq(unsigned int irq) | |||
68 | } | 68 | } |
69 | 69 | ||
70 | static struct irq_chip imask_irq_chip = { | 70 | static struct irq_chip imask_irq_chip = { |
71 | .typename = "SR.IMASK", | 71 | .name = "SR.IMASK", |
72 | .mask = mask_imask_irq, | 72 | .mask = mask_imask_irq, |
73 | .unmask = unmask_imask_irq, | 73 | .unmask = unmask_imask_irq, |
74 | .mask_ack = mask_imask_irq, | 74 | .mask_ack = mask_imask_irq, |
diff --git a/arch/sh/kernel/cpu/irq/intc-sh5.c b/arch/sh/kernel/cpu/irq/intc-sh5.c index 6c092f1f5557..06e7e2959b54 100644 --- a/arch/sh/kernel/cpu/irq/intc-sh5.c +++ b/arch/sh/kernel/cpu/irq/intc-sh5.c | |||
@@ -85,7 +85,7 @@ static void mask_and_ack_intc(unsigned int); | |||
85 | static void end_intc_irq(unsigned int irq); | 85 | static void end_intc_irq(unsigned int irq); |
86 | 86 | ||
87 | static struct irq_chip intc_irq_type = { | 87 | static struct irq_chip intc_irq_type = { |
88 | .typename = "INTC", | 88 | .name = "INTC", |
89 | .startup = startup_intc_irq, | 89 | .startup = startup_intc_irq, |
90 | .shutdown = shutdown_intc_irq, | 90 | .shutdown = shutdown_intc_irq, |
91 | .enable = enable_intc_irq, | 91 | .enable = enable_intc_irq, |
diff --git a/arch/sh/kernel/dwarf.c b/arch/sh/kernel/dwarf.c index 2d07084e4882..d76a23170dbb 100644 --- a/arch/sh/kernel/dwarf.c +++ b/arch/sh/kernel/dwarf.c | |||
@@ -555,7 +555,7 @@ struct dwarf_frame * dwarf_unwind_stack(unsigned long pc, | |||
555 | * NOTE: the return address is guaranteed to be setup by the | 555 | * NOTE: the return address is guaranteed to be setup by the |
556 | * time this function makes its first function call. | 556 | * time this function makes its first function call. |
557 | */ | 557 | */ |
558 | if (!pc && !prev) | 558 | if (!pc || !prev) |
559 | pc = (unsigned long)current_text_addr(); | 559 | pc = (unsigned long)current_text_addr(); |
560 | 560 | ||
561 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 561 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 519e2d16cd06..b7f235c74d66 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -72,6 +72,7 @@ static void __uses_jump_to_uncached sh4_flush_icache_range(void *args) | |||
72 | 72 | ||
73 | for (v = start; v < end; v += L1_CACHE_BYTES) { | 73 | for (v = start; v < end; v += L1_CACHE_BYTES) { |
74 | unsigned long icacheaddr; | 74 | unsigned long icacheaddr; |
75 | int j, n; | ||
75 | 76 | ||
76 | __ocbwb(v); | 77 | __ocbwb(v); |
77 | 78 | ||
@@ -79,8 +80,10 @@ static void __uses_jump_to_uncached sh4_flush_icache_range(void *args) | |||
79 | cpu_data->icache.entry_mask); | 80 | cpu_data->icache.entry_mask); |
80 | 81 | ||
81 | /* Clear i-cache line valid-bit */ | 82 | /* Clear i-cache line valid-bit */ |
83 | n = boot_cpu_data.icache.n_aliases; | ||
82 | for (i = 0; i < cpu_data->icache.ways; i++) { | 84 | for (i = 0; i < cpu_data->icache.ways; i++) { |
83 | __raw_writel(0, icacheaddr); | 85 | for (j = 0; j < n; j++) |
86 | __raw_writel(0, icacheaddr + (j * PAGE_SIZE)); | ||
84 | icacheaddr += cpu_data->icache.way_incr; | 87 | icacheaddr += cpu_data->icache.way_incr; |
85 | } | 88 | } |
86 | } | 89 | } |
diff --git a/arch/sparc/boot/btfixupprep.c b/arch/sparc/boot/btfixupprep.c index 52a4208fe4f0..bbf91b9c3d39 100644 --- a/arch/sparc/boot/btfixupprep.c +++ b/arch/sparc/boot/btfixupprep.c | |||
@@ -61,14 +61,14 @@ unsigned long lastfoffset = -1; | |||
61 | unsigned long lastfrelno; | 61 | unsigned long lastfrelno; |
62 | btfixup *lastf; | 62 | btfixup *lastf; |
63 | 63 | ||
64 | void fatal(void) __attribute__((noreturn)); | 64 | static void fatal(void) __attribute__((noreturn)); |
65 | void fatal(void) | 65 | static void fatal(void) |
66 | { | 66 | { |
67 | fprintf(stderr, "Malformed output from objdump\n%s\n", buffer); | 67 | fprintf(stderr, "Malformed output from objdump\n%s\n", buffer); |
68 | exit(1); | 68 | exit(1); |
69 | } | 69 | } |
70 | 70 | ||
71 | btfixup *find(int type, char *name) | 71 | static btfixup *find(int type, char *name) |
72 | { | 72 | { |
73 | int i; | 73 | int i; |
74 | for (i = 0; i < last; i++) { | 74 | for (i = 0; i < last; i++) { |
@@ -88,7 +88,7 @@ btfixup *find(int type, char *name) | |||
88 | return array + last - 1; | 88 | return array + last - 1; |
89 | } | 89 | } |
90 | 90 | ||
91 | void set_mode (char *buffer) | 91 | static void set_mode (char *buffer) |
92 | { | 92 | { |
93 | for (mode = 0;; mode++) | 93 | for (mode = 0;; mode++) |
94 | if (buffer[mode] < '0' || buffer[mode] > '9') | 94 | if (buffer[mode] < '0' || buffer[mode] > '9') |
diff --git a/arch/sparc/boot/piggyback_32.c b/arch/sparc/boot/piggyback_32.c index e8dc9adfcd61..ac944aec7301 100644 --- a/arch/sparc/boot/piggyback_32.c +++ b/arch/sparc/boot/piggyback_32.c | |||
@@ -35,17 +35,17 @@ | |||
35 | * as PROM looks for a.out image only. | 35 | * as PROM looks for a.out image only. |
36 | */ | 36 | */ |
37 | 37 | ||
38 | unsigned short ld2(char *p) | 38 | static unsigned short ld2(char *p) |
39 | { | 39 | { |
40 | return (p[0] << 8) | p[1]; | 40 | return (p[0] << 8) | p[1]; |
41 | } | 41 | } |
42 | 42 | ||
43 | unsigned int ld4(char *p) | 43 | static unsigned int ld4(char *p) |
44 | { | 44 | { |
45 | return (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; | 45 | return (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; |
46 | } | 46 | } |
47 | 47 | ||
48 | void st4(char *p, unsigned int x) | 48 | static void st4(char *p, unsigned int x) |
49 | { | 49 | { |
50 | p[0] = x >> 24; | 50 | p[0] = x >> 24; |
51 | p[1] = x >> 16; | 51 | p[1] = x >> 16; |
@@ -53,7 +53,7 @@ void st4(char *p, unsigned int x) | |||
53 | p[3] = x; | 53 | p[3] = x; |
54 | } | 54 | } |
55 | 55 | ||
56 | void usage(void) | 56 | static void usage(void) |
57 | { | 57 | { |
58 | /* fs_img.gz is an image of initial ramdisk. */ | 58 | /* fs_img.gz is an image of initial ramdisk. */ |
59 | fprintf(stderr, "Usage: piggyback vmlinux.aout System.map fs_img.gz\n"); | 59 | fprintf(stderr, "Usage: piggyback vmlinux.aout System.map fs_img.gz\n"); |
@@ -61,7 +61,7 @@ void usage(void) | |||
61 | exit(1); | 61 | exit(1); |
62 | } | 62 | } |
63 | 63 | ||
64 | void die(char *str) | 64 | static void die(char *str) |
65 | { | 65 | { |
66 | perror (str); | 66 | perror (str); |
67 | exit(1); | 67 | exit(1); |
diff --git a/arch/sparc/boot/piggyback_64.c b/arch/sparc/boot/piggyback_64.c index c63fd1b6bdd4..a26a686cb5aa 100644 --- a/arch/sparc/boot/piggyback_64.c +++ b/arch/sparc/boot/piggyback_64.c | |||
@@ -32,7 +32,7 @@ | |||
32 | /* Note: run this on an a.out kernel (use elftoaout for it), as PROM looks for a.out image onlly | 32 | /* Note: run this on an a.out kernel (use elftoaout for it), as PROM looks for a.out image onlly |
33 | usage: piggyback vmlinux System.map tail, where tail is gzipped fs of the initial ramdisk */ | 33 | usage: piggyback vmlinux System.map tail, where tail is gzipped fs of the initial ramdisk */ |
34 | 34 | ||
35 | void die(char *str) | 35 | static void die(char *str) |
36 | { | 36 | { |
37 | perror (str); | 37 | perror (str); |
38 | exit(1); | 38 | exit(1); |
diff --git a/arch/sparc/include/asm/system_64.h b/arch/sparc/include/asm/system_64.h index 25e848f0cad7..d47a98e66972 100644 --- a/arch/sparc/include/asm/system_64.h +++ b/arch/sparc/include/asm/system_64.h | |||
@@ -63,6 +63,10 @@ do { __asm__ __volatile__("ba,pt %%xcc, 1f\n\t" \ | |||
63 | : : : "memory"); \ | 63 | : : : "memory"); \ |
64 | } while (0) | 64 | } while (0) |
65 | 65 | ||
66 | /* The kernel always executes in TSO memory model these days, | ||
67 | * and furthermore most sparc64 chips implement more stringent | ||
68 | * memory ordering than required by the specifications. | ||
69 | */ | ||
66 | #define mb() membar_safe("#StoreLoad") | 70 | #define mb() membar_safe("#StoreLoad") |
67 | #define rmb() __asm__ __volatile__("":::"memory") | 71 | #define rmb() __asm__ __volatile__("":::"memory") |
68 | #define wmb() __asm__ __volatile__("":::"memory") | 72 | #define wmb() __asm__ __volatile__("":::"memory") |
diff --git a/arch/sparc/kernel/prom_common.c b/arch/sparc/kernel/prom_common.c index 138910c67206..d80a65d9e893 100644 --- a/arch/sparc/kernel/prom_common.c +++ b/arch/sparc/kernel/prom_common.c | |||
@@ -79,6 +79,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
79 | 79 | ||
80 | err = -ENODEV; | 80 | err = -ENODEV; |
81 | 81 | ||
82 | mutex_lock(&of_set_property_mutex); | ||
82 | write_lock(&devtree_lock); | 83 | write_lock(&devtree_lock); |
83 | prevp = &dp->properties; | 84 | prevp = &dp->properties; |
84 | while (*prevp) { | 85 | while (*prevp) { |
@@ -88,9 +89,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
88 | void *old_val = prop->value; | 89 | void *old_val = prop->value; |
89 | int ret; | 90 | int ret; |
90 | 91 | ||
91 | mutex_lock(&of_set_property_mutex); | ||
92 | ret = prom_setprop(dp->node, name, val, len); | 92 | ret = prom_setprop(dp->node, name, val, len); |
93 | mutex_unlock(&of_set_property_mutex); | ||
94 | 93 | ||
95 | err = -EINVAL; | 94 | err = -EINVAL; |
96 | if (ret >= 0) { | 95 | if (ret >= 0) { |
@@ -109,6 +108,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
109 | prevp = &(*prevp)->next; | 108 | prevp = &(*prevp)->next; |
110 | } | 109 | } |
111 | write_unlock(&devtree_lock); | 110 | write_unlock(&devtree_lock); |
111 | mutex_unlock(&of_set_property_mutex); | ||
112 | 112 | ||
113 | /* XXX Upate procfs if necessary... */ | 113 | /* XXX Upate procfs if necessary... */ |
114 | 114 | ||
diff --git a/arch/sparc/kernel/visemul.c b/arch/sparc/kernel/visemul.c index b956fd71c131..d231cbd5c526 100644 --- a/arch/sparc/kernel/visemul.c +++ b/arch/sparc/kernel/visemul.c | |||
@@ -617,7 +617,7 @@ static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf) | |||
617 | rs2 = fps_regval(f, RS2(insn)); | 617 | rs2 = fps_regval(f, RS2(insn)); |
618 | 618 | ||
619 | rd_val = 0; | 619 | rd_val = 0; |
620 | src2 = (rs2 >> (opf == FMUL8x16AU_OPF) ? 16 : 0); | 620 | src2 = rs2 >> (opf == FMUL8x16AU_OPF ? 16 : 0); |
621 | for (byte = 0; byte < 4; byte++) { | 621 | for (byte = 0; byte < 4; byte++) { |
622 | u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; | 622 | u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; |
623 | u32 prod = src1 * src2; | 623 | u32 prod = src1 * src2; |
diff --git a/arch/x86/include/asm/amd_iommu.h b/arch/x86/include/asm/amd_iommu.h index ac95995b7bad..4b180897e6b5 100644 --- a/arch/x86/include/asm/amd_iommu.h +++ b/arch/x86/include/asm/amd_iommu.h | |||
@@ -31,6 +31,7 @@ extern irqreturn_t amd_iommu_int_handler(int irq, void *data); | |||
31 | extern void amd_iommu_flush_all_domains(void); | 31 | extern void amd_iommu_flush_all_domains(void); |
32 | extern void amd_iommu_flush_all_devices(void); | 32 | extern void amd_iommu_flush_all_devices(void); |
33 | extern void amd_iommu_shutdown(void); | 33 | extern void amd_iommu_shutdown(void); |
34 | extern void amd_iommu_apply_erratum_63(u16 devid); | ||
34 | #else | 35 | #else |
35 | static inline int amd_iommu_init(void) { return -ENODEV; } | 36 | static inline int amd_iommu_init(void) { return -ENODEV; } |
36 | static inline void amd_iommu_detect(void) { } | 37 | static inline void amd_iommu_detect(void) { } |
diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h index e8de2f6f5ca5..617bd56b3070 100644 --- a/arch/x86/include/asm/desc.h +++ b/arch/x86/include/asm/desc.h | |||
@@ -288,7 +288,7 @@ static inline void load_LDT(mm_context_t *pc) | |||
288 | 288 | ||
289 | static inline unsigned long get_desc_base(const struct desc_struct *desc) | 289 | static inline unsigned long get_desc_base(const struct desc_struct *desc) |
290 | { | 290 | { |
291 | return desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24); | 291 | return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); |
292 | } | 292 | } |
293 | 293 | ||
294 | static inline void set_desc_base(struct desc_struct *desc, unsigned long base) | 294 | static inline void set_desc_base(struct desc_struct *desc, unsigned long base) |
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index 0ee770d23d0e..6a25d5d42836 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h | |||
@@ -14,6 +14,12 @@ | |||
14 | #include <asm/swiotlb.h> | 14 | #include <asm/swiotlb.h> |
15 | #include <asm-generic/dma-coherent.h> | 15 | #include <asm-generic/dma-coherent.h> |
16 | 16 | ||
17 | #ifdef CONFIG_ISA | ||
18 | # define ISA_DMA_BIT_MASK DMA_BIT_MASK(24) | ||
19 | #else | ||
20 | # define ISA_DMA_BIT_MASK DMA_BIT_MASK(32) | ||
21 | #endif | ||
22 | |||
17 | extern dma_addr_t bad_dma_address; | 23 | extern dma_addr_t bad_dma_address; |
18 | extern int iommu_merge; | 24 | extern int iommu_merge; |
19 | extern struct device x86_dma_fallback_dev; | 25 | extern struct device x86_dma_fallback_dev; |
@@ -124,10 +130,8 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, | |||
124 | if (dma_alloc_from_coherent(dev, size, dma_handle, &memory)) | 130 | if (dma_alloc_from_coherent(dev, size, dma_handle, &memory)) |
125 | return memory; | 131 | return memory; |
126 | 132 | ||
127 | if (!dev) { | 133 | if (!dev) |
128 | dev = &x86_dma_fallback_dev; | 134 | dev = &x86_dma_fallback_dev; |
129 | gfp |= GFP_DMA; | ||
130 | } | ||
131 | 135 | ||
132 | if (!is_device_dma_capable(dev)) | 136 | if (!is_device_dma_capable(dev)) |
133 | return NULL; | 137 | return NULL; |
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index c3429e8b2424..c9786480f0fe 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -1000,7 +1000,7 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
1000 | #define thread_saved_pc(t) (*(unsigned long *)((t)->thread.sp - 8)) | 1000 | #define thread_saved_pc(t) (*(unsigned long *)((t)->thread.sp - 8)) |
1001 | 1001 | ||
1002 | #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) | 1002 | #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) |
1003 | #define KSTK_ESP(tsk) -1 /* sorry. doesn't work for syscall. */ | 1003 | extern unsigned long KSTK_ESP(struct task_struct *task); |
1004 | #endif /* CONFIG_X86_64 */ | 1004 | #endif /* CONFIG_X86_64 */ |
1005 | 1005 | ||
1006 | extern void start_thread(struct pt_regs *regs, unsigned long new_ip, | 1006 | extern void start_thread(struct pt_regs *regs, unsigned long new_ip, |
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index d823c245f63b..40e37b10c6c0 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -143,7 +143,7 @@ extern unsigned long node_remap_size[]; | |||
143 | | 1*SD_BALANCE_FORK \ | 143 | | 1*SD_BALANCE_FORK \ |
144 | | 0*SD_BALANCE_WAKE \ | 144 | | 0*SD_BALANCE_WAKE \ |
145 | | 1*SD_WAKE_AFFINE \ | 145 | | 1*SD_WAKE_AFFINE \ |
146 | | 1*SD_PREFER_LOCAL \ | 146 | | 0*SD_PREFER_LOCAL \ |
147 | | 0*SD_SHARE_CPUPOWER \ | 147 | | 0*SD_SHARE_CPUPOWER \ |
148 | | 0*SD_POWERSAVINGS_BALANCE \ | 148 | | 0*SD_POWERSAVINGS_BALANCE \ |
149 | | 0*SD_SHARE_PKG_RESOURCES \ | 149 | | 0*SD_SHARE_PKG_RESOURCES \ |
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index 98f230f6a28d..0285521e0a99 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -1220,6 +1220,8 @@ static void __detach_device(struct protection_domain *domain, u16 devid) | |||
1220 | amd_iommu_dev_table[devid].data[1] = 0; | 1220 | amd_iommu_dev_table[devid].data[1] = 0; |
1221 | amd_iommu_dev_table[devid].data[2] = 0; | 1221 | amd_iommu_dev_table[devid].data[2] = 0; |
1222 | 1222 | ||
1223 | amd_iommu_apply_erratum_63(devid); | ||
1224 | |||
1223 | /* decrease reference counter */ | 1225 | /* decrease reference counter */ |
1224 | domain->dev_cnt -= 1; | 1226 | domain->dev_cnt -= 1; |
1225 | 1227 | ||
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index b4b61d462dcc..c20001e4f556 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -240,7 +240,7 @@ static void iommu_feature_enable(struct amd_iommu *iommu, u8 bit) | |||
240 | writel(ctrl, iommu->mmio_base + MMIO_CONTROL_OFFSET); | 240 | writel(ctrl, iommu->mmio_base + MMIO_CONTROL_OFFSET); |
241 | } | 241 | } |
242 | 242 | ||
243 | static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | 243 | static void iommu_feature_disable(struct amd_iommu *iommu, u8 bit) |
244 | { | 244 | { |
245 | u32 ctrl; | 245 | u32 ctrl; |
246 | 246 | ||
@@ -519,6 +519,26 @@ static void set_dev_entry_bit(u16 devid, u8 bit) | |||
519 | amd_iommu_dev_table[devid].data[i] |= (1 << _bit); | 519 | amd_iommu_dev_table[devid].data[i] |= (1 << _bit); |
520 | } | 520 | } |
521 | 521 | ||
522 | static int get_dev_entry_bit(u16 devid, u8 bit) | ||
523 | { | ||
524 | int i = (bit >> 5) & 0x07; | ||
525 | int _bit = bit & 0x1f; | ||
526 | |||
527 | return (amd_iommu_dev_table[devid].data[i] & (1 << _bit)) >> _bit; | ||
528 | } | ||
529 | |||
530 | |||
531 | void amd_iommu_apply_erratum_63(u16 devid) | ||
532 | { | ||
533 | int sysmgt; | ||
534 | |||
535 | sysmgt = get_dev_entry_bit(devid, DEV_ENTRY_SYSMGT1) | | ||
536 | (get_dev_entry_bit(devid, DEV_ENTRY_SYSMGT2) << 1); | ||
537 | |||
538 | if (sysmgt == 0x01) | ||
539 | set_dev_entry_bit(devid, DEV_ENTRY_IW); | ||
540 | } | ||
541 | |||
522 | /* Writes the specific IOMMU for a device into the rlookup table */ | 542 | /* Writes the specific IOMMU for a device into the rlookup table */ |
523 | static void __init set_iommu_for_device(struct amd_iommu *iommu, u16 devid) | 543 | static void __init set_iommu_for_device(struct amd_iommu *iommu, u16 devid) |
524 | { | 544 | { |
@@ -547,6 +567,8 @@ static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu, | |||
547 | if (flags & ACPI_DEVFLAG_LINT1) | 567 | if (flags & ACPI_DEVFLAG_LINT1) |
548 | set_dev_entry_bit(devid, DEV_ENTRY_LINT1_PASS); | 568 | set_dev_entry_bit(devid, DEV_ENTRY_LINT1_PASS); |
549 | 569 | ||
570 | amd_iommu_apply_erratum_63(devid); | ||
571 | |||
550 | set_iommu_for_device(iommu, devid); | 572 | set_iommu_for_device(iommu, devid); |
551 | } | 573 | } |
552 | 574 | ||
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c index 7d5c3b0ea8da..8b581d3905cb 100644 --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -526,15 +526,21 @@ static const struct dmi_system_id sw_any_bug_dmi_table[] = { | |||
526 | 526 | ||
527 | static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c) | 527 | static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c) |
528 | { | 528 | { |
529 | /* http://www.intel.com/Assets/PDF/specupdate/314554.pdf | 529 | /* Intel Xeon Processor 7100 Series Specification Update |
530 | * http://www.intel.com/Assets/PDF/specupdate/314554.pdf | ||
530 | * AL30: A Machine Check Exception (MCE) Occurring during an | 531 | * AL30: A Machine Check Exception (MCE) Occurring during an |
531 | * Enhanced Intel SpeedStep Technology Ratio Change May Cause | 532 | * Enhanced Intel SpeedStep Technology Ratio Change May Cause |
532 | * Both Processor Cores to Lock Up when HT is enabled*/ | 533 | * Both Processor Cores to Lock Up. */ |
533 | if (c->x86_vendor == X86_VENDOR_INTEL) { | 534 | if (c->x86_vendor == X86_VENDOR_INTEL) { |
534 | if ((c->x86 == 15) && | 535 | if ((c->x86 == 15) && |
535 | (c->x86_model == 6) && | 536 | (c->x86_model == 6) && |
536 | (c->x86_mask == 8) && smt_capable()) | 537 | (c->x86_mask == 8)) { |
538 | printk(KERN_INFO "acpi-cpufreq: Intel(R) " | ||
539 | "Xeon(R) 7100 Errata AL30, processors may " | ||
540 | "lock up on frequency changes: disabling " | ||
541 | "acpi-cpufreq.\n"); | ||
537 | return -ENODEV; | 542 | return -ENODEV; |
543 | } | ||
538 | } | 544 | } |
539 | return 0; | 545 | return 0; |
540 | } | 546 | } |
@@ -549,13 +555,18 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) | |||
549 | unsigned int result = 0; | 555 | unsigned int result = 0; |
550 | struct cpuinfo_x86 *c = &cpu_data(policy->cpu); | 556 | struct cpuinfo_x86 *c = &cpu_data(policy->cpu); |
551 | struct acpi_processor_performance *perf; | 557 | struct acpi_processor_performance *perf; |
558 | #ifdef CONFIG_SMP | ||
559 | static int blacklisted; | ||
560 | #endif | ||
552 | 561 | ||
553 | dprintk("acpi_cpufreq_cpu_init\n"); | 562 | dprintk("acpi_cpufreq_cpu_init\n"); |
554 | 563 | ||
555 | #ifdef CONFIG_SMP | 564 | #ifdef CONFIG_SMP |
556 | result = acpi_cpufreq_blacklist(c); | 565 | if (blacklisted) |
557 | if (result) | 566 | return blacklisted; |
558 | return result; | 567 | blacklisted = acpi_cpufreq_blacklist(c); |
568 | if (blacklisted) | ||
569 | return blacklisted; | ||
559 | #endif | 570 | #endif |
560 | 571 | ||
561 | data = kzalloc(sizeof(struct acpi_cpufreq_data), GFP_KERNEL); | 572 | data = kzalloc(sizeof(struct acpi_cpufreq_data), GFP_KERNEL); |
diff --git a/arch/x86/kernel/cpu/cpufreq/longhaul.c b/arch/x86/kernel/cpu/cpufreq/longhaul.c index ce2ed3e4aad9..cabd2fa3fc93 100644 --- a/arch/x86/kernel/cpu/cpufreq/longhaul.c +++ b/arch/x86/kernel/cpu/cpufreq/longhaul.c | |||
@@ -813,7 +813,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy) | |||
813 | memcpy(eblcr, samuel2_eblcr, sizeof(samuel2_eblcr)); | 813 | memcpy(eblcr, samuel2_eblcr, sizeof(samuel2_eblcr)); |
814 | break; | 814 | break; |
815 | case 1 ... 15: | 815 | case 1 ... 15: |
816 | longhaul_version = TYPE_LONGHAUL_V1; | 816 | longhaul_version = TYPE_LONGHAUL_V2; |
817 | if (c->x86_mask < 8) { | 817 | if (c->x86_mask < 8) { |
818 | cpu_model = CPU_SAMUEL2; | 818 | cpu_model = CPU_SAMUEL2; |
819 | cpuname = "C3 'Samuel 2' [C5B]"; | 819 | cpuname = "C3 'Samuel 2' [C5B]"; |
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index 6394aa5c7985..3f12dabeab52 100644 --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c | |||
@@ -1022,7 +1022,7 @@ static int get_transition_latency(struct powernow_k8_data *data) | |||
1022 | * set it to 1 to avoid problems in the future. | 1022 | * set it to 1 to avoid problems in the future. |
1023 | * For all others it's a BIOS bug. | 1023 | * For all others it's a BIOS bug. |
1024 | */ | 1024 | */ |
1025 | if (!boot_cpu_data.x86 == 0x11) | 1025 | if (boot_cpu_data.x86 != 0x11) |
1026 | printk(KERN_ERR FW_WARN PFX "Invalid zero transition " | 1026 | printk(KERN_ERR FW_WARN PFX "Invalid zero transition " |
1027 | "latency\n"); | 1027 | "latency\n"); |
1028 | max_latency = 1; | 1028 | max_latency = 1; |
diff --git a/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c b/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c index 6911e91fb4f6..3ae5a7a3a500 100644 --- a/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c | |||
@@ -232,28 +232,23 @@ static unsigned int speedstep_detect_chipset(void) | |||
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
234 | 234 | ||
235 | struct get_freq_data { | 235 | static void get_freq_data(void *_speed) |
236 | unsigned int speed; | ||
237 | unsigned int processor; | ||
238 | }; | ||
239 | |||
240 | static void get_freq_data(void *_data) | ||
241 | { | 236 | { |
242 | struct get_freq_data *data = _data; | 237 | unsigned int *speed = _speed; |
243 | 238 | ||
244 | data->speed = speedstep_get_frequency(data->processor); | 239 | *speed = speedstep_get_frequency(speedstep_processor); |
245 | } | 240 | } |
246 | 241 | ||
247 | static unsigned int speedstep_get(unsigned int cpu) | 242 | static unsigned int speedstep_get(unsigned int cpu) |
248 | { | 243 | { |
249 | struct get_freq_data data = { .processor = cpu }; | 244 | unsigned int speed; |
250 | 245 | ||
251 | /* You're supposed to ensure CPU is online. */ | 246 | /* You're supposed to ensure CPU is online. */ |
252 | if (smp_call_function_single(cpu, get_freq_data, &data, 1) != 0) | 247 | if (smp_call_function_single(cpu, get_freq_data, &speed, 1) != 0) |
253 | BUG(); | 248 | BUG(); |
254 | 249 | ||
255 | dprintk("detected %u kHz as current frequency\n", data.speed); | 250 | dprintk("detected %u kHz as current frequency\n", speed); |
256 | return data.speed; | 251 | return speed; |
257 | } | 252 | } |
258 | 253 | ||
259 | /** | 254 | /** |
diff --git a/arch/x86/kernel/cpu/mtrr/cleanup.c b/arch/x86/kernel/cpu/mtrr/cleanup.c index 315738c74aad..73c86db5acbe 100644 --- a/arch/x86/kernel/cpu/mtrr/cleanup.c +++ b/arch/x86/kernel/cpu/mtrr/cleanup.c | |||
@@ -846,7 +846,7 @@ int __init mtrr_cleanup(unsigned address_bits) | |||
846 | sort(range, nr_range, sizeof(struct res_range), cmp_range, NULL); | 846 | sort(range, nr_range, sizeof(struct res_range), cmp_range, NULL); |
847 | 847 | ||
848 | range_sums = sum_ranges(range, nr_range); | 848 | range_sums = sum_ranges(range, nr_range); |
849 | printk(KERN_INFO "total RAM coverred: %ldM\n", | 849 | printk(KERN_INFO "total RAM covered: %ldM\n", |
850 | range_sums >> (20 - PAGE_SHIFT)); | 850 | range_sums >> (20 - PAGE_SHIFT)); |
851 | 851 | ||
852 | if (mtrr_chunk_size && mtrr_gran_size) { | 852 | if (mtrr_chunk_size && mtrr_gran_size) { |
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c index 366baa179913..f4c538b681ca 100644 --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c | |||
@@ -317,6 +317,12 @@ static enum ucode_state request_microcode_fw(int cpu, struct device *device) | |||
317 | return UCODE_NFOUND; | 317 | return UCODE_NFOUND; |
318 | } | 318 | } |
319 | 319 | ||
320 | if (*(u32 *)firmware->data != UCODE_MAGIC) { | ||
321 | printk(KERN_ERR "microcode: invalid UCODE_MAGIC (0x%08x)\n", | ||
322 | *(u32 *)firmware->data); | ||
323 | return UCODE_ERROR; | ||
324 | } | ||
325 | |||
320 | ret = generic_load_microcode(cpu, firmware->data, firmware->size); | 326 | ret = generic_load_microcode(cpu, firmware->data, firmware->size); |
321 | 327 | ||
322 | release_firmware(firmware); | 328 | release_firmware(firmware); |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index b2a71dca5642..a6e804d16c35 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -45,12 +45,10 @@ int iommu_pass_through __read_mostly; | |||
45 | dma_addr_t bad_dma_address __read_mostly = 0; | 45 | dma_addr_t bad_dma_address __read_mostly = 0; |
46 | EXPORT_SYMBOL(bad_dma_address); | 46 | EXPORT_SYMBOL(bad_dma_address); |
47 | 47 | ||
48 | /* Dummy device used for NULL arguments (normally ISA). Better would | 48 | /* Dummy device used for NULL arguments (normally ISA). */ |
49 | be probably a smaller DMA mask, but this is bug-to-bug compatible | ||
50 | to older i386. */ | ||
51 | struct device x86_dma_fallback_dev = { | 49 | struct device x86_dma_fallback_dev = { |
52 | .init_name = "fallback device", | 50 | .init_name = "fallback device", |
53 | .coherent_dma_mask = DMA_BIT_MASK(32), | 51 | .coherent_dma_mask = ISA_DMA_BIT_MASK, |
54 | .dma_mask = &x86_dma_fallback_dev.coherent_dma_mask, | 52 | .dma_mask = &x86_dma_fallback_dev.coherent_dma_mask, |
55 | }; | 53 | }; |
56 | EXPORT_SYMBOL(x86_dma_fallback_dev); | 54 | EXPORT_SYMBOL(x86_dma_fallback_dev); |
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index ad535b683170..eb62cbcaa490 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -664,3 +664,8 @@ long sys_arch_prctl(int code, unsigned long addr) | |||
664 | return do_arch_prctl(current, code, addr); | 664 | return do_arch_prctl(current, code, addr); |
665 | } | 665 | } |
666 | 666 | ||
667 | unsigned long KSTK_ESP(struct task_struct *task) | ||
668 | { | ||
669 | return (test_tsk_thread_flag(task, TIF_IA32)) ? | ||
670 | (task_pt_regs(task)->sp) : ((task)->thread.usersp); | ||
671 | } | ||
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index a1a3cdda06e1..f93078746e00 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c | |||
@@ -436,6 +436,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { | |||
436 | DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5"), | 436 | DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5"), |
437 | }, | 437 | }, |
438 | }, | 438 | }, |
439 | { /* Handle problems with rebooting on Apple Macmini3,1 */ | ||
440 | .callback = set_pci_reboot, | ||
441 | .ident = "Apple Macmini3,1", | ||
442 | .matches = { | ||
443 | DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), | ||
444 | DMI_MATCH(DMI_PRODUCT_NAME, "Macmini3,1"), | ||
445 | }, | ||
446 | }, | ||
439 | { } | 447 | { } |
440 | }; | 448 | }; |
441 | 449 | ||
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index e09f0e2c14b5..2a34f9c5be21 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -660,6 +660,13 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = { | |||
660 | }, | 660 | }, |
661 | }, | 661 | }, |
662 | { | 662 | { |
663 | .callback = dmi_low_memory_corruption, | ||
664 | .ident = "Phoenix/MSC BIOS", | ||
665 | .matches = { | ||
666 | DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix/MSC"), | ||
667 | }, | ||
668 | }, | ||
669 | { | ||
663 | /* | 670 | /* |
664 | * AMI BIOS with low memory corruption was found on Intel DG45ID board. | 671 | * AMI BIOS with low memory corruption was found on Intel DG45ID board. |
665 | * It hase different DMI_BIOS_VENDOR = "Intel Corp.", for now we will | 672 | * It hase different DMI_BIOS_VENDOR = "Intel Corp.", for now we will |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 9b9695322f56..ae07d261527c 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1692,7 +1692,7 @@ static int kvm_vcpu_ioctl_x86_setup_mce(struct kvm_vcpu *vcpu, | |||
1692 | unsigned bank_num = mcg_cap & 0xff, bank; | 1692 | unsigned bank_num = mcg_cap & 0xff, bank; |
1693 | 1693 | ||
1694 | r = -EINVAL; | 1694 | r = -EINVAL; |
1695 | if (!bank_num) | 1695 | if (!bank_num || bank_num >= KVM_MAX_MCE_BANKS) |
1696 | goto out; | 1696 | goto out; |
1697 | if (mcg_cap & ~(KVM_MCE_CAP_SUPPORTED | 0xff | 0xff0000)) | 1697 | if (mcg_cap & ~(KVM_MCE_CAP_SUPPORTED | 0xff | 0xff0000)) |
1698 | goto out; | 1698 | goto out; |
@@ -4051,7 +4051,7 @@ static int save_guest_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector, | |||
4051 | return kvm_write_guest_virt(dtable.base + index*8, seg_desc, sizeof(*seg_desc), vcpu); | 4051 | return kvm_write_guest_virt(dtable.base + index*8, seg_desc, sizeof(*seg_desc), vcpu); |
4052 | } | 4052 | } |
4053 | 4053 | ||
4054 | static u32 get_tss_base_addr(struct kvm_vcpu *vcpu, | 4054 | static gpa_t get_tss_base_addr(struct kvm_vcpu *vcpu, |
4055 | struct desc_struct *seg_desc) | 4055 | struct desc_struct *seg_desc) |
4056 | { | 4056 | { |
4057 | u32 base_addr = get_desc_base(seg_desc); | 4057 | u32 base_addr = get_desc_base(seg_desc); |
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 334e63ca7b2b..2feb9bdedaaf 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -170,8 +170,7 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr, | |||
170 | (unsigned long long)phys_addr, | 170 | (unsigned long long)phys_addr, |
171 | (unsigned long long)(phys_addr + size), | 171 | (unsigned long long)(phys_addr + size), |
172 | prot_val, new_prot_val); | 172 | prot_val, new_prot_val); |
173 | free_memtype(phys_addr, phys_addr + size); | 173 | goto err_free_memtype; |
174 | return NULL; | ||
175 | } | 174 | } |
176 | prot_val = new_prot_val; | 175 | prot_val = new_prot_val; |
177 | } | 176 | } |
@@ -197,26 +196,25 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr, | |||
197 | */ | 196 | */ |
198 | area = get_vm_area_caller(size, VM_IOREMAP, caller); | 197 | area = get_vm_area_caller(size, VM_IOREMAP, caller); |
199 | if (!area) | 198 | if (!area) |
200 | return NULL; | 199 | goto err_free_memtype; |
201 | area->phys_addr = phys_addr; | 200 | area->phys_addr = phys_addr; |
202 | vaddr = (unsigned long) area->addr; | 201 | vaddr = (unsigned long) area->addr; |
203 | 202 | ||
204 | if (kernel_map_sync_memtype(phys_addr, size, prot_val)) { | 203 | if (kernel_map_sync_memtype(phys_addr, size, prot_val)) |
205 | free_memtype(phys_addr, phys_addr + size); | 204 | goto err_free_area; |
206 | free_vm_area(area); | ||
207 | return NULL; | ||
208 | } | ||
209 | 205 | ||
210 | if (ioremap_page_range(vaddr, vaddr + size, phys_addr, prot)) { | 206 | if (ioremap_page_range(vaddr, vaddr + size, phys_addr, prot)) |
211 | free_memtype(phys_addr, phys_addr + size); | 207 | goto err_free_area; |
212 | free_vm_area(area); | ||
213 | return NULL; | ||
214 | } | ||
215 | 208 | ||
216 | ret_addr = (void __iomem *) (vaddr + offset); | 209 | ret_addr = (void __iomem *) (vaddr + offset); |
217 | mmiotrace_ioremap(unaligned_phys_addr, unaligned_size, ret_addr); | 210 | mmiotrace_ioremap(unaligned_phys_addr, unaligned_size, ret_addr); |
218 | 211 | ||
219 | return ret_addr; | 212 | return ret_addr; |
213 | err_free_area: | ||
214 | free_vm_area(area); | ||
215 | err_free_memtype: | ||
216 | free_memtype(phys_addr, phys_addr + size); | ||
217 | return NULL; | ||
220 | } | 218 | } |
221 | 219 | ||
222 | /** | 220 | /** |
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 23a4d80fb39e..dfbf70e65860 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -178,6 +178,7 @@ static __read_mostly unsigned int cpuid_leaf1_ecx_mask = ~0; | |||
178 | static void xen_cpuid(unsigned int *ax, unsigned int *bx, | 178 | static void xen_cpuid(unsigned int *ax, unsigned int *bx, |
179 | unsigned int *cx, unsigned int *dx) | 179 | unsigned int *cx, unsigned int *dx) |
180 | { | 180 | { |
181 | unsigned maskebx = ~0; | ||
181 | unsigned maskecx = ~0; | 182 | unsigned maskecx = ~0; |
182 | unsigned maskedx = ~0; | 183 | unsigned maskedx = ~0; |
183 | 184 | ||
@@ -185,9 +186,16 @@ static void xen_cpuid(unsigned int *ax, unsigned int *bx, | |||
185 | * Mask out inconvenient features, to try and disable as many | 186 | * Mask out inconvenient features, to try and disable as many |
186 | * unsupported kernel subsystems as possible. | 187 | * unsupported kernel subsystems as possible. |
187 | */ | 188 | */ |
188 | if (*ax == 1) { | 189 | switch (*ax) { |
190 | case 1: | ||
189 | maskecx = cpuid_leaf1_ecx_mask; | 191 | maskecx = cpuid_leaf1_ecx_mask; |
190 | maskedx = cpuid_leaf1_edx_mask; | 192 | maskedx = cpuid_leaf1_edx_mask; |
193 | break; | ||
194 | |||
195 | case 0xb: | ||
196 | /* Suppress extended topology stuff */ | ||
197 | maskebx = 0; | ||
198 | break; | ||
191 | } | 199 | } |
192 | 200 | ||
193 | asm(XEN_EMULATE_PREFIX "cpuid" | 201 | asm(XEN_EMULATE_PREFIX "cpuid" |
@@ -197,6 +205,7 @@ static void xen_cpuid(unsigned int *ax, unsigned int *bx, | |||
197 | "=d" (*dx) | 205 | "=d" (*dx) |
198 | : "0" (*ax), "2" (*cx)); | 206 | : "0" (*ax), "2" (*cx)); |
199 | 207 | ||
208 | *bx &= maskebx; | ||
200 | *cx &= maskecx; | 209 | *cx &= maskecx; |
201 | *dx &= maskedx; | 210 | *dx &= maskedx; |
202 | } | 211 | } |
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 069a61017c02..aa1e9535e358 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -196,6 +196,7 @@ enum cfqq_state_flags { | |||
196 | CFQ_CFQQ_FLAG_slice_new, /* no requests dispatched in slice */ | 196 | CFQ_CFQQ_FLAG_slice_new, /* no requests dispatched in slice */ |
197 | CFQ_CFQQ_FLAG_sync, /* synchronous queue */ | 197 | CFQ_CFQQ_FLAG_sync, /* synchronous queue */ |
198 | CFQ_CFQQ_FLAG_coop, /* has done a coop jump of the queue */ | 198 | CFQ_CFQQ_FLAG_coop, /* has done a coop jump of the queue */ |
199 | CFQ_CFQQ_FLAG_coop_preempt, /* coop preempt */ | ||
199 | }; | 200 | }; |
200 | 201 | ||
201 | #define CFQ_CFQQ_FNS(name) \ | 202 | #define CFQ_CFQQ_FNS(name) \ |
@@ -222,6 +223,7 @@ CFQ_CFQQ_FNS(prio_changed); | |||
222 | CFQ_CFQQ_FNS(slice_new); | 223 | CFQ_CFQQ_FNS(slice_new); |
223 | CFQ_CFQQ_FNS(sync); | 224 | CFQ_CFQQ_FNS(sync); |
224 | CFQ_CFQQ_FNS(coop); | 225 | CFQ_CFQQ_FNS(coop); |
226 | CFQ_CFQQ_FNS(coop_preempt); | ||
225 | #undef CFQ_CFQQ_FNS | 227 | #undef CFQ_CFQQ_FNS |
226 | 228 | ||
227 | #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ | 229 | #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ |
@@ -945,10 +947,13 @@ static struct cfq_queue *cfq_set_active_queue(struct cfq_data *cfqd, | |||
945 | { | 947 | { |
946 | if (!cfqq) { | 948 | if (!cfqq) { |
947 | cfqq = cfq_get_next_queue(cfqd); | 949 | cfqq = cfq_get_next_queue(cfqd); |
948 | if (cfqq) | 950 | if (cfqq && !cfq_cfqq_coop_preempt(cfqq)) |
949 | cfq_clear_cfqq_coop(cfqq); | 951 | cfq_clear_cfqq_coop(cfqq); |
950 | } | 952 | } |
951 | 953 | ||
954 | if (cfqq) | ||
955 | cfq_clear_cfqq_coop_preempt(cfqq); | ||
956 | |||
952 | __cfq_set_active_queue(cfqd, cfqq); | 957 | __cfq_set_active_queue(cfqd, cfqq); |
953 | return cfqq; | 958 | return cfqq; |
954 | } | 959 | } |
@@ -2051,7 +2056,7 @@ cfq_should_preempt(struct cfq_data *cfqd, struct cfq_queue *new_cfqq, | |||
2051 | * it's a metadata request and the current queue is doing regular IO. | 2056 | * it's a metadata request and the current queue is doing regular IO. |
2052 | */ | 2057 | */ |
2053 | if (rq_is_meta(rq) && !cfqq->meta_pending) | 2058 | if (rq_is_meta(rq) && !cfqq->meta_pending) |
2054 | return false; | 2059 | return true; |
2055 | 2060 | ||
2056 | /* | 2061 | /* |
2057 | * Allow an RT request to pre-empt an ongoing non-RT cfqq timeslice. | 2062 | * Allow an RT request to pre-empt an ongoing non-RT cfqq timeslice. |
@@ -2066,8 +2071,16 @@ cfq_should_preempt(struct cfq_data *cfqd, struct cfq_queue *new_cfqq, | |||
2066 | * if this request is as-good as one we would expect from the | 2071 | * if this request is as-good as one we would expect from the |
2067 | * current cfqq, let it preempt | 2072 | * current cfqq, let it preempt |
2068 | */ | 2073 | */ |
2069 | if (cfq_rq_close(cfqd, rq)) | 2074 | if (cfq_rq_close(cfqd, rq) && (!cfq_cfqq_coop(new_cfqq) || |
2075 | cfqd->busy_queues == 1)) { | ||
2076 | /* | ||
2077 | * Mark new queue coop_preempt, so its coop flag will not be | ||
2078 | * cleared when new queue gets scheduled at the very first time | ||
2079 | */ | ||
2080 | cfq_mark_cfqq_coop_preempt(new_cfqq); | ||
2081 | cfq_mark_cfqq_coop(new_cfqq); | ||
2070 | return true; | 2082 | return true; |
2083 | } | ||
2071 | 2084 | ||
2072 | return false; | 2085 | return false; |
2073 | } | 2086 | } |
diff --git a/drivers/acpi/acpica/acconfig.h b/drivers/acpi/acpica/acconfig.h index 8e679ef5b231..a4471e3d3853 100644 --- a/drivers/acpi/acpica/acconfig.h +++ b/drivers/acpi/acpica/acconfig.h | |||
@@ -103,9 +103,9 @@ | |||
103 | 103 | ||
104 | #define ACPI_MAX_REFERENCE_COUNT 0x1000 | 104 | #define ACPI_MAX_REFERENCE_COUNT 0x1000 |
105 | 105 | ||
106 | /* Size of cached memory mapping for system memory operation region */ | 106 | /* Default page size for use in mapping memory for operation regions */ |
107 | 107 | ||
108 | #define ACPI_SYSMEM_REGION_WINDOW_SIZE 4096 | 108 | #define ACPI_DEFAULT_PAGE_SIZE 4096 /* Must be power of 2 */ |
109 | 109 | ||
110 | /* owner_id tracking. 8 entries allows for 255 owner_ids */ | 110 | /* owner_id tracking. 8 entries allows for 255 owner_ids */ |
111 | 111 | ||
diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c index 3a54b737d2da..2bd83ac57c3a 100644 --- a/drivers/acpi/acpica/exregion.c +++ b/drivers/acpi/acpica/exregion.c | |||
@@ -77,7 +77,8 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
77 | void *logical_addr_ptr = NULL; | 77 | void *logical_addr_ptr = NULL; |
78 | struct acpi_mem_space_context *mem_info = region_context; | 78 | struct acpi_mem_space_context *mem_info = region_context; |
79 | u32 length; | 79 | u32 length; |
80 | acpi_size window_size; | 80 | acpi_size map_length; |
81 | acpi_size page_boundary_map_length; | ||
81 | #ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED | 82 | #ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED |
82 | u32 remainder; | 83 | u32 remainder; |
83 | #endif | 84 | #endif |
@@ -144,25 +145,39 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
144 | } | 145 | } |
145 | 146 | ||
146 | /* | 147 | /* |
147 | * Don't attempt to map memory beyond the end of the region, and | 148 | * Attempt to map from the requested address to the end of the region. |
148 | * constrain the maximum mapping size to something reasonable. | 149 | * However, we will never map more than one page, nor will we cross |
150 | * a page boundary. | ||
149 | */ | 151 | */ |
150 | window_size = (acpi_size) | 152 | map_length = (acpi_size) |
151 | ((mem_info->address + mem_info->length) - address); | 153 | ((mem_info->address + mem_info->length) - address); |
152 | 154 | ||
153 | if (window_size > ACPI_SYSMEM_REGION_WINDOW_SIZE) { | 155 | /* |
154 | window_size = ACPI_SYSMEM_REGION_WINDOW_SIZE; | 156 | * If mapping the entire remaining portion of the region will cross |
157 | * a page boundary, just map up to the page boundary, do not cross. | ||
158 | * On some systems, crossing a page boundary while mapping regions | ||
159 | * can cause warnings if the pages have different attributes | ||
160 | * due to resource management | ||
161 | */ | ||
162 | page_boundary_map_length = | ||
163 | ACPI_ROUND_UP(address, ACPI_DEFAULT_PAGE_SIZE) - address; | ||
164 | |||
165 | if (!page_boundary_map_length) { | ||
166 | page_boundary_map_length = ACPI_DEFAULT_PAGE_SIZE; | ||
167 | } | ||
168 | |||
169 | if (map_length > page_boundary_map_length) { | ||
170 | map_length = page_boundary_map_length; | ||
155 | } | 171 | } |
156 | 172 | ||
157 | /* Create a new mapping starting at the address given */ | 173 | /* Create a new mapping starting at the address given */ |
158 | 174 | ||
159 | mem_info->mapped_logical_address = | 175 | mem_info->mapped_logical_address = acpi_os_map_memory((acpi_physical_address) address, map_length); |
160 | acpi_os_map_memory((acpi_physical_address) address, window_size); | ||
161 | if (!mem_info->mapped_logical_address) { | 176 | if (!mem_info->mapped_logical_address) { |
162 | ACPI_ERROR((AE_INFO, | 177 | ACPI_ERROR((AE_INFO, |
163 | "Could not map memory at %8.8X%8.8X, size %X", | 178 | "Could not map memory at %8.8X%8.8X, size %X", |
164 | ACPI_FORMAT_NATIVE_UINT(address), | 179 | ACPI_FORMAT_NATIVE_UINT(address), |
165 | (u32) window_size)); | 180 | (u32) map_length)); |
166 | mem_info->mapped_length = 0; | 181 | mem_info->mapped_length = 0; |
167 | return_ACPI_STATUS(AE_NO_MEMORY); | 182 | return_ACPI_STATUS(AE_NO_MEMORY); |
168 | } | 183 | } |
@@ -170,7 +185,7 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
170 | /* Save the physical address and mapping size */ | 185 | /* Save the physical address and mapping size */ |
171 | 186 | ||
172 | mem_info->mapped_physical_address = address; | 187 | mem_info->mapped_physical_address = address; |
173 | mem_info->mapped_length = window_size; | 188 | mem_info->mapped_length = map_length; |
174 | } | 189 | } |
175 | 190 | ||
176 | /* | 191 | /* |
diff --git a/drivers/acpi/power_meter.c b/drivers/acpi/power_meter.c index e6bfd77986b8..2ef7030a0c28 100644 --- a/drivers/acpi/power_meter.c +++ b/drivers/acpi/power_meter.c | |||
@@ -294,7 +294,11 @@ static int set_acpi_trip(struct acpi_power_meter_resource *resource) | |||
294 | return -EINVAL; | 294 | return -EINVAL; |
295 | } | 295 | } |
296 | 296 | ||
297 | return data; | 297 | /* _PTP returns 0 on success, nonzero otherwise */ |
298 | if (data) | ||
299 | return -EINVAL; | ||
300 | |||
301 | return 0; | ||
298 | } | 302 | } |
299 | 303 | ||
300 | static ssize_t set_trip(struct device *dev, struct device_attribute *devattr, | 304 | static ssize_t set_trip(struct device *dev, struct device_attribute *devattr, |
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index f8b6f555ba52..d0d25e2e1ced 100644 --- a/drivers/acpi/proc.c +++ b/drivers/acpi/proc.c | |||
@@ -393,7 +393,7 @@ acpi_system_write_wakeup_device(struct file *file, | |||
393 | struct list_head *node, *next; | 393 | struct list_head *node, *next; |
394 | char strbuf[5]; | 394 | char strbuf[5]; |
395 | char str[5] = ""; | 395 | char str[5] = ""; |
396 | int len = count; | 396 | unsigned int len = count; |
397 | struct acpi_device *found_dev = NULL; | 397 | struct acpi_device *found_dev = NULL; |
398 | 398 | ||
399 | if (len > 4) | 399 | if (len > 4) |
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index c567b46dfa0f..ec742a4e5635 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -770,7 +770,7 @@ static struct notifier_block acpi_cpu_notifier = | |||
770 | .notifier_call = acpi_cpu_soft_notify, | 770 | .notifier_call = acpi_cpu_soft_notify, |
771 | }; | 771 | }; |
772 | 772 | ||
773 | static int acpi_processor_add(struct acpi_device *device) | 773 | static int __cpuinit acpi_processor_add(struct acpi_device *device) |
774 | { | 774 | { |
775 | struct acpi_processor *pr = NULL; | 775 | struct acpi_processor *pr = NULL; |
776 | int result = 0; | 776 | int result = 0; |
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 4c6c14c1e307..1c5d7a8b2fdf 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c | |||
@@ -1133,15 +1133,15 @@ int acpi_processor_get_throttling_info(struct acpi_processor *pr) | |||
1133 | int result = 0; | 1133 | int result = 0; |
1134 | struct acpi_processor_throttling *pthrottling; | 1134 | struct acpi_processor_throttling *pthrottling; |
1135 | 1135 | ||
1136 | if (!pr) | ||
1137 | return -EINVAL; | ||
1138 | |||
1136 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 1139 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
1137 | "pblk_address[0x%08x] duty_offset[%d] duty_width[%d]\n", | 1140 | "pblk_address[0x%08x] duty_offset[%d] duty_width[%d]\n", |
1138 | pr->throttling.address, | 1141 | pr->throttling.address, |
1139 | pr->throttling.duty_offset, | 1142 | pr->throttling.duty_offset, |
1140 | pr->throttling.duty_width)); | 1143 | pr->throttling.duty_width)); |
1141 | 1144 | ||
1142 | if (!pr) | ||
1143 | return -EINVAL; | ||
1144 | |||
1145 | /* | 1145 | /* |
1146 | * Evaluate _PTC, _TSS and _TPC | 1146 | * Evaluate _PTC, _TSS and _TPC |
1147 | * They must all be present or none of them can be used. | 1147 | * They must all be present or none of them can be used. |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index a90afcc723ab..4cc1b8116e76 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -413,6 +413,30 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { | |||
413 | }, | 413 | }, |
414 | }, | 414 | }, |
415 | { | 415 | { |
416 | .callback = init_set_sci_en_on_resume, | ||
417 | .ident = "Hewlett-Packard Pavilion dv4", | ||
418 | .matches = { | ||
419 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
420 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4"), | ||
421 | }, | ||
422 | }, | ||
423 | { | ||
424 | .callback = init_set_sci_en_on_resume, | ||
425 | .ident = "Hewlett-Packard Pavilion dv7", | ||
426 | .matches = { | ||
427 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
428 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv7"), | ||
429 | }, | ||
430 | }, | ||
431 | { | ||
432 | .callback = init_set_sci_en_on_resume, | ||
433 | .ident = "Hewlett-Packard Compaq Presario CQ40 Notebook PC", | ||
434 | .matches = { | ||
435 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
436 | DMI_MATCH(DMI_PRODUCT_NAME, "Compaq Presario CQ40 Notebook PC"), | ||
437 | }, | ||
438 | }, | ||
439 | { | ||
416 | .callback = init_old_suspend_ordering, | 440 | .callback = init_old_suspend_ordering, |
417 | .ident = "Panasonic CF51-2L", | 441 | .ident = "Panasonic CF51-2L", |
418 | .matches = { | 442 | .matches = { |
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 64e3c581b7a9..05dff631591c 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -1223,7 +1223,7 @@ acpi_video_device_write_state(struct file *file, | |||
1223 | u32 state = 0; | 1223 | u32 state = 0; |
1224 | 1224 | ||
1225 | 1225 | ||
1226 | if (!dev || count + 1 > sizeof str) | 1226 | if (!dev || count >= sizeof(str)) |
1227 | return -EINVAL; | 1227 | return -EINVAL; |
1228 | 1228 | ||
1229 | if (copy_from_user(str, buffer, count)) | 1229 | if (copy_from_user(str, buffer, count)) |
@@ -1280,7 +1280,7 @@ acpi_video_device_write_brightness(struct file *file, | |||
1280 | int i; | 1280 | int i; |
1281 | 1281 | ||
1282 | 1282 | ||
1283 | if (!dev || !dev->brightness || count + 1 > sizeof str) | 1283 | if (!dev || !dev->brightness || count >= sizeof(str)) |
1284 | return -EINVAL; | 1284 | return -EINVAL; |
1285 | 1285 | ||
1286 | if (copy_from_user(str, buffer, count)) | 1286 | if (copy_from_user(str, buffer, count)) |
@@ -1562,7 +1562,7 @@ acpi_video_bus_write_POST(struct file *file, | |||
1562 | unsigned long long opt, options; | 1562 | unsigned long long opt, options; |
1563 | 1563 | ||
1564 | 1564 | ||
1565 | if (!video || count + 1 > sizeof str) | 1565 | if (!video || count >= sizeof(str)) |
1566 | return -EINVAL; | 1566 | return -EINVAL; |
1567 | 1567 | ||
1568 | status = acpi_video_bus_POST_options(video, &options); | 1568 | status = acpi_video_bus_POST_options(video, &options); |
@@ -1602,7 +1602,7 @@ acpi_video_bus_write_DOS(struct file *file, | |||
1602 | unsigned long opt; | 1602 | unsigned long opt; |
1603 | 1603 | ||
1604 | 1604 | ||
1605 | if (!video || count + 1 > sizeof str) | 1605 | if (!video || count >= sizeof(str)) |
1606 | return -EINVAL; | 1606 | return -EINVAL; |
1607 | 1607 | ||
1608 | if (copy_from_user(str, buffer, count)) | 1608 | if (copy_from_user(str, buffer, count)) |
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index a06f5d6375a8..a3241a1a710b 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -2718,6 +2718,30 @@ static bool ahci_sb600_enable_64bit(struct pci_dev *pdev) | |||
2718 | }, | 2718 | }, |
2719 | .driver_data = "20071026", /* yyyymmdd */ | 2719 | .driver_data = "20071026", /* yyyymmdd */ |
2720 | }, | 2720 | }, |
2721 | /* | ||
2722 | * All BIOS versions for the MSI K9A2 Platinum (MS-7376) | ||
2723 | * support 64bit DMA. | ||
2724 | * | ||
2725 | * BIOS versions earlier than 1.5 had the Manufacturer DMI | ||
2726 | * fields as "MICRO-STAR INTERANTIONAL CO.,LTD". | ||
2727 | * This spelling mistake was fixed in BIOS version 1.5, so | ||
2728 | * 1.5 and later have the Manufacturer as | ||
2729 | * "MICRO-STAR INTERNATIONAL CO.,LTD". | ||
2730 | * So try to match on DMI_BOARD_VENDOR of "MICRO-STAR INTER". | ||
2731 | * | ||
2732 | * BIOS versions earlier than 1.9 had a Board Product Name | ||
2733 | * DMI field of "MS-7376". This was changed to be | ||
2734 | * "K9A2 Platinum (MS-7376)" in version 1.9, but we can still | ||
2735 | * match on DMI_BOARD_NAME of "MS-7376". | ||
2736 | */ | ||
2737 | { | ||
2738 | .ident = "MSI K9A2 Platinum", | ||
2739 | .matches = { | ||
2740 | DMI_MATCH(DMI_BOARD_VENDOR, | ||
2741 | "MICRO-STAR INTER"), | ||
2742 | DMI_MATCH(DMI_BOARD_NAME, "MS-7376"), | ||
2743 | }, | ||
2744 | }, | ||
2721 | { } | 2745 | { } |
2722 | }; | 2746 | }; |
2723 | const struct dmi_system_id *match; | 2747 | const struct dmi_system_id *match; |
@@ -2729,18 +2753,24 @@ static bool ahci_sb600_enable_64bit(struct pci_dev *pdev) | |||
2729 | !match) | 2753 | !match) |
2730 | return false; | 2754 | return false; |
2731 | 2755 | ||
2756 | if (!match->driver_data) | ||
2757 | goto enable_64bit; | ||
2758 | |||
2732 | dmi_get_date(DMI_BIOS_DATE, &year, &month, &date); | 2759 | dmi_get_date(DMI_BIOS_DATE, &year, &month, &date); |
2733 | snprintf(buf, sizeof(buf), "%04d%02d%02d", year, month, date); | 2760 | snprintf(buf, sizeof(buf), "%04d%02d%02d", year, month, date); |
2734 | 2761 | ||
2735 | if (strcmp(buf, match->driver_data) >= 0) { | 2762 | if (strcmp(buf, match->driver_data) >= 0) |
2736 | dev_printk(KERN_WARNING, &pdev->dev, "%s: enabling 64bit DMA\n", | 2763 | goto enable_64bit; |
2737 | match->ident); | 2764 | else { |
2738 | return true; | ||
2739 | } else { | ||
2740 | dev_printk(KERN_WARNING, &pdev->dev, "%s: BIOS too old, " | 2765 | dev_printk(KERN_WARNING, &pdev->dev, "%s: BIOS too old, " |
2741 | "forcing 32bit DMA, update BIOS\n", match->ident); | 2766 | "forcing 32bit DMA, update BIOS\n", match->ident); |
2742 | return false; | 2767 | return false; |
2743 | } | 2768 | } |
2769 | |||
2770 | enable_64bit: | ||
2771 | dev_printk(KERN_WARNING, &pdev->dev, "%s: enabling 64bit DMA\n", | ||
2772 | match->ident); | ||
2773 | return true; | ||
2744 | } | 2774 | } |
2745 | 2775 | ||
2746 | static bool ahci_broken_system_poweroff(struct pci_dev *pdev) | 2776 | static bool ahci_broken_system_poweroff(struct pci_dev *pdev) |
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index d7f0f1b1ae3e..dc72690ed5db 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -4919,10 +4919,11 @@ struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev) | |||
4919 | */ | 4919 | */ |
4920 | void ata_qc_free(struct ata_queued_cmd *qc) | 4920 | void ata_qc_free(struct ata_queued_cmd *qc) |
4921 | { | 4921 | { |
4922 | struct ata_port *ap = qc->ap; | 4922 | struct ata_port *ap; |
4923 | unsigned int tag; | 4923 | unsigned int tag; |
4924 | 4924 | ||
4925 | WARN_ON_ONCE(qc == NULL); /* ata_qc_from_tag _might_ return NULL */ | 4925 | WARN_ON_ONCE(qc == NULL); /* ata_qc_from_tag _might_ return NULL */ |
4926 | ap = qc->ap; | ||
4926 | 4927 | ||
4927 | qc->flags = 0; | 4928 | qc->flags = 0; |
4928 | tag = qc->tag; | 4929 | tag = qc->tag; |
@@ -4934,11 +4935,13 @@ void ata_qc_free(struct ata_queued_cmd *qc) | |||
4934 | 4935 | ||
4935 | void __ata_qc_complete(struct ata_queued_cmd *qc) | 4936 | void __ata_qc_complete(struct ata_queued_cmd *qc) |
4936 | { | 4937 | { |
4937 | struct ata_port *ap = qc->ap; | 4938 | struct ata_port *ap; |
4938 | struct ata_link *link = qc->dev->link; | 4939 | struct ata_link *link; |
4939 | 4940 | ||
4940 | WARN_ON_ONCE(qc == NULL); /* ata_qc_from_tag _might_ return NULL */ | 4941 | WARN_ON_ONCE(qc == NULL); /* ata_qc_from_tag _might_ return NULL */ |
4941 | WARN_ON_ONCE(!(qc->flags & ATA_QCFLAG_ACTIVE)); | 4942 | WARN_ON_ONCE(!(qc->flags & ATA_QCFLAG_ACTIVE)); |
4943 | ap = qc->ap; | ||
4944 | link = qc->dev->link; | ||
4942 | 4945 | ||
4943 | if (likely(qc->flags & ATA_QCFLAG_DMAMAP)) | 4946 | if (likely(qc->flags & ATA_QCFLAG_DMAMAP)) |
4944 | ata_sg_clean(qc); | 4947 | ata_sg_clean(qc); |
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index bdd43c7f432e..02efd9a83d26 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -93,7 +93,6 @@ static const struct pci_device_id svia_pci_tbl[] = { | |||
93 | { PCI_VDEVICE(VIA, 0x7372), vt6420 }, | 93 | { PCI_VDEVICE(VIA, 0x7372), vt6420 }, |
94 | { PCI_VDEVICE(VIA, 0x5287), vt8251 }, /* 2 sata chnls (Master/Slave) */ | 94 | { PCI_VDEVICE(VIA, 0x5287), vt8251 }, /* 2 sata chnls (Master/Slave) */ |
95 | { PCI_VDEVICE(VIA, 0x9000), vt8251 }, | 95 | { PCI_VDEVICE(VIA, 0x9000), vt8251 }, |
96 | { PCI_VDEVICE(VIA, 0x9040), vt8251 }, | ||
97 | 96 | ||
98 | { } /* terminate list */ | 97 | { } /* terminate list */ |
99 | }; | 98 | }; |
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 7ba91aa3fe8b..44bc8bbabf54 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -591,6 +591,7 @@ static int btusb_close(struct hci_dev *hdev) | |||
591 | return 0; | 591 | return 0; |
592 | 592 | ||
593 | cancel_work_sync(&data->work); | 593 | cancel_work_sync(&data->work); |
594 | cancel_work_sync(&data->waker); | ||
594 | 595 | ||
595 | clear_bit(BTUSB_ISOC_RUNNING, &data->flags); | 596 | clear_bit(BTUSB_ISOC_RUNNING, &data->flags); |
596 | clear_bit(BTUSB_BULK_RUNNING, &data->flags); | 597 | clear_bit(BTUSB_BULK_RUNNING, &data->flags); |
@@ -599,11 +600,13 @@ static int btusb_close(struct hci_dev *hdev) | |||
599 | btusb_stop_traffic(data); | 600 | btusb_stop_traffic(data); |
600 | err = usb_autopm_get_interface(data->intf); | 601 | err = usb_autopm_get_interface(data->intf); |
601 | if (err < 0) | 602 | if (err < 0) |
602 | return 0; | 603 | goto failed; |
603 | 604 | ||
604 | data->intf->needs_remote_wakeup = 0; | 605 | data->intf->needs_remote_wakeup = 0; |
605 | usb_autopm_put_interface(data->intf); | 606 | usb_autopm_put_interface(data->intf); |
606 | 607 | ||
608 | failed: | ||
609 | usb_scuttle_anchored_urbs(&data->deferred); | ||
607 | return 0; | 610 | return 0; |
608 | } | 611 | } |
609 | 612 | ||
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 4068467ce7b9..10e1f0390bbb 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -1161,12 +1161,6 @@ static int intel_i915_configure(void) | |||
1161 | 1161 | ||
1162 | intel_i9xx_setup_flush(); | 1162 | intel_i9xx_setup_flush(); |
1163 | 1163 | ||
1164 | #ifdef USE_PCI_DMA_API | ||
1165 | if (pci_set_dma_mask(intel_private.pcidev, DMA_BIT_MASK(36))) | ||
1166 | dev_err(&intel_private.pcidev->dev, | ||
1167 | "set gfx device dma mask 36bit failed!\n"); | ||
1168 | #endif | ||
1169 | |||
1170 | return 0; | 1164 | return 0; |
1171 | } | 1165 | } |
1172 | 1166 | ||
@@ -2456,6 +2450,11 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, | |||
2456 | &bridge->mode); | 2450 | &bridge->mode); |
2457 | } | 2451 | } |
2458 | 2452 | ||
2453 | if (bridge->driver->mask_memory == intel_i965_mask_memory) | ||
2454 | if (pci_set_dma_mask(intel_private.pcidev, DMA_BIT_MASK(36))) | ||
2455 | dev_err(&intel_private.pcidev->dev, | ||
2456 | "set gfx device dma mask 36bit failed!\n"); | ||
2457 | |||
2459 | pci_set_drvdata(pdev, bridge); | 2458 | pci_set_drvdata(pdev, bridge); |
2460 | return agp_add_bridge(bridge); | 2459 | return agp_add_bridge(bridge); |
2461 | } | 2460 | } |
diff --git a/drivers/char/hvc_xen.c b/drivers/char/hvc_xen.c index eba999f8598d..a6ee32b599a8 100644 --- a/drivers/char/hvc_xen.c +++ b/drivers/char/hvc_xen.c | |||
@@ -55,7 +55,7 @@ static inline void notify_daemon(void) | |||
55 | notify_remote_via_evtchn(xen_start_info->console.domU.evtchn); | 55 | notify_remote_via_evtchn(xen_start_info->console.domU.evtchn); |
56 | } | 56 | } |
57 | 57 | ||
58 | static int write_console(uint32_t vtermno, const char *data, int len) | 58 | static int __write_console(const char *data, int len) |
59 | { | 59 | { |
60 | struct xencons_interface *intf = xencons_interface(); | 60 | struct xencons_interface *intf = xencons_interface(); |
61 | XENCONS_RING_IDX cons, prod; | 61 | XENCONS_RING_IDX cons, prod; |
@@ -76,6 +76,29 @@ static int write_console(uint32_t vtermno, const char *data, int len) | |||
76 | return sent; | 76 | return sent; |
77 | } | 77 | } |
78 | 78 | ||
79 | static int write_console(uint32_t vtermno, const char *data, int len) | ||
80 | { | ||
81 | int ret = len; | ||
82 | |||
83 | /* | ||
84 | * Make sure the whole buffer is emitted, polling if | ||
85 | * necessary. We don't ever want to rely on the hvc daemon | ||
86 | * because the most interesting console output is when the | ||
87 | * kernel is crippled. | ||
88 | */ | ||
89 | while (len) { | ||
90 | int sent = __write_console(data, len); | ||
91 | |||
92 | data += sent; | ||
93 | len -= sent; | ||
94 | |||
95 | if (unlikely(len)) | ||
96 | HYPERVISOR_sched_op(SCHEDOP_yield, NULL); | ||
97 | } | ||
98 | |||
99 | return ret; | ||
100 | } | ||
101 | |||
79 | static int read_console(uint32_t vtermno, char *buf, int len) | 102 | static int read_console(uint32_t vtermno, char *buf, int len) |
80 | { | 103 | { |
81 | struct xencons_interface *intf = xencons_interface(); | 104 | struct xencons_interface *intf = xencons_interface(); |
diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c index a4bbb28f10be..2e8552dc5eda 100644 --- a/drivers/char/tty_port.c +++ b/drivers/char/tty_port.c | |||
@@ -221,6 +221,9 @@ int tty_port_block_til_ready(struct tty_port *port, | |||
221 | the port has just hung up or is in another error state */ | 221 | the port has just hung up or is in another error state */ |
222 | if ((filp->f_flags & O_NONBLOCK) || | 222 | if ((filp->f_flags & O_NONBLOCK) || |
223 | (tty->flags & (1 << TTY_IO_ERROR))) { | 223 | (tty->flags & (1 << TTY_IO_ERROR))) { |
224 | /* Indicate we are open */ | ||
225 | if (tty->termios->c_cflag & CBAUD) | ||
226 | tty_port_raise_dtr_rts(port); | ||
224 | port->flags |= ASYNC_NORMAL_ACTIVE; | 227 | port->flags |= ASYNC_NORMAL_ACTIVE; |
225 | return 0; | 228 | return 0; |
226 | } | 229 | } |
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c index ed86d3bf249a..6aa10284104a 100644 --- a/drivers/char/vt_ioctl.c +++ b/drivers/char/vt_ioctl.c | |||
@@ -103,8 +103,8 @@ void vt_event_post(unsigned int event, unsigned int old, unsigned int new) | |||
103 | ve->event.event = event; | 103 | ve->event.event = event; |
104 | /* kernel view is consoles 0..n-1, user space view is | 104 | /* kernel view is consoles 0..n-1, user space view is |
105 | console 1..n with 0 meaning current, so we must bias */ | 105 | console 1..n with 0 meaning current, so we must bias */ |
106 | ve->event.old = old + 1; | 106 | ve->event.oldev = old + 1; |
107 | ve->event.new = new + 1; | 107 | ve->event.newev = new + 1; |
108 | wake = 1; | 108 | wake = 1; |
109 | ve->done = 1; | 109 | ve->done = 1; |
110 | } | 110 | } |
@@ -186,7 +186,7 @@ int vt_waitactive(int n) | |||
186 | vt_event_wait(&vw); | 186 | vt_event_wait(&vw); |
187 | if (vw.done == 0) | 187 | if (vw.done == 0) |
188 | return -EINTR; | 188 | return -EINTR; |
189 | } while (vw.event.new != n); | 189 | } while (vw.event.newev != n); |
190 | return 0; | 190 | return 0; |
191 | } | 191 | } |
192 | 192 | ||
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 3938c7817095..ff57c40e9b8b 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -41,7 +41,7 @@ static struct cpufreq_driver *cpufreq_driver; | |||
41 | static DEFINE_PER_CPU(struct cpufreq_policy *, cpufreq_cpu_data); | 41 | static DEFINE_PER_CPU(struct cpufreq_policy *, cpufreq_cpu_data); |
42 | #ifdef CONFIG_HOTPLUG_CPU | 42 | #ifdef CONFIG_HOTPLUG_CPU |
43 | /* This one keeps track of the previously set governor of a removed CPU */ | 43 | /* This one keeps track of the previously set governor of a removed CPU */ |
44 | static DEFINE_PER_CPU(struct cpufreq_governor *, cpufreq_cpu_governor); | 44 | static DEFINE_PER_CPU(char[CPUFREQ_NAME_LEN], cpufreq_cpu_governor); |
45 | #endif | 45 | #endif |
46 | static DEFINE_SPINLOCK(cpufreq_driver_lock); | 46 | static DEFINE_SPINLOCK(cpufreq_driver_lock); |
47 | 47 | ||
@@ -774,10 +774,12 @@ int cpufreq_add_dev_policy(unsigned int cpu, struct cpufreq_policy *policy, | |||
774 | #ifdef CONFIG_SMP | 774 | #ifdef CONFIG_SMP |
775 | unsigned long flags; | 775 | unsigned long flags; |
776 | unsigned int j; | 776 | unsigned int j; |
777 | |||
778 | #ifdef CONFIG_HOTPLUG_CPU | 777 | #ifdef CONFIG_HOTPLUG_CPU |
779 | if (per_cpu(cpufreq_cpu_governor, cpu)) { | 778 | struct cpufreq_governor *gov; |
780 | policy->governor = per_cpu(cpufreq_cpu_governor, cpu); | 779 | |
780 | gov = __find_governor(per_cpu(cpufreq_cpu_governor, cpu)); | ||
781 | if (gov) { | ||
782 | policy->governor = gov; | ||
781 | dprintk("Restoring governor %s for cpu %d\n", | 783 | dprintk("Restoring governor %s for cpu %d\n", |
782 | policy->governor->name, cpu); | 784 | policy->governor->name, cpu); |
783 | } | 785 | } |
@@ -949,10 +951,13 @@ err_out_kobj_put: | |||
949 | static int cpufreq_add_dev(struct sys_device *sys_dev) | 951 | static int cpufreq_add_dev(struct sys_device *sys_dev) |
950 | { | 952 | { |
951 | unsigned int cpu = sys_dev->id; | 953 | unsigned int cpu = sys_dev->id; |
952 | int ret = 0; | 954 | int ret = 0, found = 0; |
953 | struct cpufreq_policy *policy; | 955 | struct cpufreq_policy *policy; |
954 | unsigned long flags; | 956 | unsigned long flags; |
955 | unsigned int j; | 957 | unsigned int j; |
958 | #ifdef CONFIG_HOTPLUG_CPU | ||
959 | int sibling; | ||
960 | #endif | ||
956 | 961 | ||
957 | if (cpu_is_offline(cpu)) | 962 | if (cpu_is_offline(cpu)) |
958 | return 0; | 963 | return 0; |
@@ -999,7 +1004,19 @@ static int cpufreq_add_dev(struct sys_device *sys_dev) | |||
999 | INIT_WORK(&policy->update, handle_update); | 1004 | INIT_WORK(&policy->update, handle_update); |
1000 | 1005 | ||
1001 | /* Set governor before ->init, so that driver could check it */ | 1006 | /* Set governor before ->init, so that driver could check it */ |
1002 | policy->governor = CPUFREQ_DEFAULT_GOVERNOR; | 1007 | #ifdef CONFIG_HOTPLUG_CPU |
1008 | for_each_online_cpu(sibling) { | ||
1009 | struct cpufreq_policy *cp = per_cpu(cpufreq_cpu_data, sibling); | ||
1010 | if (cp && cp->governor && | ||
1011 | (cpumask_test_cpu(cpu, cp->related_cpus))) { | ||
1012 | policy->governor = cp->governor; | ||
1013 | found = 1; | ||
1014 | break; | ||
1015 | } | ||
1016 | } | ||
1017 | #endif | ||
1018 | if (!found) | ||
1019 | policy->governor = CPUFREQ_DEFAULT_GOVERNOR; | ||
1003 | /* call driver. From then on the cpufreq must be able | 1020 | /* call driver. From then on the cpufreq must be able |
1004 | * to accept all calls to ->verify and ->setpolicy for this CPU | 1021 | * to accept all calls to ->verify and ->setpolicy for this CPU |
1005 | */ | 1022 | */ |
@@ -1111,7 +1128,8 @@ static int __cpufreq_remove_dev(struct sys_device *sys_dev) | |||
1111 | #ifdef CONFIG_SMP | 1128 | #ifdef CONFIG_SMP |
1112 | 1129 | ||
1113 | #ifdef CONFIG_HOTPLUG_CPU | 1130 | #ifdef CONFIG_HOTPLUG_CPU |
1114 | per_cpu(cpufreq_cpu_governor, cpu) = data->governor; | 1131 | strncpy(per_cpu(cpufreq_cpu_governor, cpu), data->governor->name, |
1132 | CPUFREQ_NAME_LEN); | ||
1115 | #endif | 1133 | #endif |
1116 | 1134 | ||
1117 | /* if we have other CPUs still registered, we need to unlink them, | 1135 | /* if we have other CPUs still registered, we need to unlink them, |
@@ -1135,7 +1153,8 @@ static int __cpufreq_remove_dev(struct sys_device *sys_dev) | |||
1135 | continue; | 1153 | continue; |
1136 | dprintk("removing link for cpu %u\n", j); | 1154 | dprintk("removing link for cpu %u\n", j); |
1137 | #ifdef CONFIG_HOTPLUG_CPU | 1155 | #ifdef CONFIG_HOTPLUG_CPU |
1138 | per_cpu(cpufreq_cpu_governor, j) = data->governor; | 1156 | strncpy(per_cpu(cpufreq_cpu_governor, j), |
1157 | data->governor->name, CPUFREQ_NAME_LEN); | ||
1139 | #endif | 1158 | #endif |
1140 | cpu_sys_dev = get_cpu_sysdev(j); | 1159 | cpu_sys_dev = get_cpu_sysdev(j); |
1141 | sysfs_remove_link(&cpu_sys_dev->kobj, "cpufreq"); | 1160 | sysfs_remove_link(&cpu_sys_dev->kobj, "cpufreq"); |
@@ -1606,9 +1625,22 @@ EXPORT_SYMBOL_GPL(cpufreq_register_governor); | |||
1606 | 1625 | ||
1607 | void cpufreq_unregister_governor(struct cpufreq_governor *governor) | 1626 | void cpufreq_unregister_governor(struct cpufreq_governor *governor) |
1608 | { | 1627 | { |
1628 | #ifdef CONFIG_HOTPLUG_CPU | ||
1629 | int cpu; | ||
1630 | #endif | ||
1631 | |||
1609 | if (!governor) | 1632 | if (!governor) |
1610 | return; | 1633 | return; |
1611 | 1634 | ||
1635 | #ifdef CONFIG_HOTPLUG_CPU | ||
1636 | for_each_present_cpu(cpu) { | ||
1637 | if (cpu_online(cpu)) | ||
1638 | continue; | ||
1639 | if (!strcmp(per_cpu(cpufreq_cpu_governor, cpu), governor->name)) | ||
1640 | strcpy(per_cpu(cpufreq_cpu_governor, cpu), "\0"); | ||
1641 | } | ||
1642 | #endif | ||
1643 | |||
1612 | mutex_lock(&cpufreq_governor_mutex); | 1644 | mutex_lock(&cpufreq_governor_mutex); |
1613 | list_del(&governor->governor_list); | 1645 | list_del(&governor->governor_list); |
1614 | mutex_unlock(&cpufreq_governor_mutex); | 1646 | mutex_unlock(&cpufreq_governor_mutex); |
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index bc33ddc9c97c..c7b081b839ff 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c | |||
@@ -116,9 +116,9 @@ static inline cputime64_t get_cpu_idle_time_jiffy(unsigned int cpu, | |||
116 | 116 | ||
117 | idle_time = cputime64_sub(cur_wall_time, busy_time); | 117 | idle_time = cputime64_sub(cur_wall_time, busy_time); |
118 | if (wall) | 118 | if (wall) |
119 | *wall = cur_wall_time; | 119 | *wall = (cputime64_t)jiffies_to_usecs(cur_wall_time); |
120 | 120 | ||
121 | return idle_time; | 121 | return (cputime64_t)jiffies_to_usecs(idle_time);; |
122 | } | 122 | } |
123 | 123 | ||
124 | static inline cputime64_t get_cpu_idle_time(unsigned int cpu, cputime64_t *wall) | 124 | static inline cputime64_t get_cpu_idle_time(unsigned int cpu, cputime64_t *wall) |
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 071699de50ee..4b34ade2332b 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -133,9 +133,9 @@ static inline cputime64_t get_cpu_idle_time_jiffy(unsigned int cpu, | |||
133 | 133 | ||
134 | idle_time = cputime64_sub(cur_wall_time, busy_time); | 134 | idle_time = cputime64_sub(cur_wall_time, busy_time); |
135 | if (wall) | 135 | if (wall) |
136 | *wall = cur_wall_time; | 136 | *wall = (cputime64_t)jiffies_to_usecs(cur_wall_time); |
137 | 137 | ||
138 | return idle_time; | 138 | return (cputime64_t)jiffies_to_usecs(idle_time); |
139 | } | 139 | } |
140 | 140 | ||
141 | static inline cputime64_t get_cpu_idle_time(unsigned int cpu, cputime64_t *wall) | 141 | static inline cputime64_t get_cpu_idle_time(unsigned int cpu, cputime64_t *wall) |
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index d4560d9d5a83..a38831c82649 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -2254,7 +2254,7 @@ static inline void __amd64_decode_bus_error(struct mem_ctl_info *mci, | |||
2254 | { | 2254 | { |
2255 | u32 ec = ERROR_CODE(info->nbsl); | 2255 | u32 ec = ERROR_CODE(info->nbsl); |
2256 | u32 xec = EXT_ERROR_CODE(info->nbsl); | 2256 | u32 xec = EXT_ERROR_CODE(info->nbsl); |
2257 | int ecc_type = info->nbsh & (0x3 << 13); | 2257 | int ecc_type = (info->nbsh >> 13) & 0x3; |
2258 | 2258 | ||
2259 | /* Bail early out if this was an 'observed' error */ | 2259 | /* Bail early out if this was an 'observed' error */ |
2260 | if (PP(ec) == K8_NBSL_PP_OBS) | 2260 | if (PP(ec) == K8_NBSL_PP_OBS) |
@@ -3163,7 +3163,7 @@ static int __init amd64_edac_init(void) | |||
3163 | opstate_init(); | 3163 | opstate_init(); |
3164 | 3164 | ||
3165 | if (cache_k8_northbridges() < 0) | 3165 | if (cache_k8_northbridges() < 0) |
3166 | goto err_exit; | 3166 | return err; |
3167 | 3167 | ||
3168 | err = pci_register_driver(&amd64_pci_driver); | 3168 | err = pci_register_driver(&amd64_pci_driver); |
3169 | if (err) | 3169 | if (err) |
@@ -3189,8 +3189,6 @@ static int __init amd64_edac_init(void) | |||
3189 | 3189 | ||
3190 | err_2nd_stage: | 3190 | err_2nd_stage: |
3191 | debugf0("2nd stage failed\n"); | 3191 | debugf0("2nd stage failed\n"); |
3192 | |||
3193 | err_exit: | ||
3194 | pci_unregister_driver(&amd64_pci_driver); | 3192 | pci_unregister_driver(&amd64_pci_driver); |
3195 | 3193 | ||
3196 | return err; | 3194 | return err; |
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 662ed923d9eb..50de0f5750d8 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -661,7 +661,7 @@ int gpio_export(unsigned gpio, bool direction_may_change) | |||
661 | 661 | ||
662 | dev = device_create(&gpio_class, desc->chip->dev, MKDEV(0, 0), | 662 | dev = device_create(&gpio_class, desc->chip->dev, MKDEV(0, 0), |
663 | desc, ioname ? ioname : "gpio%d", gpio); | 663 | desc, ioname ? ioname : "gpio%d", gpio); |
664 | if (dev) { | 664 | if (!IS_ERR(dev)) { |
665 | if (direction_may_change) | 665 | if (direction_may_change) |
666 | status = sysfs_create_group(&dev->kobj, | 666 | status = sysfs_create_group(&dev->kobj, |
667 | &gpio_attr_group); | 667 | &gpio_attr_group); |
@@ -679,7 +679,7 @@ int gpio_export(unsigned gpio, bool direction_may_change) | |||
679 | if (status != 0) | 679 | if (status != 0) |
680 | device_unregister(dev); | 680 | device_unregister(dev); |
681 | } else | 681 | } else |
682 | status = -ENODEV; | 682 | status = PTR_ERR(dev); |
683 | if (status == 0) | 683 | if (status == 0) |
684 | set_bit(FLAG_EXPORT, &desc->flags); | 684 | set_bit(FLAG_EXPORT, &desc->flags); |
685 | } | 685 | } |
@@ -800,11 +800,11 @@ static int gpiochip_export(struct gpio_chip *chip) | |||
800 | mutex_lock(&sysfs_lock); | 800 | mutex_lock(&sysfs_lock); |
801 | dev = device_create(&gpio_class, chip->dev, MKDEV(0, 0), chip, | 801 | dev = device_create(&gpio_class, chip->dev, MKDEV(0, 0), chip, |
802 | "gpiochip%d", chip->base); | 802 | "gpiochip%d", chip->base); |
803 | if (dev) { | 803 | if (!IS_ERR(dev)) { |
804 | status = sysfs_create_group(&dev->kobj, | 804 | status = sysfs_create_group(&dev->kobj, |
805 | &gpiochip_attr_group); | 805 | &gpiochip_attr_group); |
806 | } else | 806 | } else |
807 | status = -ENODEV; | 807 | status = PTR_ERR(dev); |
808 | chip->exported = (status == 0); | 808 | chip->exported = (status == 0); |
809 | mutex_unlock(&sysfs_lock); | 809 | mutex_unlock(&sysfs_lock); |
810 | 810 | ||
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 1fe4e1d344fd..bbfd110a7168 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c | |||
@@ -331,6 +331,7 @@ create_mode: | |||
331 | cmdline_mode->refresh_specified ? cmdline_mode->refresh : 60, | 331 | cmdline_mode->refresh_specified ? cmdline_mode->refresh : 60, |
332 | cmdline_mode->rb, cmdline_mode->interlace, | 332 | cmdline_mode->rb, cmdline_mode->interlace, |
333 | cmdline_mode->margins); | 333 | cmdline_mode->margins); |
334 | drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V); | ||
334 | list_add(&mode->head, &connector->modes); | 335 | list_add(&mode->head, &connector->modes); |
335 | return mode; | 336 | return mode; |
336 | } | 337 | } |
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 9c924614c418..dc8e374a0b55 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -707,7 +707,7 @@ int drm_fb_helper_set_par(struct fb_info *info) | |||
707 | 707 | ||
708 | if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) { | 708 | if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) { |
709 | mutex_lock(&dev->mode_config.mutex); | 709 | mutex_lock(&dev->mode_config.mutex); |
710 | ret = crtc->funcs->set_config(&fb_helper->crtc_info->mode_set); | 710 | ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set); |
711 | mutex_unlock(&dev->mode_config.mutex); | 711 | mutex_unlock(&dev->mode_config.mutex); |
712 | if (ret) | 712 | if (ret) |
713 | return ret; | 713 | return ret; |
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 92aeb918e0c0..e5b138be45fa 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
@@ -1227,8 +1227,7 @@ static int i915_load_modeset_init(struct drm_device *dev, | |||
1227 | goto out; | 1227 | goto out; |
1228 | 1228 | ||
1229 | /* Try to set up FBC with a reasonable compressed buffer size */ | 1229 | /* Try to set up FBC with a reasonable compressed buffer size */ |
1230 | if (IS_MOBILE(dev) && (IS_I9XX(dev) || IS_I965G(dev) || IS_GM45(dev)) && | 1230 | if (I915_HAS_FBC(dev) && i915_powersave) { |
1231 | i915_powersave) { | ||
1232 | int cfb_size; | 1231 | int cfb_size; |
1233 | 1232 | ||
1234 | /* Try to get an 8M buffer... */ | 1233 | /* Try to get an 8M buffer... */ |
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index c5df2234418d..57204e298975 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -296,6 +296,12 @@ typedef struct drm_i915_private { | |||
296 | u32 saveVBLANK_A; | 296 | u32 saveVBLANK_A; |
297 | u32 saveVSYNC_A; | 297 | u32 saveVSYNC_A; |
298 | u32 saveBCLRPAT_A; | 298 | u32 saveBCLRPAT_A; |
299 | u32 saveTRANS_HTOTAL_A; | ||
300 | u32 saveTRANS_HBLANK_A; | ||
301 | u32 saveTRANS_HSYNC_A; | ||
302 | u32 saveTRANS_VTOTAL_A; | ||
303 | u32 saveTRANS_VBLANK_A; | ||
304 | u32 saveTRANS_VSYNC_A; | ||
299 | u32 savePIPEASTAT; | 305 | u32 savePIPEASTAT; |
300 | u32 saveDSPASTRIDE; | 306 | u32 saveDSPASTRIDE; |
301 | u32 saveDSPASIZE; | 307 | u32 saveDSPASIZE; |
@@ -304,8 +310,11 @@ typedef struct drm_i915_private { | |||
304 | u32 saveDSPASURF; | 310 | u32 saveDSPASURF; |
305 | u32 saveDSPATILEOFF; | 311 | u32 saveDSPATILEOFF; |
306 | u32 savePFIT_PGM_RATIOS; | 312 | u32 savePFIT_PGM_RATIOS; |
313 | u32 saveBLC_HIST_CTL; | ||
307 | u32 saveBLC_PWM_CTL; | 314 | u32 saveBLC_PWM_CTL; |
308 | u32 saveBLC_PWM_CTL2; | 315 | u32 saveBLC_PWM_CTL2; |
316 | u32 saveBLC_CPU_PWM_CTL; | ||
317 | u32 saveBLC_CPU_PWM_CTL2; | ||
309 | u32 saveFPB0; | 318 | u32 saveFPB0; |
310 | u32 saveFPB1; | 319 | u32 saveFPB1; |
311 | u32 saveDPLL_B; | 320 | u32 saveDPLL_B; |
@@ -317,6 +326,12 @@ typedef struct drm_i915_private { | |||
317 | u32 saveVBLANK_B; | 326 | u32 saveVBLANK_B; |
318 | u32 saveVSYNC_B; | 327 | u32 saveVSYNC_B; |
319 | u32 saveBCLRPAT_B; | 328 | u32 saveBCLRPAT_B; |
329 | u32 saveTRANS_HTOTAL_B; | ||
330 | u32 saveTRANS_HBLANK_B; | ||
331 | u32 saveTRANS_HSYNC_B; | ||
332 | u32 saveTRANS_VTOTAL_B; | ||
333 | u32 saveTRANS_VBLANK_B; | ||
334 | u32 saveTRANS_VSYNC_B; | ||
320 | u32 savePIPEBSTAT; | 335 | u32 savePIPEBSTAT; |
321 | u32 saveDSPBSTRIDE; | 336 | u32 saveDSPBSTRIDE; |
322 | u32 saveDSPBSIZE; | 337 | u32 saveDSPBSIZE; |
@@ -342,6 +357,7 @@ typedef struct drm_i915_private { | |||
342 | u32 savePFIT_CONTROL; | 357 | u32 savePFIT_CONTROL; |
343 | u32 save_palette_a[256]; | 358 | u32 save_palette_a[256]; |
344 | u32 save_palette_b[256]; | 359 | u32 save_palette_b[256]; |
360 | u32 saveDPFC_CB_BASE; | ||
345 | u32 saveFBC_CFB_BASE; | 361 | u32 saveFBC_CFB_BASE; |
346 | u32 saveFBC_LL_BASE; | 362 | u32 saveFBC_LL_BASE; |
347 | u32 saveFBC_CONTROL; | 363 | u32 saveFBC_CONTROL; |
@@ -349,6 +365,12 @@ typedef struct drm_i915_private { | |||
349 | u32 saveIER; | 365 | u32 saveIER; |
350 | u32 saveIIR; | 366 | u32 saveIIR; |
351 | u32 saveIMR; | 367 | u32 saveIMR; |
368 | u32 saveDEIER; | ||
369 | u32 saveDEIMR; | ||
370 | u32 saveGTIER; | ||
371 | u32 saveGTIMR; | ||
372 | u32 saveFDI_RXA_IMR; | ||
373 | u32 saveFDI_RXB_IMR; | ||
352 | u32 saveCACHE_MODE_0; | 374 | u32 saveCACHE_MODE_0; |
353 | u32 saveD_STATE; | 375 | u32 saveD_STATE; |
354 | u32 saveDSPCLK_GATE_D; | 376 | u32 saveDSPCLK_GATE_D; |
@@ -382,6 +404,16 @@ typedef struct drm_i915_private { | |||
382 | u32 savePIPEB_DP_LINK_M; | 404 | u32 savePIPEB_DP_LINK_M; |
383 | u32 savePIPEA_DP_LINK_N; | 405 | u32 savePIPEA_DP_LINK_N; |
384 | u32 savePIPEB_DP_LINK_N; | 406 | u32 savePIPEB_DP_LINK_N; |
407 | u32 saveFDI_RXA_CTL; | ||
408 | u32 saveFDI_TXA_CTL; | ||
409 | u32 saveFDI_RXB_CTL; | ||
410 | u32 saveFDI_TXB_CTL; | ||
411 | u32 savePFA_CTL_1; | ||
412 | u32 savePFB_CTL_1; | ||
413 | u32 savePFA_WIN_SZ; | ||
414 | u32 savePFB_WIN_SZ; | ||
415 | u32 savePFA_WIN_POS; | ||
416 | u32 savePFB_WIN_POS; | ||
385 | 417 | ||
386 | struct { | 418 | struct { |
387 | struct drm_mm gtt_space; | 419 | struct drm_mm gtt_space; |
@@ -492,6 +524,8 @@ typedef struct drm_i915_private { | |||
492 | struct drm_i915_gem_phys_object *phys_objs[I915_MAX_PHYS_OBJECT]; | 524 | struct drm_i915_gem_phys_object *phys_objs[I915_MAX_PHYS_OBJECT]; |
493 | } mm; | 525 | } mm; |
494 | struct sdvo_device_mapping sdvo_mappings[2]; | 526 | struct sdvo_device_mapping sdvo_mappings[2]; |
527 | /* indicate whether the LVDS_BORDER should be enabled or not */ | ||
528 | unsigned int lvds_border_bits; | ||
495 | 529 | ||
496 | /* Reclocking support */ | 530 | /* Reclocking support */ |
497 | bool render_reclock_avail; | 531 | bool render_reclock_avail; |
@@ -981,7 +1015,10 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller); | |||
981 | 1015 | ||
982 | #define HAS_FW_BLC(dev) (IS_I9XX(dev) || IS_G4X(dev) || IS_IGDNG(dev)) | 1016 | #define HAS_FW_BLC(dev) (IS_I9XX(dev) || IS_G4X(dev) || IS_IGDNG(dev)) |
983 | #define HAS_PIPE_CXSR(dev) (IS_G4X(dev) || IS_IGDNG(dev)) | 1017 | #define HAS_PIPE_CXSR(dev) (IS_G4X(dev) || IS_IGDNG(dev)) |
984 | #define I915_HAS_FBC(dev) (IS_MOBILE(dev) && (IS_I9XX(dev) || IS_I965G(dev))) | 1018 | #define I915_HAS_FBC(dev) (IS_MOBILE(dev) && \ |
1019 | (IS_I9XX(dev) || IS_GM45(dev)) && \ | ||
1020 | !IS_IGD(dev) && \ | ||
1021 | !IS_IGDNG(dev)) | ||
985 | 1022 | ||
986 | #define PRIMARY_RINGBUFFER_SIZE (128*1024) | 1023 | #define PRIMARY_RINGBUFFER_SIZE (128*1024) |
987 | 1024 | ||
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 0466ddbeba32..1687edf68795 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -968,6 +968,8 @@ | |||
968 | #define LVDS_PORT_EN (1 << 31) | 968 | #define LVDS_PORT_EN (1 << 31) |
969 | /* Selects pipe B for LVDS data. Must be set on pre-965. */ | 969 | /* Selects pipe B for LVDS data. Must be set on pre-965. */ |
970 | #define LVDS_PIPEB_SELECT (1 << 30) | 970 | #define LVDS_PIPEB_SELECT (1 << 30) |
971 | /* Enable border for unscaled (or aspect-scaled) display */ | ||
972 | #define LVDS_BORDER_ENABLE (1 << 15) | ||
971 | /* | 973 | /* |
972 | * Enables the A0-A2 data pairs and CLKA, containing 18 bits of color data per | 974 | * Enables the A0-A2 data pairs and CLKA, containing 18 bits of color data per |
973 | * pixel. | 975 | * pixel. |
@@ -1078,6 +1080,8 @@ | |||
1078 | #define BACKLIGHT_DUTY_CYCLE_SHIFT (0) | 1080 | #define BACKLIGHT_DUTY_CYCLE_SHIFT (0) |
1079 | #define BACKLIGHT_DUTY_CYCLE_MASK (0xffff) | 1081 | #define BACKLIGHT_DUTY_CYCLE_MASK (0xffff) |
1080 | 1082 | ||
1083 | #define BLC_HIST_CTL 0x61260 | ||
1084 | |||
1081 | /* TV port control */ | 1085 | /* TV port control */ |
1082 | #define TV_CTL 0x68000 | 1086 | #define TV_CTL 0x68000 |
1083 | /** Enables the TV encoder */ | 1087 | /** Enables the TV encoder */ |
@@ -1780,6 +1784,11 @@ | |||
1780 | #define PIPE_START_VBLANK_INTERRUPT_STATUS (1UL<<2) /* 965 or later */ | 1784 | #define PIPE_START_VBLANK_INTERRUPT_STATUS (1UL<<2) /* 965 or later */ |
1781 | #define PIPE_VBLANK_INTERRUPT_STATUS (1UL<<1) | 1785 | #define PIPE_VBLANK_INTERRUPT_STATUS (1UL<<1) |
1782 | #define PIPE_OVERLAY_UPDATED_STATUS (1UL<<0) | 1786 | #define PIPE_OVERLAY_UPDATED_STATUS (1UL<<0) |
1787 | #define PIPE_BPC_MASK (7 << 5) /* Ironlake */ | ||
1788 | #define PIPE_8BPC (0 << 5) | ||
1789 | #define PIPE_10BPC (1 << 5) | ||
1790 | #define PIPE_6BPC (2 << 5) | ||
1791 | #define PIPE_12BPC (3 << 5) | ||
1783 | 1792 | ||
1784 | #define DSPARB 0x70030 | 1793 | #define DSPARB 0x70030 |
1785 | #define DSPARB_CSTART_MASK (0x7f << 7) | 1794 | #define DSPARB_CSTART_MASK (0x7f << 7) |
@@ -1790,17 +1799,29 @@ | |||
1790 | #define DSPARB_AEND_SHIFT 0 | 1799 | #define DSPARB_AEND_SHIFT 0 |
1791 | 1800 | ||
1792 | #define DSPFW1 0x70034 | 1801 | #define DSPFW1 0x70034 |
1802 | #define DSPFW_SR_SHIFT 23 | ||
1803 | #define DSPFW_CURSORB_SHIFT 16 | ||
1804 | #define DSPFW_PLANEB_SHIFT 8 | ||
1793 | #define DSPFW2 0x70038 | 1805 | #define DSPFW2 0x70038 |
1806 | #define DSPFW_CURSORA_MASK 0x00003f00 | ||
1807 | #define DSPFW_CURSORA_SHIFT 16 | ||
1794 | #define DSPFW3 0x7003c | 1808 | #define DSPFW3 0x7003c |
1809 | #define DSPFW_HPLL_SR_EN (1<<31) | ||
1810 | #define DSPFW_CURSOR_SR_SHIFT 24 | ||
1795 | #define IGD_SELF_REFRESH_EN (1<<30) | 1811 | #define IGD_SELF_REFRESH_EN (1<<30) |
1796 | 1812 | ||
1797 | /* FIFO watermark sizes etc */ | 1813 | /* FIFO watermark sizes etc */ |
1814 | #define G4X_FIFO_LINE_SIZE 64 | ||
1798 | #define I915_FIFO_LINE_SIZE 64 | 1815 | #define I915_FIFO_LINE_SIZE 64 |
1799 | #define I830_FIFO_LINE_SIZE 32 | 1816 | #define I830_FIFO_LINE_SIZE 32 |
1817 | |||
1818 | #define G4X_FIFO_SIZE 127 | ||
1800 | #define I945_FIFO_SIZE 127 /* 945 & 965 */ | 1819 | #define I945_FIFO_SIZE 127 /* 945 & 965 */ |
1801 | #define I915_FIFO_SIZE 95 | 1820 | #define I915_FIFO_SIZE 95 |
1802 | #define I855GM_FIFO_SIZE 127 /* In cachelines */ | 1821 | #define I855GM_FIFO_SIZE 127 /* In cachelines */ |
1803 | #define I830_FIFO_SIZE 95 | 1822 | #define I830_FIFO_SIZE 95 |
1823 | |||
1824 | #define G4X_MAX_WM 0x3f | ||
1804 | #define I915_MAX_WM 0x3f | 1825 | #define I915_MAX_WM 0x3f |
1805 | 1826 | ||
1806 | #define IGD_DISPLAY_FIFO 512 /* in 64byte unit */ | 1827 | #define IGD_DISPLAY_FIFO 512 /* in 64byte unit */ |
@@ -2030,6 +2051,11 @@ | |||
2030 | #define PFA_CTL_1 0x68080 | 2051 | #define PFA_CTL_1 0x68080 |
2031 | #define PFB_CTL_1 0x68880 | 2052 | #define PFB_CTL_1 0x68880 |
2032 | #define PF_ENABLE (1<<31) | 2053 | #define PF_ENABLE (1<<31) |
2054 | #define PF_FILTER_MASK (3<<23) | ||
2055 | #define PF_FILTER_PROGRAMMED (0<<23) | ||
2056 | #define PF_FILTER_MED_3x3 (1<<23) | ||
2057 | #define PF_FILTER_EDGE_ENHANCE (2<<23) | ||
2058 | #define PF_FILTER_EDGE_SOFTEN (3<<23) | ||
2033 | #define PFA_WIN_SZ 0x68074 | 2059 | #define PFA_WIN_SZ 0x68074 |
2034 | #define PFB_WIN_SZ 0x68874 | 2060 | #define PFB_WIN_SZ 0x68874 |
2035 | #define PFA_WIN_POS 0x68070 | 2061 | #define PFA_WIN_POS 0x68070 |
@@ -2149,11 +2175,11 @@ | |||
2149 | #define DREF_CPU_SOURCE_OUTPUT_MASK (3<<13) | 2175 | #define DREF_CPU_SOURCE_OUTPUT_MASK (3<<13) |
2150 | #define DREF_SSC_SOURCE_DISABLE (0<<11) | 2176 | #define DREF_SSC_SOURCE_DISABLE (0<<11) |
2151 | #define DREF_SSC_SOURCE_ENABLE (2<<11) | 2177 | #define DREF_SSC_SOURCE_ENABLE (2<<11) |
2152 | #define DREF_SSC_SOURCE_MASK (2<<11) | 2178 | #define DREF_SSC_SOURCE_MASK (3<<11) |
2153 | #define DREF_NONSPREAD_SOURCE_DISABLE (0<<9) | 2179 | #define DREF_NONSPREAD_SOURCE_DISABLE (0<<9) |
2154 | #define DREF_NONSPREAD_CK505_ENABLE (1<<9) | 2180 | #define DREF_NONSPREAD_CK505_ENABLE (1<<9) |
2155 | #define DREF_NONSPREAD_SOURCE_ENABLE (2<<9) | 2181 | #define DREF_NONSPREAD_SOURCE_ENABLE (2<<9) |
2156 | #define DREF_NONSPREAD_SOURCE_MASK (2<<9) | 2182 | #define DREF_NONSPREAD_SOURCE_MASK (3<<9) |
2157 | #define DREF_SUPERSPREAD_SOURCE_DISABLE (0<<7) | 2183 | #define DREF_SUPERSPREAD_SOURCE_DISABLE (0<<7) |
2158 | #define DREF_SUPERSPREAD_SOURCE_ENABLE (2<<7) | 2184 | #define DREF_SUPERSPREAD_SOURCE_ENABLE (2<<7) |
2159 | #define DREF_SSC4_DOWNSPREAD (0<<6) | 2185 | #define DREF_SSC4_DOWNSPREAD (0<<6) |
diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c index bd6d8d91ca9f..992d5617e798 100644 --- a/drivers/gpu/drm/i915/i915_suspend.c +++ b/drivers/gpu/drm/i915/i915_suspend.c | |||
@@ -32,11 +32,15 @@ | |||
32 | static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) | 32 | static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) |
33 | { | 33 | { |
34 | struct drm_i915_private *dev_priv = dev->dev_private; | 34 | struct drm_i915_private *dev_priv = dev->dev_private; |
35 | u32 dpll_reg; | ||
35 | 36 | ||
36 | if (pipe == PIPE_A) | 37 | if (IS_IGDNG(dev)) { |
37 | return (I915_READ(DPLL_A) & DPLL_VCO_ENABLE); | 38 | dpll_reg = (pipe == PIPE_A) ? PCH_DPLL_A: PCH_DPLL_B; |
38 | else | 39 | } else { |
39 | return (I915_READ(DPLL_B) & DPLL_VCO_ENABLE); | 40 | dpll_reg = (pipe == PIPE_A) ? DPLL_A: DPLL_B; |
41 | } | ||
42 | |||
43 | return (I915_READ(dpll_reg) & DPLL_VCO_ENABLE); | ||
40 | } | 44 | } |
41 | 45 | ||
42 | static void i915_save_palette(struct drm_device *dev, enum pipe pipe) | 46 | static void i915_save_palette(struct drm_device *dev, enum pipe pipe) |
@@ -49,6 +53,9 @@ static void i915_save_palette(struct drm_device *dev, enum pipe pipe) | |||
49 | if (!i915_pipe_enabled(dev, pipe)) | 53 | if (!i915_pipe_enabled(dev, pipe)) |
50 | return; | 54 | return; |
51 | 55 | ||
56 | if (IS_IGDNG(dev)) | ||
57 | reg = (pipe == PIPE_A) ? LGC_PALETTE_A : LGC_PALETTE_B; | ||
58 | |||
52 | if (pipe == PIPE_A) | 59 | if (pipe == PIPE_A) |
53 | array = dev_priv->save_palette_a; | 60 | array = dev_priv->save_palette_a; |
54 | else | 61 | else |
@@ -68,6 +75,9 @@ static void i915_restore_palette(struct drm_device *dev, enum pipe pipe) | |||
68 | if (!i915_pipe_enabled(dev, pipe)) | 75 | if (!i915_pipe_enabled(dev, pipe)) |
69 | return; | 76 | return; |
70 | 77 | ||
78 | if (IS_IGDNG(dev)) | ||
79 | reg = (pipe == PIPE_A) ? LGC_PALETTE_A : LGC_PALETTE_B; | ||
80 | |||
71 | if (pipe == PIPE_A) | 81 | if (pipe == PIPE_A) |
72 | array = dev_priv->save_palette_a; | 82 | array = dev_priv->save_palette_a; |
73 | else | 83 | else |
@@ -232,10 +242,16 @@ static void i915_save_modeset_reg(struct drm_device *dev) | |||
232 | /* Pipe & plane A info */ | 242 | /* Pipe & plane A info */ |
233 | dev_priv->savePIPEACONF = I915_READ(PIPEACONF); | 243 | dev_priv->savePIPEACONF = I915_READ(PIPEACONF); |
234 | dev_priv->savePIPEASRC = I915_READ(PIPEASRC); | 244 | dev_priv->savePIPEASRC = I915_READ(PIPEASRC); |
235 | dev_priv->saveFPA0 = I915_READ(FPA0); | 245 | if (IS_IGDNG(dev)) { |
236 | dev_priv->saveFPA1 = I915_READ(FPA1); | 246 | dev_priv->saveFPA0 = I915_READ(PCH_FPA0); |
237 | dev_priv->saveDPLL_A = I915_READ(DPLL_A); | 247 | dev_priv->saveFPA1 = I915_READ(PCH_FPA1); |
238 | if (IS_I965G(dev)) | 248 | dev_priv->saveDPLL_A = I915_READ(PCH_DPLL_A); |
249 | } else { | ||
250 | dev_priv->saveFPA0 = I915_READ(FPA0); | ||
251 | dev_priv->saveFPA1 = I915_READ(FPA1); | ||
252 | dev_priv->saveDPLL_A = I915_READ(DPLL_A); | ||
253 | } | ||
254 | if (IS_I965G(dev) && !IS_IGDNG(dev)) | ||
239 | dev_priv->saveDPLL_A_MD = I915_READ(DPLL_A_MD); | 255 | dev_priv->saveDPLL_A_MD = I915_READ(DPLL_A_MD); |
240 | dev_priv->saveHTOTAL_A = I915_READ(HTOTAL_A); | 256 | dev_priv->saveHTOTAL_A = I915_READ(HTOTAL_A); |
241 | dev_priv->saveHBLANK_A = I915_READ(HBLANK_A); | 257 | dev_priv->saveHBLANK_A = I915_READ(HBLANK_A); |
@@ -243,7 +259,24 @@ static void i915_save_modeset_reg(struct drm_device *dev) | |||
243 | dev_priv->saveVTOTAL_A = I915_READ(VTOTAL_A); | 259 | dev_priv->saveVTOTAL_A = I915_READ(VTOTAL_A); |
244 | dev_priv->saveVBLANK_A = I915_READ(VBLANK_A); | 260 | dev_priv->saveVBLANK_A = I915_READ(VBLANK_A); |
245 | dev_priv->saveVSYNC_A = I915_READ(VSYNC_A); | 261 | dev_priv->saveVSYNC_A = I915_READ(VSYNC_A); |
246 | dev_priv->saveBCLRPAT_A = I915_READ(BCLRPAT_A); | 262 | if (!IS_IGDNG(dev)) |
263 | dev_priv->saveBCLRPAT_A = I915_READ(BCLRPAT_A); | ||
264 | |||
265 | if (IS_IGDNG(dev)) { | ||
266 | dev_priv->saveFDI_TXA_CTL = I915_READ(FDI_TXA_CTL); | ||
267 | dev_priv->saveFDI_RXA_CTL = I915_READ(FDI_RXA_CTL); | ||
268 | |||
269 | dev_priv->savePFA_CTL_1 = I915_READ(PFA_CTL_1); | ||
270 | dev_priv->savePFA_WIN_SZ = I915_READ(PFA_WIN_SZ); | ||
271 | dev_priv->savePFA_WIN_POS = I915_READ(PFA_WIN_POS); | ||
272 | |||
273 | dev_priv->saveTRANS_HTOTAL_A = I915_READ(TRANS_HTOTAL_A); | ||
274 | dev_priv->saveTRANS_HBLANK_A = I915_READ(TRANS_HBLANK_A); | ||
275 | dev_priv->saveTRANS_HSYNC_A = I915_READ(TRANS_HSYNC_A); | ||
276 | dev_priv->saveTRANS_VTOTAL_A = I915_READ(TRANS_VTOTAL_A); | ||
277 | dev_priv->saveTRANS_VBLANK_A = I915_READ(TRANS_VBLANK_A); | ||
278 | dev_priv->saveTRANS_VSYNC_A = I915_READ(TRANS_VSYNC_A); | ||
279 | } | ||
247 | 280 | ||
248 | dev_priv->saveDSPACNTR = I915_READ(DSPACNTR); | 281 | dev_priv->saveDSPACNTR = I915_READ(DSPACNTR); |
249 | dev_priv->saveDSPASTRIDE = I915_READ(DSPASTRIDE); | 282 | dev_priv->saveDSPASTRIDE = I915_READ(DSPASTRIDE); |
@@ -260,10 +293,16 @@ static void i915_save_modeset_reg(struct drm_device *dev) | |||
260 | /* Pipe & plane B info */ | 293 | /* Pipe & plane B info */ |
261 | dev_priv->savePIPEBCONF = I915_READ(PIPEBCONF); | 294 | dev_priv->savePIPEBCONF = I915_READ(PIPEBCONF); |
262 | dev_priv->savePIPEBSRC = I915_READ(PIPEBSRC); | 295 | dev_priv->savePIPEBSRC = I915_READ(PIPEBSRC); |
263 | dev_priv->saveFPB0 = I915_READ(FPB0); | 296 | if (IS_IGDNG(dev)) { |
264 | dev_priv->saveFPB1 = I915_READ(FPB1); | 297 | dev_priv->saveFPB0 = I915_READ(PCH_FPB0); |
265 | dev_priv->saveDPLL_B = I915_READ(DPLL_B); | 298 | dev_priv->saveFPB1 = I915_READ(PCH_FPB1); |
266 | if (IS_I965G(dev)) | 299 | dev_priv->saveDPLL_B = I915_READ(PCH_DPLL_B); |
300 | } else { | ||
301 | dev_priv->saveFPB0 = I915_READ(FPB0); | ||
302 | dev_priv->saveFPB1 = I915_READ(FPB1); | ||
303 | dev_priv->saveDPLL_B = I915_READ(DPLL_B); | ||
304 | } | ||
305 | if (IS_I965G(dev) && !IS_IGDNG(dev)) | ||
267 | dev_priv->saveDPLL_B_MD = I915_READ(DPLL_B_MD); | 306 | dev_priv->saveDPLL_B_MD = I915_READ(DPLL_B_MD); |
268 | dev_priv->saveHTOTAL_B = I915_READ(HTOTAL_B); | 307 | dev_priv->saveHTOTAL_B = I915_READ(HTOTAL_B); |
269 | dev_priv->saveHBLANK_B = I915_READ(HBLANK_B); | 308 | dev_priv->saveHBLANK_B = I915_READ(HBLANK_B); |
@@ -271,7 +310,24 @@ static void i915_save_modeset_reg(struct drm_device *dev) | |||
271 | dev_priv->saveVTOTAL_B = I915_READ(VTOTAL_B); | 310 | dev_priv->saveVTOTAL_B = I915_READ(VTOTAL_B); |
272 | dev_priv->saveVBLANK_B = I915_READ(VBLANK_B); | 311 | dev_priv->saveVBLANK_B = I915_READ(VBLANK_B); |
273 | dev_priv->saveVSYNC_B = I915_READ(VSYNC_B); | 312 | dev_priv->saveVSYNC_B = I915_READ(VSYNC_B); |
274 | dev_priv->saveBCLRPAT_A = I915_READ(BCLRPAT_A); | 313 | if (!IS_IGDNG(dev)) |
314 | dev_priv->saveBCLRPAT_B = I915_READ(BCLRPAT_B); | ||
315 | |||
316 | if (IS_IGDNG(dev)) { | ||
317 | dev_priv->saveFDI_TXB_CTL = I915_READ(FDI_TXB_CTL); | ||
318 | dev_priv->saveFDI_RXB_CTL = I915_READ(FDI_RXB_CTL); | ||
319 | |||
320 | dev_priv->savePFB_CTL_1 = I915_READ(PFB_CTL_1); | ||
321 | dev_priv->savePFB_WIN_SZ = I915_READ(PFB_WIN_SZ); | ||
322 | dev_priv->savePFB_WIN_POS = I915_READ(PFB_WIN_POS); | ||
323 | |||
324 | dev_priv->saveTRANS_HTOTAL_B = I915_READ(TRANS_HTOTAL_B); | ||
325 | dev_priv->saveTRANS_HBLANK_B = I915_READ(TRANS_HBLANK_B); | ||
326 | dev_priv->saveTRANS_HSYNC_B = I915_READ(TRANS_HSYNC_B); | ||
327 | dev_priv->saveTRANS_VTOTAL_B = I915_READ(TRANS_VTOTAL_B); | ||
328 | dev_priv->saveTRANS_VBLANK_B = I915_READ(TRANS_VBLANK_B); | ||
329 | dev_priv->saveTRANS_VSYNC_B = I915_READ(TRANS_VSYNC_B); | ||
330 | } | ||
275 | 331 | ||
276 | dev_priv->saveDSPBCNTR = I915_READ(DSPBCNTR); | 332 | dev_priv->saveDSPBCNTR = I915_READ(DSPBCNTR); |
277 | dev_priv->saveDSPBSTRIDE = I915_READ(DSPBSTRIDE); | 333 | dev_priv->saveDSPBSTRIDE = I915_READ(DSPBSTRIDE); |
@@ -290,23 +346,41 @@ static void i915_save_modeset_reg(struct drm_device *dev) | |||
290 | static void i915_restore_modeset_reg(struct drm_device *dev) | 346 | static void i915_restore_modeset_reg(struct drm_device *dev) |
291 | { | 347 | { |
292 | struct drm_i915_private *dev_priv = dev->dev_private; | 348 | struct drm_i915_private *dev_priv = dev->dev_private; |
349 | int dpll_a_reg, fpa0_reg, fpa1_reg; | ||
350 | int dpll_b_reg, fpb0_reg, fpb1_reg; | ||
293 | 351 | ||
294 | if (drm_core_check_feature(dev, DRIVER_MODESET)) | 352 | if (drm_core_check_feature(dev, DRIVER_MODESET)) |
295 | return; | 353 | return; |
296 | 354 | ||
355 | if (IS_IGDNG(dev)) { | ||
356 | dpll_a_reg = PCH_DPLL_A; | ||
357 | dpll_b_reg = PCH_DPLL_B; | ||
358 | fpa0_reg = PCH_FPA0; | ||
359 | fpb0_reg = PCH_FPB0; | ||
360 | fpa1_reg = PCH_FPA1; | ||
361 | fpb1_reg = PCH_FPB1; | ||
362 | } else { | ||
363 | dpll_a_reg = DPLL_A; | ||
364 | dpll_b_reg = DPLL_B; | ||
365 | fpa0_reg = FPA0; | ||
366 | fpb0_reg = FPB0; | ||
367 | fpa1_reg = FPA1; | ||
368 | fpb1_reg = FPB1; | ||
369 | } | ||
370 | |||
297 | /* Pipe & plane A info */ | 371 | /* Pipe & plane A info */ |
298 | /* Prime the clock */ | 372 | /* Prime the clock */ |
299 | if (dev_priv->saveDPLL_A & DPLL_VCO_ENABLE) { | 373 | if (dev_priv->saveDPLL_A & DPLL_VCO_ENABLE) { |
300 | I915_WRITE(DPLL_A, dev_priv->saveDPLL_A & | 374 | I915_WRITE(dpll_a_reg, dev_priv->saveDPLL_A & |
301 | ~DPLL_VCO_ENABLE); | 375 | ~DPLL_VCO_ENABLE); |
302 | DRM_UDELAY(150); | 376 | DRM_UDELAY(150); |
303 | } | 377 | } |
304 | I915_WRITE(FPA0, dev_priv->saveFPA0); | 378 | I915_WRITE(fpa0_reg, dev_priv->saveFPA0); |
305 | I915_WRITE(FPA1, dev_priv->saveFPA1); | 379 | I915_WRITE(fpa1_reg, dev_priv->saveFPA1); |
306 | /* Actually enable it */ | 380 | /* Actually enable it */ |
307 | I915_WRITE(DPLL_A, dev_priv->saveDPLL_A); | 381 | I915_WRITE(dpll_a_reg, dev_priv->saveDPLL_A); |
308 | DRM_UDELAY(150); | 382 | DRM_UDELAY(150); |
309 | if (IS_I965G(dev)) | 383 | if (IS_I965G(dev) && !IS_IGDNG(dev)) |
310 | I915_WRITE(DPLL_A_MD, dev_priv->saveDPLL_A_MD); | 384 | I915_WRITE(DPLL_A_MD, dev_priv->saveDPLL_A_MD); |
311 | DRM_UDELAY(150); | 385 | DRM_UDELAY(150); |
312 | 386 | ||
@@ -317,7 +391,24 @@ static void i915_restore_modeset_reg(struct drm_device *dev) | |||
317 | I915_WRITE(VTOTAL_A, dev_priv->saveVTOTAL_A); | 391 | I915_WRITE(VTOTAL_A, dev_priv->saveVTOTAL_A); |
318 | I915_WRITE(VBLANK_A, dev_priv->saveVBLANK_A); | 392 | I915_WRITE(VBLANK_A, dev_priv->saveVBLANK_A); |
319 | I915_WRITE(VSYNC_A, dev_priv->saveVSYNC_A); | 393 | I915_WRITE(VSYNC_A, dev_priv->saveVSYNC_A); |
320 | I915_WRITE(BCLRPAT_A, dev_priv->saveBCLRPAT_A); | 394 | if (!IS_IGDNG(dev)) |
395 | I915_WRITE(BCLRPAT_A, dev_priv->saveBCLRPAT_A); | ||
396 | |||
397 | if (IS_IGDNG(dev)) { | ||
398 | I915_WRITE(FDI_RXA_CTL, dev_priv->saveFDI_RXA_CTL); | ||
399 | I915_WRITE(FDI_TXA_CTL, dev_priv->saveFDI_TXA_CTL); | ||
400 | |||
401 | I915_WRITE(PFA_CTL_1, dev_priv->savePFA_CTL_1); | ||
402 | I915_WRITE(PFA_WIN_SZ, dev_priv->savePFA_WIN_SZ); | ||
403 | I915_WRITE(PFA_WIN_POS, dev_priv->savePFA_WIN_POS); | ||
404 | |||
405 | I915_WRITE(TRANS_HTOTAL_A, dev_priv->saveTRANS_HTOTAL_A); | ||
406 | I915_WRITE(TRANS_HBLANK_A, dev_priv->saveTRANS_HBLANK_A); | ||
407 | I915_WRITE(TRANS_HSYNC_A, dev_priv->saveTRANS_HSYNC_A); | ||
408 | I915_WRITE(TRANS_VTOTAL_A, dev_priv->saveTRANS_VTOTAL_A); | ||
409 | I915_WRITE(TRANS_VBLANK_A, dev_priv->saveTRANS_VBLANK_A); | ||
410 | I915_WRITE(TRANS_VSYNC_A, dev_priv->saveTRANS_VSYNC_A); | ||
411 | } | ||
321 | 412 | ||
322 | /* Restore plane info */ | 413 | /* Restore plane info */ |
323 | I915_WRITE(DSPASIZE, dev_priv->saveDSPASIZE); | 414 | I915_WRITE(DSPASIZE, dev_priv->saveDSPASIZE); |
@@ -339,14 +430,14 @@ static void i915_restore_modeset_reg(struct drm_device *dev) | |||
339 | 430 | ||
340 | /* Pipe & plane B info */ | 431 | /* Pipe & plane B info */ |
341 | if (dev_priv->saveDPLL_B & DPLL_VCO_ENABLE) { | 432 | if (dev_priv->saveDPLL_B & DPLL_VCO_ENABLE) { |
342 | I915_WRITE(DPLL_B, dev_priv->saveDPLL_B & | 433 | I915_WRITE(dpll_b_reg, dev_priv->saveDPLL_B & |
343 | ~DPLL_VCO_ENABLE); | 434 | ~DPLL_VCO_ENABLE); |
344 | DRM_UDELAY(150); | 435 | DRM_UDELAY(150); |
345 | } | 436 | } |
346 | I915_WRITE(FPB0, dev_priv->saveFPB0); | 437 | I915_WRITE(fpb0_reg, dev_priv->saveFPB0); |
347 | I915_WRITE(FPB1, dev_priv->saveFPB1); | 438 | I915_WRITE(fpb1_reg, dev_priv->saveFPB1); |
348 | /* Actually enable it */ | 439 | /* Actually enable it */ |
349 | I915_WRITE(DPLL_B, dev_priv->saveDPLL_B); | 440 | I915_WRITE(dpll_b_reg, dev_priv->saveDPLL_B); |
350 | DRM_UDELAY(150); | 441 | DRM_UDELAY(150); |
351 | if (IS_I965G(dev)) | 442 | if (IS_I965G(dev)) |
352 | I915_WRITE(DPLL_B_MD, dev_priv->saveDPLL_B_MD); | 443 | I915_WRITE(DPLL_B_MD, dev_priv->saveDPLL_B_MD); |
@@ -359,7 +450,24 @@ static void i915_restore_modeset_reg(struct drm_device *dev) | |||
359 | I915_WRITE(VTOTAL_B, dev_priv->saveVTOTAL_B); | 450 | I915_WRITE(VTOTAL_B, dev_priv->saveVTOTAL_B); |
360 | I915_WRITE(VBLANK_B, dev_priv->saveVBLANK_B); | 451 | I915_WRITE(VBLANK_B, dev_priv->saveVBLANK_B); |
361 | I915_WRITE(VSYNC_B, dev_priv->saveVSYNC_B); | 452 | I915_WRITE(VSYNC_B, dev_priv->saveVSYNC_B); |
362 | I915_WRITE(BCLRPAT_B, dev_priv->saveBCLRPAT_B); | 453 | if (!IS_IGDNG(dev)) |
454 | I915_WRITE(BCLRPAT_B, dev_priv->saveBCLRPAT_B); | ||
455 | |||
456 | if (IS_IGDNG(dev)) { | ||
457 | I915_WRITE(FDI_RXB_CTL, dev_priv->saveFDI_RXB_CTL); | ||
458 | I915_WRITE(FDI_TXB_CTL, dev_priv->saveFDI_TXB_CTL); | ||
459 | |||
460 | I915_WRITE(PFB_CTL_1, dev_priv->savePFB_CTL_1); | ||
461 | I915_WRITE(PFB_WIN_SZ, dev_priv->savePFB_WIN_SZ); | ||
462 | I915_WRITE(PFB_WIN_POS, dev_priv->savePFB_WIN_POS); | ||
463 | |||
464 | I915_WRITE(TRANS_HTOTAL_B, dev_priv->saveTRANS_HTOTAL_B); | ||
465 | I915_WRITE(TRANS_HBLANK_B, dev_priv->saveTRANS_HBLANK_B); | ||
466 | I915_WRITE(TRANS_HSYNC_B, dev_priv->saveTRANS_HSYNC_B); | ||
467 | I915_WRITE(TRANS_VTOTAL_B, dev_priv->saveTRANS_VTOTAL_B); | ||
468 | I915_WRITE(TRANS_VBLANK_B, dev_priv->saveTRANS_VBLANK_B); | ||
469 | I915_WRITE(TRANS_VSYNC_B, dev_priv->saveTRANS_VSYNC_B); | ||
470 | } | ||
363 | 471 | ||
364 | /* Restore plane info */ | 472 | /* Restore plane info */ |
365 | I915_WRITE(DSPBSIZE, dev_priv->saveDSPBSIZE); | 473 | I915_WRITE(DSPBSIZE, dev_priv->saveDSPBSIZE); |
@@ -404,21 +512,43 @@ void i915_save_display(struct drm_device *dev) | |||
404 | dev_priv->saveCURSIZE = I915_READ(CURSIZE); | 512 | dev_priv->saveCURSIZE = I915_READ(CURSIZE); |
405 | 513 | ||
406 | /* CRT state */ | 514 | /* CRT state */ |
407 | dev_priv->saveADPA = I915_READ(ADPA); | 515 | if (IS_IGDNG(dev)) { |
516 | dev_priv->saveADPA = I915_READ(PCH_ADPA); | ||
517 | } else { | ||
518 | dev_priv->saveADPA = I915_READ(ADPA); | ||
519 | } | ||
408 | 520 | ||
409 | /* LVDS state */ | 521 | /* LVDS state */ |
410 | dev_priv->savePP_CONTROL = I915_READ(PP_CONTROL); | 522 | if (IS_IGDNG(dev)) { |
411 | dev_priv->savePFIT_PGM_RATIOS = I915_READ(PFIT_PGM_RATIOS); | 523 | dev_priv->savePP_CONTROL = I915_READ(PCH_PP_CONTROL); |
412 | dev_priv->saveBLC_PWM_CTL = I915_READ(BLC_PWM_CTL); | 524 | dev_priv->saveBLC_PWM_CTL = I915_READ(BLC_PWM_PCH_CTL1); |
413 | if (IS_I965G(dev)) | 525 | dev_priv->saveBLC_PWM_CTL2 = I915_READ(BLC_PWM_PCH_CTL2); |
414 | dev_priv->saveBLC_PWM_CTL2 = I915_READ(BLC_PWM_CTL2); | 526 | dev_priv->saveBLC_CPU_PWM_CTL = I915_READ(BLC_PWM_CPU_CTL); |
415 | if (IS_MOBILE(dev) && !IS_I830(dev)) | 527 | dev_priv->saveBLC_CPU_PWM_CTL2 = I915_READ(BLC_PWM_CPU_CTL2); |
416 | dev_priv->saveLVDS = I915_READ(LVDS); | 528 | dev_priv->saveLVDS = I915_READ(PCH_LVDS); |
417 | if (!IS_I830(dev) && !IS_845G(dev)) | 529 | } else { |
530 | dev_priv->savePP_CONTROL = I915_READ(PP_CONTROL); | ||
531 | dev_priv->savePFIT_PGM_RATIOS = I915_READ(PFIT_PGM_RATIOS); | ||
532 | dev_priv->saveBLC_PWM_CTL = I915_READ(BLC_PWM_CTL); | ||
533 | dev_priv->saveBLC_HIST_CTL = I915_READ(BLC_HIST_CTL); | ||
534 | if (IS_I965G(dev)) | ||
535 | dev_priv->saveBLC_PWM_CTL2 = I915_READ(BLC_PWM_CTL2); | ||
536 | if (IS_MOBILE(dev) && !IS_I830(dev)) | ||
537 | dev_priv->saveLVDS = I915_READ(LVDS); | ||
538 | } | ||
539 | |||
540 | if (!IS_I830(dev) && !IS_845G(dev) && !IS_IGDNG(dev)) | ||
418 | dev_priv->savePFIT_CONTROL = I915_READ(PFIT_CONTROL); | 541 | dev_priv->savePFIT_CONTROL = I915_READ(PFIT_CONTROL); |
419 | dev_priv->savePP_ON_DELAYS = I915_READ(PP_ON_DELAYS); | 542 | |
420 | dev_priv->savePP_OFF_DELAYS = I915_READ(PP_OFF_DELAYS); | 543 | if (IS_IGDNG(dev)) { |
421 | dev_priv->savePP_DIVISOR = I915_READ(PP_DIVISOR); | 544 | dev_priv->savePP_ON_DELAYS = I915_READ(PCH_PP_ON_DELAYS); |
545 | dev_priv->savePP_OFF_DELAYS = I915_READ(PCH_PP_OFF_DELAYS); | ||
546 | dev_priv->savePP_DIVISOR = I915_READ(PCH_PP_DIVISOR); | ||
547 | } else { | ||
548 | dev_priv->savePP_ON_DELAYS = I915_READ(PP_ON_DELAYS); | ||
549 | dev_priv->savePP_OFF_DELAYS = I915_READ(PP_OFF_DELAYS); | ||
550 | dev_priv->savePP_DIVISOR = I915_READ(PP_DIVISOR); | ||
551 | } | ||
422 | 552 | ||
423 | /* Display Port state */ | 553 | /* Display Port state */ |
424 | if (SUPPORTS_INTEGRATED_DP(dev)) { | 554 | if (SUPPORTS_INTEGRATED_DP(dev)) { |
@@ -437,16 +567,23 @@ void i915_save_display(struct drm_device *dev) | |||
437 | /* FIXME: save TV & SDVO state */ | 567 | /* FIXME: save TV & SDVO state */ |
438 | 568 | ||
439 | /* FBC state */ | 569 | /* FBC state */ |
440 | dev_priv->saveFBC_CFB_BASE = I915_READ(FBC_CFB_BASE); | 570 | if (IS_GM45(dev)) { |
441 | dev_priv->saveFBC_LL_BASE = I915_READ(FBC_LL_BASE); | 571 | dev_priv->saveDPFC_CB_BASE = I915_READ(DPFC_CB_BASE); |
442 | dev_priv->saveFBC_CONTROL2 = I915_READ(FBC_CONTROL2); | 572 | } else { |
443 | dev_priv->saveFBC_CONTROL = I915_READ(FBC_CONTROL); | 573 | dev_priv->saveFBC_CFB_BASE = I915_READ(FBC_CFB_BASE); |
574 | dev_priv->saveFBC_LL_BASE = I915_READ(FBC_LL_BASE); | ||
575 | dev_priv->saveFBC_CONTROL2 = I915_READ(FBC_CONTROL2); | ||
576 | dev_priv->saveFBC_CONTROL = I915_READ(FBC_CONTROL); | ||
577 | } | ||
444 | 578 | ||
445 | /* VGA state */ | 579 | /* VGA state */ |
446 | dev_priv->saveVGA0 = I915_READ(VGA0); | 580 | dev_priv->saveVGA0 = I915_READ(VGA0); |
447 | dev_priv->saveVGA1 = I915_READ(VGA1); | 581 | dev_priv->saveVGA1 = I915_READ(VGA1); |
448 | dev_priv->saveVGA_PD = I915_READ(VGA_PD); | 582 | dev_priv->saveVGA_PD = I915_READ(VGA_PD); |
449 | dev_priv->saveVGACNTRL = I915_READ(VGACNTRL); | 583 | if (IS_IGDNG(dev)) |
584 | dev_priv->saveVGACNTRL = I915_READ(CPU_VGACNTRL); | ||
585 | else | ||
586 | dev_priv->saveVGACNTRL = I915_READ(VGACNTRL); | ||
450 | 587 | ||
451 | i915_save_vga(dev); | 588 | i915_save_vga(dev); |
452 | } | 589 | } |
@@ -485,22 +622,41 @@ void i915_restore_display(struct drm_device *dev) | |||
485 | I915_WRITE(CURSIZE, dev_priv->saveCURSIZE); | 622 | I915_WRITE(CURSIZE, dev_priv->saveCURSIZE); |
486 | 623 | ||
487 | /* CRT state */ | 624 | /* CRT state */ |
488 | I915_WRITE(ADPA, dev_priv->saveADPA); | 625 | if (IS_IGDNG(dev)) |
626 | I915_WRITE(PCH_ADPA, dev_priv->saveADPA); | ||
627 | else | ||
628 | I915_WRITE(ADPA, dev_priv->saveADPA); | ||
489 | 629 | ||
490 | /* LVDS state */ | 630 | /* LVDS state */ |
491 | if (IS_I965G(dev)) | 631 | if (IS_I965G(dev) && !IS_IGDNG(dev)) |
492 | I915_WRITE(BLC_PWM_CTL2, dev_priv->saveBLC_PWM_CTL2); | 632 | I915_WRITE(BLC_PWM_CTL2, dev_priv->saveBLC_PWM_CTL2); |
493 | if (IS_MOBILE(dev) && !IS_I830(dev)) | 633 | |
634 | if (IS_IGDNG(dev)) { | ||
635 | I915_WRITE(PCH_LVDS, dev_priv->saveLVDS); | ||
636 | } else if (IS_MOBILE(dev) && !IS_I830(dev)) | ||
494 | I915_WRITE(LVDS, dev_priv->saveLVDS); | 637 | I915_WRITE(LVDS, dev_priv->saveLVDS); |
495 | if (!IS_I830(dev) && !IS_845G(dev)) | 638 | |
639 | if (!IS_I830(dev) && !IS_845G(dev) && !IS_IGDNG(dev)) | ||
496 | I915_WRITE(PFIT_CONTROL, dev_priv->savePFIT_CONTROL); | 640 | I915_WRITE(PFIT_CONTROL, dev_priv->savePFIT_CONTROL); |
497 | 641 | ||
498 | I915_WRITE(PFIT_PGM_RATIOS, dev_priv->savePFIT_PGM_RATIOS); | 642 | if (IS_IGDNG(dev)) { |
499 | I915_WRITE(BLC_PWM_CTL, dev_priv->saveBLC_PWM_CTL); | 643 | I915_WRITE(BLC_PWM_PCH_CTL1, dev_priv->saveBLC_PWM_CTL); |
500 | I915_WRITE(PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS); | 644 | I915_WRITE(BLC_PWM_PCH_CTL2, dev_priv->saveBLC_PWM_CTL2); |
501 | I915_WRITE(PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS); | 645 | I915_WRITE(BLC_PWM_CPU_CTL, dev_priv->saveBLC_CPU_PWM_CTL); |
502 | I915_WRITE(PP_DIVISOR, dev_priv->savePP_DIVISOR); | 646 | I915_WRITE(BLC_PWM_CPU_CTL2, dev_priv->saveBLC_CPU_PWM_CTL2); |
503 | I915_WRITE(PP_CONTROL, dev_priv->savePP_CONTROL); | 647 | I915_WRITE(PCH_PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS); |
648 | I915_WRITE(PCH_PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS); | ||
649 | I915_WRITE(PCH_PP_DIVISOR, dev_priv->savePP_DIVISOR); | ||
650 | I915_WRITE(PCH_PP_CONTROL, dev_priv->savePP_CONTROL); | ||
651 | } else { | ||
652 | I915_WRITE(PFIT_PGM_RATIOS, dev_priv->savePFIT_PGM_RATIOS); | ||
653 | I915_WRITE(BLC_PWM_CTL, dev_priv->saveBLC_PWM_CTL); | ||
654 | I915_WRITE(BLC_HIST_CTL, dev_priv->saveBLC_HIST_CTL); | ||
655 | I915_WRITE(PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS); | ||
656 | I915_WRITE(PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS); | ||
657 | I915_WRITE(PP_DIVISOR, dev_priv->savePP_DIVISOR); | ||
658 | I915_WRITE(PP_CONTROL, dev_priv->savePP_CONTROL); | ||
659 | } | ||
504 | 660 | ||
505 | /* Display Port state */ | 661 | /* Display Port state */ |
506 | if (SUPPORTS_INTEGRATED_DP(dev)) { | 662 | if (SUPPORTS_INTEGRATED_DP(dev)) { |
@@ -511,13 +667,22 @@ void i915_restore_display(struct drm_device *dev) | |||
511 | /* FIXME: restore TV & SDVO state */ | 667 | /* FIXME: restore TV & SDVO state */ |
512 | 668 | ||
513 | /* FBC info */ | 669 | /* FBC info */ |
514 | I915_WRITE(FBC_CFB_BASE, dev_priv->saveFBC_CFB_BASE); | 670 | if (IS_GM45(dev)) { |
515 | I915_WRITE(FBC_LL_BASE, dev_priv->saveFBC_LL_BASE); | 671 | g4x_disable_fbc(dev); |
516 | I915_WRITE(FBC_CONTROL2, dev_priv->saveFBC_CONTROL2); | 672 | I915_WRITE(DPFC_CB_BASE, dev_priv->saveDPFC_CB_BASE); |
517 | I915_WRITE(FBC_CONTROL, dev_priv->saveFBC_CONTROL); | 673 | } else { |
674 | i8xx_disable_fbc(dev); | ||
675 | I915_WRITE(FBC_CFB_BASE, dev_priv->saveFBC_CFB_BASE); | ||
676 | I915_WRITE(FBC_LL_BASE, dev_priv->saveFBC_LL_BASE); | ||
677 | I915_WRITE(FBC_CONTROL2, dev_priv->saveFBC_CONTROL2); | ||
678 | I915_WRITE(FBC_CONTROL, dev_priv->saveFBC_CONTROL); | ||
679 | } | ||
518 | 680 | ||
519 | /* VGA state */ | 681 | /* VGA state */ |
520 | I915_WRITE(VGACNTRL, dev_priv->saveVGACNTRL); | 682 | if (IS_IGDNG(dev)) |
683 | I915_WRITE(CPU_VGACNTRL, dev_priv->saveVGACNTRL); | ||
684 | else | ||
685 | I915_WRITE(VGACNTRL, dev_priv->saveVGACNTRL); | ||
521 | I915_WRITE(VGA0, dev_priv->saveVGA0); | 686 | I915_WRITE(VGA0, dev_priv->saveVGA0); |
522 | I915_WRITE(VGA1, dev_priv->saveVGA1); | 687 | I915_WRITE(VGA1, dev_priv->saveVGA1); |
523 | I915_WRITE(VGA_PD, dev_priv->saveVGA_PD); | 688 | I915_WRITE(VGA_PD, dev_priv->saveVGA_PD); |
@@ -543,8 +708,17 @@ int i915_save_state(struct drm_device *dev) | |||
543 | i915_save_display(dev); | 708 | i915_save_display(dev); |
544 | 709 | ||
545 | /* Interrupt state */ | 710 | /* Interrupt state */ |
546 | dev_priv->saveIER = I915_READ(IER); | 711 | if (IS_IGDNG(dev)) { |
547 | dev_priv->saveIMR = I915_READ(IMR); | 712 | dev_priv->saveDEIER = I915_READ(DEIER); |
713 | dev_priv->saveDEIMR = I915_READ(DEIMR); | ||
714 | dev_priv->saveGTIER = I915_READ(GTIER); | ||
715 | dev_priv->saveGTIMR = I915_READ(GTIMR); | ||
716 | dev_priv->saveFDI_RXA_IMR = I915_READ(FDI_RXA_IMR); | ||
717 | dev_priv->saveFDI_RXB_IMR = I915_READ(FDI_RXB_IMR); | ||
718 | } else { | ||
719 | dev_priv->saveIER = I915_READ(IER); | ||
720 | dev_priv->saveIMR = I915_READ(IMR); | ||
721 | } | ||
548 | 722 | ||
549 | /* Clock gating state */ | 723 | /* Clock gating state */ |
550 | dev_priv->saveD_STATE = I915_READ(D_STATE); | 724 | dev_priv->saveD_STATE = I915_READ(D_STATE); |
@@ -609,8 +783,17 @@ int i915_restore_state(struct drm_device *dev) | |||
609 | i915_restore_display(dev); | 783 | i915_restore_display(dev); |
610 | 784 | ||
611 | /* Interrupt state */ | 785 | /* Interrupt state */ |
612 | I915_WRITE (IER, dev_priv->saveIER); | 786 | if (IS_IGDNG(dev)) { |
613 | I915_WRITE (IMR, dev_priv->saveIMR); | 787 | I915_WRITE(DEIER, dev_priv->saveDEIER); |
788 | I915_WRITE(DEIMR, dev_priv->saveDEIMR); | ||
789 | I915_WRITE(GTIER, dev_priv->saveGTIER); | ||
790 | I915_WRITE(GTIMR, dev_priv->saveGTIMR); | ||
791 | I915_WRITE(FDI_RXA_IMR, dev_priv->saveFDI_RXA_IMR); | ||
792 | I915_WRITE(FDI_RXB_IMR, dev_priv->saveFDI_RXB_IMR); | ||
793 | } else { | ||
794 | I915_WRITE (IER, dev_priv->saveIER); | ||
795 | I915_WRITE (IMR, dev_priv->saveIMR); | ||
796 | } | ||
614 | 797 | ||
615 | /* Clock gating state */ | 798 | /* Clock gating state */ |
616 | I915_WRITE (D_STATE, dev_priv->saveD_STATE); | 799 | I915_WRITE (D_STATE, dev_priv->saveD_STATE); |
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c index 4337414846b6..96cd256e60e6 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c | |||
@@ -351,20 +351,18 @@ parse_driver_features(struct drm_i915_private *dev_priv, | |||
351 | struct drm_device *dev = dev_priv->dev; | 351 | struct drm_device *dev = dev_priv->dev; |
352 | struct bdb_driver_features *driver; | 352 | struct bdb_driver_features *driver; |
353 | 353 | ||
354 | /* set default for chips without eDP */ | ||
355 | if (!SUPPORTS_EDP(dev)) { | ||
356 | dev_priv->edp_support = 0; | ||
357 | return; | ||
358 | } | ||
359 | |||
360 | driver = find_section(bdb, BDB_DRIVER_FEATURES); | 354 | driver = find_section(bdb, BDB_DRIVER_FEATURES); |
361 | if (!driver) | 355 | if (!driver) |
362 | return; | 356 | return; |
363 | 357 | ||
364 | if (driver->lvds_config == BDB_DRIVER_FEATURE_EDP) | 358 | if (driver && SUPPORTS_EDP(dev) && |
359 | driver->lvds_config == BDB_DRIVER_FEATURE_EDP) { | ||
365 | dev_priv->edp_support = 1; | 360 | dev_priv->edp_support = 1; |
361 | } else { | ||
362 | dev_priv->edp_support = 0; | ||
363 | } | ||
366 | 364 | ||
367 | if (driver->dual_frequency) | 365 | if (driver && driver->dual_frequency) |
368 | dev_priv->render_reclock_avail = true; | 366 | dev_priv->render_reclock_avail = true; |
369 | } | 367 | } |
370 | 368 | ||
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 3c14240cc002..3ba6546b7c7f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -943,6 +943,7 @@ intel_find_pll_g4x_dp(const intel_limit_t *limit, struct drm_crtc *crtc, | |||
943 | clock.m = 5 * (clock.m1 + 2) + (clock.m2 + 2); | 943 | clock.m = 5 * (clock.m1 + 2) + (clock.m2 + 2); |
944 | clock.p = (clock.p1 * clock.p2); | 944 | clock.p = (clock.p1 * clock.p2); |
945 | clock.dot = 96000 * clock.m / (clock.n + 2) / clock.p; | 945 | clock.dot = 96000 * clock.m / (clock.n + 2) / clock.p; |
946 | clock.vco = 0; | ||
946 | memcpy(best_clock, &clock, sizeof(intel_clock_t)); | 947 | memcpy(best_clock, &clock, sizeof(intel_clock_t)); |
947 | return true; | 948 | return true; |
948 | } | 949 | } |
@@ -1260,9 +1261,11 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, | |||
1260 | return ret; | 1261 | return ret; |
1261 | } | 1262 | } |
1262 | 1263 | ||
1263 | /* Pre-i965 needs to install a fence for tiled scan-out */ | 1264 | /* Install a fence for tiled scan-out. Pre-i965 always needs a fence, |
1264 | if (!IS_I965G(dev) && | 1265 | * whereas 965+ only requires a fence if using framebuffer compression. |
1265 | obj_priv->fence_reg == I915_FENCE_REG_NONE && | 1266 | * For simplicity, we always install a fence as the cost is not that onerous. |
1267 | */ | ||
1268 | if (obj_priv->fence_reg == I915_FENCE_REG_NONE && | ||
1266 | obj_priv->tiling_mode != I915_TILING_NONE) { | 1269 | obj_priv->tiling_mode != I915_TILING_NONE) { |
1267 | ret = i915_gem_object_get_fence_reg(obj); | 1270 | ret = i915_gem_object_get_fence_reg(obj); |
1268 | if (ret != 0) { | 1271 | if (ret != 0) { |
@@ -1513,7 +1516,7 @@ static void igdng_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
1513 | /* Enable panel fitting for LVDS */ | 1516 | /* Enable panel fitting for LVDS */ |
1514 | if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { | 1517 | if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { |
1515 | temp = I915_READ(pf_ctl_reg); | 1518 | temp = I915_READ(pf_ctl_reg); |
1516 | I915_WRITE(pf_ctl_reg, temp | PF_ENABLE); | 1519 | I915_WRITE(pf_ctl_reg, temp | PF_ENABLE | PF_FILTER_MED_3x3); |
1517 | 1520 | ||
1518 | /* currently full aspect */ | 1521 | /* currently full aspect */ |
1519 | I915_WRITE(pf_win_pos, 0); | 1522 | I915_WRITE(pf_win_pos, 0); |
@@ -1801,6 +1804,8 @@ static void i9xx_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
1801 | case DRM_MODE_DPMS_ON: | 1804 | case DRM_MODE_DPMS_ON: |
1802 | case DRM_MODE_DPMS_STANDBY: | 1805 | case DRM_MODE_DPMS_STANDBY: |
1803 | case DRM_MODE_DPMS_SUSPEND: | 1806 | case DRM_MODE_DPMS_SUSPEND: |
1807 | intel_update_watermarks(dev); | ||
1808 | |||
1804 | /* Enable the DPLL */ | 1809 | /* Enable the DPLL */ |
1805 | temp = I915_READ(dpll_reg); | 1810 | temp = I915_READ(dpll_reg); |
1806 | if ((temp & DPLL_VCO_ENABLE) == 0) { | 1811 | if ((temp & DPLL_VCO_ENABLE) == 0) { |
@@ -1838,7 +1843,6 @@ static void i9xx_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
1838 | 1843 | ||
1839 | /* Give the overlay scaler a chance to enable if it's on this pipe */ | 1844 | /* Give the overlay scaler a chance to enable if it's on this pipe */ |
1840 | //intel_crtc_dpms_video(crtc, true); TODO | 1845 | //intel_crtc_dpms_video(crtc, true); TODO |
1841 | intel_update_watermarks(dev); | ||
1842 | break; | 1846 | break; |
1843 | case DRM_MODE_DPMS_OFF: | 1847 | case DRM_MODE_DPMS_OFF: |
1844 | intel_update_watermarks(dev); | 1848 | intel_update_watermarks(dev); |
@@ -2082,7 +2086,7 @@ fdi_reduce_ratio(u32 *num, u32 *den) | |||
2082 | #define LINK_N 0x80000 | 2086 | #define LINK_N 0x80000 |
2083 | 2087 | ||
2084 | static void | 2088 | static void |
2085 | igdng_compute_m_n(int bytes_per_pixel, int nlanes, | 2089 | igdng_compute_m_n(int bits_per_pixel, int nlanes, |
2086 | int pixel_clock, int link_clock, | 2090 | int pixel_clock, int link_clock, |
2087 | struct fdi_m_n *m_n) | 2091 | struct fdi_m_n *m_n) |
2088 | { | 2092 | { |
@@ -2092,7 +2096,8 @@ igdng_compute_m_n(int bytes_per_pixel, int nlanes, | |||
2092 | 2096 | ||
2093 | temp = (u64) DATA_N * pixel_clock; | 2097 | temp = (u64) DATA_N * pixel_clock; |
2094 | temp = div_u64(temp, link_clock); | 2098 | temp = div_u64(temp, link_clock); |
2095 | m_n->gmch_m = div_u64(temp * bytes_per_pixel, nlanes); | 2099 | m_n->gmch_m = div_u64(temp * bits_per_pixel, nlanes); |
2100 | m_n->gmch_m >>= 3; /* convert to bytes_per_pixel */ | ||
2096 | m_n->gmch_n = DATA_N; | 2101 | m_n->gmch_n = DATA_N; |
2097 | fdi_reduce_ratio(&m_n->gmch_m, &m_n->gmch_n); | 2102 | fdi_reduce_ratio(&m_n->gmch_m, &m_n->gmch_n); |
2098 | 2103 | ||
@@ -2140,6 +2145,13 @@ static struct intel_watermark_params igd_cursor_hplloff_wm = { | |||
2140 | IGD_CURSOR_GUARD_WM, | 2145 | IGD_CURSOR_GUARD_WM, |
2141 | IGD_FIFO_LINE_SIZE | 2146 | IGD_FIFO_LINE_SIZE |
2142 | }; | 2147 | }; |
2148 | static struct intel_watermark_params g4x_wm_info = { | ||
2149 | G4X_FIFO_SIZE, | ||
2150 | G4X_MAX_WM, | ||
2151 | G4X_MAX_WM, | ||
2152 | 2, | ||
2153 | G4X_FIFO_LINE_SIZE, | ||
2154 | }; | ||
2143 | static struct intel_watermark_params i945_wm_info = { | 2155 | static struct intel_watermark_params i945_wm_info = { |
2144 | I945_FIFO_SIZE, | 2156 | I945_FIFO_SIZE, |
2145 | I915_MAX_WM, | 2157 | I915_MAX_WM, |
@@ -2430,17 +2442,74 @@ static int i830_get_fifo_size(struct drm_device *dev, int plane) | |||
2430 | return size; | 2442 | return size; |
2431 | } | 2443 | } |
2432 | 2444 | ||
2433 | static void g4x_update_wm(struct drm_device *dev, int unused, int unused2, | 2445 | static void g4x_update_wm(struct drm_device *dev, int planea_clock, |
2434 | int unused3, int unused4) | 2446 | int planeb_clock, int sr_hdisplay, int pixel_size) |
2435 | { | 2447 | { |
2436 | struct drm_i915_private *dev_priv = dev->dev_private; | 2448 | struct drm_i915_private *dev_priv = dev->dev_private; |
2437 | u32 fw_blc_self = I915_READ(FW_BLC_SELF); | 2449 | int total_size, cacheline_size; |
2450 | int planea_wm, planeb_wm, cursora_wm, cursorb_wm, cursor_sr; | ||
2451 | struct intel_watermark_params planea_params, planeb_params; | ||
2452 | unsigned long line_time_us; | ||
2453 | int sr_clock, sr_entries = 0, entries_required; | ||
2438 | 2454 | ||
2439 | if (i915_powersave) | 2455 | /* Create copies of the base settings for each pipe */ |
2440 | fw_blc_self |= FW_BLC_SELF_EN; | 2456 | planea_params = planeb_params = g4x_wm_info; |
2441 | else | 2457 | |
2442 | fw_blc_self &= ~FW_BLC_SELF_EN; | 2458 | /* Grab a couple of global values before we overwrite them */ |
2443 | I915_WRITE(FW_BLC_SELF, fw_blc_self); | 2459 | total_size = planea_params.fifo_size; |
2460 | cacheline_size = planea_params.cacheline_size; | ||
2461 | |||
2462 | /* | ||
2463 | * Note: we need to make sure we don't overflow for various clock & | ||
2464 | * latency values. | ||
2465 | * clocks go from a few thousand to several hundred thousand. | ||
2466 | * latency is usually a few thousand | ||
2467 | */ | ||
2468 | entries_required = ((planea_clock / 1000) * pixel_size * latency_ns) / | ||
2469 | 1000; | ||
2470 | entries_required /= G4X_FIFO_LINE_SIZE; | ||
2471 | planea_wm = entries_required + planea_params.guard_size; | ||
2472 | |||
2473 | entries_required = ((planeb_clock / 1000) * pixel_size * latency_ns) / | ||
2474 | 1000; | ||
2475 | entries_required /= G4X_FIFO_LINE_SIZE; | ||
2476 | planeb_wm = entries_required + planeb_params.guard_size; | ||
2477 | |||
2478 | cursora_wm = cursorb_wm = 16; | ||
2479 | cursor_sr = 32; | ||
2480 | |||
2481 | DRM_DEBUG("FIFO watermarks - A: %d, B: %d\n", planea_wm, planeb_wm); | ||
2482 | |||
2483 | /* Calc sr entries for one plane configs */ | ||
2484 | if (sr_hdisplay && (!planea_clock || !planeb_clock)) { | ||
2485 | /* self-refresh has much higher latency */ | ||
2486 | const static int sr_latency_ns = 12000; | ||
2487 | |||
2488 | sr_clock = planea_clock ? planea_clock : planeb_clock; | ||
2489 | line_time_us = ((sr_hdisplay * 1000) / sr_clock); | ||
2490 | |||
2491 | /* Use ns/us then divide to preserve precision */ | ||
2492 | sr_entries = (((sr_latency_ns / line_time_us) + 1) * | ||
2493 | pixel_size * sr_hdisplay) / 1000; | ||
2494 | sr_entries = roundup(sr_entries / cacheline_size, 1); | ||
2495 | DRM_DEBUG("self-refresh entries: %d\n", sr_entries); | ||
2496 | I915_WRITE(FW_BLC_SELF, FW_BLC_SELF_EN); | ||
2497 | } | ||
2498 | |||
2499 | DRM_DEBUG("Setting FIFO watermarks - A: %d, B: %d, SR %d\n", | ||
2500 | planea_wm, planeb_wm, sr_entries); | ||
2501 | |||
2502 | planea_wm &= 0x3f; | ||
2503 | planeb_wm &= 0x3f; | ||
2504 | |||
2505 | I915_WRITE(DSPFW1, (sr_entries << DSPFW_SR_SHIFT) | | ||
2506 | (cursorb_wm << DSPFW_CURSORB_SHIFT) | | ||
2507 | (planeb_wm << DSPFW_PLANEB_SHIFT) | planea_wm); | ||
2508 | I915_WRITE(DSPFW2, (I915_READ(DSPFW2) & DSPFW_CURSORA_MASK) | | ||
2509 | (cursora_wm << DSPFW_CURSORA_SHIFT)); | ||
2510 | /* HPLL off in SR has some issues on G4x... disable it */ | ||
2511 | I915_WRITE(DSPFW3, (I915_READ(DSPFW3) & ~DSPFW_HPLL_SR_EN) | | ||
2512 | (cursor_sr << DSPFW_CURSOR_SR_SHIFT)); | ||
2444 | } | 2513 | } |
2445 | 2514 | ||
2446 | static void i965_update_wm(struct drm_device *dev, int unused, int unused2, | 2515 | static void i965_update_wm(struct drm_device *dev, int unused, int unused2, |
@@ -2586,6 +2655,9 @@ static void intel_update_watermarks(struct drm_device *dev) | |||
2586 | unsigned long planea_clock = 0, planeb_clock = 0, sr_clock = 0; | 2655 | unsigned long planea_clock = 0, planeb_clock = 0, sr_clock = 0; |
2587 | int enabled = 0, pixel_size = 0; | 2656 | int enabled = 0, pixel_size = 0; |
2588 | 2657 | ||
2658 | if (!dev_priv->display.update_wm) | ||
2659 | return; | ||
2660 | |||
2589 | /* Get the clock config from both planes */ | 2661 | /* Get the clock config from both planes */ |
2590 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { | 2662 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { |
2591 | intel_crtc = to_intel_crtc(crtc); | 2663 | intel_crtc = to_intel_crtc(crtc); |
@@ -2763,7 +2835,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, | |||
2763 | 2835 | ||
2764 | /* FDI link */ | 2836 | /* FDI link */ |
2765 | if (IS_IGDNG(dev)) { | 2837 | if (IS_IGDNG(dev)) { |
2766 | int lane, link_bw; | 2838 | int lane, link_bw, bpp; |
2767 | /* eDP doesn't require FDI link, so just set DP M/N | 2839 | /* eDP doesn't require FDI link, so just set DP M/N |
2768 | according to current link config */ | 2840 | according to current link config */ |
2769 | if (is_edp) { | 2841 | if (is_edp) { |
@@ -2782,10 +2854,72 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, | |||
2782 | lane = 4; | 2854 | lane = 4; |
2783 | link_bw = 270000; | 2855 | link_bw = 270000; |
2784 | } | 2856 | } |
2785 | igdng_compute_m_n(3, lane, target_clock, | 2857 | |
2858 | /* determine panel color depth */ | ||
2859 | temp = I915_READ(pipeconf_reg); | ||
2860 | |||
2861 | switch (temp & PIPE_BPC_MASK) { | ||
2862 | case PIPE_8BPC: | ||
2863 | bpp = 24; | ||
2864 | break; | ||
2865 | case PIPE_10BPC: | ||
2866 | bpp = 30; | ||
2867 | break; | ||
2868 | case PIPE_6BPC: | ||
2869 | bpp = 18; | ||
2870 | break; | ||
2871 | case PIPE_12BPC: | ||
2872 | bpp = 36; | ||
2873 | break; | ||
2874 | default: | ||
2875 | DRM_ERROR("unknown pipe bpc value\n"); | ||
2876 | bpp = 24; | ||
2877 | } | ||
2878 | |||
2879 | igdng_compute_m_n(bpp, lane, target_clock, | ||
2786 | link_bw, &m_n); | 2880 | link_bw, &m_n); |
2787 | } | 2881 | } |
2788 | 2882 | ||
2883 | /* Ironlake: try to setup display ref clock before DPLL | ||
2884 | * enabling. This is only under driver's control after | ||
2885 | * PCH B stepping, previous chipset stepping should be | ||
2886 | * ignoring this setting. | ||
2887 | */ | ||
2888 | if (IS_IGDNG(dev)) { | ||
2889 | temp = I915_READ(PCH_DREF_CONTROL); | ||
2890 | /* Always enable nonspread source */ | ||
2891 | temp &= ~DREF_NONSPREAD_SOURCE_MASK; | ||
2892 | temp |= DREF_NONSPREAD_SOURCE_ENABLE; | ||
2893 | I915_WRITE(PCH_DREF_CONTROL, temp); | ||
2894 | POSTING_READ(PCH_DREF_CONTROL); | ||
2895 | |||
2896 | temp &= ~DREF_SSC_SOURCE_MASK; | ||
2897 | temp |= DREF_SSC_SOURCE_ENABLE; | ||
2898 | I915_WRITE(PCH_DREF_CONTROL, temp); | ||
2899 | POSTING_READ(PCH_DREF_CONTROL); | ||
2900 | |||
2901 | udelay(200); | ||
2902 | |||
2903 | if (is_edp) { | ||
2904 | if (dev_priv->lvds_use_ssc) { | ||
2905 | temp |= DREF_SSC1_ENABLE; | ||
2906 | I915_WRITE(PCH_DREF_CONTROL, temp); | ||
2907 | POSTING_READ(PCH_DREF_CONTROL); | ||
2908 | |||
2909 | udelay(200); | ||
2910 | |||
2911 | temp &= ~DREF_CPU_SOURCE_OUTPUT_MASK; | ||
2912 | temp |= DREF_CPU_SOURCE_OUTPUT_DOWNSPREAD; | ||
2913 | I915_WRITE(PCH_DREF_CONTROL, temp); | ||
2914 | POSTING_READ(PCH_DREF_CONTROL); | ||
2915 | } else { | ||
2916 | temp |= DREF_CPU_SOURCE_OUTPUT_NONSPREAD; | ||
2917 | I915_WRITE(PCH_DREF_CONTROL, temp); | ||
2918 | POSTING_READ(PCH_DREF_CONTROL); | ||
2919 | } | ||
2920 | } | ||
2921 | } | ||
2922 | |||
2789 | if (IS_IGD(dev)) { | 2923 | if (IS_IGD(dev)) { |
2790 | fp = (1 << clock.n) << 16 | clock.m1 << 8 | clock.m2; | 2924 | fp = (1 << clock.n) << 16 | clock.m1 << 8 | clock.m2; |
2791 | if (has_reduced_clock) | 2925 | if (has_reduced_clock) |
@@ -2936,6 +3070,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, | |||
2936 | 3070 | ||
2937 | lvds = I915_READ(lvds_reg); | 3071 | lvds = I915_READ(lvds_reg); |
2938 | lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP | LVDS_PIPEB_SELECT; | 3072 | lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP | LVDS_PIPEB_SELECT; |
3073 | /* set the corresponsding LVDS_BORDER bit */ | ||
3074 | lvds |= dev_priv->lvds_border_bits; | ||
2939 | /* Set the B0-B3 data pairs corresponding to whether we're going to | 3075 | /* Set the B0-B3 data pairs corresponding to whether we're going to |
2940 | * set the DPLLs for dual-channel mode or not. | 3076 | * set the DPLLs for dual-channel mode or not. |
2941 | */ | 3077 | */ |
@@ -4124,7 +4260,9 @@ void intel_init_clock_gating(struct drm_device *dev) | |||
4124 | * Disable clock gating reported to work incorrectly according to the | 4260 | * Disable clock gating reported to work incorrectly according to the |
4125 | * specs, but enable as much else as we can. | 4261 | * specs, but enable as much else as we can. |
4126 | */ | 4262 | */ |
4127 | if (IS_G4X(dev)) { | 4263 | if (IS_IGDNG(dev)) { |
4264 | return; | ||
4265 | } else if (IS_G4X(dev)) { | ||
4128 | uint32_t dspclk_gate; | 4266 | uint32_t dspclk_gate; |
4129 | I915_WRITE(RENCLK_GATE_D1, 0); | 4267 | I915_WRITE(RENCLK_GATE_D1, 0); |
4130 | I915_WRITE(RENCLK_GATE_D2, VF_UNIT_CLOCK_GATE_DISABLE | | 4268 | I915_WRITE(RENCLK_GATE_D2, VF_UNIT_CLOCK_GATE_DISABLE | |
@@ -4212,7 +4350,9 @@ static void intel_init_display(struct drm_device *dev) | |||
4212 | i830_get_display_clock_speed; | 4350 | i830_get_display_clock_speed; |
4213 | 4351 | ||
4214 | /* For FIFO watermark updates */ | 4352 | /* For FIFO watermark updates */ |
4215 | if (IS_G4X(dev)) | 4353 | if (IS_IGDNG(dev)) |
4354 | dev_priv->display.update_wm = NULL; | ||
4355 | else if (IS_G4X(dev)) | ||
4216 | dev_priv->display.update_wm = g4x_update_wm; | 4356 | dev_priv->display.update_wm = g4x_update_wm; |
4217 | else if (IS_I965G(dev)) | 4357 | else if (IS_I965G(dev)) |
4218 | dev_priv->display.update_wm = i965_update_wm; | 4358 | dev_priv->display.update_wm = i965_update_wm; |
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index f4856a510476..d83447557f9b 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -400,7 +400,7 @@ intel_dp_i2c_init(struct intel_output *intel_output, const char *name) | |||
400 | { | 400 | { |
401 | struct intel_dp_priv *dp_priv = intel_output->dev_priv; | 401 | struct intel_dp_priv *dp_priv = intel_output->dev_priv; |
402 | 402 | ||
403 | DRM_ERROR("i2c_init %s\n", name); | 403 | DRM_DEBUG_KMS("i2c_init %s\n", name); |
404 | dp_priv->algo.running = false; | 404 | dp_priv->algo.running = false; |
405 | dp_priv->algo.address = 0; | 405 | dp_priv->algo.address = 0; |
406 | dp_priv->algo.aux_ch = intel_dp_i2c_aux_ch; | 406 | dp_priv->algo.aux_ch = intel_dp_i2c_aux_ch; |
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 808bbe412ba8..05598ae10c4b 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c | |||
@@ -380,7 +380,7 @@ static bool intel_lvds_mode_fixup(struct drm_encoder *encoder, | |||
380 | adjusted_mode->crtc_vblank_start + vsync_pos; | 380 | adjusted_mode->crtc_vblank_start + vsync_pos; |
381 | /* keep the vsync width constant */ | 381 | /* keep the vsync width constant */ |
382 | adjusted_mode->crtc_vsync_end = | 382 | adjusted_mode->crtc_vsync_end = |
383 | adjusted_mode->crtc_vblank_start + vsync_width; | 383 | adjusted_mode->crtc_vsync_start + vsync_width; |
384 | border = 1; | 384 | border = 1; |
385 | break; | 385 | break; |
386 | case DRM_MODE_SCALE_ASPECT: | 386 | case DRM_MODE_SCALE_ASPECT: |
@@ -526,6 +526,14 @@ out: | |||
526 | lvds_priv->pfit_control = pfit_control; | 526 | lvds_priv->pfit_control = pfit_control; |
527 | lvds_priv->pfit_pgm_ratios = pfit_pgm_ratios; | 527 | lvds_priv->pfit_pgm_ratios = pfit_pgm_ratios; |
528 | /* | 528 | /* |
529 | * When there exists the border, it means that the LVDS_BORDR | ||
530 | * should be enabled. | ||
531 | */ | ||
532 | if (border) | ||
533 | dev_priv->lvds_border_bits |= LVDS_BORDER_ENABLE; | ||
534 | else | ||
535 | dev_priv->lvds_border_bits &= ~(LVDS_BORDER_ENABLE); | ||
536 | /* | ||
529 | * XXX: It would be nice to support lower refresh rates on the | 537 | * XXX: It would be nice to support lower refresh rates on the |
530 | * panels to reduce power consumption, and perhaps match the | 538 | * panels to reduce power consumption, and perhaps match the |
531 | * user's requested refresh rate. | 539 | * user's requested refresh rate. |
diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile index 09a28923f46e..b5713eedd6e1 100644 --- a/drivers/gpu/drm/radeon/Makefile +++ b/drivers/gpu/drm/radeon/Makefile | |||
@@ -49,7 +49,7 @@ radeon-y += radeon_device.o radeon_kms.o \ | |||
49 | radeon_cs.o radeon_bios.o radeon_benchmark.o r100.o r300.o r420.o \ | 49 | radeon_cs.o radeon_bios.o radeon_benchmark.o r100.o r300.o r420.o \ |
50 | rs400.o rs600.o rs690.o rv515.o r520.o r600.o rv770.o radeon_test.o \ | 50 | rs400.o rs600.o rs690.o rv515.o r520.o r600.o rv770.o radeon_test.o \ |
51 | r200.o radeon_legacy_tv.o r600_cs.o r600_blit.o r600_blit_shaders.o \ | 51 | r200.o radeon_legacy_tv.o r600_cs.o r600_blit.o r600_blit_shaders.o \ |
52 | r600_blit_kms.o | 52 | r600_blit_kms.o radeon_pm.o |
53 | 53 | ||
54 | radeon-$(CONFIG_COMPAT) += radeon_ioc32.o | 54 | radeon-$(CONFIG_COMPAT) += radeon_ioc32.o |
55 | 55 | ||
diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h index 5d402086bc47..c11ddddfb3b6 100644 --- a/drivers/gpu/drm/radeon/atombios.h +++ b/drivers/gpu/drm/radeon/atombios.h | |||
@@ -2314,7 +2314,7 @@ typedef struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT { | |||
2314 | UCHAR ucSS_Step; | 2314 | UCHAR ucSS_Step; |
2315 | UCHAR ucSS_Delay; | 2315 | UCHAR ucSS_Delay; |
2316 | UCHAR ucSS_Id; | 2316 | UCHAR ucSS_Id; |
2317 | UCHAR ucRecommandedRef_Div; | 2317 | UCHAR ucRecommendedRef_Div; |
2318 | UCHAR ucSS_Range; /* it was reserved for V11 */ | 2318 | UCHAR ucSS_Range; /* it was reserved for V11 */ |
2319 | } ATOM_SPREAD_SPECTRUM_ASSIGNMENT; | 2319 | } ATOM_SPREAD_SPECTRUM_ASSIGNMENT; |
2320 | 2320 | ||
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 14fa9701aeb3..c15287a590ff 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c | |||
@@ -31,10 +31,6 @@ | |||
31 | #include "atom.h" | 31 | #include "atom.h" |
32 | #include "atom-bits.h" | 32 | #include "atom-bits.h" |
33 | 33 | ||
34 | /* evil but including atombios.h is much worse */ | ||
35 | bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | ||
36 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION *crtc_timing, | ||
37 | int32_t *pixel_clock); | ||
38 | static void atombios_overscan_setup(struct drm_crtc *crtc, | 34 | static void atombios_overscan_setup(struct drm_crtc *crtc, |
39 | struct drm_display_mode *mode, | 35 | struct drm_display_mode *mode, |
40 | struct drm_display_mode *adjusted_mode) | 36 | struct drm_display_mode *adjusted_mode) |
@@ -248,18 +244,18 @@ void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
248 | 244 | ||
249 | switch (mode) { | 245 | switch (mode) { |
250 | case DRM_MODE_DPMS_ON: | 246 | case DRM_MODE_DPMS_ON: |
247 | atombios_enable_crtc(crtc, 1); | ||
251 | if (ASIC_IS_DCE3(rdev)) | 248 | if (ASIC_IS_DCE3(rdev)) |
252 | atombios_enable_crtc_memreq(crtc, 1); | 249 | atombios_enable_crtc_memreq(crtc, 1); |
253 | atombios_enable_crtc(crtc, 1); | ||
254 | atombios_blank_crtc(crtc, 0); | 250 | atombios_blank_crtc(crtc, 0); |
255 | break; | 251 | break; |
256 | case DRM_MODE_DPMS_STANDBY: | 252 | case DRM_MODE_DPMS_STANDBY: |
257 | case DRM_MODE_DPMS_SUSPEND: | 253 | case DRM_MODE_DPMS_SUSPEND: |
258 | case DRM_MODE_DPMS_OFF: | 254 | case DRM_MODE_DPMS_OFF: |
259 | atombios_blank_crtc(crtc, 1); | 255 | atombios_blank_crtc(crtc, 1); |
260 | atombios_enable_crtc(crtc, 0); | ||
261 | if (ASIC_IS_DCE3(rdev)) | 256 | if (ASIC_IS_DCE3(rdev)) |
262 | atombios_enable_crtc_memreq(crtc, 0); | 257 | atombios_enable_crtc_memreq(crtc, 0); |
258 | atombios_enable_crtc(crtc, 0); | ||
263 | break; | 259 | break; |
264 | } | 260 | } |
265 | 261 | ||
@@ -270,59 +266,147 @@ void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
270 | 266 | ||
271 | static void | 267 | static void |
272 | atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, | 268 | atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, |
273 | SET_CRTC_USING_DTD_TIMING_PARAMETERS * crtc_param) | 269 | struct drm_display_mode *mode) |
274 | { | 270 | { |
271 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | ||
275 | struct drm_device *dev = crtc->dev; | 272 | struct drm_device *dev = crtc->dev; |
276 | struct radeon_device *rdev = dev->dev_private; | 273 | struct radeon_device *rdev = dev->dev_private; |
277 | SET_CRTC_USING_DTD_TIMING_PARAMETERS conv_param; | 274 | SET_CRTC_USING_DTD_TIMING_PARAMETERS args; |
278 | int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_UsingDTDTiming); | 275 | int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_UsingDTDTiming); |
276 | u16 misc = 0; | ||
279 | 277 | ||
280 | conv_param.usH_Size = cpu_to_le16(crtc_param->usH_Size); | 278 | memset(&args, 0, sizeof(args)); |
281 | conv_param.usH_Blanking_Time = | 279 | args.usH_Size = cpu_to_le16(mode->crtc_hdisplay); |
282 | cpu_to_le16(crtc_param->usH_Blanking_Time); | 280 | args.usH_Blanking_Time = |
283 | conv_param.usV_Size = cpu_to_le16(crtc_param->usV_Size); | 281 | cpu_to_le16(mode->crtc_hblank_end - mode->crtc_hdisplay); |
284 | conv_param.usV_Blanking_Time = | 282 | args.usV_Size = cpu_to_le16(mode->crtc_vdisplay); |
285 | cpu_to_le16(crtc_param->usV_Blanking_Time); | 283 | args.usV_Blanking_Time = |
286 | conv_param.usH_SyncOffset = cpu_to_le16(crtc_param->usH_SyncOffset); | 284 | cpu_to_le16(mode->crtc_vblank_end - mode->crtc_vdisplay); |
287 | conv_param.usH_SyncWidth = cpu_to_le16(crtc_param->usH_SyncWidth); | 285 | args.usH_SyncOffset = |
288 | conv_param.usV_SyncOffset = cpu_to_le16(crtc_param->usV_SyncOffset); | 286 | cpu_to_le16(mode->crtc_hsync_start - mode->crtc_hdisplay); |
289 | conv_param.usV_SyncWidth = cpu_to_le16(crtc_param->usV_SyncWidth); | 287 | args.usH_SyncWidth = |
290 | conv_param.susModeMiscInfo.usAccess = | 288 | cpu_to_le16(mode->crtc_hsync_end - mode->crtc_hsync_start); |
291 | cpu_to_le16(crtc_param->susModeMiscInfo.usAccess); | 289 | args.usV_SyncOffset = |
292 | conv_param.ucCRTC = crtc_param->ucCRTC; | 290 | cpu_to_le16(mode->crtc_vsync_start - mode->crtc_vdisplay); |
291 | args.usV_SyncWidth = | ||
292 | cpu_to_le16(mode->crtc_vsync_end - mode->crtc_vsync_start); | ||
293 | /*args.ucH_Border = mode->hborder;*/ | ||
294 | /*args.ucV_Border = mode->vborder;*/ | ||
295 | |||
296 | if (mode->flags & DRM_MODE_FLAG_NVSYNC) | ||
297 | misc |= ATOM_VSYNC_POLARITY; | ||
298 | if (mode->flags & DRM_MODE_FLAG_NHSYNC) | ||
299 | misc |= ATOM_HSYNC_POLARITY; | ||
300 | if (mode->flags & DRM_MODE_FLAG_CSYNC) | ||
301 | misc |= ATOM_COMPOSITESYNC; | ||
302 | if (mode->flags & DRM_MODE_FLAG_INTERLACE) | ||
303 | misc |= ATOM_INTERLACE; | ||
304 | if (mode->flags & DRM_MODE_FLAG_DBLSCAN) | ||
305 | misc |= ATOM_DOUBLE_CLOCK_MODE; | ||
306 | |||
307 | args.susModeMiscInfo.usAccess = cpu_to_le16(misc); | ||
308 | args.ucCRTC = radeon_crtc->crtc_id; | ||
293 | 309 | ||
294 | printk("executing set crtc dtd timing\n"); | 310 | printk("executing set crtc dtd timing\n"); |
295 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&conv_param); | 311 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); |
296 | } | 312 | } |
297 | 313 | ||
298 | void atombios_crtc_set_timing(struct drm_crtc *crtc, | 314 | static void atombios_crtc_set_timing(struct drm_crtc *crtc, |
299 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION * | 315 | struct drm_display_mode *mode) |
300 | crtc_param) | ||
301 | { | 316 | { |
317 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | ||
302 | struct drm_device *dev = crtc->dev; | 318 | struct drm_device *dev = crtc->dev; |
303 | struct radeon_device *rdev = dev->dev_private; | 319 | struct radeon_device *rdev = dev->dev_private; |
304 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION conv_param; | 320 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION args; |
305 | int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_Timing); | 321 | int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_Timing); |
322 | u16 misc = 0; | ||
306 | 323 | ||
307 | conv_param.usH_Total = cpu_to_le16(crtc_param->usH_Total); | 324 | memset(&args, 0, sizeof(args)); |
308 | conv_param.usH_Disp = cpu_to_le16(crtc_param->usH_Disp); | 325 | args.usH_Total = cpu_to_le16(mode->crtc_htotal); |
309 | conv_param.usH_SyncStart = cpu_to_le16(crtc_param->usH_SyncStart); | 326 | args.usH_Disp = cpu_to_le16(mode->crtc_hdisplay); |
310 | conv_param.usH_SyncWidth = cpu_to_le16(crtc_param->usH_SyncWidth); | 327 | args.usH_SyncStart = cpu_to_le16(mode->crtc_hsync_start); |
311 | conv_param.usV_Total = cpu_to_le16(crtc_param->usV_Total); | 328 | args.usH_SyncWidth = |
312 | conv_param.usV_Disp = cpu_to_le16(crtc_param->usV_Disp); | 329 | cpu_to_le16(mode->crtc_hsync_end - mode->crtc_hsync_start); |
313 | conv_param.usV_SyncStart = cpu_to_le16(crtc_param->usV_SyncStart); | 330 | args.usV_Total = cpu_to_le16(mode->crtc_vtotal); |
314 | conv_param.usV_SyncWidth = cpu_to_le16(crtc_param->usV_SyncWidth); | 331 | args.usV_Disp = cpu_to_le16(mode->crtc_vdisplay); |
315 | conv_param.susModeMiscInfo.usAccess = | 332 | args.usV_SyncStart = cpu_to_le16(mode->crtc_vsync_start); |
316 | cpu_to_le16(crtc_param->susModeMiscInfo.usAccess); | 333 | args.usV_SyncWidth = |
317 | conv_param.ucCRTC = crtc_param->ucCRTC; | 334 | cpu_to_le16(mode->crtc_vsync_end - mode->crtc_vsync_start); |
318 | conv_param.ucOverscanRight = crtc_param->ucOverscanRight; | 335 | |
319 | conv_param.ucOverscanLeft = crtc_param->ucOverscanLeft; | 336 | if (mode->flags & DRM_MODE_FLAG_NVSYNC) |
320 | conv_param.ucOverscanBottom = crtc_param->ucOverscanBottom; | 337 | misc |= ATOM_VSYNC_POLARITY; |
321 | conv_param.ucOverscanTop = crtc_param->ucOverscanTop; | 338 | if (mode->flags & DRM_MODE_FLAG_NHSYNC) |
322 | conv_param.ucReserved = crtc_param->ucReserved; | 339 | misc |= ATOM_HSYNC_POLARITY; |
340 | if (mode->flags & DRM_MODE_FLAG_CSYNC) | ||
341 | misc |= ATOM_COMPOSITESYNC; | ||
342 | if (mode->flags & DRM_MODE_FLAG_INTERLACE) | ||
343 | misc |= ATOM_INTERLACE; | ||
344 | if (mode->flags & DRM_MODE_FLAG_DBLSCAN) | ||
345 | misc |= ATOM_DOUBLE_CLOCK_MODE; | ||
346 | |||
347 | args.susModeMiscInfo.usAccess = cpu_to_le16(misc); | ||
348 | args.ucCRTC = radeon_crtc->crtc_id; | ||
323 | 349 | ||
324 | printk("executing set crtc timing\n"); | 350 | printk("executing set crtc timing\n"); |
325 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&conv_param); | 351 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); |
352 | } | ||
353 | |||
354 | static void atombios_set_ss(struct drm_crtc *crtc, int enable) | ||
355 | { | ||
356 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | ||
357 | struct drm_device *dev = crtc->dev; | ||
358 | struct radeon_device *rdev = dev->dev_private; | ||
359 | struct drm_encoder *encoder = NULL; | ||
360 | struct radeon_encoder *radeon_encoder = NULL; | ||
361 | struct radeon_encoder_atom_dig *dig = NULL; | ||
362 | int index = GetIndexIntoMasterTable(COMMAND, EnableSpreadSpectrumOnPPLL); | ||
363 | ENABLE_SPREAD_SPECTRUM_ON_PPLL_PS_ALLOCATION args; | ||
364 | ENABLE_LVDS_SS_PARAMETERS legacy_args; | ||
365 | uint16_t percentage = 0; | ||
366 | uint8_t type = 0, step = 0, delay = 0, range = 0; | ||
367 | |||
368 | list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { | ||
369 | if (encoder->crtc == crtc) { | ||
370 | radeon_encoder = to_radeon_encoder(encoder); | ||
371 | /* only enable spread spectrum on LVDS */ | ||
372 | if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { | ||
373 | dig = radeon_encoder->enc_priv; | ||
374 | if (dig && dig->ss) { | ||
375 | percentage = dig->ss->percentage; | ||
376 | type = dig->ss->type; | ||
377 | step = dig->ss->step; | ||
378 | delay = dig->ss->delay; | ||
379 | range = dig->ss->range; | ||
380 | } else if (enable) | ||
381 | return; | ||
382 | } else if (enable) | ||
383 | return; | ||
384 | break; | ||
385 | } | ||
386 | } | ||
387 | |||
388 | if (!radeon_encoder) | ||
389 | return; | ||
390 | |||
391 | if (ASIC_IS_AVIVO(rdev)) { | ||
392 | memset(&args, 0, sizeof(args)); | ||
393 | args.usSpreadSpectrumPercentage = cpu_to_le16(percentage); | ||
394 | args.ucSpreadSpectrumType = type; | ||
395 | args.ucSpreadSpectrumStep = step; | ||
396 | args.ucSpreadSpectrumDelay = delay; | ||
397 | args.ucSpreadSpectrumRange = range; | ||
398 | args.ucPpll = radeon_crtc->crtc_id ? ATOM_PPLL2 : ATOM_PPLL1; | ||
399 | args.ucEnable = enable; | ||
400 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); | ||
401 | } else { | ||
402 | memset(&legacy_args, 0, sizeof(legacy_args)); | ||
403 | legacy_args.usSpreadSpectrumPercentage = cpu_to_le16(percentage); | ||
404 | legacy_args.ucSpreadSpectrumType = type; | ||
405 | legacy_args.ucSpreadSpectrumStepSize_Delay = (step & 3) << 2; | ||
406 | legacy_args.ucSpreadSpectrumStepSize_Delay |= (delay & 7) << 4; | ||
407 | legacy_args.ucEnable = enable; | ||
408 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&legacy_args); | ||
409 | } | ||
326 | } | 410 | } |
327 | 411 | ||
328 | void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | 412 | void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) |
@@ -333,12 +417,13 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
333 | struct drm_encoder *encoder = NULL; | 417 | struct drm_encoder *encoder = NULL; |
334 | struct radeon_encoder *radeon_encoder = NULL; | 418 | struct radeon_encoder *radeon_encoder = NULL; |
335 | uint8_t frev, crev; | 419 | uint8_t frev, crev; |
336 | int index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); | 420 | int index; |
337 | SET_PIXEL_CLOCK_PS_ALLOCATION args; | 421 | SET_PIXEL_CLOCK_PS_ALLOCATION args; |
338 | PIXEL_CLOCK_PARAMETERS *spc1_ptr; | 422 | PIXEL_CLOCK_PARAMETERS *spc1_ptr; |
339 | PIXEL_CLOCK_PARAMETERS_V2 *spc2_ptr; | 423 | PIXEL_CLOCK_PARAMETERS_V2 *spc2_ptr; |
340 | PIXEL_CLOCK_PARAMETERS_V3 *spc3_ptr; | 424 | PIXEL_CLOCK_PARAMETERS_V3 *spc3_ptr; |
341 | uint32_t sclock = mode->clock; | 425 | uint32_t pll_clock = mode->clock; |
426 | uint32_t adjusted_clock; | ||
342 | uint32_t ref_div = 0, fb_div = 0, frac_fb_div = 0, post_div = 0; | 427 | uint32_t ref_div = 0, fb_div = 0, frac_fb_div = 0, post_div = 0; |
343 | struct radeon_pll *pll; | 428 | struct radeon_pll *pll; |
344 | int pll_flags = 0; | 429 | int pll_flags = 0; |
@@ -346,8 +431,6 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
346 | memset(&args, 0, sizeof(args)); | 431 | memset(&args, 0, sizeof(args)); |
347 | 432 | ||
348 | if (ASIC_IS_AVIVO(rdev)) { | 433 | if (ASIC_IS_AVIVO(rdev)) { |
349 | uint32_t ss_cntl; | ||
350 | |||
351 | if ((rdev->family == CHIP_RS600) || | 434 | if ((rdev->family == CHIP_RS600) || |
352 | (rdev->family == CHIP_RS690) || | 435 | (rdev->family == CHIP_RS690) || |
353 | (rdev->family == CHIP_RS740)) | 436 | (rdev->family == CHIP_RS740)) |
@@ -358,15 +441,6 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
358 | pll_flags |= RADEON_PLL_PREFER_HIGH_FB_DIV; | 441 | pll_flags |= RADEON_PLL_PREFER_HIGH_FB_DIV; |
359 | else | 442 | else |
360 | pll_flags |= RADEON_PLL_PREFER_LOW_REF_DIV; | 443 | pll_flags |= RADEON_PLL_PREFER_LOW_REF_DIV; |
361 | |||
362 | /* disable spread spectrum clocking for now -- thanks Hedy Lamarr */ | ||
363 | if (radeon_crtc->crtc_id == 0) { | ||
364 | ss_cntl = RREG32(AVIVO_P1PLL_INT_SS_CNTL); | ||
365 | WREG32(AVIVO_P1PLL_INT_SS_CNTL, ss_cntl & ~1); | ||
366 | } else { | ||
367 | ss_cntl = RREG32(AVIVO_P2PLL_INT_SS_CNTL); | ||
368 | WREG32(AVIVO_P2PLL_INT_SS_CNTL, ss_cntl & ~1); | ||
369 | } | ||
370 | } else { | 444 | } else { |
371 | pll_flags |= RADEON_PLL_LEGACY; | 445 | pll_flags |= RADEON_PLL_LEGACY; |
372 | 446 | ||
@@ -393,14 +467,43 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
393 | } | 467 | } |
394 | } | 468 | } |
395 | 469 | ||
470 | /* DCE3+ has an AdjustDisplayPll that will adjust the pixel clock | ||
471 | * accordingly based on the encoder/transmitter to work around | ||
472 | * special hw requirements. | ||
473 | */ | ||
474 | if (ASIC_IS_DCE3(rdev)) { | ||
475 | ADJUST_DISPLAY_PLL_PS_ALLOCATION adjust_pll_args; | ||
476 | |||
477 | if (!encoder) | ||
478 | return; | ||
479 | |||
480 | memset(&adjust_pll_args, 0, sizeof(adjust_pll_args)); | ||
481 | adjust_pll_args.usPixelClock = cpu_to_le16(mode->clock / 10); | ||
482 | adjust_pll_args.ucTransmitterID = radeon_encoder->encoder_id; | ||
483 | adjust_pll_args.ucEncodeMode = atombios_get_encoder_mode(encoder); | ||
484 | |||
485 | index = GetIndexIntoMasterTable(COMMAND, AdjustDisplayPll); | ||
486 | atom_execute_table(rdev->mode_info.atom_context, | ||
487 | index, (uint32_t *)&adjust_pll_args); | ||
488 | adjusted_clock = le16_to_cpu(adjust_pll_args.usPixelClock) * 10; | ||
489 | } else { | ||
490 | /* DVO wants 2x pixel clock if the DVO chip is in 12 bit mode */ | ||
491 | if (ASIC_IS_AVIVO(rdev) && | ||
492 | (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1)) | ||
493 | adjusted_clock = mode->clock * 2; | ||
494 | else | ||
495 | adjusted_clock = mode->clock; | ||
496 | } | ||
497 | |||
396 | if (radeon_crtc->crtc_id == 0) | 498 | if (radeon_crtc->crtc_id == 0) |
397 | pll = &rdev->clock.p1pll; | 499 | pll = &rdev->clock.p1pll; |
398 | else | 500 | else |
399 | pll = &rdev->clock.p2pll; | 501 | pll = &rdev->clock.p2pll; |
400 | 502 | ||
401 | radeon_compute_pll(pll, mode->clock, &sclock, &fb_div, &frac_fb_div, | 503 | radeon_compute_pll(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, |
402 | &ref_div, &post_div, pll_flags); | 504 | &ref_div, &post_div, pll_flags); |
403 | 505 | ||
506 | index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); | ||
404 | atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, | 507 | atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, |
405 | &crev); | 508 | &crev); |
406 | 509 | ||
@@ -409,7 +512,7 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
409 | switch (crev) { | 512 | switch (crev) { |
410 | case 1: | 513 | case 1: |
411 | spc1_ptr = (PIXEL_CLOCK_PARAMETERS *) & args.sPCLKInput; | 514 | spc1_ptr = (PIXEL_CLOCK_PARAMETERS *) & args.sPCLKInput; |
412 | spc1_ptr->usPixelClock = cpu_to_le16(sclock); | 515 | spc1_ptr->usPixelClock = cpu_to_le16(mode->clock / 10); |
413 | spc1_ptr->usRefDiv = cpu_to_le16(ref_div); | 516 | spc1_ptr->usRefDiv = cpu_to_le16(ref_div); |
414 | spc1_ptr->usFbDiv = cpu_to_le16(fb_div); | 517 | spc1_ptr->usFbDiv = cpu_to_le16(fb_div); |
415 | spc1_ptr->ucFracFbDiv = frac_fb_div; | 518 | spc1_ptr->ucFracFbDiv = frac_fb_div; |
@@ -422,7 +525,7 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
422 | case 2: | 525 | case 2: |
423 | spc2_ptr = | 526 | spc2_ptr = |
424 | (PIXEL_CLOCK_PARAMETERS_V2 *) & args.sPCLKInput; | 527 | (PIXEL_CLOCK_PARAMETERS_V2 *) & args.sPCLKInput; |
425 | spc2_ptr->usPixelClock = cpu_to_le16(sclock); | 528 | spc2_ptr->usPixelClock = cpu_to_le16(mode->clock / 10); |
426 | spc2_ptr->usRefDiv = cpu_to_le16(ref_div); | 529 | spc2_ptr->usRefDiv = cpu_to_le16(ref_div); |
427 | spc2_ptr->usFbDiv = cpu_to_le16(fb_div); | 530 | spc2_ptr->usFbDiv = cpu_to_le16(fb_div); |
428 | spc2_ptr->ucFracFbDiv = frac_fb_div; | 531 | spc2_ptr->ucFracFbDiv = frac_fb_div; |
@@ -437,7 +540,7 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) | |||
437 | return; | 540 | return; |
438 | spc3_ptr = | 541 | spc3_ptr = |
439 | (PIXEL_CLOCK_PARAMETERS_V3 *) & args.sPCLKInput; | 542 | (PIXEL_CLOCK_PARAMETERS_V3 *) & args.sPCLKInput; |
440 | spc3_ptr->usPixelClock = cpu_to_le16(sclock); | 543 | spc3_ptr->usPixelClock = cpu_to_le16(mode->clock / 10); |
441 | spc3_ptr->usRefDiv = cpu_to_le16(ref_div); | 544 | spc3_ptr->usRefDiv = cpu_to_le16(ref_div); |
442 | spc3_ptr->usFbDiv = cpu_to_le16(fb_div); | 545 | spc3_ptr->usFbDiv = cpu_to_le16(fb_div); |
443 | spc3_ptr->ucFracFbDiv = frac_fb_div; | 546 | spc3_ptr->ucFracFbDiv = frac_fb_div; |
@@ -527,6 +630,16 @@ int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y, | |||
527 | WREG32(AVIVO_D1VGA_CONTROL, 0); | 630 | WREG32(AVIVO_D1VGA_CONTROL, 0); |
528 | else | 631 | else |
529 | WREG32(AVIVO_D2VGA_CONTROL, 0); | 632 | WREG32(AVIVO_D2VGA_CONTROL, 0); |
633 | |||
634 | if (rdev->family >= CHIP_RV770) { | ||
635 | if (radeon_crtc->crtc_id) { | ||
636 | WREG32(R700_D2GRPH_PRIMARY_SURFACE_ADDRESS_HIGH, 0); | ||
637 | WREG32(R700_D2GRPH_SECONDARY_SURFACE_ADDRESS_HIGH, 0); | ||
638 | } else { | ||
639 | WREG32(R700_D1GRPH_PRIMARY_SURFACE_ADDRESS_HIGH, 0); | ||
640 | WREG32(R700_D1GRPH_SECONDARY_SURFACE_ADDRESS_HIGH, 0); | ||
641 | } | ||
642 | } | ||
530 | WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, | 643 | WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, |
531 | (u32) fb_location); | 644 | (u32) fb_location); |
532 | WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + | 645 | WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + |
@@ -563,6 +676,10 @@ int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y, | |||
563 | radeon_fb = to_radeon_framebuffer(old_fb); | 676 | radeon_fb = to_radeon_framebuffer(old_fb); |
564 | radeon_gem_object_unpin(radeon_fb->obj); | 677 | radeon_gem_object_unpin(radeon_fb->obj); |
565 | } | 678 | } |
679 | |||
680 | /* Bytes per pixel may have changed */ | ||
681 | radeon_bandwidth_update(rdev); | ||
682 | |||
566 | return 0; | 683 | return 0; |
567 | } | 684 | } |
568 | 685 | ||
@@ -574,134 +691,24 @@ int atombios_crtc_mode_set(struct drm_crtc *crtc, | |||
574 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | 691 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); |
575 | struct drm_device *dev = crtc->dev; | 692 | struct drm_device *dev = crtc->dev; |
576 | struct radeon_device *rdev = dev->dev_private; | 693 | struct radeon_device *rdev = dev->dev_private; |
577 | struct drm_encoder *encoder; | ||
578 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION crtc_timing; | ||
579 | int need_tv_timings = 0; | ||
580 | bool ret; | ||
581 | 694 | ||
582 | /* TODO color tiling */ | 695 | /* TODO color tiling */ |
583 | memset(&crtc_timing, 0, sizeof(crtc_timing)); | ||
584 | |||
585 | list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { | ||
586 | /* find tv std */ | ||
587 | if (encoder->crtc == crtc) { | ||
588 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | ||
589 | |||
590 | if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { | ||
591 | struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; | ||
592 | if (tv_dac) { | ||
593 | if (tv_dac->tv_std == TV_STD_NTSC || | ||
594 | tv_dac->tv_std == TV_STD_NTSC_J || | ||
595 | tv_dac->tv_std == TV_STD_PAL_M) | ||
596 | need_tv_timings = 1; | ||
597 | else | ||
598 | need_tv_timings = 2; | ||
599 | break; | ||
600 | } | ||
601 | } | ||
602 | } | ||
603 | } | ||
604 | |||
605 | crtc_timing.ucCRTC = radeon_crtc->crtc_id; | ||
606 | if (need_tv_timings) { | ||
607 | ret = radeon_atom_get_tv_timings(rdev, need_tv_timings - 1, | ||
608 | &crtc_timing, &adjusted_mode->clock); | ||
609 | if (ret == false) | ||
610 | need_tv_timings = 0; | ||
611 | } | ||
612 | |||
613 | if (!need_tv_timings) { | ||
614 | crtc_timing.usH_Total = adjusted_mode->crtc_htotal; | ||
615 | crtc_timing.usH_Disp = adjusted_mode->crtc_hdisplay; | ||
616 | crtc_timing.usH_SyncStart = adjusted_mode->crtc_hsync_start; | ||
617 | crtc_timing.usH_SyncWidth = | ||
618 | adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; | ||
619 | |||
620 | crtc_timing.usV_Total = adjusted_mode->crtc_vtotal; | ||
621 | crtc_timing.usV_Disp = adjusted_mode->crtc_vdisplay; | ||
622 | crtc_timing.usV_SyncStart = adjusted_mode->crtc_vsync_start; | ||
623 | crtc_timing.usV_SyncWidth = | ||
624 | adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; | ||
625 | |||
626 | if (adjusted_mode->flags & DRM_MODE_FLAG_NVSYNC) | ||
627 | crtc_timing.susModeMiscInfo.usAccess |= ATOM_VSYNC_POLARITY; | ||
628 | |||
629 | if (adjusted_mode->flags & DRM_MODE_FLAG_NHSYNC) | ||
630 | crtc_timing.susModeMiscInfo.usAccess |= ATOM_HSYNC_POLARITY; | ||
631 | |||
632 | if (adjusted_mode->flags & DRM_MODE_FLAG_CSYNC) | ||
633 | crtc_timing.susModeMiscInfo.usAccess |= ATOM_COMPOSITESYNC; | ||
634 | |||
635 | if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) | ||
636 | crtc_timing.susModeMiscInfo.usAccess |= ATOM_INTERLACE; | ||
637 | |||
638 | if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) | ||
639 | crtc_timing.susModeMiscInfo.usAccess |= ATOM_DOUBLE_CLOCK_MODE; | ||
640 | } | ||
641 | 696 | ||
697 | atombios_set_ss(crtc, 0); | ||
642 | atombios_crtc_set_pll(crtc, adjusted_mode); | 698 | atombios_crtc_set_pll(crtc, adjusted_mode); |
643 | atombios_crtc_set_timing(crtc, &crtc_timing); | 699 | atombios_set_ss(crtc, 1); |
700 | atombios_crtc_set_timing(crtc, adjusted_mode); | ||
644 | 701 | ||
645 | if (ASIC_IS_AVIVO(rdev)) | 702 | if (ASIC_IS_AVIVO(rdev)) |
646 | atombios_crtc_set_base(crtc, x, y, old_fb); | 703 | atombios_crtc_set_base(crtc, x, y, old_fb); |
647 | else { | 704 | else { |
648 | if (radeon_crtc->crtc_id == 0) { | 705 | if (radeon_crtc->crtc_id == 0) |
649 | SET_CRTC_USING_DTD_TIMING_PARAMETERS crtc_dtd_timing; | 706 | atombios_set_crtc_dtd_timing(crtc, adjusted_mode); |
650 | memset(&crtc_dtd_timing, 0, sizeof(crtc_dtd_timing)); | ||
651 | |||
652 | /* setup FP shadow regs on R4xx */ | ||
653 | crtc_dtd_timing.ucCRTC = radeon_crtc->crtc_id; | ||
654 | crtc_dtd_timing.usH_Size = adjusted_mode->crtc_hdisplay; | ||
655 | crtc_dtd_timing.usV_Size = adjusted_mode->crtc_vdisplay; | ||
656 | crtc_dtd_timing.usH_Blanking_Time = | ||
657 | adjusted_mode->crtc_hblank_end - | ||
658 | adjusted_mode->crtc_hdisplay; | ||
659 | crtc_dtd_timing.usV_Blanking_Time = | ||
660 | adjusted_mode->crtc_vblank_end - | ||
661 | adjusted_mode->crtc_vdisplay; | ||
662 | crtc_dtd_timing.usH_SyncOffset = | ||
663 | adjusted_mode->crtc_hsync_start - | ||
664 | adjusted_mode->crtc_hdisplay; | ||
665 | crtc_dtd_timing.usV_SyncOffset = | ||
666 | adjusted_mode->crtc_vsync_start - | ||
667 | adjusted_mode->crtc_vdisplay; | ||
668 | crtc_dtd_timing.usH_SyncWidth = | ||
669 | adjusted_mode->crtc_hsync_end - | ||
670 | adjusted_mode->crtc_hsync_start; | ||
671 | crtc_dtd_timing.usV_SyncWidth = | ||
672 | adjusted_mode->crtc_vsync_end - | ||
673 | adjusted_mode->crtc_vsync_start; | ||
674 | /* crtc_dtd_timing.ucH_Border = adjusted_mode->crtc_hborder; */ | ||
675 | /* crtc_dtd_timing.ucV_Border = adjusted_mode->crtc_vborder; */ | ||
676 | |||
677 | if (adjusted_mode->flags & DRM_MODE_FLAG_NVSYNC) | ||
678 | crtc_dtd_timing.susModeMiscInfo.usAccess |= | ||
679 | ATOM_VSYNC_POLARITY; | ||
680 | |||
681 | if (adjusted_mode->flags & DRM_MODE_FLAG_NHSYNC) | ||
682 | crtc_dtd_timing.susModeMiscInfo.usAccess |= | ||
683 | ATOM_HSYNC_POLARITY; | ||
684 | |||
685 | if (adjusted_mode->flags & DRM_MODE_FLAG_CSYNC) | ||
686 | crtc_dtd_timing.susModeMiscInfo.usAccess |= | ||
687 | ATOM_COMPOSITESYNC; | ||
688 | |||
689 | if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) | ||
690 | crtc_dtd_timing.susModeMiscInfo.usAccess |= | ||
691 | ATOM_INTERLACE; | ||
692 | |||
693 | if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) | ||
694 | crtc_dtd_timing.susModeMiscInfo.usAccess |= | ||
695 | ATOM_DOUBLE_CLOCK_MODE; | ||
696 | |||
697 | atombios_set_crtc_dtd_timing(crtc, &crtc_dtd_timing); | ||
698 | } | ||
699 | radeon_crtc_set_base(crtc, x, y, old_fb); | 707 | radeon_crtc_set_base(crtc, x, y, old_fb); |
700 | radeon_legacy_atom_set_surface(crtc); | 708 | radeon_legacy_atom_set_surface(crtc); |
701 | } | 709 | } |
702 | atombios_overscan_setup(crtc, mode, adjusted_mode); | 710 | atombios_overscan_setup(crtc, mode, adjusted_mode); |
703 | atombios_scaler_setup(crtc); | 711 | atombios_scaler_setup(crtc); |
704 | radeon_bandwidth_update(rdev); | ||
705 | return 0; | 712 | return 0; |
706 | } | 713 | } |
707 | 714 | ||
diff --git a/drivers/gpu/drm/radeon/mkregtable.c b/drivers/gpu/drm/radeon/mkregtable.c index fb211e585dea..0d79577c1576 100644 --- a/drivers/gpu/drm/radeon/mkregtable.c +++ b/drivers/gpu/drm/radeon/mkregtable.c | |||
@@ -561,7 +561,7 @@ struct table { | |||
561 | char *gpu_prefix; | 561 | char *gpu_prefix; |
562 | }; | 562 | }; |
563 | 563 | ||
564 | struct offset *offset_new(unsigned o) | 564 | static struct offset *offset_new(unsigned o) |
565 | { | 565 | { |
566 | struct offset *offset; | 566 | struct offset *offset; |
567 | 567 | ||
@@ -573,12 +573,12 @@ struct offset *offset_new(unsigned o) | |||
573 | return offset; | 573 | return offset; |
574 | } | 574 | } |
575 | 575 | ||
576 | void table_offset_add(struct table *t, struct offset *offset) | 576 | static void table_offset_add(struct table *t, struct offset *offset) |
577 | { | 577 | { |
578 | list_add_tail(&offset->list, &t->offsets); | 578 | list_add_tail(&offset->list, &t->offsets); |
579 | } | 579 | } |
580 | 580 | ||
581 | void table_init(struct table *t) | 581 | static void table_init(struct table *t) |
582 | { | 582 | { |
583 | INIT_LIST_HEAD(&t->offsets); | 583 | INIT_LIST_HEAD(&t->offsets); |
584 | t->offset_max = 0; | 584 | t->offset_max = 0; |
@@ -586,7 +586,7 @@ void table_init(struct table *t) | |||
586 | t->table = NULL; | 586 | t->table = NULL; |
587 | } | 587 | } |
588 | 588 | ||
589 | void table_print(struct table *t) | 589 | static void table_print(struct table *t) |
590 | { | 590 | { |
591 | unsigned nlloop, i, j, n, c, id; | 591 | unsigned nlloop, i, j, n, c, id; |
592 | 592 | ||
@@ -611,7 +611,7 @@ void table_print(struct table *t) | |||
611 | printf("};\n"); | 611 | printf("};\n"); |
612 | } | 612 | } |
613 | 613 | ||
614 | int table_build(struct table *t) | 614 | static int table_build(struct table *t) |
615 | { | 615 | { |
616 | struct offset *offset; | 616 | struct offset *offset; |
617 | unsigned i, m; | 617 | unsigned i, m; |
@@ -631,7 +631,7 @@ int table_build(struct table *t) | |||
631 | } | 631 | } |
632 | 632 | ||
633 | static char gpu_name[10]; | 633 | static char gpu_name[10]; |
634 | int parser_auth(struct table *t, const char *filename) | 634 | static int parser_auth(struct table *t, const char *filename) |
635 | { | 635 | { |
636 | FILE *file; | 636 | FILE *file; |
637 | regex_t mask_rex; | 637 | regex_t mask_rex; |
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 161094c07d94..c9e93eabcf16 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c | |||
@@ -186,7 +186,7 @@ static inline uint32_t r100_irq_ack(struct radeon_device *rdev) | |||
186 | 186 | ||
187 | int r100_irq_process(struct radeon_device *rdev) | 187 | int r100_irq_process(struct radeon_device *rdev) |
188 | { | 188 | { |
189 | uint32_t status; | 189 | uint32_t status, msi_rearm; |
190 | 190 | ||
191 | status = r100_irq_ack(rdev); | 191 | status = r100_irq_ack(rdev); |
192 | if (!status) { | 192 | if (!status) { |
@@ -209,6 +209,21 @@ int r100_irq_process(struct radeon_device *rdev) | |||
209 | } | 209 | } |
210 | status = r100_irq_ack(rdev); | 210 | status = r100_irq_ack(rdev); |
211 | } | 211 | } |
212 | if (rdev->msi_enabled) { | ||
213 | switch (rdev->family) { | ||
214 | case CHIP_RS400: | ||
215 | case CHIP_RS480: | ||
216 | msi_rearm = RREG32(RADEON_AIC_CNTL) & ~RS400_MSI_REARM; | ||
217 | WREG32(RADEON_AIC_CNTL, msi_rearm); | ||
218 | WREG32(RADEON_AIC_CNTL, msi_rearm | RS400_MSI_REARM); | ||
219 | break; | ||
220 | default: | ||
221 | msi_rearm = RREG32(RADEON_MSI_REARM_EN) & ~RV370_MSI_REARM_EN; | ||
222 | WREG32(RADEON_MSI_REARM_EN, msi_rearm); | ||
223 | WREG32(RADEON_MSI_REARM_EN, msi_rearm | RV370_MSI_REARM_EN); | ||
224 | break; | ||
225 | } | ||
226 | } | ||
212 | return IRQ_HANDLED; | 227 | return IRQ_HANDLED; |
213 | } | 228 | } |
214 | 229 | ||
@@ -240,7 +255,7 @@ int r100_wb_init(struct radeon_device *rdev) | |||
240 | int r; | 255 | int r; |
241 | 256 | ||
242 | if (rdev->wb.wb_obj == NULL) { | 257 | if (rdev->wb.wb_obj == NULL) { |
243 | r = radeon_object_create(rdev, NULL, 4096, | 258 | r = radeon_object_create(rdev, NULL, RADEON_GPU_PAGE_SIZE, |
244 | true, | 259 | true, |
245 | RADEON_GEM_DOMAIN_GTT, | 260 | RADEON_GEM_DOMAIN_GTT, |
246 | false, &rdev->wb.wb_obj); | 261 | false, &rdev->wb.wb_obj); |
@@ -563,19 +578,19 @@ int r100_cp_init(struct radeon_device *rdev, unsigned ring_size) | |||
563 | indirect1_start = 16; | 578 | indirect1_start = 16; |
564 | /* cp setup */ | 579 | /* cp setup */ |
565 | WREG32(0x718, pre_write_timer | (pre_write_limit << 28)); | 580 | WREG32(0x718, pre_write_timer | (pre_write_limit << 28)); |
566 | WREG32(RADEON_CP_RB_CNTL, | 581 | tmp = (REG_SET(RADEON_RB_BUFSZ, rb_bufsz) | |
567 | #ifdef __BIG_ENDIAN | ||
568 | RADEON_BUF_SWAP_32BIT | | ||
569 | #endif | ||
570 | REG_SET(RADEON_RB_BUFSZ, rb_bufsz) | | ||
571 | REG_SET(RADEON_RB_BLKSZ, rb_blksz) | | 582 | REG_SET(RADEON_RB_BLKSZ, rb_blksz) | |
572 | REG_SET(RADEON_MAX_FETCH, max_fetch) | | 583 | REG_SET(RADEON_MAX_FETCH, max_fetch) | |
573 | RADEON_RB_NO_UPDATE); | 584 | RADEON_RB_NO_UPDATE); |
585 | #ifdef __BIG_ENDIAN | ||
586 | tmp |= RADEON_BUF_SWAP_32BIT; | ||
587 | #endif | ||
588 | WREG32(RADEON_CP_RB_CNTL, tmp); | ||
589 | |||
574 | /* Set ring address */ | 590 | /* Set ring address */ |
575 | DRM_INFO("radeon: ring at 0x%016lX\n", (unsigned long)rdev->cp.gpu_addr); | 591 | DRM_INFO("radeon: ring at 0x%016lX\n", (unsigned long)rdev->cp.gpu_addr); |
576 | WREG32(RADEON_CP_RB_BASE, rdev->cp.gpu_addr); | 592 | WREG32(RADEON_CP_RB_BASE, rdev->cp.gpu_addr); |
577 | /* Force read & write ptr to 0 */ | 593 | /* Force read & write ptr to 0 */ |
578 | tmp = RREG32(RADEON_CP_RB_CNTL); | ||
579 | WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA); | 594 | WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA); |
580 | WREG32(RADEON_CP_RB_RPTR_WR, 0); | 595 | WREG32(RADEON_CP_RB_RPTR_WR, 0); |
581 | WREG32(RADEON_CP_RB_WPTR, 0); | 596 | WREG32(RADEON_CP_RB_WPTR, 0); |
@@ -2364,7 +2379,7 @@ void r100_bandwidth_update(struct radeon_device *rdev) | |||
2364 | /* | 2379 | /* |
2365 | Find the total latency for the display data. | 2380 | Find the total latency for the display data. |
2366 | */ | 2381 | */ |
2367 | disp_latency_overhead.full = rfixed_const(80); | 2382 | disp_latency_overhead.full = rfixed_const(8); |
2368 | disp_latency_overhead.full = rfixed_div(disp_latency_overhead, sclk_ff); | 2383 | disp_latency_overhead.full = rfixed_div(disp_latency_overhead, sclk_ff); |
2369 | mc_latency_mclk.full += disp_latency_overhead.full + cur_latency_mclk.full; | 2384 | mc_latency_mclk.full += disp_latency_overhead.full + cur_latency_mclk.full; |
2370 | mc_latency_sclk.full += disp_latency_overhead.full + cur_latency_sclk.full; | 2385 | mc_latency_sclk.full += disp_latency_overhead.full + cur_latency_sclk.full; |
@@ -2562,8 +2577,11 @@ void r100_bandwidth_update(struct radeon_device *rdev) | |||
2562 | static inline void r100_cs_track_texture_print(struct r100_cs_track_texture *t) | 2577 | static inline void r100_cs_track_texture_print(struct r100_cs_track_texture *t) |
2563 | { | 2578 | { |
2564 | DRM_ERROR("pitch %d\n", t->pitch); | 2579 | DRM_ERROR("pitch %d\n", t->pitch); |
2580 | DRM_ERROR("use_pitch %d\n", t->use_pitch); | ||
2565 | DRM_ERROR("width %d\n", t->width); | 2581 | DRM_ERROR("width %d\n", t->width); |
2582 | DRM_ERROR("width_11 %d\n", t->width_11); | ||
2566 | DRM_ERROR("height %d\n", t->height); | 2583 | DRM_ERROR("height %d\n", t->height); |
2584 | DRM_ERROR("height_11 %d\n", t->height_11); | ||
2567 | DRM_ERROR("num levels %d\n", t->num_levels); | 2585 | DRM_ERROR("num levels %d\n", t->num_levels); |
2568 | DRM_ERROR("depth %d\n", t->txdepth); | 2586 | DRM_ERROR("depth %d\n", t->txdepth); |
2569 | DRM_ERROR("bpp %d\n", t->cpp); | 2587 | DRM_ERROR("bpp %d\n", t->cpp); |
@@ -2623,15 +2641,17 @@ static int r100_cs_track_texture_check(struct radeon_device *rdev, | |||
2623 | else | 2641 | else |
2624 | w = track->textures[u].pitch / (1 << i); | 2642 | w = track->textures[u].pitch / (1 << i); |
2625 | } else { | 2643 | } else { |
2626 | w = track->textures[u].width / (1 << i); | 2644 | w = track->textures[u].width; |
2627 | if (rdev->family >= CHIP_RV515) | 2645 | if (rdev->family >= CHIP_RV515) |
2628 | w |= track->textures[u].width_11; | 2646 | w |= track->textures[u].width_11; |
2647 | w = w / (1 << i); | ||
2629 | if (track->textures[u].roundup_w) | 2648 | if (track->textures[u].roundup_w) |
2630 | w = roundup_pow_of_two(w); | 2649 | w = roundup_pow_of_two(w); |
2631 | } | 2650 | } |
2632 | h = track->textures[u].height / (1 << i); | 2651 | h = track->textures[u].height; |
2633 | if (rdev->family >= CHIP_RV515) | 2652 | if (rdev->family >= CHIP_RV515) |
2634 | h |= track->textures[u].height_11; | 2653 | h |= track->textures[u].height_11; |
2654 | h = h / (1 << i); | ||
2635 | if (track->textures[u].roundup_h) | 2655 | if (track->textures[u].roundup_h) |
2636 | h = roundup_pow_of_two(h); | 2656 | h = roundup_pow_of_two(h); |
2637 | size += w * h; | 2657 | size += w * h; |
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index e08c4a8974ca..2f43ee8e4048 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -113,7 +113,7 @@ int rv370_pcie_gart_enable(struct radeon_device *rdev) | |||
113 | tmp = RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; | 113 | tmp = RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; |
114 | WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); | 114 | WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); |
115 | WREG32_PCIE(RADEON_PCIE_TX_GART_START_LO, rdev->mc.gtt_location); | 115 | WREG32_PCIE(RADEON_PCIE_TX_GART_START_LO, rdev->mc.gtt_location); |
116 | tmp = rdev->mc.gtt_location + rdev->mc.gtt_size - 4096; | 116 | tmp = rdev->mc.gtt_location + rdev->mc.gtt_size - RADEON_GPU_PAGE_SIZE; |
117 | WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, tmp); | 117 | WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, tmp); |
118 | WREG32_PCIE(RADEON_PCIE_TX_GART_START_HI, 0); | 118 | WREG32_PCIE(RADEON_PCIE_TX_GART_START_HI, 0); |
119 | WREG32_PCIE(RADEON_PCIE_TX_GART_END_HI, 0); | 119 | WREG32_PCIE(RADEON_PCIE_TX_GART_END_HI, 0); |
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c index 5c7fe52de30e..1cefdbcc0850 100644 --- a/drivers/gpu/drm/radeon/r420.c +++ b/drivers/gpu/drm/radeon/r420.c | |||
@@ -311,6 +311,8 @@ int r420_init(struct radeon_device *rdev) | |||
311 | } | 311 | } |
312 | /* Initialize clocks */ | 312 | /* Initialize clocks */ |
313 | radeon_get_clock_info(rdev->ddev); | 313 | radeon_get_clock_info(rdev->ddev); |
314 | /* Initialize power management */ | ||
315 | radeon_pm_init(rdev); | ||
314 | /* Get vram informations */ | 316 | /* Get vram informations */ |
315 | r300_vram_info(rdev); | 317 | r300_vram_info(rdev); |
316 | /* Initialize memory controller (also test AGP) */ | 318 | /* Initialize memory controller (also test AGP) */ |
diff --git a/drivers/gpu/drm/radeon/r500_reg.h b/drivers/gpu/drm/radeon/r500_reg.h index 868add6e166d..7baa73955563 100644 --- a/drivers/gpu/drm/radeon/r500_reg.h +++ b/drivers/gpu/drm/radeon/r500_reg.h | |||
@@ -384,9 +384,16 @@ | |||
384 | # define AVIVO_D1GRPH_TILED (1 << 20) | 384 | # define AVIVO_D1GRPH_TILED (1 << 20) |
385 | # define AVIVO_D1GRPH_MACRO_ADDRESS_MODE (1 << 21) | 385 | # define AVIVO_D1GRPH_MACRO_ADDRESS_MODE (1 << 21) |
386 | 386 | ||
387 | /* The R7xx *_HIGH surface regs are backwards; the D1 regs are in the D2 | ||
388 | * block and vice versa. This applies to GRPH, CUR, etc. | ||
389 | */ | ||
387 | #define AVIVO_D1GRPH_LUT_SEL 0x6108 | 390 | #define AVIVO_D1GRPH_LUT_SEL 0x6108 |
388 | #define AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS 0x6110 | 391 | #define AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS 0x6110 |
392 | #define R700_D1GRPH_PRIMARY_SURFACE_ADDRESS_HIGH 0x6914 | ||
393 | #define R700_D2GRPH_PRIMARY_SURFACE_ADDRESS_HIGH 0x6114 | ||
389 | #define AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS 0x6118 | 394 | #define AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS 0x6118 |
395 | #define R700_D1GRPH_SECONDARY_SURFACE_ADDRESS_HIGH 0x691c | ||
396 | #define R700_D2GRPH_SECONDARY_SURFACE_ADDRESS_HIGH 0x611c | ||
390 | #define AVIVO_D1GRPH_PITCH 0x6120 | 397 | #define AVIVO_D1GRPH_PITCH 0x6120 |
391 | #define AVIVO_D1GRPH_SURFACE_OFFSET_X 0x6124 | 398 | #define AVIVO_D1GRPH_SURFACE_OFFSET_X 0x6124 |
392 | #define AVIVO_D1GRPH_SURFACE_OFFSET_Y 0x6128 | 399 | #define AVIVO_D1GRPH_SURFACE_OFFSET_Y 0x6128 |
@@ -404,6 +411,8 @@ | |||
404 | # define AVIVO_D1CURSOR_MODE_MASK (3 << 8) | 411 | # define AVIVO_D1CURSOR_MODE_MASK (3 << 8) |
405 | # define AVIVO_D1CURSOR_MODE_24BPP 2 | 412 | # define AVIVO_D1CURSOR_MODE_24BPP 2 |
406 | #define AVIVO_D1CUR_SURFACE_ADDRESS 0x6408 | 413 | #define AVIVO_D1CUR_SURFACE_ADDRESS 0x6408 |
414 | #define R700_D1CUR_SURFACE_ADDRESS_HIGH 0x6c0c | ||
415 | #define R700_D2CUR_SURFACE_ADDRESS_HIGH 0x640c | ||
407 | #define AVIVO_D1CUR_SIZE 0x6410 | 416 | #define AVIVO_D1CUR_SIZE 0x6410 |
408 | #define AVIVO_D1CUR_POSITION 0x6414 | 417 | #define AVIVO_D1CUR_POSITION 0x6414 |
409 | #define AVIVO_D1CUR_HOT_SPOT 0x6418 | 418 | #define AVIVO_D1CUR_HOT_SPOT 0x6418 |
diff --git a/drivers/gpu/drm/radeon/r520.c b/drivers/gpu/drm/radeon/r520.c index a555b7b19b48..f7435185c0a6 100644 --- a/drivers/gpu/drm/radeon/r520.c +++ b/drivers/gpu/drm/radeon/r520.c | |||
@@ -260,6 +260,8 @@ int r520_init(struct radeon_device *rdev) | |||
260 | } | 260 | } |
261 | /* Initialize clocks */ | 261 | /* Initialize clocks */ |
262 | radeon_get_clock_info(rdev->ddev); | 262 | radeon_get_clock_info(rdev->ddev); |
263 | /* Initialize power management */ | ||
264 | radeon_pm_init(rdev); | ||
263 | /* Get vram informations */ | 265 | /* Get vram informations */ |
264 | r520_vram_info(rdev); | 266 | r520_vram_info(rdev); |
265 | /* Initialize memory controller (also test AGP) */ | 267 | /* Initialize memory controller (also test AGP) */ |
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 609719490ec2..278f646bc18e 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -339,11 +339,10 @@ int r600_mc_init(struct radeon_device *rdev) | |||
339 | { | 339 | { |
340 | fixed20_12 a; | 340 | fixed20_12 a; |
341 | u32 tmp; | 341 | u32 tmp; |
342 | int chansize; | 342 | int chansize, numchan; |
343 | int r; | 343 | int r; |
344 | 344 | ||
345 | /* Get VRAM informations */ | 345 | /* Get VRAM informations */ |
346 | rdev->mc.vram_width = 128; | ||
347 | rdev->mc.vram_is_ddr = true; | 346 | rdev->mc.vram_is_ddr = true; |
348 | tmp = RREG32(RAMCFG); | 347 | tmp = RREG32(RAMCFG); |
349 | if (tmp & CHANSIZE_OVERRIDE) { | 348 | if (tmp & CHANSIZE_OVERRIDE) { |
@@ -353,17 +352,23 @@ int r600_mc_init(struct radeon_device *rdev) | |||
353 | } else { | 352 | } else { |
354 | chansize = 32; | 353 | chansize = 32; |
355 | } | 354 | } |
356 | if (rdev->family == CHIP_R600) { | 355 | tmp = RREG32(CHMAP); |
357 | rdev->mc.vram_width = 8 * chansize; | 356 | switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { |
358 | } else if (rdev->family == CHIP_RV670) { | 357 | case 0: |
359 | rdev->mc.vram_width = 4 * chansize; | 358 | default: |
360 | } else if ((rdev->family == CHIP_RV610) || | 359 | numchan = 1; |
361 | (rdev->family == CHIP_RV620)) { | 360 | break; |
362 | rdev->mc.vram_width = chansize; | 361 | case 1: |
363 | } else if ((rdev->family == CHIP_RV630) || | 362 | numchan = 2; |
364 | (rdev->family == CHIP_RV635)) { | 363 | break; |
365 | rdev->mc.vram_width = 2 * chansize; | 364 | case 2: |
365 | numchan = 4; | ||
366 | break; | ||
367 | case 3: | ||
368 | numchan = 8; | ||
369 | break; | ||
366 | } | 370 | } |
371 | rdev->mc.vram_width = numchan * chansize; | ||
367 | /* Could aper size report 0 ? */ | 372 | /* Could aper size report 0 ? */ |
368 | rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0); | 373 | rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0); |
369 | rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0); | 374 | rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0); |
@@ -404,35 +409,29 @@ int r600_mc_init(struct radeon_device *rdev) | |||
404 | rdev->mc.gtt_location = rdev->mc.mc_vram_size; | 409 | rdev->mc.gtt_location = rdev->mc.mc_vram_size; |
405 | } | 410 | } |
406 | } else { | 411 | } else { |
407 | if (rdev->family == CHIP_RS780 || rdev->family == CHIP_RS880) { | 412 | rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; |
408 | rdev->mc.vram_location = (RREG32(MC_VM_FB_LOCATION) & | 413 | rdev->mc.vram_location = (RREG32(MC_VM_FB_LOCATION) & |
409 | 0xFFFF) << 24; | 414 | 0xFFFF) << 24; |
410 | rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; | 415 | tmp = rdev->mc.vram_location + rdev->mc.mc_vram_size; |
411 | tmp = rdev->mc.vram_location + rdev->mc.mc_vram_size; | 416 | if ((0xFFFFFFFFUL - tmp) >= rdev->mc.gtt_size) { |
412 | if ((0xFFFFFFFFUL - tmp) >= rdev->mc.gtt_size) { | 417 | /* Enough place after vram */ |
413 | /* Enough place after vram */ | 418 | rdev->mc.gtt_location = tmp; |
414 | rdev->mc.gtt_location = tmp; | 419 | } else if (rdev->mc.vram_location >= rdev->mc.gtt_size) { |
415 | } else if (rdev->mc.vram_location >= rdev->mc.gtt_size) { | 420 | /* Enough place before vram */ |
416 | /* Enough place before vram */ | 421 | rdev->mc.gtt_location = 0; |
422 | } else { | ||
423 | /* Not enough place after or before shrink | ||
424 | * gart size | ||
425 | */ | ||
426 | if (rdev->mc.vram_location > (0xFFFFFFFFUL - tmp)) { | ||
417 | rdev->mc.gtt_location = 0; | 427 | rdev->mc.gtt_location = 0; |
428 | rdev->mc.gtt_size = rdev->mc.vram_location; | ||
418 | } else { | 429 | } else { |
419 | /* Not enough place after or before shrink | 430 | rdev->mc.gtt_location = tmp; |
420 | * gart size | 431 | rdev->mc.gtt_size = 0xFFFFFFFFUL - tmp; |
421 | */ | ||
422 | if (rdev->mc.vram_location > (0xFFFFFFFFUL - tmp)) { | ||
423 | rdev->mc.gtt_location = 0; | ||
424 | rdev->mc.gtt_size = rdev->mc.vram_location; | ||
425 | } else { | ||
426 | rdev->mc.gtt_location = tmp; | ||
427 | rdev->mc.gtt_size = 0xFFFFFFFFUL - tmp; | ||
428 | } | ||
429 | } | 432 | } |
430 | rdev->mc.gtt_location = rdev->mc.mc_vram_size; | ||
431 | } else { | ||
432 | rdev->mc.vram_location = 0x00000000UL; | ||
433 | rdev->mc.gtt_location = rdev->mc.mc_vram_size; | ||
434 | rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; | ||
435 | } | 433 | } |
434 | rdev->mc.gtt_location = rdev->mc.mc_vram_size; | ||
436 | } | 435 | } |
437 | rdev->mc.vram_start = rdev->mc.vram_location; | 436 | rdev->mc.vram_start = rdev->mc.vram_location; |
438 | rdev->mc.vram_end = rdev->mc.vram_location + rdev->mc.mc_vram_size - 1; | 437 | rdev->mc.vram_end = rdev->mc.vram_location + rdev->mc.mc_vram_size - 1; |
@@ -859,7 +858,8 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
859 | ((rdev->family) == CHIP_RV630) || | 858 | ((rdev->family) == CHIP_RV630) || |
860 | ((rdev->family) == CHIP_RV610) || | 859 | ((rdev->family) == CHIP_RV610) || |
861 | ((rdev->family) == CHIP_RV620) || | 860 | ((rdev->family) == CHIP_RV620) || |
862 | ((rdev->family) == CHIP_RS780)) { | 861 | ((rdev->family) == CHIP_RS780) || |
862 | ((rdev->family) == CHIP_RS880)) { | ||
863 | WREG32(DB_DEBUG, PREZ_MUST_WAIT_FOR_POSTZ_DONE); | 863 | WREG32(DB_DEBUG, PREZ_MUST_WAIT_FOR_POSTZ_DONE); |
864 | } else { | 864 | } else { |
865 | WREG32(DB_DEBUG, 0); | 865 | WREG32(DB_DEBUG, 0); |
@@ -876,7 +876,8 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
876 | tmp = RREG32(SQ_MS_FIFO_SIZES); | 876 | tmp = RREG32(SQ_MS_FIFO_SIZES); |
877 | if (((rdev->family) == CHIP_RV610) || | 877 | if (((rdev->family) == CHIP_RV610) || |
878 | ((rdev->family) == CHIP_RV620) || | 878 | ((rdev->family) == CHIP_RV620) || |
879 | ((rdev->family) == CHIP_RS780)) { | 879 | ((rdev->family) == CHIP_RS780) || |
880 | ((rdev->family) == CHIP_RS880)) { | ||
880 | tmp = (CACHE_FIFO_SIZE(0xa) | | 881 | tmp = (CACHE_FIFO_SIZE(0xa) | |
881 | FETCH_FIFO_HIWATER(0xa) | | 882 | FETCH_FIFO_HIWATER(0xa) | |
882 | DONE_FIFO_HIWATER(0xe0) | | 883 | DONE_FIFO_HIWATER(0xe0) | |
@@ -919,7 +920,8 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
919 | NUM_ES_STACK_ENTRIES(0)); | 920 | NUM_ES_STACK_ENTRIES(0)); |
920 | } else if (((rdev->family) == CHIP_RV610) || | 921 | } else if (((rdev->family) == CHIP_RV610) || |
921 | ((rdev->family) == CHIP_RV620) || | 922 | ((rdev->family) == CHIP_RV620) || |
922 | ((rdev->family) == CHIP_RS780)) { | 923 | ((rdev->family) == CHIP_RS780) || |
924 | ((rdev->family) == CHIP_RS880)) { | ||
923 | /* no vertex cache */ | 925 | /* no vertex cache */ |
924 | sq_config &= ~VC_ENABLE; | 926 | sq_config &= ~VC_ENABLE; |
925 | 927 | ||
@@ -976,7 +978,8 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
976 | 978 | ||
977 | if (((rdev->family) == CHIP_RV610) || | 979 | if (((rdev->family) == CHIP_RV610) || |
978 | ((rdev->family) == CHIP_RV620) || | 980 | ((rdev->family) == CHIP_RV620) || |
979 | ((rdev->family) == CHIP_RS780)) { | 981 | ((rdev->family) == CHIP_RS780) || |
982 | ((rdev->family) == CHIP_RS880)) { | ||
980 | WREG32(VGT_CACHE_INVALIDATION, CACHE_INVALIDATION(TC_ONLY)); | 983 | WREG32(VGT_CACHE_INVALIDATION, CACHE_INVALIDATION(TC_ONLY)); |
981 | } else { | 984 | } else { |
982 | WREG32(VGT_CACHE_INVALIDATION, CACHE_INVALIDATION(VC_AND_TC)); | 985 | WREG32(VGT_CACHE_INVALIDATION, CACHE_INVALIDATION(VC_AND_TC)); |
@@ -1002,8 +1005,9 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
1002 | tmp = rdev->config.r600.max_pipes * 16; | 1005 | tmp = rdev->config.r600.max_pipes * 16; |
1003 | switch (rdev->family) { | 1006 | switch (rdev->family) { |
1004 | case CHIP_RV610: | 1007 | case CHIP_RV610: |
1005 | case CHIP_RS780: | ||
1006 | case CHIP_RV620: | 1008 | case CHIP_RV620: |
1009 | case CHIP_RS780: | ||
1010 | case CHIP_RS880: | ||
1007 | tmp += 32; | 1011 | tmp += 32; |
1008 | break; | 1012 | break; |
1009 | case CHIP_RV670: | 1013 | case CHIP_RV670: |
@@ -1044,8 +1048,9 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
1044 | 1048 | ||
1045 | switch (rdev->family) { | 1049 | switch (rdev->family) { |
1046 | case CHIP_RV610: | 1050 | case CHIP_RV610: |
1047 | case CHIP_RS780: | ||
1048 | case CHIP_RV620: | 1051 | case CHIP_RV620: |
1052 | case CHIP_RS780: | ||
1053 | case CHIP_RS880: | ||
1049 | tmp = TC_L2_SIZE(8); | 1054 | tmp = TC_L2_SIZE(8); |
1050 | break; | 1055 | break; |
1051 | case CHIP_RV630: | 1056 | case CHIP_RV630: |
@@ -1267,19 +1272,17 @@ int r600_cp_resume(struct radeon_device *rdev) | |||
1267 | 1272 | ||
1268 | /* Set ring buffer size */ | 1273 | /* Set ring buffer size */ |
1269 | rb_bufsz = drm_order(rdev->cp.ring_size / 8); | 1274 | rb_bufsz = drm_order(rdev->cp.ring_size / 8); |
1275 | tmp = RB_NO_UPDATE | (drm_order(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; | ||
1270 | #ifdef __BIG_ENDIAN | 1276 | #ifdef __BIG_ENDIAN |
1271 | WREG32(CP_RB_CNTL, BUF_SWAP_32BIT | RB_NO_UPDATE | | 1277 | tmp |= BUF_SWAP_32BIT; |
1272 | (drm_order(4096/8) << 8) | rb_bufsz); | ||
1273 | #else | ||
1274 | WREG32(CP_RB_CNTL, RB_NO_UPDATE | (drm_order(4096/8) << 8) | rb_bufsz); | ||
1275 | #endif | 1278 | #endif |
1279 | WREG32(CP_RB_CNTL, tmp); | ||
1276 | WREG32(CP_SEM_WAIT_TIMER, 0x4); | 1280 | WREG32(CP_SEM_WAIT_TIMER, 0x4); |
1277 | 1281 | ||
1278 | /* Set the write pointer delay */ | 1282 | /* Set the write pointer delay */ |
1279 | WREG32(CP_RB_WPTR_DELAY, 0); | 1283 | WREG32(CP_RB_WPTR_DELAY, 0); |
1280 | 1284 | ||
1281 | /* Initialize the ring buffer's read and write pointers */ | 1285 | /* Initialize the ring buffer's read and write pointers */ |
1282 | tmp = RREG32(CP_RB_CNTL); | ||
1283 | WREG32(CP_RB_CNTL, tmp | RB_RPTR_WR_ENA); | 1286 | WREG32(CP_RB_CNTL, tmp | RB_RPTR_WR_ENA); |
1284 | WREG32(CP_RB_RPTR_WR, 0); | 1287 | WREG32(CP_RB_RPTR_WR, 0); |
1285 | WREG32(CP_RB_WPTR, 0); | 1288 | WREG32(CP_RB_WPTR, 0); |
@@ -1400,7 +1403,7 @@ int r600_wb_enable(struct radeon_device *rdev) | |||
1400 | int r; | 1403 | int r; |
1401 | 1404 | ||
1402 | if (rdev->wb.wb_obj == NULL) { | 1405 | if (rdev->wb.wb_obj == NULL) { |
1403 | r = radeon_object_create(rdev, NULL, 4096, true, | 1406 | r = radeon_object_create(rdev, NULL, RADEON_GPU_PAGE_SIZE, true, |
1404 | RADEON_GEM_DOMAIN_GTT, false, &rdev->wb.wb_obj); | 1407 | RADEON_GEM_DOMAIN_GTT, false, &rdev->wb.wb_obj); |
1405 | if (r) { | 1408 | if (r) { |
1406 | dev_warn(rdev->dev, "failed to create WB buffer (%d).\n", r); | 1409 | dev_warn(rdev->dev, "failed to create WB buffer (%d).\n", r); |
@@ -1450,8 +1453,8 @@ int r600_copy_blit(struct radeon_device *rdev, | |||
1450 | uint64_t src_offset, uint64_t dst_offset, | 1453 | uint64_t src_offset, uint64_t dst_offset, |
1451 | unsigned num_pages, struct radeon_fence *fence) | 1454 | unsigned num_pages, struct radeon_fence *fence) |
1452 | { | 1455 | { |
1453 | r600_blit_prepare_copy(rdev, num_pages * 4096); | 1456 | r600_blit_prepare_copy(rdev, num_pages * RADEON_GPU_PAGE_SIZE); |
1454 | r600_kms_blit_copy(rdev, src_offset, dst_offset, num_pages * 4096); | 1457 | r600_kms_blit_copy(rdev, src_offset, dst_offset, num_pages * RADEON_GPU_PAGE_SIZE); |
1455 | r600_blit_done_copy(rdev, fence); | 1458 | r600_blit_done_copy(rdev, fence); |
1456 | return 0; | 1459 | return 0; |
1457 | } | 1460 | } |
@@ -1632,10 +1635,13 @@ int r600_init(struct radeon_device *rdev) | |||
1632 | r600_scratch_init(rdev); | 1635 | r600_scratch_init(rdev); |
1633 | /* Initialize surface registers */ | 1636 | /* Initialize surface registers */ |
1634 | radeon_surface_init(rdev); | 1637 | radeon_surface_init(rdev); |
1638 | /* Initialize clocks */ | ||
1635 | radeon_get_clock_info(rdev->ddev); | 1639 | radeon_get_clock_info(rdev->ddev); |
1636 | r = radeon_clocks_init(rdev); | 1640 | r = radeon_clocks_init(rdev); |
1637 | if (r) | 1641 | if (r) |
1638 | return r; | 1642 | return r; |
1643 | /* Initialize power management */ | ||
1644 | radeon_pm_init(rdev); | ||
1639 | /* Fence driver */ | 1645 | /* Fence driver */ |
1640 | r = radeon_fence_driver_init(rdev); | 1646 | r = radeon_fence_driver_init(rdev); |
1641 | if (r) | 1647 | if (r) |
diff --git a/drivers/gpu/drm/radeon/r600_blit.c b/drivers/gpu/drm/radeon/r600_blit.c index dec501081608..5ea432347589 100644 --- a/drivers/gpu/drm/radeon/r600_blit.c +++ b/drivers/gpu/drm/radeon/r600_blit.c | |||
@@ -582,6 +582,8 @@ r600_blit_copy(struct drm_device *dev, | |||
582 | u64 vb_addr; | 582 | u64 vb_addr; |
583 | u32 *vb; | 583 | u32 *vb; |
584 | 584 | ||
585 | vb = r600_nomm_get_vb_ptr(dev); | ||
586 | |||
585 | if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { | 587 | if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { |
586 | max_bytes = 8192; | 588 | max_bytes = 8192; |
587 | 589 | ||
@@ -617,8 +619,8 @@ r600_blit_copy(struct drm_device *dev, | |||
617 | if (!dev_priv->blit_vb) | 619 | if (!dev_priv->blit_vb) |
618 | return; | 620 | return; |
619 | set_shaders(dev); | 621 | set_shaders(dev); |
622 | vb = r600_nomm_get_vb_ptr(dev); | ||
620 | } | 623 | } |
621 | vb = r600_nomm_get_vb_ptr(dev); | ||
622 | 624 | ||
623 | vb[0] = i2f(dst_x); | 625 | vb[0] = i2f(dst_x); |
624 | vb[1] = 0; | 626 | vb[1] = 0; |
@@ -706,8 +708,8 @@ r600_blit_copy(struct drm_device *dev, | |||
706 | return; | 708 | return; |
707 | 709 | ||
708 | set_shaders(dev); | 710 | set_shaders(dev); |
711 | vb = r600_nomm_get_vb_ptr(dev); | ||
709 | } | 712 | } |
710 | vb = r600_nomm_get_vb_ptr(dev); | ||
711 | 713 | ||
712 | vb[0] = i2f(dst_x / 4); | 714 | vb[0] = i2f(dst_x / 4); |
713 | vb[1] = 0; | 715 | vb[1] = 0; |
@@ -772,6 +774,7 @@ r600_blit_swap(struct drm_device *dev, | |||
772 | { | 774 | { |
773 | drm_radeon_private_t *dev_priv = dev->dev_private; | 775 | drm_radeon_private_t *dev_priv = dev->dev_private; |
774 | int cb_format, tex_format; | 776 | int cb_format, tex_format; |
777 | int sx2, sy2, dx2, dy2; | ||
775 | u64 vb_addr; | 778 | u64 vb_addr; |
776 | u32 *vb; | 779 | u32 *vb; |
777 | 780 | ||
@@ -786,16 +789,10 @@ r600_blit_swap(struct drm_device *dev, | |||
786 | } | 789 | } |
787 | vb = r600_nomm_get_vb_ptr(dev); | 790 | vb = r600_nomm_get_vb_ptr(dev); |
788 | 791 | ||
789 | if (cpp == 4) { | 792 | sx2 = sx + w; |
790 | cb_format = COLOR_8_8_8_8; | 793 | sy2 = sy + h; |
791 | tex_format = FMT_8_8_8_8; | 794 | dx2 = dx + w; |
792 | } else if (cpp == 2) { | 795 | dy2 = dy + h; |
793 | cb_format = COLOR_5_6_5; | ||
794 | tex_format = FMT_5_6_5; | ||
795 | } else { | ||
796 | cb_format = COLOR_8; | ||
797 | tex_format = FMT_8; | ||
798 | } | ||
799 | 796 | ||
800 | vb[0] = i2f(dx); | 797 | vb[0] = i2f(dx); |
801 | vb[1] = i2f(dy); | 798 | vb[1] = i2f(dy); |
@@ -803,31 +800,46 @@ r600_blit_swap(struct drm_device *dev, | |||
803 | vb[3] = i2f(sy); | 800 | vb[3] = i2f(sy); |
804 | 801 | ||
805 | vb[4] = i2f(dx); | 802 | vb[4] = i2f(dx); |
806 | vb[5] = i2f(dy + h); | 803 | vb[5] = i2f(dy2); |
807 | vb[6] = i2f(sx); | 804 | vb[6] = i2f(sx); |
808 | vb[7] = i2f(sy + h); | 805 | vb[7] = i2f(sy2); |
806 | |||
807 | vb[8] = i2f(dx2); | ||
808 | vb[9] = i2f(dy2); | ||
809 | vb[10] = i2f(sx2); | ||
810 | vb[11] = i2f(sy2); | ||
809 | 811 | ||
810 | vb[8] = i2f(dx + w); | 812 | switch(cpp) { |
811 | vb[9] = i2f(dy + h); | 813 | case 4: |
812 | vb[10] = i2f(sx + w); | 814 | cb_format = COLOR_8_8_8_8; |
813 | vb[11] = i2f(sy + h); | 815 | tex_format = FMT_8_8_8_8; |
816 | break; | ||
817 | case 2: | ||
818 | cb_format = COLOR_5_6_5; | ||
819 | tex_format = FMT_5_6_5; | ||
820 | break; | ||
821 | default: | ||
822 | cb_format = COLOR_8; | ||
823 | tex_format = FMT_8; | ||
824 | break; | ||
825 | } | ||
814 | 826 | ||
815 | /* src */ | 827 | /* src */ |
816 | set_tex_resource(dev_priv, tex_format, | 828 | set_tex_resource(dev_priv, tex_format, |
817 | src_pitch / cpp, | 829 | src_pitch / cpp, |
818 | sy + h, src_pitch / cpp, | 830 | sy2, src_pitch / cpp, |
819 | src_gpu_addr); | 831 | src_gpu_addr); |
820 | 832 | ||
821 | cp_set_surface_sync(dev_priv, | 833 | cp_set_surface_sync(dev_priv, |
822 | R600_TC_ACTION_ENA, (src_pitch * (sy + h)), src_gpu_addr); | 834 | R600_TC_ACTION_ENA, src_pitch * sy2, src_gpu_addr); |
823 | 835 | ||
824 | /* dst */ | 836 | /* dst */ |
825 | set_render_target(dev_priv, cb_format, | 837 | set_render_target(dev_priv, cb_format, |
826 | dst_pitch / cpp, dy + h, | 838 | dst_pitch / cpp, dy2, |
827 | dst_gpu_addr); | 839 | dst_gpu_addr); |
828 | 840 | ||
829 | /* scissors */ | 841 | /* scissors */ |
830 | set_scissors(dev_priv, dx, dy, dx + w, dy + h); | 842 | set_scissors(dev_priv, dx, dy, dx2, dy2); |
831 | 843 | ||
832 | /* Vertex buffer setup */ | 844 | /* Vertex buffer setup */ |
833 | vb_addr = dev_priv->gart_buffers_offset + | 845 | vb_addr = dev_priv->gart_buffers_offset + |
@@ -840,7 +852,7 @@ r600_blit_swap(struct drm_device *dev, | |||
840 | 852 | ||
841 | cp_set_surface_sync(dev_priv, | 853 | cp_set_surface_sync(dev_priv, |
842 | R600_CB_ACTION_ENA | R600_CB0_DEST_BASE_ENA, | 854 | R600_CB_ACTION_ENA | R600_CB0_DEST_BASE_ENA, |
843 | dst_pitch * (dy + h), dst_gpu_addr); | 855 | dst_pitch * dy2, dst_gpu_addr); |
844 | 856 | ||
845 | dev_priv->blit_vb->used += 12 * 4; | 857 | dev_priv->blit_vb->used += 12 * 4; |
846 | } | 858 | } |
diff --git a/drivers/gpu/drm/radeon/r600_blit_kms.c b/drivers/gpu/drm/radeon/r600_blit_kms.c index 93108bb31d1d..dbf716e1fbf3 100644 --- a/drivers/gpu/drm/radeon/r600_blit_kms.c +++ b/drivers/gpu/drm/radeon/r600_blit_kms.c | |||
@@ -368,7 +368,7 @@ set_default_state(struct radeon_device *rdev) | |||
368 | if ((rdev->family == CHIP_RV610) || | 368 | if ((rdev->family == CHIP_RV610) || |
369 | (rdev->family == CHIP_RV620) || | 369 | (rdev->family == CHIP_RV620) || |
370 | (rdev->family == CHIP_RS780) || | 370 | (rdev->family == CHIP_RS780) || |
371 | (rdev->family == CHIP_RS780) || | 371 | (rdev->family == CHIP_RS880) || |
372 | (rdev->family == CHIP_RV710)) | 372 | (rdev->family == CHIP_RV710)) |
373 | sq_config = 0; | 373 | sq_config = 0; |
374 | else | 374 | else |
@@ -610,6 +610,7 @@ void r600_kms_blit_copy(struct radeon_device *rdev, | |||
610 | 610 | ||
611 | DRM_DEBUG("emitting copy %16llx %16llx %d %d\n", src_gpu_addr, dst_gpu_addr, | 611 | DRM_DEBUG("emitting copy %16llx %16llx %d %d\n", src_gpu_addr, dst_gpu_addr, |
612 | size_bytes, rdev->r600_blit.vb_used); | 612 | size_bytes, rdev->r600_blit.vb_used); |
613 | vb = (u32 *)(rdev->r600_blit.vb_ib->ptr + rdev->r600_blit.vb_used); | ||
613 | if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { | 614 | if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { |
614 | max_bytes = 8192; | 615 | max_bytes = 8192; |
615 | 616 | ||
@@ -652,7 +653,6 @@ void r600_kms_blit_copy(struct radeon_device *rdev, | |||
652 | vb = r600_nomm_get_vb_ptr(dev); | 653 | vb = r600_nomm_get_vb_ptr(dev); |
653 | #endif | 654 | #endif |
654 | } | 655 | } |
655 | vb = (u32 *)(rdev->r600_blit.vb_ib->ptr + rdev->r600_blit.vb_used); | ||
656 | 656 | ||
657 | vb[0] = i2f(dst_x); | 657 | vb[0] = i2f(dst_x); |
658 | vb[1] = 0; | 658 | vb[1] = 0; |
@@ -747,7 +747,6 @@ void r600_kms_blit_copy(struct radeon_device *rdev, | |||
747 | vb = r600_nomm_get_vb_ptr(dev); | 747 | vb = r600_nomm_get_vb_ptr(dev); |
748 | } | 748 | } |
749 | #endif | 749 | #endif |
750 | vb = (u32 *)(rdev->r600_blit.vb_ib->ptr + rdev->r600_blit.vb_used); | ||
751 | 750 | ||
752 | vb[0] = i2f(dst_x / 4); | 751 | vb[0] = i2f(dst_x / 4); |
753 | vb[1] = 0; | 752 | vb[1] = 0; |
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 17e42195c632..0d820764f340 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c | |||
@@ -466,6 +466,23 @@ static int r600_packet3_check(struct radeon_cs_parser *p, | |||
466 | for (i = 0; i < pkt->count; i++) { | 466 | for (i = 0; i < pkt->count; i++) { |
467 | reg = start_reg + (4 * i); | 467 | reg = start_reg + (4 * i); |
468 | switch (reg) { | 468 | switch (reg) { |
469 | case SQ_ESGS_RING_BASE: | ||
470 | case SQ_GSVS_RING_BASE: | ||
471 | case SQ_ESTMP_RING_BASE: | ||
472 | case SQ_GSTMP_RING_BASE: | ||
473 | case SQ_VSTMP_RING_BASE: | ||
474 | case SQ_PSTMP_RING_BASE: | ||
475 | case SQ_FBUF_RING_BASE: | ||
476 | case SQ_REDUC_RING_BASE: | ||
477 | case SX_MEMORY_EXPORT_BASE: | ||
478 | r = r600_cs_packet_next_reloc(p, &reloc); | ||
479 | if (r) { | ||
480 | DRM_ERROR("bad SET_CONFIG_REG " | ||
481 | "0x%04X\n", reg); | ||
482 | return -EINVAL; | ||
483 | } | ||
484 | ib[idx+1+i] += (u32)((reloc->lobj.gpu_offset >> 8) & 0xffffffff); | ||
485 | break; | ||
469 | case CP_COHER_BASE: | 486 | case CP_COHER_BASE: |
470 | /* use PACKET3_SURFACE_SYNC */ | 487 | /* use PACKET3_SURFACE_SYNC */ |
471 | return -EINVAL; | 488 | return -EINVAL; |
@@ -487,6 +504,7 @@ static int r600_packet3_check(struct radeon_cs_parser *p, | |||
487 | reg = start_reg + (4 * i); | 504 | reg = start_reg + (4 * i); |
488 | switch (reg) { | 505 | switch (reg) { |
489 | case DB_DEPTH_BASE: | 506 | case DB_DEPTH_BASE: |
507 | case DB_HTILE_DATA_BASE: | ||
490 | case CB_COLOR0_BASE: | 508 | case CB_COLOR0_BASE: |
491 | case CB_COLOR1_BASE: | 509 | case CB_COLOR1_BASE: |
492 | case CB_COLOR2_BASE: | 510 | case CB_COLOR2_BASE: |
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h index 9b64d47f1f82..27ab428b149b 100644 --- a/drivers/gpu/drm/radeon/r600d.h +++ b/drivers/gpu/drm/radeon/r600d.h | |||
@@ -119,6 +119,7 @@ | |||
119 | #define DB_DEBUG 0x9830 | 119 | #define DB_DEBUG 0x9830 |
120 | #define PREZ_MUST_WAIT_FOR_POSTZ_DONE (1 << 31) | 120 | #define PREZ_MUST_WAIT_FOR_POSTZ_DONE (1 << 31) |
121 | #define DB_DEPTH_BASE 0x2800C | 121 | #define DB_DEPTH_BASE 0x2800C |
122 | #define DB_HTILE_DATA_BASE 0x28014 | ||
122 | #define DB_WATERMARKS 0x9838 | 123 | #define DB_WATERMARKS 0x9838 |
123 | #define DEPTH_FREE(x) ((x) << 0) | 124 | #define DEPTH_FREE(x) ((x) << 0) |
124 | #define DEPTH_FLUSH(x) ((x) << 5) | 125 | #define DEPTH_FLUSH(x) ((x) << 5) |
@@ -171,6 +172,14 @@ | |||
171 | #define SQ_STACK_RESOURCE_MGMT_2 0x8c14 | 172 | #define SQ_STACK_RESOURCE_MGMT_2 0x8c14 |
172 | # define NUM_GS_STACK_ENTRIES(x) ((x) << 0) | 173 | # define NUM_GS_STACK_ENTRIES(x) ((x) << 0) |
173 | # define NUM_ES_STACK_ENTRIES(x) ((x) << 16) | 174 | # define NUM_ES_STACK_ENTRIES(x) ((x) << 16) |
175 | #define SQ_ESGS_RING_BASE 0x8c40 | ||
176 | #define SQ_GSVS_RING_BASE 0x8c48 | ||
177 | #define SQ_ESTMP_RING_BASE 0x8c50 | ||
178 | #define SQ_GSTMP_RING_BASE 0x8c58 | ||
179 | #define SQ_VSTMP_RING_BASE 0x8c60 | ||
180 | #define SQ_PSTMP_RING_BASE 0x8c68 | ||
181 | #define SQ_FBUF_RING_BASE 0x8c70 | ||
182 | #define SQ_REDUC_RING_BASE 0x8c78 | ||
174 | 183 | ||
175 | #define GRBM_CNTL 0x8000 | 184 | #define GRBM_CNTL 0x8000 |
176 | # define GRBM_READ_TIMEOUT(x) ((x) << 0) | 185 | # define GRBM_READ_TIMEOUT(x) ((x) << 0) |
@@ -271,6 +280,10 @@ | |||
271 | #define PCIE_PORT_INDEX 0x0038 | 280 | #define PCIE_PORT_INDEX 0x0038 |
272 | #define PCIE_PORT_DATA 0x003C | 281 | #define PCIE_PORT_DATA 0x003C |
273 | 282 | ||
283 | #define CHMAP 0x2004 | ||
284 | #define NOOFCHAN_SHIFT 12 | ||
285 | #define NOOFCHAN_MASK 0x00003000 | ||
286 | |||
274 | #define RAMCFG 0x2408 | 287 | #define RAMCFG 0x2408 |
275 | #define NOOFBANK_SHIFT 0 | 288 | #define NOOFBANK_SHIFT 0 |
276 | #define NOOFBANK_MASK 0x00000001 | 289 | #define NOOFBANK_MASK 0x00000001 |
@@ -352,6 +365,7 @@ | |||
352 | 365 | ||
353 | 366 | ||
354 | #define SX_MISC 0x28350 | 367 | #define SX_MISC 0x28350 |
368 | #define SX_MEMORY_EXPORT_BASE 0x9010 | ||
355 | #define SX_DEBUG_1 0x9054 | 369 | #define SX_DEBUG_1 0x9054 |
356 | #define SMX_EVENT_RELEASE (1 << 0) | 370 | #define SMX_EVENT_RELEASE (1 << 0) |
357 | #define ENABLE_NEW_SMX_ADDRESS (1 << 16) | 371 | #define ENABLE_NEW_SMX_ADDRESS (1 << 16) |
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 5ab35b81c86b..757f5cd37744 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -139,6 +139,10 @@ struct radeon_clock { | |||
139 | uint32_t default_sclk; | 139 | uint32_t default_sclk; |
140 | }; | 140 | }; |
141 | 141 | ||
142 | /* | ||
143 | * Power management | ||
144 | */ | ||
145 | int radeon_pm_init(struct radeon_device *rdev); | ||
142 | 146 | ||
143 | /* | 147 | /* |
144 | * Fences. | 148 | * Fences. |
@@ -276,6 +280,8 @@ union radeon_gart_table { | |||
276 | struct radeon_gart_table_vram vram; | 280 | struct radeon_gart_table_vram vram; |
277 | }; | 281 | }; |
278 | 282 | ||
283 | #define RADEON_GPU_PAGE_SIZE 4096 | ||
284 | |||
279 | struct radeon_gart { | 285 | struct radeon_gart { |
280 | dma_addr_t table_addr; | 286 | dma_addr_t table_addr; |
281 | unsigned num_gpu_pages; | 287 | unsigned num_gpu_pages; |
@@ -621,7 +627,9 @@ struct radeon_asic { | |||
621 | uint64_t dst_offset, | 627 | uint64_t dst_offset, |
622 | unsigned num_pages, | 628 | unsigned num_pages, |
623 | struct radeon_fence *fence); | 629 | struct radeon_fence *fence); |
630 | uint32_t (*get_engine_clock)(struct radeon_device *rdev); | ||
624 | void (*set_engine_clock)(struct radeon_device *rdev, uint32_t eng_clock); | 631 | void (*set_engine_clock)(struct radeon_device *rdev, uint32_t eng_clock); |
632 | uint32_t (*get_memory_clock)(struct radeon_device *rdev); | ||
625 | void (*set_memory_clock)(struct radeon_device *rdev, uint32_t mem_clock); | 633 | void (*set_memory_clock)(struct radeon_device *rdev, uint32_t mem_clock); |
626 | void (*set_pcie_lanes)(struct radeon_device *rdev, int lanes); | 634 | void (*set_pcie_lanes)(struct radeon_device *rdev, int lanes); |
627 | void (*set_clock_gating)(struct radeon_device *rdev, int enable); | 635 | void (*set_clock_gating)(struct radeon_device *rdev, int enable); |
@@ -783,6 +791,7 @@ struct radeon_device { | |||
783 | const struct firmware *me_fw; /* all family ME firmware */ | 791 | const struct firmware *me_fw; /* all family ME firmware */ |
784 | const struct firmware *pfp_fw; /* r6/700 PFP firmware */ | 792 | const struct firmware *pfp_fw; /* r6/700 PFP firmware */ |
785 | struct r600_blit r600_blit; | 793 | struct r600_blit r600_blit; |
794 | int msi_enabled; /* msi enabled */ | ||
786 | }; | 795 | }; |
787 | 796 | ||
788 | int radeon_device_init(struct radeon_device *rdev, | 797 | int radeon_device_init(struct radeon_device *rdev, |
@@ -952,7 +961,9 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v) | |||
952 | #define radeon_copy_blit(rdev, s, d, np, f) (rdev)->asic->copy_blit((rdev), (s), (d), (np), (f)) | 961 | #define radeon_copy_blit(rdev, s, d, np, f) (rdev)->asic->copy_blit((rdev), (s), (d), (np), (f)) |
953 | #define radeon_copy_dma(rdev, s, d, np, f) (rdev)->asic->copy_dma((rdev), (s), (d), (np), (f)) | 962 | #define radeon_copy_dma(rdev, s, d, np, f) (rdev)->asic->copy_dma((rdev), (s), (d), (np), (f)) |
954 | #define radeon_copy(rdev, s, d, np, f) (rdev)->asic->copy((rdev), (s), (d), (np), (f)) | 963 | #define radeon_copy(rdev, s, d, np, f) (rdev)->asic->copy((rdev), (s), (d), (np), (f)) |
964 | #define radeon_get_engine_clock(rdev) (rdev)->asic->get_engine_clock((rdev)) | ||
955 | #define radeon_set_engine_clock(rdev, e) (rdev)->asic->set_engine_clock((rdev), (e)) | 965 | #define radeon_set_engine_clock(rdev, e) (rdev)->asic->set_engine_clock((rdev), (e)) |
966 | #define radeon_get_memory_clock(rdev) (rdev)->asic->get_memory_clock((rdev)) | ||
956 | #define radeon_set_memory_clock(rdev, e) (rdev)->asic->set_engine_clock((rdev), (e)) | 967 | #define radeon_set_memory_clock(rdev, e) (rdev)->asic->set_engine_clock((rdev), (e)) |
957 | #define radeon_set_pcie_lanes(rdev, l) (rdev)->asic->set_pcie_lanes((rdev), (l)) | 968 | #define radeon_set_pcie_lanes(rdev, l) (rdev)->asic->set_pcie_lanes((rdev), (l)) |
958 | #define radeon_set_clock_gating(rdev, e) (rdev)->asic->set_clock_gating((rdev), (e)) | 969 | #define radeon_set_clock_gating(rdev, e) (rdev)->asic->set_clock_gating((rdev), (e)) |
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index c3532c7a6f3f..c18fbee387d7 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -31,10 +31,13 @@ | |||
31 | /* | 31 | /* |
32 | * common functions | 32 | * common functions |
33 | */ | 33 | */ |
34 | uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev); | ||
34 | void radeon_legacy_set_engine_clock(struct radeon_device *rdev, uint32_t eng_clock); | 35 | void radeon_legacy_set_engine_clock(struct radeon_device *rdev, uint32_t eng_clock); |
35 | void radeon_legacy_set_clock_gating(struct radeon_device *rdev, int enable); | 36 | void radeon_legacy_set_clock_gating(struct radeon_device *rdev, int enable); |
36 | 37 | ||
38 | uint32_t radeon_atom_get_engine_clock(struct radeon_device *rdev); | ||
37 | void radeon_atom_set_engine_clock(struct radeon_device *rdev, uint32_t eng_clock); | 39 | void radeon_atom_set_engine_clock(struct radeon_device *rdev, uint32_t eng_clock); |
40 | uint32_t radeon_atom_get_memory_clock(struct radeon_device *rdev); | ||
38 | void radeon_atom_set_memory_clock(struct radeon_device *rdev, uint32_t mem_clock); | 41 | void radeon_atom_set_memory_clock(struct radeon_device *rdev, uint32_t mem_clock); |
39 | void radeon_atom_set_clock_gating(struct radeon_device *rdev, int enable); | 42 | void radeon_atom_set_clock_gating(struct radeon_device *rdev, int enable); |
40 | 43 | ||
@@ -95,7 +98,9 @@ static struct radeon_asic r100_asic = { | |||
95 | .copy_blit = &r100_copy_blit, | 98 | .copy_blit = &r100_copy_blit, |
96 | .copy_dma = NULL, | 99 | .copy_dma = NULL, |
97 | .copy = &r100_copy_blit, | 100 | .copy = &r100_copy_blit, |
101 | .get_engine_clock = &radeon_legacy_get_engine_clock, | ||
98 | .set_engine_clock = &radeon_legacy_set_engine_clock, | 102 | .set_engine_clock = &radeon_legacy_set_engine_clock, |
103 | .get_memory_clock = NULL, | ||
99 | .set_memory_clock = NULL, | 104 | .set_memory_clock = NULL, |
100 | .set_pcie_lanes = NULL, | 105 | .set_pcie_lanes = NULL, |
101 | .set_clock_gating = &radeon_legacy_set_clock_gating, | 106 | .set_clock_gating = &radeon_legacy_set_clock_gating, |
@@ -148,7 +153,9 @@ static struct radeon_asic r300_asic = { | |||
148 | .copy_blit = &r100_copy_blit, | 153 | .copy_blit = &r100_copy_blit, |
149 | .copy_dma = &r300_copy_dma, | 154 | .copy_dma = &r300_copy_dma, |
150 | .copy = &r100_copy_blit, | 155 | .copy = &r100_copy_blit, |
156 | .get_engine_clock = &radeon_legacy_get_engine_clock, | ||
151 | .set_engine_clock = &radeon_legacy_set_engine_clock, | 157 | .set_engine_clock = &radeon_legacy_set_engine_clock, |
158 | .get_memory_clock = NULL, | ||
152 | .set_memory_clock = NULL, | 159 | .set_memory_clock = NULL, |
153 | .set_pcie_lanes = &rv370_set_pcie_lanes, | 160 | .set_pcie_lanes = &rv370_set_pcie_lanes, |
154 | .set_clock_gating = &radeon_legacy_set_clock_gating, | 161 | .set_clock_gating = &radeon_legacy_set_clock_gating, |
@@ -185,7 +192,9 @@ static struct radeon_asic r420_asic = { | |||
185 | .copy_blit = &r100_copy_blit, | 192 | .copy_blit = &r100_copy_blit, |
186 | .copy_dma = &r300_copy_dma, | 193 | .copy_dma = &r300_copy_dma, |
187 | .copy = &r100_copy_blit, | 194 | .copy = &r100_copy_blit, |
195 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
188 | .set_engine_clock = &radeon_atom_set_engine_clock, | 196 | .set_engine_clock = &radeon_atom_set_engine_clock, |
197 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
189 | .set_memory_clock = &radeon_atom_set_memory_clock, | 198 | .set_memory_clock = &radeon_atom_set_memory_clock, |
190 | .set_pcie_lanes = &rv370_set_pcie_lanes, | 199 | .set_pcie_lanes = &rv370_set_pcie_lanes, |
191 | .set_clock_gating = &radeon_atom_set_clock_gating, | 200 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -227,7 +236,9 @@ static struct radeon_asic rs400_asic = { | |||
227 | .copy_blit = &r100_copy_blit, | 236 | .copy_blit = &r100_copy_blit, |
228 | .copy_dma = &r300_copy_dma, | 237 | .copy_dma = &r300_copy_dma, |
229 | .copy = &r100_copy_blit, | 238 | .copy = &r100_copy_blit, |
239 | .get_engine_clock = &radeon_legacy_get_engine_clock, | ||
230 | .set_engine_clock = &radeon_legacy_set_engine_clock, | 240 | .set_engine_clock = &radeon_legacy_set_engine_clock, |
241 | .get_memory_clock = NULL, | ||
231 | .set_memory_clock = NULL, | 242 | .set_memory_clock = NULL, |
232 | .set_pcie_lanes = NULL, | 243 | .set_pcie_lanes = NULL, |
233 | .set_clock_gating = &radeon_legacy_set_clock_gating, | 244 | .set_clock_gating = &radeon_legacy_set_clock_gating, |
@@ -273,7 +284,9 @@ static struct radeon_asic rs600_asic = { | |||
273 | .copy_blit = &r100_copy_blit, | 284 | .copy_blit = &r100_copy_blit, |
274 | .copy_dma = &r300_copy_dma, | 285 | .copy_dma = &r300_copy_dma, |
275 | .copy = &r100_copy_blit, | 286 | .copy = &r100_copy_blit, |
287 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
276 | .set_engine_clock = &radeon_atom_set_engine_clock, | 288 | .set_engine_clock = &radeon_atom_set_engine_clock, |
289 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
277 | .set_memory_clock = &radeon_atom_set_memory_clock, | 290 | .set_memory_clock = &radeon_atom_set_memory_clock, |
278 | .set_pcie_lanes = NULL, | 291 | .set_pcie_lanes = NULL, |
279 | .set_clock_gating = &radeon_atom_set_clock_gating, | 292 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -312,7 +325,9 @@ static struct radeon_asic rs690_asic = { | |||
312 | .copy_blit = &r100_copy_blit, | 325 | .copy_blit = &r100_copy_blit, |
313 | .copy_dma = &r300_copy_dma, | 326 | .copy_dma = &r300_copy_dma, |
314 | .copy = &r300_copy_dma, | 327 | .copy = &r300_copy_dma, |
328 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
315 | .set_engine_clock = &radeon_atom_set_engine_clock, | 329 | .set_engine_clock = &radeon_atom_set_engine_clock, |
330 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
316 | .set_memory_clock = &radeon_atom_set_memory_clock, | 331 | .set_memory_clock = &radeon_atom_set_memory_clock, |
317 | .set_pcie_lanes = NULL, | 332 | .set_pcie_lanes = NULL, |
318 | .set_clock_gating = &radeon_atom_set_clock_gating, | 333 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -357,7 +372,9 @@ static struct radeon_asic rv515_asic = { | |||
357 | .copy_blit = &r100_copy_blit, | 372 | .copy_blit = &r100_copy_blit, |
358 | .copy_dma = &r300_copy_dma, | 373 | .copy_dma = &r300_copy_dma, |
359 | .copy = &r100_copy_blit, | 374 | .copy = &r100_copy_blit, |
375 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
360 | .set_engine_clock = &radeon_atom_set_engine_clock, | 376 | .set_engine_clock = &radeon_atom_set_engine_clock, |
377 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
361 | .set_memory_clock = &radeon_atom_set_memory_clock, | 378 | .set_memory_clock = &radeon_atom_set_memory_clock, |
362 | .set_pcie_lanes = &rv370_set_pcie_lanes, | 379 | .set_pcie_lanes = &rv370_set_pcie_lanes, |
363 | .set_clock_gating = &radeon_atom_set_clock_gating, | 380 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -393,7 +410,9 @@ static struct radeon_asic r520_asic = { | |||
393 | .copy_blit = &r100_copy_blit, | 410 | .copy_blit = &r100_copy_blit, |
394 | .copy_dma = &r300_copy_dma, | 411 | .copy_dma = &r300_copy_dma, |
395 | .copy = &r100_copy_blit, | 412 | .copy = &r100_copy_blit, |
413 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
396 | .set_engine_clock = &radeon_atom_set_engine_clock, | 414 | .set_engine_clock = &radeon_atom_set_engine_clock, |
415 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
397 | .set_memory_clock = &radeon_atom_set_memory_clock, | 416 | .set_memory_clock = &radeon_atom_set_memory_clock, |
398 | .set_pcie_lanes = &rv370_set_pcie_lanes, | 417 | .set_pcie_lanes = &rv370_set_pcie_lanes, |
399 | .set_clock_gating = &radeon_atom_set_clock_gating, | 418 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -456,7 +475,9 @@ static struct radeon_asic r600_asic = { | |||
456 | .copy_blit = &r600_copy_blit, | 475 | .copy_blit = &r600_copy_blit, |
457 | .copy_dma = &r600_copy_blit, | 476 | .copy_dma = &r600_copy_blit, |
458 | .copy = &r600_copy_blit, | 477 | .copy = &r600_copy_blit, |
478 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
459 | .set_engine_clock = &radeon_atom_set_engine_clock, | 479 | .set_engine_clock = &radeon_atom_set_engine_clock, |
480 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
460 | .set_memory_clock = &radeon_atom_set_memory_clock, | 481 | .set_memory_clock = &radeon_atom_set_memory_clock, |
461 | .set_pcie_lanes = NULL, | 482 | .set_pcie_lanes = NULL, |
462 | .set_clock_gating = &radeon_atom_set_clock_gating, | 483 | .set_clock_gating = &radeon_atom_set_clock_gating, |
@@ -493,7 +514,9 @@ static struct radeon_asic rv770_asic = { | |||
493 | .copy_blit = &r600_copy_blit, | 514 | .copy_blit = &r600_copy_blit, |
494 | .copy_dma = &r600_copy_blit, | 515 | .copy_dma = &r600_copy_blit, |
495 | .copy = &r600_copy_blit, | 516 | .copy = &r600_copy_blit, |
517 | .get_engine_clock = &radeon_atom_get_engine_clock, | ||
496 | .set_engine_clock = &radeon_atom_set_engine_clock, | 518 | .set_engine_clock = &radeon_atom_set_engine_clock, |
519 | .get_memory_clock = &radeon_atom_get_memory_clock, | ||
497 | .set_memory_clock = &radeon_atom_set_memory_clock, | 520 | .set_memory_clock = &radeon_atom_set_memory_clock, |
498 | .set_pcie_lanes = NULL, | 521 | .set_pcie_lanes = NULL, |
499 | .set_clock_gating = &radeon_atom_set_clock_gating, | 522 | .set_clock_gating = &radeon_atom_set_clock_gating, |
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 5b6c08cee40e..2ed88a820935 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c | |||
@@ -46,7 +46,8 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
46 | uint32_t supported_device, | 46 | uint32_t supported_device, |
47 | int connector_type, | 47 | int connector_type, |
48 | struct radeon_i2c_bus_rec *i2c_bus, | 48 | struct radeon_i2c_bus_rec *i2c_bus, |
49 | bool linkb, uint32_t igp_lane_info); | 49 | bool linkb, uint32_t igp_lane_info, |
50 | uint16_t connector_object_id); | ||
50 | 51 | ||
51 | /* from radeon_legacy_encoder.c */ | 52 | /* from radeon_legacy_encoder.c */ |
52 | extern void | 53 | extern void |
@@ -193,6 +194,23 @@ const int supported_devices_connector_convert[] = { | |||
193 | DRM_MODE_CONNECTOR_DisplayPort | 194 | DRM_MODE_CONNECTOR_DisplayPort |
194 | }; | 195 | }; |
195 | 196 | ||
197 | const uint16_t supported_devices_connector_object_id_convert[] = { | ||
198 | CONNECTOR_OBJECT_ID_NONE, | ||
199 | CONNECTOR_OBJECT_ID_VGA, | ||
200 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I, /* not all boards support DL */ | ||
201 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D, /* not all boards support DL */ | ||
202 | CONNECTOR_OBJECT_ID_VGA, /* technically DVI-A */ | ||
203 | CONNECTOR_OBJECT_ID_COMPOSITE, | ||
204 | CONNECTOR_OBJECT_ID_SVIDEO, | ||
205 | CONNECTOR_OBJECT_ID_LVDS, | ||
206 | CONNECTOR_OBJECT_ID_9PIN_DIN, | ||
207 | CONNECTOR_OBJECT_ID_9PIN_DIN, | ||
208 | CONNECTOR_OBJECT_ID_DISPLAYPORT, | ||
209 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A, | ||
210 | CONNECTOR_OBJECT_ID_HDMI_TYPE_B, | ||
211 | CONNECTOR_OBJECT_ID_SVIDEO | ||
212 | }; | ||
213 | |||
196 | const int object_connector_convert[] = { | 214 | const int object_connector_convert[] = { |
197 | DRM_MODE_CONNECTOR_Unknown, | 215 | DRM_MODE_CONNECTOR_Unknown, |
198 | DRM_MODE_CONNECTOR_DVII, | 216 | DRM_MODE_CONNECTOR_DVII, |
@@ -229,7 +247,7 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
229 | ATOM_OBJECT_HEADER *obj_header; | 247 | ATOM_OBJECT_HEADER *obj_header; |
230 | int i, j, path_size, device_support; | 248 | int i, j, path_size, device_support; |
231 | int connector_type; | 249 | int connector_type; |
232 | uint16_t igp_lane_info, conn_id; | 250 | uint16_t igp_lane_info, conn_id, connector_object_id; |
233 | bool linkb; | 251 | bool linkb; |
234 | struct radeon_i2c_bus_rec ddc_bus; | 252 | struct radeon_i2c_bus_rec ddc_bus; |
235 | 253 | ||
@@ -277,7 +295,8 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
277 | ATOM_DEVICE_CV_SUPPORT) | 295 | ATOM_DEVICE_CV_SUPPORT) |
278 | continue; | 296 | continue; |
279 | 297 | ||
280 | if ((rdev->family == CHIP_RS780) && | 298 | /* IGP chips */ |
299 | if ((rdev->flags & RADEON_IS_IGP) && | ||
281 | (con_obj_id == | 300 | (con_obj_id == |
282 | CONNECTOR_OBJECT_ID_PCIE_CONNECTOR)) { | 301 | CONNECTOR_OBJECT_ID_PCIE_CONNECTOR)) { |
283 | uint16_t igp_offset = 0; | 302 | uint16_t igp_offset = 0; |
@@ -311,6 +330,7 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
311 | connector_type = | 330 | connector_type = |
312 | object_connector_convert | 331 | object_connector_convert |
313 | [ct]; | 332 | [ct]; |
333 | connector_object_id = ct; | ||
314 | igp_lane_info = | 334 | igp_lane_info = |
315 | slot_config & 0xffff; | 335 | slot_config & 0xffff; |
316 | } else | 336 | } else |
@@ -321,6 +341,7 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
321 | igp_lane_info = 0; | 341 | igp_lane_info = 0; |
322 | connector_type = | 342 | connector_type = |
323 | object_connector_convert[con_obj_id]; | 343 | object_connector_convert[con_obj_id]; |
344 | connector_object_id = con_obj_id; | ||
324 | } | 345 | } |
325 | 346 | ||
326 | if (connector_type == DRM_MODE_CONNECTOR_Unknown) | 347 | if (connector_type == DRM_MODE_CONNECTOR_Unknown) |
@@ -425,7 +446,8 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
425 | le16_to_cpu(path-> | 446 | le16_to_cpu(path-> |
426 | usDeviceTag), | 447 | usDeviceTag), |
427 | connector_type, &ddc_bus, | 448 | connector_type, &ddc_bus, |
428 | linkb, igp_lane_info); | 449 | linkb, igp_lane_info, |
450 | connector_object_id); | ||
429 | 451 | ||
430 | } | 452 | } |
431 | } | 453 | } |
@@ -435,6 +457,45 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev) | |||
435 | return true; | 457 | return true; |
436 | } | 458 | } |
437 | 459 | ||
460 | static uint16_t atombios_get_connector_object_id(struct drm_device *dev, | ||
461 | int connector_type, | ||
462 | uint16_t devices) | ||
463 | { | ||
464 | struct radeon_device *rdev = dev->dev_private; | ||
465 | |||
466 | if (rdev->flags & RADEON_IS_IGP) { | ||
467 | return supported_devices_connector_object_id_convert | ||
468 | [connector_type]; | ||
469 | } else if (((connector_type == DRM_MODE_CONNECTOR_DVII) || | ||
470 | (connector_type == DRM_MODE_CONNECTOR_DVID)) && | ||
471 | (devices & ATOM_DEVICE_DFP2_SUPPORT)) { | ||
472 | struct radeon_mode_info *mode_info = &rdev->mode_info; | ||
473 | struct atom_context *ctx = mode_info->atom_context; | ||
474 | int index = GetIndexIntoMasterTable(DATA, XTMDS_Info); | ||
475 | uint16_t size, data_offset; | ||
476 | uint8_t frev, crev; | ||
477 | ATOM_XTMDS_INFO *xtmds; | ||
478 | |||
479 | atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset); | ||
480 | xtmds = (ATOM_XTMDS_INFO *)(ctx->bios + data_offset); | ||
481 | |||
482 | if (xtmds->ucSupportedLink & ATOM_XTMDS_SUPPORTED_DUALLINK) { | ||
483 | if (connector_type == DRM_MODE_CONNECTOR_DVII) | ||
484 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I; | ||
485 | else | ||
486 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D; | ||
487 | } else { | ||
488 | if (connector_type == DRM_MODE_CONNECTOR_DVII) | ||
489 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I; | ||
490 | else | ||
491 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D; | ||
492 | } | ||
493 | } else { | ||
494 | return supported_devices_connector_object_id_convert | ||
495 | [connector_type]; | ||
496 | } | ||
497 | } | ||
498 | |||
438 | struct bios_connector { | 499 | struct bios_connector { |
439 | bool valid; | 500 | bool valid; |
440 | uint16_t line_mux; | 501 | uint16_t line_mux; |
@@ -593,14 +654,20 @@ bool radeon_get_atom_connector_info_from_supported_devices_table(struct | |||
593 | 654 | ||
594 | /* add the connectors */ | 655 | /* add the connectors */ |
595 | for (i = 0; i < ATOM_MAX_SUPPORTED_DEVICE; i++) { | 656 | for (i = 0; i < ATOM_MAX_SUPPORTED_DEVICE; i++) { |
596 | if (bios_connectors[i].valid) | 657 | if (bios_connectors[i].valid) { |
658 | uint16_t connector_object_id = | ||
659 | atombios_get_connector_object_id(dev, | ||
660 | bios_connectors[i].connector_type, | ||
661 | bios_connectors[i].devices); | ||
597 | radeon_add_atom_connector(dev, | 662 | radeon_add_atom_connector(dev, |
598 | bios_connectors[i].line_mux, | 663 | bios_connectors[i].line_mux, |
599 | bios_connectors[i].devices, | 664 | bios_connectors[i].devices, |
600 | bios_connectors[i]. | 665 | bios_connectors[i]. |
601 | connector_type, | 666 | connector_type, |
602 | &bios_connectors[i].ddc_bus, | 667 | &bios_connectors[i].ddc_bus, |
603 | false, 0); | 668 | false, 0, |
669 | connector_object_id); | ||
670 | } | ||
604 | } | 671 | } |
605 | 672 | ||
606 | radeon_link_encoder_connector(dev); | 673 | radeon_link_encoder_connector(dev); |
@@ -641,8 +708,12 @@ bool radeon_atom_get_clock_info(struct drm_device *dev) | |||
641 | le16_to_cpu(firmware_info->info.usReferenceClock); | 708 | le16_to_cpu(firmware_info->info.usReferenceClock); |
642 | p1pll->reference_div = 0; | 709 | p1pll->reference_div = 0; |
643 | 710 | ||
644 | p1pll->pll_out_min = | 711 | if (crev < 2) |
645 | le16_to_cpu(firmware_info->info.usMinPixelClockPLL_Output); | 712 | p1pll->pll_out_min = |
713 | le16_to_cpu(firmware_info->info.usMinPixelClockPLL_Output); | ||
714 | else | ||
715 | p1pll->pll_out_min = | ||
716 | le32_to_cpu(firmware_info->info_12.ulMinPixelClockPLL_Output); | ||
646 | p1pll->pll_out_max = | 717 | p1pll->pll_out_max = |
647 | le32_to_cpu(firmware_info->info.ulMaxPixelClockPLL_Output); | 718 | le32_to_cpu(firmware_info->info.ulMaxPixelClockPLL_Output); |
648 | 719 | ||
@@ -651,6 +722,16 @@ bool radeon_atom_get_clock_info(struct drm_device *dev) | |||
651 | p1pll->pll_out_min = 64800; | 722 | p1pll->pll_out_min = 64800; |
652 | else | 723 | else |
653 | p1pll->pll_out_min = 20000; | 724 | p1pll->pll_out_min = 20000; |
725 | } else if (p1pll->pll_out_min > 64800) { | ||
726 | /* Limiting the pll output range is a good thing generally as | ||
727 | * it limits the number of possible pll combinations for a given | ||
728 | * frequency presumably to the ones that work best on each card. | ||
729 | * However, certain duallink DVI monitors seem to like | ||
730 | * pll combinations that would be limited by this at least on | ||
731 | * pre-DCE 3.0 r6xx hardware. This might need to be adjusted per | ||
732 | * family. | ||
733 | */ | ||
734 | p1pll->pll_out_min = 64800; | ||
654 | } | 735 | } |
655 | 736 | ||
656 | p1pll->pll_in_min = | 737 | p1pll->pll_in_min = |
@@ -767,6 +848,46 @@ bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, | |||
767 | return false; | 848 | return false; |
768 | } | 849 | } |
769 | 850 | ||
851 | static struct radeon_atom_ss *radeon_atombios_get_ss_info(struct | ||
852 | radeon_encoder | ||
853 | *encoder, | ||
854 | int id) | ||
855 | { | ||
856 | struct drm_device *dev = encoder->base.dev; | ||
857 | struct radeon_device *rdev = dev->dev_private; | ||
858 | struct radeon_mode_info *mode_info = &rdev->mode_info; | ||
859 | int index = GetIndexIntoMasterTable(DATA, PPLL_SS_Info); | ||
860 | uint16_t data_offset; | ||
861 | struct _ATOM_SPREAD_SPECTRUM_INFO *ss_info; | ||
862 | uint8_t frev, crev; | ||
863 | struct radeon_atom_ss *ss = NULL; | ||
864 | |||
865 | if (id > ATOM_MAX_SS_ENTRY) | ||
866 | return NULL; | ||
867 | |||
868 | atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, | ||
869 | &crev, &data_offset); | ||
870 | |||
871 | ss_info = | ||
872 | (struct _ATOM_SPREAD_SPECTRUM_INFO *)(mode_info->atom_context->bios + data_offset); | ||
873 | |||
874 | if (ss_info) { | ||
875 | ss = | ||
876 | kzalloc(sizeof(struct radeon_atom_ss), GFP_KERNEL); | ||
877 | |||
878 | if (!ss) | ||
879 | return NULL; | ||
880 | |||
881 | ss->percentage = le16_to_cpu(ss_info->asSS_Info[id].usSpreadSpectrumPercentage); | ||
882 | ss->type = ss_info->asSS_Info[id].ucSpreadSpectrumType; | ||
883 | ss->step = ss_info->asSS_Info[id].ucSS_Step; | ||
884 | ss->delay = ss_info->asSS_Info[id].ucSS_Delay; | ||
885 | ss->range = ss_info->asSS_Info[id].ucSS_Range; | ||
886 | ss->refdiv = ss_info->asSS_Info[id].ucRecommendedRef_Div; | ||
887 | } | ||
888 | return ss; | ||
889 | } | ||
890 | |||
770 | union lvds_info { | 891 | union lvds_info { |
771 | struct _ATOM_LVDS_INFO info; | 892 | struct _ATOM_LVDS_INFO info; |
772 | struct _ATOM_LVDS_INFO_V12 info_12; | 893 | struct _ATOM_LVDS_INFO_V12 info_12; |
@@ -798,27 +919,31 @@ struct radeon_encoder_atom_dig *radeon_atombios_get_lvds_info(struct | |||
798 | if (!lvds) | 919 | if (!lvds) |
799 | return NULL; | 920 | return NULL; |
800 | 921 | ||
801 | lvds->native_mode.dotclock = | 922 | lvds->native_mode.clock = |
802 | le16_to_cpu(lvds_info->info.sLCDTiming.usPixClk) * 10; | 923 | le16_to_cpu(lvds_info->info.sLCDTiming.usPixClk) * 10; |
803 | lvds->native_mode.panel_xres = | 924 | lvds->native_mode.hdisplay = |
804 | le16_to_cpu(lvds_info->info.sLCDTiming.usHActive); | 925 | le16_to_cpu(lvds_info->info.sLCDTiming.usHActive); |
805 | lvds->native_mode.panel_yres = | 926 | lvds->native_mode.vdisplay = |
806 | le16_to_cpu(lvds_info->info.sLCDTiming.usVActive); | 927 | le16_to_cpu(lvds_info->info.sLCDTiming.usVActive); |
807 | lvds->native_mode.hblank = | 928 | lvds->native_mode.htotal = lvds->native_mode.hdisplay + |
808 | le16_to_cpu(lvds_info->info.sLCDTiming.usHBlanking_Time); | 929 | le16_to_cpu(lvds_info->info.sLCDTiming.usHBlanking_Time); |
809 | lvds->native_mode.hoverplus = | 930 | lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + |
810 | le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncOffset); | 931 | le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncOffset); |
811 | lvds->native_mode.hsync_width = | 932 | lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + |
812 | le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncWidth); | 933 | le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncWidth); |
813 | lvds->native_mode.vblank = | 934 | lvds->native_mode.vtotal = lvds->native_mode.vdisplay + |
814 | le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time); | 935 | le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time); |
815 | lvds->native_mode.voverplus = | 936 | lvds->native_mode.vsync_start = lvds->native_mode.vdisplay + |
816 | le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset); | 937 | le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth); |
817 | lvds->native_mode.vsync_width = | 938 | lvds->native_mode.vsync_end = lvds->native_mode.vsync_start + |
818 | le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth); | 939 | le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth); |
819 | lvds->panel_pwr_delay = | 940 | lvds->panel_pwr_delay = |
820 | le16_to_cpu(lvds_info->info.usOffDelayInMs); | 941 | le16_to_cpu(lvds_info->info.usOffDelayInMs); |
821 | lvds->lvds_misc = lvds_info->info.ucLVDS_Misc; | 942 | lvds->lvds_misc = lvds_info->info.ucLVDS_Misc; |
943 | /* set crtc values */ | ||
944 | drm_mode_set_crtcinfo(&lvds->native_mode, CRTC_INTERLACE_HALVE_V); | ||
945 | |||
946 | lvds->ss = radeon_atombios_get_ss_info(encoder, lvds_info->info.ucSS_Id); | ||
822 | 947 | ||
823 | encoder->native_mode = lvds->native_mode; | 948 | encoder->native_mode = lvds->native_mode; |
824 | } | 949 | } |
@@ -857,8 +982,7 @@ radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) | |||
857 | } | 982 | } |
858 | 983 | ||
859 | bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | 984 | bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, |
860 | SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION *crtc_timing, | 985 | struct drm_display_mode *mode) |
861 | int32_t *pixel_clock) | ||
862 | { | 986 | { |
863 | struct radeon_mode_info *mode_info = &rdev->mode_info; | 987 | struct radeon_mode_info *mode_info = &rdev->mode_info; |
864 | ATOM_ANALOG_TV_INFO *tv_info; | 988 | ATOM_ANALOG_TV_INFO *tv_info; |
@@ -866,7 +990,7 @@ bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | |||
866 | ATOM_DTD_FORMAT *dtd_timings; | 990 | ATOM_DTD_FORMAT *dtd_timings; |
867 | int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); | 991 | int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); |
868 | u8 frev, crev; | 992 | u8 frev, crev; |
869 | uint16_t data_offset; | 993 | u16 data_offset, misc; |
870 | 994 | ||
871 | atom_parse_data_header(mode_info->atom_context, data_index, NULL, &frev, &crev, &data_offset); | 995 | atom_parse_data_header(mode_info->atom_context, data_index, NULL, &frev, &crev, &data_offset); |
872 | 996 | ||
@@ -876,28 +1000,37 @@ bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | |||
876 | if (index > MAX_SUPPORTED_TV_TIMING) | 1000 | if (index > MAX_SUPPORTED_TV_TIMING) |
877 | return false; | 1001 | return false; |
878 | 1002 | ||
879 | crtc_timing->usH_Total = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Total); | 1003 | mode->crtc_htotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Total); |
880 | crtc_timing->usH_Disp = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Disp); | 1004 | mode->crtc_hdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Disp); |
881 | crtc_timing->usH_SyncStart = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncStart); | 1005 | mode->crtc_hsync_start = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncStart); |
882 | crtc_timing->usH_SyncWidth = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncWidth); | 1006 | mode->crtc_hsync_end = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncStart) + |
883 | 1007 | le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncWidth); | |
884 | crtc_timing->usV_Total = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Total); | 1008 | |
885 | crtc_timing->usV_Disp = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Disp); | 1009 | mode->crtc_vtotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Total); |
886 | crtc_timing->usV_SyncStart = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncStart); | 1010 | mode->crtc_vdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Disp); |
887 | crtc_timing->usV_SyncWidth = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncWidth); | 1011 | mode->crtc_vsync_start = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncStart); |
888 | 1012 | mode->crtc_vsync_end = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncStart) + | |
889 | crtc_timing->susModeMiscInfo = tv_info->aModeTimings[index].susModeMiscInfo; | 1013 | le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncWidth); |
890 | 1014 | ||
891 | crtc_timing->ucOverscanRight = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_OverscanRight); | 1015 | mode->flags = 0; |
892 | crtc_timing->ucOverscanLeft = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_OverscanLeft); | 1016 | misc = le16_to_cpu(tv_info->aModeTimings[index].susModeMiscInfo.usAccess); |
893 | crtc_timing->ucOverscanBottom = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_OverscanBottom); | 1017 | if (misc & ATOM_VSYNC_POLARITY) |
894 | crtc_timing->ucOverscanTop = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_OverscanTop); | 1018 | mode->flags |= DRM_MODE_FLAG_NVSYNC; |
895 | *pixel_clock = le16_to_cpu(tv_info->aModeTimings[index].usPixelClock) * 10; | 1019 | if (misc & ATOM_HSYNC_POLARITY) |
1020 | mode->flags |= DRM_MODE_FLAG_NHSYNC; | ||
1021 | if (misc & ATOM_COMPOSITESYNC) | ||
1022 | mode->flags |= DRM_MODE_FLAG_CSYNC; | ||
1023 | if (misc & ATOM_INTERLACE) | ||
1024 | mode->flags |= DRM_MODE_FLAG_INTERLACE; | ||
1025 | if (misc & ATOM_DOUBLE_CLOCK_MODE) | ||
1026 | mode->flags |= DRM_MODE_FLAG_DBLSCAN; | ||
1027 | |||
1028 | mode->clock = le16_to_cpu(tv_info->aModeTimings[index].usPixelClock) * 10; | ||
896 | 1029 | ||
897 | if (index == 1) { | 1030 | if (index == 1) { |
898 | /* PAL timings appear to have wrong values for totals */ | 1031 | /* PAL timings appear to have wrong values for totals */ |
899 | crtc_timing->usH_Total -= 1; | 1032 | mode->crtc_htotal -= 1; |
900 | crtc_timing->usV_Total -= 1; | 1033 | mode->crtc_vtotal -= 1; |
901 | } | 1034 | } |
902 | break; | 1035 | break; |
903 | case 2: | 1036 | case 2: |
@@ -906,17 +1039,36 @@ bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | |||
906 | return false; | 1039 | return false; |
907 | 1040 | ||
908 | dtd_timings = &tv_info_v1_2->aModeTimings[index]; | 1041 | dtd_timings = &tv_info_v1_2->aModeTimings[index]; |
909 | crtc_timing->usH_Total = le16_to_cpu(dtd_timings->usHActive) + le16_to_cpu(dtd_timings->usHBlanking_Time); | 1042 | mode->crtc_htotal = le16_to_cpu(dtd_timings->usHActive) + |
910 | crtc_timing->usH_Disp = le16_to_cpu(dtd_timings->usHActive); | 1043 | le16_to_cpu(dtd_timings->usHBlanking_Time); |
911 | crtc_timing->usH_SyncStart = le16_to_cpu(dtd_timings->usHActive) + le16_to_cpu(dtd_timings->usHSyncOffset); | 1044 | mode->crtc_hdisplay = le16_to_cpu(dtd_timings->usHActive); |
912 | crtc_timing->usH_SyncWidth = le16_to_cpu(dtd_timings->usHSyncWidth); | 1045 | mode->crtc_hsync_start = le16_to_cpu(dtd_timings->usHActive) + |
913 | crtc_timing->usV_Total = le16_to_cpu(dtd_timings->usVActive) + le16_to_cpu(dtd_timings->usVBlanking_Time); | 1046 | le16_to_cpu(dtd_timings->usHSyncOffset); |
914 | crtc_timing->usV_Disp = le16_to_cpu(dtd_timings->usVActive); | 1047 | mode->crtc_hsync_end = mode->crtc_hsync_start + |
915 | crtc_timing->usV_SyncStart = le16_to_cpu(dtd_timings->usVActive) + le16_to_cpu(dtd_timings->usVSyncOffset); | 1048 | le16_to_cpu(dtd_timings->usHSyncWidth); |
916 | crtc_timing->usV_SyncWidth = le16_to_cpu(dtd_timings->usVSyncWidth); | 1049 | |
917 | 1050 | mode->crtc_vtotal = le16_to_cpu(dtd_timings->usVActive) + | |
918 | crtc_timing->susModeMiscInfo.usAccess = le16_to_cpu(dtd_timings->susModeMiscInfo.usAccess); | 1051 | le16_to_cpu(dtd_timings->usVBlanking_Time); |
919 | *pixel_clock = le16_to_cpu(dtd_timings->usPixClk) * 10; | 1052 | mode->crtc_vdisplay = le16_to_cpu(dtd_timings->usVActive); |
1053 | mode->crtc_vsync_start = le16_to_cpu(dtd_timings->usVActive) + | ||
1054 | le16_to_cpu(dtd_timings->usVSyncOffset); | ||
1055 | mode->crtc_vsync_end = mode->crtc_vsync_start + | ||
1056 | le16_to_cpu(dtd_timings->usVSyncWidth); | ||
1057 | |||
1058 | mode->flags = 0; | ||
1059 | misc = le16_to_cpu(dtd_timings->susModeMiscInfo.usAccess); | ||
1060 | if (misc & ATOM_VSYNC_POLARITY) | ||
1061 | mode->flags |= DRM_MODE_FLAG_NVSYNC; | ||
1062 | if (misc & ATOM_HSYNC_POLARITY) | ||
1063 | mode->flags |= DRM_MODE_FLAG_NHSYNC; | ||
1064 | if (misc & ATOM_COMPOSITESYNC) | ||
1065 | mode->flags |= DRM_MODE_FLAG_CSYNC; | ||
1066 | if (misc & ATOM_INTERLACE) | ||
1067 | mode->flags |= DRM_MODE_FLAG_INTERLACE; | ||
1068 | if (misc & ATOM_DOUBLE_CLOCK_MODE) | ||
1069 | mode->flags |= DRM_MODE_FLAG_DBLSCAN; | ||
1070 | |||
1071 | mode->clock = le16_to_cpu(dtd_timings->usPixClk) * 10; | ||
920 | break; | 1072 | break; |
921 | } | 1073 | } |
922 | return true; | 1074 | return true; |
@@ -981,6 +1133,24 @@ void radeon_atom_static_pwrmgt_setup(struct radeon_device *rdev, int enable) | |||
981 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); | 1133 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); |
982 | } | 1134 | } |
983 | 1135 | ||
1136 | uint32_t radeon_atom_get_engine_clock(struct radeon_device *rdev) | ||
1137 | { | ||
1138 | GET_ENGINE_CLOCK_PS_ALLOCATION args; | ||
1139 | int index = GetIndexIntoMasterTable(COMMAND, GetEngineClock); | ||
1140 | |||
1141 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); | ||
1142 | return args.ulReturnEngineClock; | ||
1143 | } | ||
1144 | |||
1145 | uint32_t radeon_atom_get_memory_clock(struct radeon_device *rdev) | ||
1146 | { | ||
1147 | GET_MEMORY_CLOCK_PS_ALLOCATION args; | ||
1148 | int index = GetIndexIntoMasterTable(COMMAND, GetMemoryClock); | ||
1149 | |||
1150 | atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); | ||
1151 | return args.ulReturnMemoryClock; | ||
1152 | } | ||
1153 | |||
984 | void radeon_atom_set_engine_clock(struct radeon_device *rdev, | 1154 | void radeon_atom_set_engine_clock(struct radeon_device *rdev, |
985 | uint32_t eng_clock) | 1155 | uint32_t eng_clock) |
986 | { | 1156 | { |
diff --git a/drivers/gpu/drm/radeon/radeon_benchmark.c b/drivers/gpu/drm/radeon/radeon_benchmark.c index 2e938f7496fb..10bd50a7db87 100644 --- a/drivers/gpu/drm/radeon/radeon_benchmark.c +++ b/drivers/gpu/drm/radeon/radeon_benchmark.c | |||
@@ -63,7 +63,7 @@ void radeon_benchmark_move(struct radeon_device *rdev, unsigned bsize, | |||
63 | if (r) { | 63 | if (r) { |
64 | goto out_cleanup; | 64 | goto out_cleanup; |
65 | } | 65 | } |
66 | r = radeon_copy_dma(rdev, saddr, daddr, size / 4096, fence); | 66 | r = radeon_copy_dma(rdev, saddr, daddr, size / RADEON_GPU_PAGE_SIZE, fence); |
67 | if (r) { | 67 | if (r) { |
68 | goto out_cleanup; | 68 | goto out_cleanup; |
69 | } | 69 | } |
@@ -88,7 +88,7 @@ void radeon_benchmark_move(struct radeon_device *rdev, unsigned bsize, | |||
88 | if (r) { | 88 | if (r) { |
89 | goto out_cleanup; | 89 | goto out_cleanup; |
90 | } | 90 | } |
91 | r = radeon_copy_blit(rdev, saddr, daddr, size / 4096, fence); | 91 | r = radeon_copy_blit(rdev, saddr, daddr, size / RADEON_GPU_PAGE_SIZE, fence); |
92 | if (r) { | 92 | if (r) { |
93 | goto out_cleanup; | 93 | goto out_cleanup; |
94 | } | 94 | } |
diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 34a9b9119518..906921740c60 100644 --- a/drivers/gpu/drm/radeon/radeon_bios.c +++ b/drivers/gpu/drm/radeon/radeon_bios.c | |||
@@ -50,19 +50,16 @@ static bool igp_read_bios_from_vram(struct radeon_device *rdev) | |||
50 | vram_base = drm_get_resource_start(rdev->ddev, 0); | 50 | vram_base = drm_get_resource_start(rdev->ddev, 0); |
51 | bios = ioremap(vram_base, size); | 51 | bios = ioremap(vram_base, size); |
52 | if (!bios) { | 52 | if (!bios) { |
53 | DRM_ERROR("Unable to mmap vram\n"); | ||
54 | return false; | 53 | return false; |
55 | } | 54 | } |
56 | 55 | ||
57 | if (size == 0 || bios[0] != 0x55 || bios[1] != 0xaa) { | 56 | if (size == 0 || bios[0] != 0x55 || bios[1] != 0xaa) { |
58 | iounmap(bios); | 57 | iounmap(bios); |
59 | DRM_ERROR("bad rom signature\n"); | ||
60 | return false; | 58 | return false; |
61 | } | 59 | } |
62 | rdev->bios = kmalloc(size, GFP_KERNEL); | 60 | rdev->bios = kmalloc(size, GFP_KERNEL); |
63 | if (rdev->bios == NULL) { | 61 | if (rdev->bios == NULL) { |
64 | iounmap(bios); | 62 | iounmap(bios); |
65 | DRM_ERROR("kmalloc failed\n"); | ||
66 | return false; | 63 | return false; |
67 | } | 64 | } |
68 | memcpy(rdev->bios, bios, size); | 65 | memcpy(rdev->bios, bios, size); |
diff --git a/drivers/gpu/drm/radeon/radeon_clocks.c b/drivers/gpu/drm/radeon/radeon_clocks.c index f5c32a766b10..a81354167621 100644 --- a/drivers/gpu/drm/radeon/radeon_clocks.c +++ b/drivers/gpu/drm/radeon/radeon_clocks.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "atom.h" | 32 | #include "atom.h" |
33 | 33 | ||
34 | /* 10 khz */ | 34 | /* 10 khz */ |
35 | static uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev) | 35 | uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev) |
36 | { | 36 | { |
37 | struct radeon_pll *spll = &rdev->clock.spll; | 37 | struct radeon_pll *spll = &rdev->clock.spll; |
38 | uint32_t fb_div, ref_div, post_div, sclk; | 38 | uint32_t fb_div, ref_div, post_div, sclk; |
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index 748265a105b3..5253cbf6db1f 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c | |||
@@ -49,7 +49,8 @@ radeon_add_legacy_connector(struct drm_device *dev, | |||
49 | uint32_t connector_id, | 49 | uint32_t connector_id, |
50 | uint32_t supported_device, | 50 | uint32_t supported_device, |
51 | int connector_type, | 51 | int connector_type, |
52 | struct radeon_i2c_bus_rec *i2c_bus); | 52 | struct radeon_i2c_bus_rec *i2c_bus, |
53 | uint16_t connector_object_id); | ||
53 | 54 | ||
54 | /* from radeon_legacy_encoder.c */ | 55 | /* from radeon_legacy_encoder.c */ |
55 | extern void | 56 | extern void |
@@ -808,25 +809,25 @@ static struct radeon_encoder_lvds *radeon_legacy_get_lvds_info_from_regs(struct | |||
808 | lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; | 809 | lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; |
809 | 810 | ||
810 | if (fp_vert_stretch & RADEON_VERT_STRETCH_ENABLE) | 811 | if (fp_vert_stretch & RADEON_VERT_STRETCH_ENABLE) |
811 | lvds->native_mode.panel_yres = | 812 | lvds->native_mode.vdisplay = |
812 | ((fp_vert_stretch & RADEON_VERT_PANEL_SIZE) >> | 813 | ((fp_vert_stretch & RADEON_VERT_PANEL_SIZE) >> |
813 | RADEON_VERT_PANEL_SHIFT) + 1; | 814 | RADEON_VERT_PANEL_SHIFT) + 1; |
814 | else | 815 | else |
815 | lvds->native_mode.panel_yres = | 816 | lvds->native_mode.vdisplay = |
816 | (RREG32(RADEON_CRTC_V_TOTAL_DISP) >> 16) + 1; | 817 | (RREG32(RADEON_CRTC_V_TOTAL_DISP) >> 16) + 1; |
817 | 818 | ||
818 | if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) | 819 | if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) |
819 | lvds->native_mode.panel_xres = | 820 | lvds->native_mode.hdisplay = |
820 | (((fp_horz_stretch & RADEON_HORZ_PANEL_SIZE) >> | 821 | (((fp_horz_stretch & RADEON_HORZ_PANEL_SIZE) >> |
821 | RADEON_HORZ_PANEL_SHIFT) + 1) * 8; | 822 | RADEON_HORZ_PANEL_SHIFT) + 1) * 8; |
822 | else | 823 | else |
823 | lvds->native_mode.panel_xres = | 824 | lvds->native_mode.hdisplay = |
824 | ((RREG32(RADEON_CRTC_H_TOTAL_DISP) >> 16) + 1) * 8; | 825 | ((RREG32(RADEON_CRTC_H_TOTAL_DISP) >> 16) + 1) * 8; |
825 | 826 | ||
826 | if ((lvds->native_mode.panel_xres < 640) || | 827 | if ((lvds->native_mode.hdisplay < 640) || |
827 | (lvds->native_mode.panel_yres < 480)) { | 828 | (lvds->native_mode.vdisplay < 480)) { |
828 | lvds->native_mode.panel_xres = 640; | 829 | lvds->native_mode.hdisplay = 640; |
829 | lvds->native_mode.panel_yres = 480; | 830 | lvds->native_mode.vdisplay = 480; |
830 | } | 831 | } |
831 | 832 | ||
832 | ppll_div_sel = RREG8(RADEON_CLOCK_CNTL_INDEX + 1) & 0x3; | 833 | ppll_div_sel = RREG8(RADEON_CLOCK_CNTL_INDEX + 1) & 0x3; |
@@ -846,8 +847,8 @@ static struct radeon_encoder_lvds *radeon_legacy_get_lvds_info_from_regs(struct | |||
846 | lvds->panel_vcc_delay = 200; | 847 | lvds->panel_vcc_delay = 200; |
847 | 848 | ||
848 | DRM_INFO("Panel info derived from registers\n"); | 849 | DRM_INFO("Panel info derived from registers\n"); |
849 | DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.panel_xres, | 850 | DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.hdisplay, |
850 | lvds->native_mode.panel_yres); | 851 | lvds->native_mode.vdisplay); |
851 | 852 | ||
852 | return lvds; | 853 | return lvds; |
853 | } | 854 | } |
@@ -882,11 +883,11 @@ struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder | |||
882 | 883 | ||
883 | DRM_INFO("Panel ID String: %s\n", stmp); | 884 | DRM_INFO("Panel ID String: %s\n", stmp); |
884 | 885 | ||
885 | lvds->native_mode.panel_xres = RBIOS16(lcd_info + 0x19); | 886 | lvds->native_mode.hdisplay = RBIOS16(lcd_info + 0x19); |
886 | lvds->native_mode.panel_yres = RBIOS16(lcd_info + 0x1b); | 887 | lvds->native_mode.vdisplay = RBIOS16(lcd_info + 0x1b); |
887 | 888 | ||
888 | DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.panel_xres, | 889 | DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.hdisplay, |
889 | lvds->native_mode.panel_yres); | 890 | lvds->native_mode.vdisplay); |
890 | 891 | ||
891 | lvds->panel_vcc_delay = RBIOS16(lcd_info + 0x2c); | 892 | lvds->panel_vcc_delay = RBIOS16(lcd_info + 0x2c); |
892 | if (lvds->panel_vcc_delay > 2000 || lvds->panel_vcc_delay < 0) | 893 | if (lvds->panel_vcc_delay > 2000 || lvds->panel_vcc_delay < 0) |
@@ -944,27 +945,25 @@ struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder | |||
944 | if (tmp == 0) | 945 | if (tmp == 0) |
945 | break; | 946 | break; |
946 | 947 | ||
947 | if ((RBIOS16(tmp) == lvds->native_mode.panel_xres) && | 948 | if ((RBIOS16(tmp) == lvds->native_mode.hdisplay) && |
948 | (RBIOS16(tmp + 2) == | 949 | (RBIOS16(tmp + 2) == |
949 | lvds->native_mode.panel_yres)) { | 950 | lvds->native_mode.vdisplay)) { |
950 | lvds->native_mode.hblank = | 951 | lvds->native_mode.htotal = RBIOS16(tmp + 17) * 8; |
951 | (RBIOS16(tmp + 17) - RBIOS16(tmp + 19)) * 8; | 952 | lvds->native_mode.hsync_start = RBIOS16(tmp + 21) * 8; |
952 | lvds->native_mode.hoverplus = | 953 | lvds->native_mode.hsync_end = (RBIOS8(tmp + 23) + |
953 | (RBIOS16(tmp + 21) - RBIOS16(tmp + 19) - | 954 | RBIOS16(tmp + 21)) * 8; |
954 | 1) * 8; | 955 | |
955 | lvds->native_mode.hsync_width = | 956 | lvds->native_mode.vtotal = RBIOS16(tmp + 24); |
956 | RBIOS8(tmp + 23) * 8; | 957 | lvds->native_mode.vsync_start = RBIOS16(tmp + 28) & 0x7ff; |
957 | 958 | lvds->native_mode.vsync_end = | |
958 | lvds->native_mode.vblank = (RBIOS16(tmp + 24) - | 959 | ((RBIOS16(tmp + 28) & 0xf800) >> 11) + |
959 | RBIOS16(tmp + 26)); | 960 | (RBIOS16(tmp + 28) & 0x7ff); |
960 | lvds->native_mode.voverplus = | 961 | |
961 | ((RBIOS16(tmp + 28) & 0x7ff) - | 962 | lvds->native_mode.clock = RBIOS16(tmp + 9) * 10; |
962 | RBIOS16(tmp + 26)); | ||
963 | lvds->native_mode.vsync_width = | ||
964 | ((RBIOS16(tmp + 28) & 0xf800) >> 11); | ||
965 | lvds->native_mode.dotclock = | ||
966 | RBIOS16(tmp + 9) * 10; | ||
967 | lvds->native_mode.flags = 0; | 963 | lvds->native_mode.flags = 0; |
964 | /* set crtc values */ | ||
965 | drm_mode_set_crtcinfo(&lvds->native_mode, CRTC_INTERLACE_HALVE_V); | ||
966 | |||
968 | } | 967 | } |
969 | } | 968 | } |
970 | } else { | 969 | } else { |
@@ -1178,7 +1177,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1178 | radeon_add_legacy_connector(dev, 0, | 1177 | radeon_add_legacy_connector(dev, 0, |
1179 | ATOM_DEVICE_CRT1_SUPPORT, | 1178 | ATOM_DEVICE_CRT1_SUPPORT, |
1180 | DRM_MODE_CONNECTOR_VGA, | 1179 | DRM_MODE_CONNECTOR_VGA, |
1181 | &ddc_i2c); | 1180 | &ddc_i2c, |
1181 | CONNECTOR_OBJECT_ID_VGA); | ||
1182 | } else if (rdev->flags & RADEON_IS_MOBILITY) { | 1182 | } else if (rdev->flags & RADEON_IS_MOBILITY) { |
1183 | /* LVDS */ | 1183 | /* LVDS */ |
1184 | ddc_i2c = combios_setup_i2c_bus(RADEON_LCD_GPIO_MASK); | 1184 | ddc_i2c = combios_setup_i2c_bus(RADEON_LCD_GPIO_MASK); |
@@ -1190,7 +1190,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1190 | radeon_add_legacy_connector(dev, 0, | 1190 | radeon_add_legacy_connector(dev, 0, |
1191 | ATOM_DEVICE_LCD1_SUPPORT, | 1191 | ATOM_DEVICE_LCD1_SUPPORT, |
1192 | DRM_MODE_CONNECTOR_LVDS, | 1192 | DRM_MODE_CONNECTOR_LVDS, |
1193 | &ddc_i2c); | 1193 | &ddc_i2c, |
1194 | CONNECTOR_OBJECT_ID_LVDS); | ||
1194 | 1195 | ||
1195 | /* VGA - primary dac */ | 1196 | /* VGA - primary dac */ |
1196 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1197 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
@@ -1202,7 +1203,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1202 | radeon_add_legacy_connector(dev, 1, | 1203 | radeon_add_legacy_connector(dev, 1, |
1203 | ATOM_DEVICE_CRT1_SUPPORT, | 1204 | ATOM_DEVICE_CRT1_SUPPORT, |
1204 | DRM_MODE_CONNECTOR_VGA, | 1205 | DRM_MODE_CONNECTOR_VGA, |
1205 | &ddc_i2c); | 1206 | &ddc_i2c, |
1207 | CONNECTOR_OBJECT_ID_VGA); | ||
1206 | } else { | 1208 | } else { |
1207 | /* DVI-I - tv dac, int tmds */ | 1209 | /* DVI-I - tv dac, int tmds */ |
1208 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_DVI_DDC); | 1210 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_DVI_DDC); |
@@ -1220,7 +1222,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1220 | ATOM_DEVICE_DFP1_SUPPORT | | 1222 | ATOM_DEVICE_DFP1_SUPPORT | |
1221 | ATOM_DEVICE_CRT2_SUPPORT, | 1223 | ATOM_DEVICE_CRT2_SUPPORT, |
1222 | DRM_MODE_CONNECTOR_DVII, | 1224 | DRM_MODE_CONNECTOR_DVII, |
1223 | &ddc_i2c); | 1225 | &ddc_i2c, |
1226 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I); | ||
1224 | 1227 | ||
1225 | /* VGA - primary dac */ | 1228 | /* VGA - primary dac */ |
1226 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1229 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
@@ -1232,7 +1235,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1232 | radeon_add_legacy_connector(dev, 1, | 1235 | radeon_add_legacy_connector(dev, 1, |
1233 | ATOM_DEVICE_CRT1_SUPPORT, | 1236 | ATOM_DEVICE_CRT1_SUPPORT, |
1234 | DRM_MODE_CONNECTOR_VGA, | 1237 | DRM_MODE_CONNECTOR_VGA, |
1235 | &ddc_i2c); | 1238 | &ddc_i2c, |
1239 | CONNECTOR_OBJECT_ID_VGA); | ||
1236 | } | 1240 | } |
1237 | 1241 | ||
1238 | if (rdev->family != CHIP_R100 && rdev->family != CHIP_R200) { | 1242 | if (rdev->family != CHIP_R100 && rdev->family != CHIP_R200) { |
@@ -1245,7 +1249,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1245 | radeon_add_legacy_connector(dev, 2, | 1249 | radeon_add_legacy_connector(dev, 2, |
1246 | ATOM_DEVICE_TV1_SUPPORT, | 1250 | ATOM_DEVICE_TV1_SUPPORT, |
1247 | DRM_MODE_CONNECTOR_SVIDEO, | 1251 | DRM_MODE_CONNECTOR_SVIDEO, |
1248 | &ddc_i2c); | 1252 | &ddc_i2c, |
1253 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1249 | } | 1254 | } |
1250 | break; | 1255 | break; |
1251 | case CT_IBOOK: | 1256 | case CT_IBOOK: |
@@ -1259,7 +1264,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1259 | 0), | 1264 | 0), |
1260 | ATOM_DEVICE_LCD1_SUPPORT); | 1265 | ATOM_DEVICE_LCD1_SUPPORT); |
1261 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, | 1266 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, |
1262 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c); | 1267 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c, |
1268 | CONNECTOR_OBJECT_ID_LVDS); | ||
1263 | /* VGA - TV DAC */ | 1269 | /* VGA - TV DAC */ |
1264 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1270 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
1265 | radeon_add_legacy_encoder(dev, | 1271 | radeon_add_legacy_encoder(dev, |
@@ -1268,7 +1274,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1268 | 2), | 1274 | 2), |
1269 | ATOM_DEVICE_CRT2_SUPPORT); | 1275 | ATOM_DEVICE_CRT2_SUPPORT); |
1270 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, | 1276 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, |
1271 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c); | 1277 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c, |
1278 | CONNECTOR_OBJECT_ID_VGA); | ||
1272 | /* TV - TV DAC */ | 1279 | /* TV - TV DAC */ |
1273 | radeon_add_legacy_encoder(dev, | 1280 | radeon_add_legacy_encoder(dev, |
1274 | radeon_get_encoder_id(dev, | 1281 | radeon_get_encoder_id(dev, |
@@ -1277,7 +1284,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1277 | ATOM_DEVICE_TV1_SUPPORT); | 1284 | ATOM_DEVICE_TV1_SUPPORT); |
1278 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1285 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1279 | DRM_MODE_CONNECTOR_SVIDEO, | 1286 | DRM_MODE_CONNECTOR_SVIDEO, |
1280 | &ddc_i2c); | 1287 | &ddc_i2c, |
1288 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1281 | break; | 1289 | break; |
1282 | case CT_POWERBOOK_EXTERNAL: | 1290 | case CT_POWERBOOK_EXTERNAL: |
1283 | DRM_INFO("Connector Table: %d (powerbook external tmds)\n", | 1291 | DRM_INFO("Connector Table: %d (powerbook external tmds)\n", |
@@ -1290,7 +1298,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1290 | 0), | 1298 | 0), |
1291 | ATOM_DEVICE_LCD1_SUPPORT); | 1299 | ATOM_DEVICE_LCD1_SUPPORT); |
1292 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, | 1300 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, |
1293 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c); | 1301 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c, |
1302 | CONNECTOR_OBJECT_ID_LVDS); | ||
1294 | /* DVI-I - primary dac, ext tmds */ | 1303 | /* DVI-I - primary dac, ext tmds */ |
1295 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1304 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
1296 | radeon_add_legacy_encoder(dev, | 1305 | radeon_add_legacy_encoder(dev, |
@@ -1303,10 +1312,12 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1303 | ATOM_DEVICE_CRT1_SUPPORT, | 1312 | ATOM_DEVICE_CRT1_SUPPORT, |
1304 | 1), | 1313 | 1), |
1305 | ATOM_DEVICE_CRT1_SUPPORT); | 1314 | ATOM_DEVICE_CRT1_SUPPORT); |
1315 | /* XXX some are SL */ | ||
1306 | radeon_add_legacy_connector(dev, 1, | 1316 | radeon_add_legacy_connector(dev, 1, |
1307 | ATOM_DEVICE_DFP2_SUPPORT | | 1317 | ATOM_DEVICE_DFP2_SUPPORT | |
1308 | ATOM_DEVICE_CRT1_SUPPORT, | 1318 | ATOM_DEVICE_CRT1_SUPPORT, |
1309 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c); | 1319 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c, |
1320 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I); | ||
1310 | /* TV - TV DAC */ | 1321 | /* TV - TV DAC */ |
1311 | radeon_add_legacy_encoder(dev, | 1322 | radeon_add_legacy_encoder(dev, |
1312 | radeon_get_encoder_id(dev, | 1323 | radeon_get_encoder_id(dev, |
@@ -1315,7 +1326,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1315 | ATOM_DEVICE_TV1_SUPPORT); | 1326 | ATOM_DEVICE_TV1_SUPPORT); |
1316 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1327 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1317 | DRM_MODE_CONNECTOR_SVIDEO, | 1328 | DRM_MODE_CONNECTOR_SVIDEO, |
1318 | &ddc_i2c); | 1329 | &ddc_i2c, |
1330 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1319 | break; | 1331 | break; |
1320 | case CT_POWERBOOK_INTERNAL: | 1332 | case CT_POWERBOOK_INTERNAL: |
1321 | DRM_INFO("Connector Table: %d (powerbook internal tmds)\n", | 1333 | DRM_INFO("Connector Table: %d (powerbook internal tmds)\n", |
@@ -1328,7 +1340,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1328 | 0), | 1340 | 0), |
1329 | ATOM_DEVICE_LCD1_SUPPORT); | 1341 | ATOM_DEVICE_LCD1_SUPPORT); |
1330 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, | 1342 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, |
1331 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c); | 1343 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c, |
1344 | CONNECTOR_OBJECT_ID_LVDS); | ||
1332 | /* DVI-I - primary dac, int tmds */ | 1345 | /* DVI-I - primary dac, int tmds */ |
1333 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1346 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
1334 | radeon_add_legacy_encoder(dev, | 1347 | radeon_add_legacy_encoder(dev, |
@@ -1344,7 +1357,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1344 | radeon_add_legacy_connector(dev, 1, | 1357 | radeon_add_legacy_connector(dev, 1, |
1345 | ATOM_DEVICE_DFP1_SUPPORT | | 1358 | ATOM_DEVICE_DFP1_SUPPORT | |
1346 | ATOM_DEVICE_CRT1_SUPPORT, | 1359 | ATOM_DEVICE_CRT1_SUPPORT, |
1347 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c); | 1360 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c, |
1361 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I); | ||
1348 | /* TV - TV DAC */ | 1362 | /* TV - TV DAC */ |
1349 | radeon_add_legacy_encoder(dev, | 1363 | radeon_add_legacy_encoder(dev, |
1350 | radeon_get_encoder_id(dev, | 1364 | radeon_get_encoder_id(dev, |
@@ -1353,7 +1367,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1353 | ATOM_DEVICE_TV1_SUPPORT); | 1367 | ATOM_DEVICE_TV1_SUPPORT); |
1354 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1368 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1355 | DRM_MODE_CONNECTOR_SVIDEO, | 1369 | DRM_MODE_CONNECTOR_SVIDEO, |
1356 | &ddc_i2c); | 1370 | &ddc_i2c, |
1371 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1357 | break; | 1372 | break; |
1358 | case CT_POWERBOOK_VGA: | 1373 | case CT_POWERBOOK_VGA: |
1359 | DRM_INFO("Connector Table: %d (powerbook vga)\n", | 1374 | DRM_INFO("Connector Table: %d (powerbook vga)\n", |
@@ -1366,7 +1381,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1366 | 0), | 1381 | 0), |
1367 | ATOM_DEVICE_LCD1_SUPPORT); | 1382 | ATOM_DEVICE_LCD1_SUPPORT); |
1368 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, | 1383 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_LCD1_SUPPORT, |
1369 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c); | 1384 | DRM_MODE_CONNECTOR_LVDS, &ddc_i2c, |
1385 | CONNECTOR_OBJECT_ID_LVDS); | ||
1370 | /* VGA - primary dac */ | 1386 | /* VGA - primary dac */ |
1371 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | 1387 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); |
1372 | radeon_add_legacy_encoder(dev, | 1388 | radeon_add_legacy_encoder(dev, |
@@ -1375,7 +1391,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1375 | 1), | 1391 | 1), |
1376 | ATOM_DEVICE_CRT1_SUPPORT); | 1392 | ATOM_DEVICE_CRT1_SUPPORT); |
1377 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT1_SUPPORT, | 1393 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT1_SUPPORT, |
1378 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c); | 1394 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c, |
1395 | CONNECTOR_OBJECT_ID_VGA); | ||
1379 | /* TV - TV DAC */ | 1396 | /* TV - TV DAC */ |
1380 | radeon_add_legacy_encoder(dev, | 1397 | radeon_add_legacy_encoder(dev, |
1381 | radeon_get_encoder_id(dev, | 1398 | radeon_get_encoder_id(dev, |
@@ -1384,7 +1401,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1384 | ATOM_DEVICE_TV1_SUPPORT); | 1401 | ATOM_DEVICE_TV1_SUPPORT); |
1385 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1402 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1386 | DRM_MODE_CONNECTOR_SVIDEO, | 1403 | DRM_MODE_CONNECTOR_SVIDEO, |
1387 | &ddc_i2c); | 1404 | &ddc_i2c, |
1405 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1388 | break; | 1406 | break; |
1389 | case CT_MINI_EXTERNAL: | 1407 | case CT_MINI_EXTERNAL: |
1390 | DRM_INFO("Connector Table: %d (mini external tmds)\n", | 1408 | DRM_INFO("Connector Table: %d (mini external tmds)\n", |
@@ -1401,10 +1419,12 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1401 | ATOM_DEVICE_CRT2_SUPPORT, | 1419 | ATOM_DEVICE_CRT2_SUPPORT, |
1402 | 2), | 1420 | 2), |
1403 | ATOM_DEVICE_CRT2_SUPPORT); | 1421 | ATOM_DEVICE_CRT2_SUPPORT); |
1422 | /* XXX are any DL? */ | ||
1404 | radeon_add_legacy_connector(dev, 0, | 1423 | radeon_add_legacy_connector(dev, 0, |
1405 | ATOM_DEVICE_DFP2_SUPPORT | | 1424 | ATOM_DEVICE_DFP2_SUPPORT | |
1406 | ATOM_DEVICE_CRT2_SUPPORT, | 1425 | ATOM_DEVICE_CRT2_SUPPORT, |
1407 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c); | 1426 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c, |
1427 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I); | ||
1408 | /* TV - TV DAC */ | 1428 | /* TV - TV DAC */ |
1409 | radeon_add_legacy_encoder(dev, | 1429 | radeon_add_legacy_encoder(dev, |
1410 | radeon_get_encoder_id(dev, | 1430 | radeon_get_encoder_id(dev, |
@@ -1413,7 +1433,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1413 | ATOM_DEVICE_TV1_SUPPORT); | 1433 | ATOM_DEVICE_TV1_SUPPORT); |
1414 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_TV1_SUPPORT, | 1434 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_TV1_SUPPORT, |
1415 | DRM_MODE_CONNECTOR_SVIDEO, | 1435 | DRM_MODE_CONNECTOR_SVIDEO, |
1416 | &ddc_i2c); | 1436 | &ddc_i2c, |
1437 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1417 | break; | 1438 | break; |
1418 | case CT_MINI_INTERNAL: | 1439 | case CT_MINI_INTERNAL: |
1419 | DRM_INFO("Connector Table: %d (mini internal tmds)\n", | 1440 | DRM_INFO("Connector Table: %d (mini internal tmds)\n", |
@@ -1433,7 +1454,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1433 | radeon_add_legacy_connector(dev, 0, | 1454 | radeon_add_legacy_connector(dev, 0, |
1434 | ATOM_DEVICE_DFP1_SUPPORT | | 1455 | ATOM_DEVICE_DFP1_SUPPORT | |
1435 | ATOM_DEVICE_CRT2_SUPPORT, | 1456 | ATOM_DEVICE_CRT2_SUPPORT, |
1436 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c); | 1457 | DRM_MODE_CONNECTOR_DVII, &ddc_i2c, |
1458 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I); | ||
1437 | /* TV - TV DAC */ | 1459 | /* TV - TV DAC */ |
1438 | radeon_add_legacy_encoder(dev, | 1460 | radeon_add_legacy_encoder(dev, |
1439 | radeon_get_encoder_id(dev, | 1461 | radeon_get_encoder_id(dev, |
@@ -1442,7 +1464,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1442 | ATOM_DEVICE_TV1_SUPPORT); | 1464 | ATOM_DEVICE_TV1_SUPPORT); |
1443 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_TV1_SUPPORT, | 1465 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_TV1_SUPPORT, |
1444 | DRM_MODE_CONNECTOR_SVIDEO, | 1466 | DRM_MODE_CONNECTOR_SVIDEO, |
1445 | &ddc_i2c); | 1467 | &ddc_i2c, |
1468 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1446 | break; | 1469 | break; |
1447 | case CT_IMAC_G5_ISIGHT: | 1470 | case CT_IMAC_G5_ISIGHT: |
1448 | DRM_INFO("Connector Table: %d (imac g5 isight)\n", | 1471 | DRM_INFO("Connector Table: %d (imac g5 isight)\n", |
@@ -1455,7 +1478,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1455 | 0), | 1478 | 0), |
1456 | ATOM_DEVICE_DFP1_SUPPORT); | 1479 | ATOM_DEVICE_DFP1_SUPPORT); |
1457 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_DFP1_SUPPORT, | 1480 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_DFP1_SUPPORT, |
1458 | DRM_MODE_CONNECTOR_DVID, &ddc_i2c); | 1481 | DRM_MODE_CONNECTOR_DVID, &ddc_i2c, |
1482 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D); | ||
1459 | /* VGA - tv dac */ | 1483 | /* VGA - tv dac */ |
1460 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_DVI_DDC); | 1484 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_DVI_DDC); |
1461 | radeon_add_legacy_encoder(dev, | 1485 | radeon_add_legacy_encoder(dev, |
@@ -1464,7 +1488,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1464 | 2), | 1488 | 2), |
1465 | ATOM_DEVICE_CRT2_SUPPORT); | 1489 | ATOM_DEVICE_CRT2_SUPPORT); |
1466 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, | 1490 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, |
1467 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c); | 1491 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c, |
1492 | CONNECTOR_OBJECT_ID_VGA); | ||
1468 | /* TV - TV DAC */ | 1493 | /* TV - TV DAC */ |
1469 | radeon_add_legacy_encoder(dev, | 1494 | radeon_add_legacy_encoder(dev, |
1470 | radeon_get_encoder_id(dev, | 1495 | radeon_get_encoder_id(dev, |
@@ -1473,7 +1498,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1473 | ATOM_DEVICE_TV1_SUPPORT); | 1498 | ATOM_DEVICE_TV1_SUPPORT); |
1474 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1499 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1475 | DRM_MODE_CONNECTOR_SVIDEO, | 1500 | DRM_MODE_CONNECTOR_SVIDEO, |
1476 | &ddc_i2c); | 1501 | &ddc_i2c, |
1502 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1477 | break; | 1503 | break; |
1478 | case CT_EMAC: | 1504 | case CT_EMAC: |
1479 | DRM_INFO("Connector Table: %d (emac)\n", | 1505 | DRM_INFO("Connector Table: %d (emac)\n", |
@@ -1486,7 +1512,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1486 | 1), | 1512 | 1), |
1487 | ATOM_DEVICE_CRT1_SUPPORT); | 1513 | ATOM_DEVICE_CRT1_SUPPORT); |
1488 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_CRT1_SUPPORT, | 1514 | radeon_add_legacy_connector(dev, 0, ATOM_DEVICE_CRT1_SUPPORT, |
1489 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c); | 1515 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c, |
1516 | CONNECTOR_OBJECT_ID_VGA); | ||
1490 | /* VGA - tv dac */ | 1517 | /* VGA - tv dac */ |
1491 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_CRT2_DDC); | 1518 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_CRT2_DDC); |
1492 | radeon_add_legacy_encoder(dev, | 1519 | radeon_add_legacy_encoder(dev, |
@@ -1495,7 +1522,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1495 | 2), | 1522 | 2), |
1496 | ATOM_DEVICE_CRT2_SUPPORT); | 1523 | ATOM_DEVICE_CRT2_SUPPORT); |
1497 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, | 1524 | radeon_add_legacy_connector(dev, 1, ATOM_DEVICE_CRT2_SUPPORT, |
1498 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c); | 1525 | DRM_MODE_CONNECTOR_VGA, &ddc_i2c, |
1526 | CONNECTOR_OBJECT_ID_VGA); | ||
1499 | /* TV - TV DAC */ | 1527 | /* TV - TV DAC */ |
1500 | radeon_add_legacy_encoder(dev, | 1528 | radeon_add_legacy_encoder(dev, |
1501 | radeon_get_encoder_id(dev, | 1529 | radeon_get_encoder_id(dev, |
@@ -1504,7 +1532,8 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) | |||
1504 | ATOM_DEVICE_TV1_SUPPORT); | 1532 | ATOM_DEVICE_TV1_SUPPORT); |
1505 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, | 1533 | radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, |
1506 | DRM_MODE_CONNECTOR_SVIDEO, | 1534 | DRM_MODE_CONNECTOR_SVIDEO, |
1507 | &ddc_i2c); | 1535 | &ddc_i2c, |
1536 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1508 | break; | 1537 | break; |
1509 | default: | 1538 | default: |
1510 | DRM_INFO("Connector table: %d (invalid)\n", | 1539 | DRM_INFO("Connector table: %d (invalid)\n", |
@@ -1581,11 +1610,63 @@ static bool radeon_apply_legacy_quirks(struct drm_device *dev, | |||
1581 | return true; | 1610 | return true; |
1582 | } | 1611 | } |
1583 | 1612 | ||
1613 | static bool radeon_apply_legacy_tv_quirks(struct drm_device *dev) | ||
1614 | { | ||
1615 | /* Acer 5102 has non-existent TV port */ | ||
1616 | if (dev->pdev->device == 0x5975 && | ||
1617 | dev->pdev->subsystem_vendor == 0x1025 && | ||
1618 | dev->pdev->subsystem_device == 0x009f) | ||
1619 | return false; | ||
1620 | |||
1621 | /* HP dc5750 has non-existent TV port */ | ||
1622 | if (dev->pdev->device == 0x5974 && | ||
1623 | dev->pdev->subsystem_vendor == 0x103c && | ||
1624 | dev->pdev->subsystem_device == 0x280a) | ||
1625 | return false; | ||
1626 | |||
1627 | return true; | ||
1628 | } | ||
1629 | |||
1630 | static uint16_t combios_check_dl_dvi(struct drm_device *dev, int is_dvi_d) | ||
1631 | { | ||
1632 | struct radeon_device *rdev = dev->dev_private; | ||
1633 | uint32_t ext_tmds_info; | ||
1634 | |||
1635 | if (rdev->flags & RADEON_IS_IGP) { | ||
1636 | if (is_dvi_d) | ||
1637 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D; | ||
1638 | else | ||
1639 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I; | ||
1640 | } | ||
1641 | ext_tmds_info = combios_get_table_offset(dev, COMBIOS_EXT_TMDS_INFO_TABLE); | ||
1642 | if (ext_tmds_info) { | ||
1643 | uint8_t rev = RBIOS8(ext_tmds_info); | ||
1644 | uint8_t flags = RBIOS8(ext_tmds_info + 4 + 5); | ||
1645 | if (rev >= 3) { | ||
1646 | if (is_dvi_d) | ||
1647 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D; | ||
1648 | else | ||
1649 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I; | ||
1650 | } else { | ||
1651 | if (flags & 1) { | ||
1652 | if (is_dvi_d) | ||
1653 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D; | ||
1654 | else | ||
1655 | return CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I; | ||
1656 | } | ||
1657 | } | ||
1658 | } | ||
1659 | if (is_dvi_d) | ||
1660 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D; | ||
1661 | else | ||
1662 | return CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I; | ||
1663 | } | ||
1664 | |||
1584 | bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | 1665 | bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) |
1585 | { | 1666 | { |
1586 | struct radeon_device *rdev = dev->dev_private; | 1667 | struct radeon_device *rdev = dev->dev_private; |
1587 | uint32_t conn_info, entry, devices; | 1668 | uint32_t conn_info, entry, devices; |
1588 | uint16_t tmp; | 1669 | uint16_t tmp, connector_object_id; |
1589 | enum radeon_combios_ddc ddc_type; | 1670 | enum radeon_combios_ddc ddc_type; |
1590 | enum radeon_combios_connector connector; | 1671 | enum radeon_combios_connector connector; |
1591 | int i = 0; | 1672 | int i = 0; |
@@ -1628,8 +1709,9 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1628 | break; | 1709 | break; |
1629 | } | 1710 | } |
1630 | 1711 | ||
1631 | radeon_apply_legacy_quirks(dev, i, &connector, | 1712 | if (!radeon_apply_legacy_quirks(dev, i, &connector, |
1632 | &ddc_i2c); | 1713 | &ddc_i2c)) |
1714 | continue; | ||
1633 | 1715 | ||
1634 | switch (connector) { | 1716 | switch (connector) { |
1635 | case CONNECTOR_PROPRIETARY_LEGACY: | 1717 | case CONNECTOR_PROPRIETARY_LEGACY: |
@@ -1644,7 +1726,8 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1644 | radeon_add_legacy_connector(dev, i, devices, | 1726 | radeon_add_legacy_connector(dev, i, devices, |
1645 | legacy_connector_convert | 1727 | legacy_connector_convert |
1646 | [connector], | 1728 | [connector], |
1647 | &ddc_i2c); | 1729 | &ddc_i2c, |
1730 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D); | ||
1648 | break; | 1731 | break; |
1649 | case CONNECTOR_CRT_LEGACY: | 1732 | case CONNECTOR_CRT_LEGACY: |
1650 | if (tmp & 0x1) { | 1733 | if (tmp & 0x1) { |
@@ -1669,7 +1752,8 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1669 | devices, | 1752 | devices, |
1670 | legacy_connector_convert | 1753 | legacy_connector_convert |
1671 | [connector], | 1754 | [connector], |
1672 | &ddc_i2c); | 1755 | &ddc_i2c, |
1756 | CONNECTOR_OBJECT_ID_VGA); | ||
1673 | break; | 1757 | break; |
1674 | case CONNECTOR_DVI_I_LEGACY: | 1758 | case CONNECTOR_DVI_I_LEGACY: |
1675 | devices = 0; | 1759 | devices = 0; |
@@ -1698,6 +1782,7 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1698 | ATOM_DEVICE_DFP2_SUPPORT, | 1782 | ATOM_DEVICE_DFP2_SUPPORT, |
1699 | 0), | 1783 | 0), |
1700 | ATOM_DEVICE_DFP2_SUPPORT); | 1784 | ATOM_DEVICE_DFP2_SUPPORT); |
1785 | connector_object_id = combios_check_dl_dvi(dev, 0); | ||
1701 | } else { | 1786 | } else { |
1702 | devices |= ATOM_DEVICE_DFP1_SUPPORT; | 1787 | devices |= ATOM_DEVICE_DFP1_SUPPORT; |
1703 | radeon_add_legacy_encoder(dev, | 1788 | radeon_add_legacy_encoder(dev, |
@@ -1706,19 +1791,24 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1706 | ATOM_DEVICE_DFP1_SUPPORT, | 1791 | ATOM_DEVICE_DFP1_SUPPORT, |
1707 | 0), | 1792 | 0), |
1708 | ATOM_DEVICE_DFP1_SUPPORT); | 1793 | ATOM_DEVICE_DFP1_SUPPORT); |
1794 | connector_object_id = CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I; | ||
1709 | } | 1795 | } |
1710 | radeon_add_legacy_connector(dev, | 1796 | radeon_add_legacy_connector(dev, |
1711 | i, | 1797 | i, |
1712 | devices, | 1798 | devices, |
1713 | legacy_connector_convert | 1799 | legacy_connector_convert |
1714 | [connector], | 1800 | [connector], |
1715 | &ddc_i2c); | 1801 | &ddc_i2c, |
1802 | connector_object_id); | ||
1716 | break; | 1803 | break; |
1717 | case CONNECTOR_DVI_D_LEGACY: | 1804 | case CONNECTOR_DVI_D_LEGACY: |
1718 | if ((tmp >> 4) & 0x1) | 1805 | if ((tmp >> 4) & 0x1) { |
1719 | devices = ATOM_DEVICE_DFP2_SUPPORT; | 1806 | devices = ATOM_DEVICE_DFP2_SUPPORT; |
1720 | else | 1807 | connector_object_id = combios_check_dl_dvi(dev, 1); |
1808 | } else { | ||
1721 | devices = ATOM_DEVICE_DFP1_SUPPORT; | 1809 | devices = ATOM_DEVICE_DFP1_SUPPORT; |
1810 | connector_object_id = CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I; | ||
1811 | } | ||
1722 | radeon_add_legacy_encoder(dev, | 1812 | radeon_add_legacy_encoder(dev, |
1723 | radeon_get_encoder_id | 1813 | radeon_get_encoder_id |
1724 | (dev, devices, 0), | 1814 | (dev, devices, 0), |
@@ -1726,7 +1816,8 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1726 | radeon_add_legacy_connector(dev, i, devices, | 1816 | radeon_add_legacy_connector(dev, i, devices, |
1727 | legacy_connector_convert | 1817 | legacy_connector_convert |
1728 | [connector], | 1818 | [connector], |
1729 | &ddc_i2c); | 1819 | &ddc_i2c, |
1820 | connector_object_id); | ||
1730 | break; | 1821 | break; |
1731 | case CONNECTOR_CTV_LEGACY: | 1822 | case CONNECTOR_CTV_LEGACY: |
1732 | case CONNECTOR_STV_LEGACY: | 1823 | case CONNECTOR_STV_LEGACY: |
@@ -1740,7 +1831,8 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1740 | ATOM_DEVICE_TV1_SUPPORT, | 1831 | ATOM_DEVICE_TV1_SUPPORT, |
1741 | legacy_connector_convert | 1832 | legacy_connector_convert |
1742 | [connector], | 1833 | [connector], |
1743 | &ddc_i2c); | 1834 | &ddc_i2c, |
1835 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
1744 | break; | 1836 | break; |
1745 | default: | 1837 | default: |
1746 | DRM_ERROR("Unknown connector type: %d\n", | 1838 | DRM_ERROR("Unknown connector type: %d\n", |
@@ -1772,10 +1864,29 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1772 | ATOM_DEVICE_CRT1_SUPPORT | | 1864 | ATOM_DEVICE_CRT1_SUPPORT | |
1773 | ATOM_DEVICE_DFP1_SUPPORT, | 1865 | ATOM_DEVICE_DFP1_SUPPORT, |
1774 | DRM_MODE_CONNECTOR_DVII, | 1866 | DRM_MODE_CONNECTOR_DVII, |
1775 | &ddc_i2c); | 1867 | &ddc_i2c, |
1868 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I); | ||
1776 | } else { | 1869 | } else { |
1777 | DRM_DEBUG("No connector info found\n"); | 1870 | uint16_t crt_info = |
1778 | return false; | 1871 | combios_get_table_offset(dev, COMBIOS_CRT_INFO_TABLE); |
1872 | DRM_DEBUG("Found CRT table, assuming VGA connector\n"); | ||
1873 | if (crt_info) { | ||
1874 | radeon_add_legacy_encoder(dev, | ||
1875 | radeon_get_encoder_id(dev, | ||
1876 | ATOM_DEVICE_CRT1_SUPPORT, | ||
1877 | 1), | ||
1878 | ATOM_DEVICE_CRT1_SUPPORT); | ||
1879 | ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC); | ||
1880 | radeon_add_legacy_connector(dev, | ||
1881 | 0, | ||
1882 | ATOM_DEVICE_CRT1_SUPPORT, | ||
1883 | DRM_MODE_CONNECTOR_VGA, | ||
1884 | &ddc_i2c, | ||
1885 | CONNECTOR_OBJECT_ID_VGA); | ||
1886 | } else { | ||
1887 | DRM_DEBUG("No connector info found\n"); | ||
1888 | return false; | ||
1889 | } | ||
1779 | } | 1890 | } |
1780 | } | 1891 | } |
1781 | 1892 | ||
@@ -1870,7 +1981,8 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1870 | 5, | 1981 | 5, |
1871 | ATOM_DEVICE_LCD1_SUPPORT, | 1982 | ATOM_DEVICE_LCD1_SUPPORT, |
1872 | DRM_MODE_CONNECTOR_LVDS, | 1983 | DRM_MODE_CONNECTOR_LVDS, |
1873 | &ddc_i2c); | 1984 | &ddc_i2c, |
1985 | CONNECTOR_OBJECT_ID_LVDS); | ||
1874 | } | 1986 | } |
1875 | } | 1987 | } |
1876 | 1988 | ||
@@ -1880,16 +1992,19 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev) | |||
1880 | combios_get_table_offset(dev, COMBIOS_TV_INFO_TABLE); | 1992 | combios_get_table_offset(dev, COMBIOS_TV_INFO_TABLE); |
1881 | if (tv_info) { | 1993 | if (tv_info) { |
1882 | if (RBIOS8(tv_info + 6) == 'T') { | 1994 | if (RBIOS8(tv_info + 6) == 'T') { |
1883 | radeon_add_legacy_encoder(dev, | 1995 | if (radeon_apply_legacy_tv_quirks(dev)) { |
1884 | radeon_get_encoder_id | 1996 | radeon_add_legacy_encoder(dev, |
1885 | (dev, | 1997 | radeon_get_encoder_id |
1886 | ATOM_DEVICE_TV1_SUPPORT, | 1998 | (dev, |
1887 | 2), | 1999 | ATOM_DEVICE_TV1_SUPPORT, |
1888 | ATOM_DEVICE_TV1_SUPPORT); | 2000 | 2), |
1889 | radeon_add_legacy_connector(dev, 6, | 2001 | ATOM_DEVICE_TV1_SUPPORT); |
1890 | ATOM_DEVICE_TV1_SUPPORT, | 2002 | radeon_add_legacy_connector(dev, 6, |
1891 | DRM_MODE_CONNECTOR_SVIDEO, | 2003 | ATOM_DEVICE_TV1_SUPPORT, |
1892 | &ddc_i2c); | 2004 | DRM_MODE_CONNECTOR_SVIDEO, |
2005 | &ddc_i2c, | ||
2006 | CONNECTOR_OBJECT_ID_SVIDEO); | ||
2007 | } | ||
1893 | } | 2008 | } |
1894 | } | 2009 | } |
1895 | } | 2010 | } |
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index e376be47a4a0..fce4c4087fda 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c | |||
@@ -178,25 +178,12 @@ static struct drm_display_mode *radeon_fp_native_mode(struct drm_encoder *encode | |||
178 | struct drm_device *dev = encoder->dev; | 178 | struct drm_device *dev = encoder->dev; |
179 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 179 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
180 | struct drm_display_mode *mode = NULL; | 180 | struct drm_display_mode *mode = NULL; |
181 | struct radeon_native_mode *native_mode = &radeon_encoder->native_mode; | 181 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; |
182 | |||
183 | if (native_mode->panel_xres != 0 && | ||
184 | native_mode->panel_yres != 0 && | ||
185 | native_mode->dotclock != 0) { | ||
186 | mode = drm_mode_create(dev); | ||
187 | |||
188 | mode->hdisplay = native_mode->panel_xres; | ||
189 | mode->vdisplay = native_mode->panel_yres; | ||
190 | |||
191 | mode->htotal = mode->hdisplay + native_mode->hblank; | ||
192 | mode->hsync_start = mode->hdisplay + native_mode->hoverplus; | ||
193 | mode->hsync_end = mode->hsync_start + native_mode->hsync_width; | ||
194 | mode->vtotal = mode->vdisplay + native_mode->vblank; | ||
195 | mode->vsync_start = mode->vdisplay + native_mode->voverplus; | ||
196 | mode->vsync_end = mode->vsync_start + native_mode->vsync_width; | ||
197 | mode->clock = native_mode->dotclock; | ||
198 | mode->flags = 0; | ||
199 | 182 | ||
183 | if (native_mode->hdisplay != 0 && | ||
184 | native_mode->vdisplay != 0 && | ||
185 | native_mode->clock != 0) { | ||
186 | mode = drm_mode_duplicate(dev, native_mode); | ||
200 | mode->type = DRM_MODE_TYPE_PREFERRED | DRM_MODE_TYPE_DRIVER; | 187 | mode->type = DRM_MODE_TYPE_PREFERRED | DRM_MODE_TYPE_DRIVER; |
201 | drm_mode_set_name(mode); | 188 | drm_mode_set_name(mode); |
202 | 189 | ||
@@ -210,7 +197,7 @@ static void radeon_add_common_modes(struct drm_encoder *encoder, struct drm_conn | |||
210 | struct drm_device *dev = encoder->dev; | 197 | struct drm_device *dev = encoder->dev; |
211 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 198 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
212 | struct drm_display_mode *mode = NULL; | 199 | struct drm_display_mode *mode = NULL; |
213 | struct radeon_native_mode *native_mode = &radeon_encoder->native_mode; | 200 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; |
214 | int i; | 201 | int i; |
215 | struct mode_size { | 202 | struct mode_size { |
216 | int w; | 203 | int w; |
@@ -236,11 +223,16 @@ static void radeon_add_common_modes(struct drm_encoder *encoder, struct drm_conn | |||
236 | }; | 223 | }; |
237 | 224 | ||
238 | for (i = 0; i < 17; i++) { | 225 | for (i = 0; i < 17; i++) { |
226 | if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) { | ||
227 | if (common_modes[i].w > 1024 || | ||
228 | common_modes[i].h > 768) | ||
229 | continue; | ||
230 | } | ||
239 | if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { | 231 | if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { |
240 | if (common_modes[i].w > native_mode->panel_xres || | 232 | if (common_modes[i].w > native_mode->hdisplay || |
241 | common_modes[i].h > native_mode->panel_yres || | 233 | common_modes[i].h > native_mode->vdisplay || |
242 | (common_modes[i].w == native_mode->panel_xres && | 234 | (common_modes[i].w == native_mode->hdisplay && |
243 | common_modes[i].h == native_mode->panel_yres)) | 235 | common_modes[i].h == native_mode->vdisplay)) |
244 | continue; | 236 | continue; |
245 | } | 237 | } |
246 | if (common_modes[i].w < 320 || common_modes[i].h < 200) | 238 | if (common_modes[i].w < 320 || common_modes[i].h < 200) |
@@ -344,28 +336,23 @@ static void radeon_fixup_lvds_native_mode(struct drm_encoder *encoder, | |||
344 | struct drm_connector *connector) | 336 | struct drm_connector *connector) |
345 | { | 337 | { |
346 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 338 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
347 | struct radeon_native_mode *native_mode = &radeon_encoder->native_mode; | 339 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; |
348 | 340 | ||
349 | /* Try to get native mode details from EDID if necessary */ | 341 | /* Try to get native mode details from EDID if necessary */ |
350 | if (!native_mode->dotclock) { | 342 | if (!native_mode->clock) { |
351 | struct drm_display_mode *t, *mode; | 343 | struct drm_display_mode *t, *mode; |
352 | 344 | ||
353 | list_for_each_entry_safe(mode, t, &connector->probed_modes, head) { | 345 | list_for_each_entry_safe(mode, t, &connector->probed_modes, head) { |
354 | if (mode->hdisplay == native_mode->panel_xres && | 346 | if (mode->hdisplay == native_mode->hdisplay && |
355 | mode->vdisplay == native_mode->panel_yres) { | 347 | mode->vdisplay == native_mode->vdisplay) { |
356 | native_mode->hblank = mode->htotal - mode->hdisplay; | 348 | *native_mode = *mode; |
357 | native_mode->hoverplus = mode->hsync_start - mode->hdisplay; | 349 | drm_mode_set_crtcinfo(native_mode, CRTC_INTERLACE_HALVE_V); |
358 | native_mode->hsync_width = mode->hsync_end - mode->hsync_start; | ||
359 | native_mode->vblank = mode->vtotal - mode->vdisplay; | ||
360 | native_mode->voverplus = mode->vsync_start - mode->vdisplay; | ||
361 | native_mode->vsync_width = mode->vsync_end - mode->vsync_start; | ||
362 | native_mode->dotclock = mode->clock; | ||
363 | DRM_INFO("Determined LVDS native mode details from EDID\n"); | 350 | DRM_INFO("Determined LVDS native mode details from EDID\n"); |
364 | break; | 351 | break; |
365 | } | 352 | } |
366 | } | 353 | } |
367 | } | 354 | } |
368 | if (!native_mode->dotclock) { | 355 | if (!native_mode->clock) { |
369 | DRM_INFO("No LVDS native mode details, disabling RMX\n"); | 356 | DRM_INFO("No LVDS native mode details, disabling RMX\n"); |
370 | radeon_encoder->rmx_type = RMX_OFF; | 357 | radeon_encoder->rmx_type = RMX_OFF; |
371 | } | 358 | } |
@@ -410,13 +397,64 @@ static int radeon_lvds_get_modes(struct drm_connector *connector) | |||
410 | static int radeon_lvds_mode_valid(struct drm_connector *connector, | 397 | static int radeon_lvds_mode_valid(struct drm_connector *connector, |
411 | struct drm_display_mode *mode) | 398 | struct drm_display_mode *mode) |
412 | { | 399 | { |
400 | struct drm_encoder *encoder = radeon_best_single_encoder(connector); | ||
401 | |||
402 | if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) | ||
403 | return MODE_PANEL; | ||
404 | |||
405 | if (encoder) { | ||
406 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | ||
407 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; | ||
408 | |||
409 | /* AVIVO hardware supports downscaling modes larger than the panel | ||
410 | * to the panel size, but I'm not sure this is desirable. | ||
411 | */ | ||
412 | if ((mode->hdisplay > native_mode->hdisplay) || | ||
413 | (mode->vdisplay > native_mode->vdisplay)) | ||
414 | return MODE_PANEL; | ||
415 | |||
416 | /* if scaling is disabled, block non-native modes */ | ||
417 | if (radeon_encoder->rmx_type == RMX_OFF) { | ||
418 | if ((mode->hdisplay != native_mode->hdisplay) || | ||
419 | (mode->vdisplay != native_mode->vdisplay)) | ||
420 | return MODE_PANEL; | ||
421 | } | ||
422 | } | ||
423 | |||
413 | return MODE_OK; | 424 | return MODE_OK; |
414 | } | 425 | } |
415 | 426 | ||
416 | static enum drm_connector_status radeon_lvds_detect(struct drm_connector *connector) | 427 | static enum drm_connector_status radeon_lvds_detect(struct drm_connector *connector) |
417 | { | 428 | { |
418 | enum drm_connector_status ret = connector_status_connected; | 429 | struct radeon_connector *radeon_connector = to_radeon_connector(connector); |
430 | struct drm_encoder *encoder = radeon_best_single_encoder(connector); | ||
431 | enum drm_connector_status ret = connector_status_disconnected; | ||
432 | |||
433 | if (encoder) { | ||
434 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | ||
435 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; | ||
436 | |||
437 | /* check if panel is valid */ | ||
438 | if (native_mode->hdisplay >= 320 && native_mode->vdisplay >= 240) | ||
439 | ret = connector_status_connected; | ||
440 | |||
441 | } | ||
442 | |||
443 | /* check for edid as well */ | ||
444 | if (radeon_connector->edid) | ||
445 | ret = connector_status_connected; | ||
446 | else { | ||
447 | if (radeon_connector->ddc_bus) { | ||
448 | radeon_i2c_do_lock(radeon_connector, 1); | ||
449 | radeon_connector->edid = drm_get_edid(&radeon_connector->base, | ||
450 | &radeon_connector->ddc_bus->adapter); | ||
451 | radeon_i2c_do_lock(radeon_connector, 0); | ||
452 | if (radeon_connector->edid) | ||
453 | ret = connector_status_connected; | ||
454 | } | ||
455 | } | ||
419 | /* check acpi lid status ??? */ | 456 | /* check acpi lid status ??? */ |
457 | |||
420 | radeon_connector_update_scratch_regs(connector, ret); | 458 | radeon_connector_update_scratch_regs(connector, ret); |
421 | return ret; | 459 | return ret; |
422 | } | 460 | } |
@@ -427,6 +465,8 @@ static void radeon_connector_destroy(struct drm_connector *connector) | |||
427 | 465 | ||
428 | if (radeon_connector->ddc_bus) | 466 | if (radeon_connector->ddc_bus) |
429 | radeon_i2c_destroy(radeon_connector->ddc_bus); | 467 | radeon_i2c_destroy(radeon_connector->ddc_bus); |
468 | if (radeon_connector->edid) | ||
469 | kfree(radeon_connector->edid); | ||
430 | kfree(radeon_connector->con_priv); | 470 | kfree(radeon_connector->con_priv); |
431 | drm_sysfs_connector_remove(connector); | 471 | drm_sysfs_connector_remove(connector); |
432 | drm_connector_cleanup(connector); | 472 | drm_connector_cleanup(connector); |
@@ -496,6 +536,8 @@ static int radeon_vga_get_modes(struct drm_connector *connector) | |||
496 | static int radeon_vga_mode_valid(struct drm_connector *connector, | 536 | static int radeon_vga_mode_valid(struct drm_connector *connector, |
497 | struct drm_display_mode *mode) | 537 | struct drm_display_mode *mode) |
498 | { | 538 | { |
539 | /* XXX check mode bandwidth */ | ||
540 | /* XXX verify against max DAC output frequency */ | ||
499 | return MODE_OK; | 541 | return MODE_OK; |
500 | } | 542 | } |
501 | 543 | ||
@@ -514,9 +556,32 @@ static enum drm_connector_status radeon_vga_detect(struct drm_connector *connect | |||
514 | radeon_i2c_do_lock(radeon_connector, 1); | 556 | radeon_i2c_do_lock(radeon_connector, 1); |
515 | dret = radeon_ddc_probe(radeon_connector); | 557 | dret = radeon_ddc_probe(radeon_connector); |
516 | radeon_i2c_do_lock(radeon_connector, 0); | 558 | radeon_i2c_do_lock(radeon_connector, 0); |
517 | if (dret) | 559 | if (dret) { |
518 | ret = connector_status_connected; | 560 | if (radeon_connector->edid) { |
519 | else { | 561 | kfree(radeon_connector->edid); |
562 | radeon_connector->edid = NULL; | ||
563 | } | ||
564 | radeon_i2c_do_lock(radeon_connector, 1); | ||
565 | radeon_connector->edid = drm_get_edid(&radeon_connector->base, &radeon_connector->ddc_bus->adapter); | ||
566 | radeon_i2c_do_lock(radeon_connector, 0); | ||
567 | |||
568 | if (!radeon_connector->edid) { | ||
569 | DRM_ERROR("DDC responded but not EDID found for %s\n", | ||
570 | drm_get_connector_name(connector)); | ||
571 | } else { | ||
572 | radeon_connector->use_digital = !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); | ||
573 | |||
574 | /* some oems have boards with separate digital and analog connectors | ||
575 | * with a shared ddc line (often vga + hdmi) | ||
576 | */ | ||
577 | if (radeon_connector->use_digital && radeon_connector->shared_ddc) { | ||
578 | kfree(radeon_connector->edid); | ||
579 | radeon_connector->edid = NULL; | ||
580 | ret = connector_status_disconnected; | ||
581 | } else | ||
582 | ret = connector_status_connected; | ||
583 | } | ||
584 | } else { | ||
520 | if (radeon_connector->dac_load_detect) { | 585 | if (radeon_connector->dac_load_detect) { |
521 | encoder_funcs = encoder->helper_private; | 586 | encoder_funcs = encoder->helper_private; |
522 | ret = encoder_funcs->detect(encoder, connector); | 587 | ret = encoder_funcs->detect(encoder, connector); |
@@ -570,6 +635,8 @@ static int radeon_tv_get_modes(struct drm_connector *connector) | |||
570 | static int radeon_tv_mode_valid(struct drm_connector *connector, | 635 | static int radeon_tv_mode_valid(struct drm_connector *connector, |
571 | struct drm_display_mode *mode) | 636 | struct drm_display_mode *mode) |
572 | { | 637 | { |
638 | if ((mode->hdisplay > 1024) || (mode->vdisplay > 768)) | ||
639 | return MODE_CLOCK_RANGE; | ||
573 | return MODE_OK; | 640 | return MODE_OK; |
574 | } | 641 | } |
575 | 642 | ||
@@ -644,6 +711,10 @@ static enum drm_connector_status radeon_dvi_detect(struct drm_connector *connect | |||
644 | dret = radeon_ddc_probe(radeon_connector); | 711 | dret = radeon_ddc_probe(radeon_connector); |
645 | radeon_i2c_do_lock(radeon_connector, 0); | 712 | radeon_i2c_do_lock(radeon_connector, 0); |
646 | if (dret) { | 713 | if (dret) { |
714 | if (radeon_connector->edid) { | ||
715 | kfree(radeon_connector->edid); | ||
716 | radeon_connector->edid = NULL; | ||
717 | } | ||
647 | radeon_i2c_do_lock(radeon_connector, 1); | 718 | radeon_i2c_do_lock(radeon_connector, 1); |
648 | radeon_connector->edid = drm_get_edid(&radeon_connector->base, &radeon_connector->ddc_bus->adapter); | 719 | radeon_connector->edid = drm_get_edid(&radeon_connector->base, &radeon_connector->ddc_bus->adapter); |
649 | radeon_i2c_do_lock(radeon_connector, 0); | 720 | radeon_i2c_do_lock(radeon_connector, 0); |
@@ -654,10 +725,15 @@ static enum drm_connector_status radeon_dvi_detect(struct drm_connector *connect | |||
654 | } else { | 725 | } else { |
655 | radeon_connector->use_digital = !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); | 726 | radeon_connector->use_digital = !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); |
656 | 727 | ||
657 | /* if this isn't a digital monitor | 728 | /* some oems have boards with separate digital and analog connectors |
658 | then we need to make sure we don't have any | 729 | * with a shared ddc line (often vga + hdmi) |
659 | TV conflicts */ | 730 | */ |
660 | ret = connector_status_connected; | 731 | if ((!radeon_connector->use_digital) && radeon_connector->shared_ddc) { |
732 | kfree(radeon_connector->edid); | ||
733 | radeon_connector->edid = NULL; | ||
734 | ret = connector_status_disconnected; | ||
735 | } else | ||
736 | ret = connector_status_connected; | ||
661 | } | 737 | } |
662 | } | 738 | } |
663 | 739 | ||
@@ -753,9 +829,27 @@ static void radeon_dvi_force(struct drm_connector *connector) | |||
753 | radeon_connector->use_digital = true; | 829 | radeon_connector->use_digital = true; |
754 | } | 830 | } |
755 | 831 | ||
832 | static int radeon_dvi_mode_valid(struct drm_connector *connector, | ||
833 | struct drm_display_mode *mode) | ||
834 | { | ||
835 | struct radeon_connector *radeon_connector = to_radeon_connector(connector); | ||
836 | |||
837 | /* XXX check mode bandwidth */ | ||
838 | |||
839 | if (radeon_connector->use_digital && (mode->clock > 165000)) { | ||
840 | if ((radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I) || | ||
841 | (radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D) || | ||
842 | (radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_HDMI_TYPE_B)) | ||
843 | return MODE_OK; | ||
844 | else | ||
845 | return MODE_CLOCK_HIGH; | ||
846 | } | ||
847 | return MODE_OK; | ||
848 | } | ||
849 | |||
756 | struct drm_connector_helper_funcs radeon_dvi_connector_helper_funcs = { | 850 | struct drm_connector_helper_funcs radeon_dvi_connector_helper_funcs = { |
757 | .get_modes = radeon_dvi_get_modes, | 851 | .get_modes = radeon_dvi_get_modes, |
758 | .mode_valid = radeon_vga_mode_valid, | 852 | .mode_valid = radeon_dvi_mode_valid, |
759 | .best_encoder = radeon_dvi_encoder, | 853 | .best_encoder = radeon_dvi_encoder, |
760 | }; | 854 | }; |
761 | 855 | ||
@@ -775,13 +869,15 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
775 | int connector_type, | 869 | int connector_type, |
776 | struct radeon_i2c_bus_rec *i2c_bus, | 870 | struct radeon_i2c_bus_rec *i2c_bus, |
777 | bool linkb, | 871 | bool linkb, |
778 | uint32_t igp_lane_info) | 872 | uint32_t igp_lane_info, |
873 | uint16_t connector_object_id) | ||
779 | { | 874 | { |
780 | struct radeon_device *rdev = dev->dev_private; | 875 | struct radeon_device *rdev = dev->dev_private; |
781 | struct drm_connector *connector; | 876 | struct drm_connector *connector; |
782 | struct radeon_connector *radeon_connector; | 877 | struct radeon_connector *radeon_connector; |
783 | struct radeon_connector_atom_dig *radeon_dig_connector; | 878 | struct radeon_connector_atom_dig *radeon_dig_connector; |
784 | uint32_t subpixel_order = SubPixelNone; | 879 | uint32_t subpixel_order = SubPixelNone; |
880 | bool shared_ddc = false; | ||
785 | int ret; | 881 | int ret; |
786 | 882 | ||
787 | /* fixme - tv/cv/din */ | 883 | /* fixme - tv/cv/din */ |
@@ -795,6 +891,13 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
795 | radeon_connector->devices |= supported_device; | 891 | radeon_connector->devices |= supported_device; |
796 | return; | 892 | return; |
797 | } | 893 | } |
894 | if (radeon_connector->ddc_bus && i2c_bus->valid) { | ||
895 | if (memcmp(&radeon_connector->ddc_bus->rec, i2c_bus, | ||
896 | sizeof(struct radeon_i2c_bus_rec)) == 0) { | ||
897 | radeon_connector->shared_ddc = true; | ||
898 | shared_ddc = true; | ||
899 | } | ||
900 | } | ||
798 | } | 901 | } |
799 | 902 | ||
800 | radeon_connector = kzalloc(sizeof(struct radeon_connector), GFP_KERNEL); | 903 | radeon_connector = kzalloc(sizeof(struct radeon_connector), GFP_KERNEL); |
@@ -805,6 +908,8 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
805 | 908 | ||
806 | radeon_connector->connector_id = connector_id; | 909 | radeon_connector->connector_id = connector_id; |
807 | radeon_connector->devices = supported_device; | 910 | radeon_connector->devices = supported_device; |
911 | radeon_connector->shared_ddc = shared_ddc; | ||
912 | radeon_connector->connector_object_id = connector_object_id; | ||
808 | switch (connector_type) { | 913 | switch (connector_type) { |
809 | case DRM_MODE_CONNECTOR_VGA: | 914 | case DRM_MODE_CONNECTOR_VGA: |
810 | drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); | 915 | drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); |
@@ -956,7 +1061,8 @@ radeon_add_legacy_connector(struct drm_device *dev, | |||
956 | uint32_t connector_id, | 1061 | uint32_t connector_id, |
957 | uint32_t supported_device, | 1062 | uint32_t supported_device, |
958 | int connector_type, | 1063 | int connector_type, |
959 | struct radeon_i2c_bus_rec *i2c_bus) | 1064 | struct radeon_i2c_bus_rec *i2c_bus, |
1065 | uint16_t connector_object_id) | ||
960 | { | 1066 | { |
961 | struct radeon_device *rdev = dev->dev_private; | 1067 | struct radeon_device *rdev = dev->dev_private; |
962 | struct drm_connector *connector; | 1068 | struct drm_connector *connector; |
@@ -985,6 +1091,7 @@ radeon_add_legacy_connector(struct drm_device *dev, | |||
985 | 1091 | ||
986 | radeon_connector->connector_id = connector_id; | 1092 | radeon_connector->connector_id = connector_id; |
987 | radeon_connector->devices = supported_device; | 1093 | radeon_connector->devices = supported_device; |
1094 | radeon_connector->connector_object_id = connector_object_id; | ||
988 | switch (connector_type) { | 1095 | switch (connector_type) { |
989 | case DRM_MODE_CONNECTOR_VGA: | 1096 | case DRM_MODE_CONNECTOR_VGA: |
990 | drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); | 1097 | drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); |
diff --git a/drivers/gpu/drm/radeon/radeon_cursor.c b/drivers/gpu/drm/radeon/radeon_cursor.c index b13c79e38bc0..28772a37009c 100644 --- a/drivers/gpu/drm/radeon/radeon_cursor.c +++ b/drivers/gpu/drm/radeon/radeon_cursor.c | |||
@@ -109,9 +109,15 @@ static void radeon_set_cursor(struct drm_crtc *crtc, struct drm_gem_object *obj, | |||
109 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | 109 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); |
110 | struct radeon_device *rdev = crtc->dev->dev_private; | 110 | struct radeon_device *rdev = crtc->dev->dev_private; |
111 | 111 | ||
112 | if (ASIC_IS_AVIVO(rdev)) | 112 | if (ASIC_IS_AVIVO(rdev)) { |
113 | if (rdev->family >= CHIP_RV770) { | ||
114 | if (radeon_crtc->crtc_id) | ||
115 | WREG32(R700_D2CUR_SURFACE_ADDRESS_HIGH, 0); | ||
116 | else | ||
117 | WREG32(R700_D1CUR_SURFACE_ADDRESS_HIGH, 0); | ||
118 | } | ||
113 | WREG32(AVIVO_D1CUR_SURFACE_ADDRESS + radeon_crtc->crtc_offset, gpu_addr); | 119 | WREG32(AVIVO_D1CUR_SURFACE_ADDRESS + radeon_crtc->crtc_offset, gpu_addr); |
114 | else { | 120 | } else { |
115 | radeon_crtc->legacy_cursor_offset = gpu_addr - radeon_crtc->legacy_display_base_addr; | 121 | radeon_crtc->legacy_cursor_offset = gpu_addr - radeon_crtc->legacy_display_base_addr; |
116 | /* offset is from DISP(2)_BASE_ADDRESS */ | 122 | /* offset is from DISP(2)_BASE_ADDRESS */ |
117 | WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, radeon_crtc->legacy_cursor_offset); | 123 | WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, radeon_crtc->legacy_cursor_offset); |
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index df988142e6b0..e3f9edfa40fe 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c | |||
@@ -444,20 +444,24 @@ static uint32_t cail_reg_read(struct card_info *info, uint32_t reg) | |||
444 | return r; | 444 | return r; |
445 | } | 445 | } |
446 | 446 | ||
447 | static struct card_info atom_card_info = { | ||
448 | .dev = NULL, | ||
449 | .reg_read = cail_reg_read, | ||
450 | .reg_write = cail_reg_write, | ||
451 | .mc_read = cail_mc_read, | ||
452 | .mc_write = cail_mc_write, | ||
453 | .pll_read = cail_pll_read, | ||
454 | .pll_write = cail_pll_write, | ||
455 | }; | ||
456 | |||
457 | int radeon_atombios_init(struct radeon_device *rdev) | 447 | int radeon_atombios_init(struct radeon_device *rdev) |
458 | { | 448 | { |
459 | atom_card_info.dev = rdev->ddev; | 449 | struct card_info *atom_card_info = |
460 | rdev->mode_info.atom_context = atom_parse(&atom_card_info, rdev->bios); | 450 | kzalloc(sizeof(struct card_info), GFP_KERNEL); |
451 | |||
452 | if (!atom_card_info) | ||
453 | return -ENOMEM; | ||
454 | |||
455 | rdev->mode_info.atom_card_info = atom_card_info; | ||
456 | atom_card_info->dev = rdev->ddev; | ||
457 | atom_card_info->reg_read = cail_reg_read; | ||
458 | atom_card_info->reg_write = cail_reg_write; | ||
459 | atom_card_info->mc_read = cail_mc_read; | ||
460 | atom_card_info->mc_write = cail_mc_write; | ||
461 | atom_card_info->pll_read = cail_pll_read; | ||
462 | atom_card_info->pll_write = cail_pll_write; | ||
463 | |||
464 | rdev->mode_info.atom_context = atom_parse(atom_card_info, rdev->bios); | ||
461 | radeon_atom_initialize_bios_scratch_regs(rdev->ddev); | 465 | radeon_atom_initialize_bios_scratch_regs(rdev->ddev); |
462 | return 0; | 466 | return 0; |
463 | } | 467 | } |
@@ -465,6 +469,7 @@ int radeon_atombios_init(struct radeon_device *rdev) | |||
465 | void radeon_atombios_fini(struct radeon_device *rdev) | 469 | void radeon_atombios_fini(struct radeon_device *rdev) |
466 | { | 470 | { |
467 | kfree(rdev->mode_info.atom_context); | 471 | kfree(rdev->mode_info.atom_context); |
472 | kfree(rdev->mode_info.atom_card_info); | ||
468 | } | 473 | } |
469 | 474 | ||
470 | int radeon_combios_init(struct radeon_device *rdev) | 475 | int radeon_combios_init(struct radeon_device *rdev) |
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 3655d91993a6..c85df4afcb7a 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c | |||
@@ -137,9 +137,6 @@ static void radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, | |||
137 | if (size != 256) { | 137 | if (size != 256) { |
138 | return; | 138 | return; |
139 | } | 139 | } |
140 | if (crtc->fb == NULL) { | ||
141 | return; | ||
142 | } | ||
143 | 140 | ||
144 | /* userspace palettes are always correct as is */ | 141 | /* userspace palettes are always correct as is */ |
145 | for (i = 0; i < 256; i++) { | 142 | for (i = 0; i < 256; i++) { |
@@ -147,7 +144,6 @@ static void radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, | |||
147 | radeon_crtc->lut_g[i] = green[i] >> 6; | 144 | radeon_crtc->lut_g[i] = green[i] >> 6; |
148 | radeon_crtc->lut_b[i] = blue[i] >> 6; | 145 | radeon_crtc->lut_b[i] = blue[i] >> 6; |
149 | } | 146 | } |
150 | |||
151 | radeon_crtc_load_lut(crtc); | 147 | radeon_crtc_load_lut(crtc); |
152 | } | 148 | } |
153 | 149 | ||
@@ -338,27 +334,19 @@ static bool radeon_setup_enc_conn(struct drm_device *dev) | |||
338 | 334 | ||
339 | int radeon_ddc_get_modes(struct radeon_connector *radeon_connector) | 335 | int radeon_ddc_get_modes(struct radeon_connector *radeon_connector) |
340 | { | 336 | { |
341 | struct edid *edid; | ||
342 | int ret = 0; | 337 | int ret = 0; |
343 | 338 | ||
344 | if (!radeon_connector->ddc_bus) | 339 | if (!radeon_connector->ddc_bus) |
345 | return -1; | 340 | return -1; |
346 | if (!radeon_connector->edid) { | 341 | if (!radeon_connector->edid) { |
347 | radeon_i2c_do_lock(radeon_connector, 1); | 342 | radeon_i2c_do_lock(radeon_connector, 1); |
348 | edid = drm_get_edid(&radeon_connector->base, &radeon_connector->ddc_bus->adapter); | 343 | radeon_connector->edid = drm_get_edid(&radeon_connector->base, &radeon_connector->ddc_bus->adapter); |
349 | radeon_i2c_do_lock(radeon_connector, 0); | 344 | radeon_i2c_do_lock(radeon_connector, 0); |
350 | } else | 345 | } |
351 | edid = radeon_connector->edid; | ||
352 | 346 | ||
353 | if (edid) { | 347 | if (radeon_connector->edid) { |
354 | /* update digital bits here */ | 348 | drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid); |
355 | if (edid->input & DRM_EDID_INPUT_DIGITAL) | 349 | ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid); |
356 | radeon_connector->use_digital = 1; | ||
357 | else | ||
358 | radeon_connector->use_digital = 0; | ||
359 | drm_mode_connector_update_edid_property(&radeon_connector->base, edid); | ||
360 | ret = drm_add_edid_modes(&radeon_connector->base, edid); | ||
361 | kfree(edid); | ||
362 | return ret; | 350 | return ret; |
363 | } | 351 | } |
364 | drm_mode_connector_update_edid_property(&radeon_connector->base, NULL); | 352 | drm_mode_connector_update_edid_property(&radeon_connector->base, NULL); |
@@ -765,7 +753,7 @@ bool radeon_crtc_scaling_mode_fixup(struct drm_crtc *crtc, | |||
765 | radeon_crtc->rmx_type = radeon_encoder->rmx_type; | 753 | radeon_crtc->rmx_type = radeon_encoder->rmx_type; |
766 | memcpy(&radeon_crtc->native_mode, | 754 | memcpy(&radeon_crtc->native_mode, |
767 | &radeon_encoder->native_mode, | 755 | &radeon_encoder->native_mode, |
768 | sizeof(struct radeon_native_mode)); | 756 | sizeof(struct drm_display_mode)); |
769 | first = false; | 757 | first = false; |
770 | } else { | 758 | } else { |
771 | if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { | 759 | if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { |
@@ -783,10 +771,10 @@ bool radeon_crtc_scaling_mode_fixup(struct drm_crtc *crtc, | |||
783 | if (radeon_crtc->rmx_type != RMX_OFF) { | 771 | if (radeon_crtc->rmx_type != RMX_OFF) { |
784 | fixed20_12 a, b; | 772 | fixed20_12 a, b; |
785 | a.full = rfixed_const(crtc->mode.vdisplay); | 773 | a.full = rfixed_const(crtc->mode.vdisplay); |
786 | b.full = rfixed_const(radeon_crtc->native_mode.panel_xres); | 774 | b.full = rfixed_const(radeon_crtc->native_mode.hdisplay); |
787 | radeon_crtc->vsc.full = rfixed_div(a, b); | 775 | radeon_crtc->vsc.full = rfixed_div(a, b); |
788 | a.full = rfixed_const(crtc->mode.hdisplay); | 776 | a.full = rfixed_const(crtc->mode.hdisplay); |
789 | b.full = rfixed_const(radeon_crtc->native_mode.panel_yres); | 777 | b.full = rfixed_const(radeon_crtc->native_mode.vdisplay); |
790 | radeon_crtc->hsc.full = rfixed_div(a, b); | 778 | radeon_crtc->hsc.full = rfixed_div(a, b); |
791 | } else { | 779 | } else { |
792 | radeon_crtc->vsc.full = rfixed_const(1); | 780 | radeon_crtc->vsc.full = rfixed_const(1); |
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c index a65ab1a0dad2..d42bc512d75a 100644 --- a/drivers/gpu/drm/radeon/radeon_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_encoders.c | |||
@@ -31,6 +31,10 @@ | |||
31 | 31 | ||
32 | extern int atom_debug; | 32 | extern int atom_debug; |
33 | 33 | ||
34 | /* evil but including atombios.h is much worse */ | ||
35 | bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, | ||
36 | struct drm_display_mode *mode); | ||
37 | |||
34 | uint32_t | 38 | uint32_t |
35 | radeon_get_encoder_id(struct drm_device *dev, uint32_t supported_device, uint8_t dac) | 39 | radeon_get_encoder_id(struct drm_device *dev, uint32_t supported_device, uint8_t dac) |
36 | { | 40 | { |
@@ -167,49 +171,17 @@ void radeon_rmx_mode_fixup(struct drm_encoder *encoder, | |||
167 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 171 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
168 | struct drm_device *dev = encoder->dev; | 172 | struct drm_device *dev = encoder->dev; |
169 | struct radeon_device *rdev = dev->dev_private; | 173 | struct radeon_device *rdev = dev->dev_private; |
170 | struct radeon_native_mode *native_mode = &radeon_encoder->native_mode; | 174 | struct drm_display_mode *native_mode = &radeon_encoder->native_mode; |
171 | 175 | ||
172 | if (mode->hdisplay < native_mode->panel_xres || | 176 | if (mode->hdisplay < native_mode->hdisplay || |
173 | mode->vdisplay < native_mode->panel_yres) { | 177 | mode->vdisplay < native_mode->vdisplay) { |
174 | if (ASIC_IS_AVIVO(rdev)) { | 178 | int mode_id = adjusted_mode->base.id; |
175 | adjusted_mode->hdisplay = native_mode->panel_xres; | 179 | *adjusted_mode = *native_mode; |
176 | adjusted_mode->vdisplay = native_mode->panel_yres; | 180 | if (!ASIC_IS_AVIVO(rdev)) { |
177 | adjusted_mode->htotal = native_mode->panel_xres + native_mode->hblank; | 181 | adjusted_mode->hdisplay = mode->hdisplay; |
178 | adjusted_mode->hsync_start = native_mode->panel_xres + native_mode->hoverplus; | 182 | adjusted_mode->vdisplay = mode->vdisplay; |
179 | adjusted_mode->hsync_end = adjusted_mode->hsync_start + native_mode->hsync_width; | ||
180 | adjusted_mode->vtotal = native_mode->panel_yres + native_mode->vblank; | ||
181 | adjusted_mode->vsync_start = native_mode->panel_yres + native_mode->voverplus; | ||
182 | adjusted_mode->vsync_end = adjusted_mode->vsync_start + native_mode->vsync_width; | ||
183 | /* update crtc values */ | ||
184 | drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V); | ||
185 | /* adjust crtc values */ | ||
186 | adjusted_mode->crtc_hdisplay = native_mode->panel_xres; | ||
187 | adjusted_mode->crtc_vdisplay = native_mode->panel_yres; | ||
188 | adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + native_mode->hblank; | ||
189 | adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + native_mode->hoverplus; | ||
190 | adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + native_mode->hsync_width; | ||
191 | adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + native_mode->vblank; | ||
192 | adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + native_mode->voverplus; | ||
193 | adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + native_mode->vsync_width; | ||
194 | } else { | ||
195 | adjusted_mode->htotal = native_mode->panel_xres + native_mode->hblank; | ||
196 | adjusted_mode->hsync_start = native_mode->panel_xres + native_mode->hoverplus; | ||
197 | adjusted_mode->hsync_end = adjusted_mode->hsync_start + native_mode->hsync_width; | ||
198 | adjusted_mode->vtotal = native_mode->panel_yres + native_mode->vblank; | ||
199 | adjusted_mode->vsync_start = native_mode->panel_yres + native_mode->voverplus; | ||
200 | adjusted_mode->vsync_end = adjusted_mode->vsync_start + native_mode->vsync_width; | ||
201 | /* update crtc values */ | ||
202 | drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V); | ||
203 | /* adjust crtc values */ | ||
204 | adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + native_mode->hblank; | ||
205 | adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + native_mode->hoverplus; | ||
206 | adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + native_mode->hsync_width; | ||
207 | adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + native_mode->vblank; | ||
208 | adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + native_mode->voverplus; | ||
209 | adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + native_mode->vsync_width; | ||
210 | } | 183 | } |
211 | adjusted_mode->flags = native_mode->flags; | 184 | adjusted_mode->base.id = mode_id; |
212 | adjusted_mode->clock = native_mode->dotclock; | ||
213 | } | 185 | } |
214 | } | 186 | } |
215 | 187 | ||
@@ -219,7 +191,11 @@ static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, | |||
219 | struct drm_display_mode *adjusted_mode) | 191 | struct drm_display_mode *adjusted_mode) |
220 | { | 192 | { |
221 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 193 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
194 | struct drm_device *dev = encoder->dev; | ||
195 | struct radeon_device *rdev = dev->dev_private; | ||
222 | 196 | ||
197 | /* set the active encoder to connector routing */ | ||
198 | radeon_encoder_set_active_device(encoder); | ||
223 | drm_mode_set_crtcinfo(adjusted_mode, 0); | 199 | drm_mode_set_crtcinfo(adjusted_mode, 0); |
224 | 200 | ||
225 | if (radeon_encoder->rmx_type != RMX_OFF) | 201 | if (radeon_encoder->rmx_type != RMX_OFF) |
@@ -230,6 +206,18 @@ static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, | |||
230 | && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) | 206 | && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) |
231 | adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; | 207 | adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; |
232 | 208 | ||
209 | if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) { | ||
210 | struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; | ||
211 | if (tv_dac) { | ||
212 | if (tv_dac->tv_std == TV_STD_NTSC || | ||
213 | tv_dac->tv_std == TV_STD_NTSC_J || | ||
214 | tv_dac->tv_std == TV_STD_PAL_M) | ||
215 | radeon_atom_get_tv_timings(rdev, 0, adjusted_mode); | ||
216 | else | ||
217 | radeon_atom_get_tv_timings(rdev, 1, adjusted_mode); | ||
218 | } | ||
219 | } | ||
220 | |||
233 | return true; | 221 | return true; |
234 | } | 222 | } |
235 | 223 | ||
@@ -461,7 +449,7 @@ atombios_digital_setup(struct drm_encoder *encoder, int action) | |||
461 | case 1: | 449 | case 1: |
462 | args.v1.ucMisc = 0; | 450 | args.v1.ucMisc = 0; |
463 | args.v1.ucAction = action; | 451 | args.v1.ucAction = action; |
464 | if (drm_detect_hdmi_monitor((struct edid *)connector->edid_blob_ptr)) | 452 | if (drm_detect_hdmi_monitor(radeon_connector->edid)) |
465 | args.v1.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; | 453 | args.v1.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; |
466 | args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); | 454 | args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); |
467 | if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { | 455 | if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { |
@@ -486,7 +474,7 @@ atombios_digital_setup(struct drm_encoder *encoder, int action) | |||
486 | if (dig->coherent_mode) | 474 | if (dig->coherent_mode) |
487 | args.v2.ucMisc |= PANEL_ENCODER_MISC_COHERENT; | 475 | args.v2.ucMisc |= PANEL_ENCODER_MISC_COHERENT; |
488 | } | 476 | } |
489 | if (drm_detect_hdmi_monitor((struct edid *)connector->edid_blob_ptr)) | 477 | if (drm_detect_hdmi_monitor(radeon_connector->edid)) |
490 | args.v2.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; | 478 | args.v2.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; |
491 | args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); | 479 | args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); |
492 | args.v2.ucTruncate = 0; | 480 | args.v2.ucTruncate = 0; |
@@ -544,7 +532,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder) | |||
544 | switch (connector->connector_type) { | 532 | switch (connector->connector_type) { |
545 | case DRM_MODE_CONNECTOR_DVII: | 533 | case DRM_MODE_CONNECTOR_DVII: |
546 | case DRM_MODE_CONNECTOR_HDMIB: /* HDMI-B is basically DL-DVI; analog works fine */ | 534 | case DRM_MODE_CONNECTOR_HDMIB: /* HDMI-B is basically DL-DVI; analog works fine */ |
547 | if (drm_detect_hdmi_monitor((struct edid *)connector->edid_blob_ptr)) | 535 | if (drm_detect_hdmi_monitor(radeon_connector->edid)) |
548 | return ATOM_ENCODER_MODE_HDMI; | 536 | return ATOM_ENCODER_MODE_HDMI; |
549 | else if (radeon_connector->use_digital) | 537 | else if (radeon_connector->use_digital) |
550 | return ATOM_ENCODER_MODE_DVI; | 538 | return ATOM_ENCODER_MODE_DVI; |
@@ -554,7 +542,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder) | |||
554 | case DRM_MODE_CONNECTOR_DVID: | 542 | case DRM_MODE_CONNECTOR_DVID: |
555 | case DRM_MODE_CONNECTOR_HDMIA: | 543 | case DRM_MODE_CONNECTOR_HDMIA: |
556 | default: | 544 | default: |
557 | if (drm_detect_hdmi_monitor((struct edid *)connector->edid_blob_ptr)) | 545 | if (drm_detect_hdmi_monitor(radeon_connector->edid)) |
558 | return ATOM_ENCODER_MODE_HDMI; | 546 | return ATOM_ENCODER_MODE_HDMI; |
559 | else | 547 | else |
560 | return ATOM_ENCODER_MODE_DVI; | 548 | return ATOM_ENCODER_MODE_DVI; |
@@ -566,7 +554,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder) | |||
566 | /*if (radeon_output->MonType == MT_DP) | 554 | /*if (radeon_output->MonType == MT_DP) |
567 | return ATOM_ENCODER_MODE_DP; | 555 | return ATOM_ENCODER_MODE_DP; |
568 | else*/ | 556 | else*/ |
569 | if (drm_detect_hdmi_monitor((struct edid *)connector->edid_blob_ptr)) | 557 | if (drm_detect_hdmi_monitor(radeon_connector->edid)) |
570 | return ATOM_ENCODER_MODE_HDMI; | 558 | return ATOM_ENCODER_MODE_HDMI; |
571 | else | 559 | else |
572 | return ATOM_ENCODER_MODE_DVI; | 560 | return ATOM_ENCODER_MODE_DVI; |
@@ -734,14 +722,17 @@ atombios_dig_transmitter_setup(struct drm_encoder *encoder, int action) | |||
734 | atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev); | 722 | atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev); |
735 | 723 | ||
736 | args.v1.ucAction = action; | 724 | args.v1.ucAction = action; |
737 | 725 | if (action == ATOM_TRANSMITTER_ACTION_INIT) { | |
726 | args.v1.usInitInfo = radeon_connector->connector_object_id; | ||
727 | } else { | ||
728 | if (radeon_encoder->pixel_clock > 165000) | ||
729 | args.v1.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); | ||
730 | else | ||
731 | args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); | ||
732 | } | ||
738 | if (ASIC_IS_DCE32(rdev)) { | 733 | if (ASIC_IS_DCE32(rdev)) { |
739 | if (radeon_encoder->pixel_clock > 165000) { | 734 | if (radeon_encoder->pixel_clock > 165000) |
740 | args.v2.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock * 10 * 2) / 100); | 735 | args.v2.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); |
741 | args.v2.acConfig.fDualLinkConnector = 1; | ||
742 | } else { | ||
743 | args.v2.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock * 10 * 4) / 100); | ||
744 | } | ||
745 | if (dig->dig_block) | 736 | if (dig->dig_block) |
746 | args.v2.acConfig.ucEncoderSel = 1; | 737 | args.v2.acConfig.ucEncoderSel = 1; |
747 | 738 | ||
@@ -766,7 +757,6 @@ atombios_dig_transmitter_setup(struct drm_encoder *encoder, int action) | |||
766 | } | 757 | } |
767 | } else { | 758 | } else { |
768 | args.v1.ucConfig = ATOM_TRANSMITTER_CONFIG_CLKSRC_PPLL; | 759 | args.v1.ucConfig = ATOM_TRANSMITTER_CONFIG_CLKSRC_PPLL; |
769 | args.v1.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock) / 10); | ||
770 | 760 | ||
771 | switch (radeon_encoder->encoder_id) { | 761 | switch (radeon_encoder->encoder_id) { |
772 | case ENCODER_OBJECT_ID_INTERNAL_UNIPHY: | 762 | case ENCODER_OBJECT_ID_INTERNAL_UNIPHY: |
@@ -874,16 +864,9 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode) | |||
874 | DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; | 864 | DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; |
875 | int index = 0; | 865 | int index = 0; |
876 | bool is_dig = false; | 866 | bool is_dig = false; |
877 | int devices; | ||
878 | 867 | ||
879 | memset(&args, 0, sizeof(args)); | 868 | memset(&args, 0, sizeof(args)); |
880 | 869 | ||
881 | /* on DPMS off we have no idea if active device is meaningful */ | ||
882 | if (mode != DRM_MODE_DPMS_ON && !radeon_encoder->active_device) | ||
883 | devices = radeon_encoder->devices; | ||
884 | else | ||
885 | devices = radeon_encoder->active_device; | ||
886 | |||
887 | DRM_DEBUG("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n", | 870 | DRM_DEBUG("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n", |
888 | radeon_encoder->encoder_id, mode, radeon_encoder->devices, | 871 | radeon_encoder->encoder_id, mode, radeon_encoder->devices, |
889 | radeon_encoder->active_device); | 872 | radeon_encoder->active_device); |
@@ -914,18 +897,18 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode) | |||
914 | break; | 897 | break; |
915 | case ENCODER_OBJECT_ID_INTERNAL_DAC1: | 898 | case ENCODER_OBJECT_ID_INTERNAL_DAC1: |
916 | case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1: | 899 | case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1: |
917 | if (devices & (ATOM_DEVICE_TV_SUPPORT)) | 900 | if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) |
918 | index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); | 901 | index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); |
919 | else if (devices & (ATOM_DEVICE_CV_SUPPORT)) | 902 | else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) |
920 | index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); | 903 | index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); |
921 | else | 904 | else |
922 | index = GetIndexIntoMasterTable(COMMAND, DAC1OutputControl); | 905 | index = GetIndexIntoMasterTable(COMMAND, DAC1OutputControl); |
923 | break; | 906 | break; |
924 | case ENCODER_OBJECT_ID_INTERNAL_DAC2: | 907 | case ENCODER_OBJECT_ID_INTERNAL_DAC2: |
925 | case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2: | 908 | case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2: |
926 | if (devices & (ATOM_DEVICE_TV_SUPPORT)) | 909 | if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) |
927 | index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); | 910 | index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); |
928 | else if (devices & (ATOM_DEVICE_CV_SUPPORT)) | 911 | else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) |
929 | index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); | 912 | index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); |
930 | else | 913 | else |
931 | index = GetIndexIntoMasterTable(COMMAND, DAC2OutputControl); | 914 | index = GetIndexIntoMasterTable(COMMAND, DAC2OutputControl); |
@@ -1104,8 +1087,11 @@ atombios_apply_encoder_quirks(struct drm_encoder *encoder, | |||
1104 | } | 1087 | } |
1105 | 1088 | ||
1106 | /* set scaler clears this on some chips */ | 1089 | /* set scaler clears this on some chips */ |
1107 | if (ASIC_IS_AVIVO(rdev) && (mode->flags & DRM_MODE_FLAG_INTERLACE)) | 1090 | if (!(radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))) { |
1108 | WREG32(AVIVO_D1MODE_DATA_FORMAT + radeon_crtc->crtc_offset, AVIVO_D1MODE_INTERLEAVE_EN); | 1091 | if (ASIC_IS_AVIVO(rdev) && (mode->flags & DRM_MODE_FLAG_INTERLACE)) |
1092 | WREG32(AVIVO_D1MODE_DATA_FORMAT + radeon_crtc->crtc_offset, | ||
1093 | AVIVO_D1MODE_INTERLEAVE_EN); | ||
1094 | } | ||
1109 | } | 1095 | } |
1110 | 1096 | ||
1111 | static void | 1097 | static void |
@@ -1153,6 +1139,7 @@ radeon_atom_encoder_mode_set(struct drm_encoder *encoder, | |||
1153 | 1139 | ||
1154 | /* setup and enable the encoder and transmitter */ | 1140 | /* setup and enable the encoder and transmitter */ |
1155 | atombios_dig_encoder_setup(encoder, ATOM_ENABLE); | 1141 | atombios_dig_encoder_setup(encoder, ATOM_ENABLE); |
1142 | atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_INIT); | ||
1156 | atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_SETUP); | 1143 | atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_SETUP); |
1157 | atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE); | 1144 | atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE); |
1158 | break; | 1145 | break; |
@@ -1268,8 +1255,6 @@ static void radeon_atom_encoder_prepare(struct drm_encoder *encoder) | |||
1268 | { | 1255 | { |
1269 | radeon_atom_output_lock(encoder, true); | 1256 | radeon_atom_output_lock(encoder, true); |
1270 | radeon_atom_encoder_dpms(encoder, DRM_MODE_DPMS_OFF); | 1257 | radeon_atom_encoder_dpms(encoder, DRM_MODE_DPMS_OFF); |
1271 | |||
1272 | radeon_encoder_set_active_device(encoder); | ||
1273 | } | 1258 | } |
1274 | 1259 | ||
1275 | static void radeon_atom_encoder_commit(struct drm_encoder *encoder) | 1260 | static void radeon_atom_encoder_commit(struct drm_encoder *encoder) |
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index a931af065dd4..a68d7566178c 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c | |||
@@ -140,15 +140,15 @@ void radeon_gart_unbind(struct radeon_device *rdev, unsigned offset, | |||
140 | WARN(1, "trying to unbind memory to unitialized GART !\n"); | 140 | WARN(1, "trying to unbind memory to unitialized GART !\n"); |
141 | return; | 141 | return; |
142 | } | 142 | } |
143 | t = offset / 4096; | 143 | t = offset / RADEON_GPU_PAGE_SIZE; |
144 | p = t / (PAGE_SIZE / 4096); | 144 | p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); |
145 | for (i = 0; i < pages; i++, p++) { | 145 | for (i = 0; i < pages; i++, p++) { |
146 | if (rdev->gart.pages[p]) { | 146 | if (rdev->gart.pages[p]) { |
147 | pci_unmap_page(rdev->pdev, rdev->gart.pages_addr[p], | 147 | pci_unmap_page(rdev->pdev, rdev->gart.pages_addr[p], |
148 | PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); | 148 | PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); |
149 | rdev->gart.pages[p] = NULL; | 149 | rdev->gart.pages[p] = NULL; |
150 | rdev->gart.pages_addr[p] = 0; | 150 | rdev->gart.pages_addr[p] = 0; |
151 | for (j = 0; j < (PAGE_SIZE / 4096); j++, t++) { | 151 | for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { |
152 | radeon_gart_set_page(rdev, t, 0); | 152 | radeon_gart_set_page(rdev, t, 0); |
153 | } | 153 | } |
154 | } | 154 | } |
@@ -169,8 +169,8 @@ int radeon_gart_bind(struct radeon_device *rdev, unsigned offset, | |||
169 | DRM_ERROR("trying to bind memory to unitialized GART !\n"); | 169 | DRM_ERROR("trying to bind memory to unitialized GART !\n"); |
170 | return -EINVAL; | 170 | return -EINVAL; |
171 | } | 171 | } |
172 | t = offset / 4096; | 172 | t = offset / RADEON_GPU_PAGE_SIZE; |
173 | p = t / (PAGE_SIZE / 4096); | 173 | p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); |
174 | 174 | ||
175 | for (i = 0; i < pages; i++, p++) { | 175 | for (i = 0; i < pages; i++, p++) { |
176 | /* we need to support large memory configurations */ | 176 | /* we need to support large memory configurations */ |
@@ -185,9 +185,9 @@ int radeon_gart_bind(struct radeon_device *rdev, unsigned offset, | |||
185 | } | 185 | } |
186 | rdev->gart.pages[p] = pagelist[i]; | 186 | rdev->gart.pages[p] = pagelist[i]; |
187 | page_base = rdev->gart.pages_addr[p]; | 187 | page_base = rdev->gart.pages_addr[p]; |
188 | for (j = 0; j < (PAGE_SIZE / 4096); j++, t++) { | 188 | for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { |
189 | radeon_gart_set_page(rdev, t, page_base); | 189 | radeon_gart_set_page(rdev, t, page_base); |
190 | page_base += 4096; | 190 | page_base += RADEON_GPU_PAGE_SIZE; |
191 | } | 191 | } |
192 | } | 192 | } |
193 | mb(); | 193 | mb(); |
@@ -200,14 +200,14 @@ int radeon_gart_init(struct radeon_device *rdev) | |||
200 | if (rdev->gart.pages) { | 200 | if (rdev->gart.pages) { |
201 | return 0; | 201 | return 0; |
202 | } | 202 | } |
203 | /* We need PAGE_SIZE >= 4096 */ | 203 | /* We need PAGE_SIZE >= RADEON_GPU_PAGE_SIZE */ |
204 | if (PAGE_SIZE < 4096) { | 204 | if (PAGE_SIZE < RADEON_GPU_PAGE_SIZE) { |
205 | DRM_ERROR("Page size is smaller than GPU page size!\n"); | 205 | DRM_ERROR("Page size is smaller than GPU page size!\n"); |
206 | return -EINVAL; | 206 | return -EINVAL; |
207 | } | 207 | } |
208 | /* Compute table size */ | 208 | /* Compute table size */ |
209 | rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; | 209 | rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; |
210 | rdev->gart.num_gpu_pages = rdev->mc.gtt_size / 4096; | 210 | rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; |
211 | DRM_INFO("GART: num cpu pages %u, num gpu pages %u\n", | 211 | DRM_INFO("GART: num cpu pages %u, num gpu pages %u\n", |
212 | rdev->gart.num_cpu_pages, rdev->gart.num_gpu_pages); | 212 | rdev->gart.num_cpu_pages, rdev->gart.num_gpu_pages); |
213 | /* Allocate pages table */ | 213 | /* Allocate pages table */ |
diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c index 8e0a8759e428..a0fe6232dcb6 100644 --- a/drivers/gpu/drm/radeon/radeon_irq_kms.c +++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c | |||
@@ -92,6 +92,13 @@ int radeon_irq_kms_init(struct radeon_device *rdev) | |||
92 | if (r) { | 92 | if (r) { |
93 | return r; | 93 | return r; |
94 | } | 94 | } |
95 | /* enable msi */ | ||
96 | rdev->msi_enabled = 0; | ||
97 | if (rdev->family >= CHIP_RV380) { | ||
98 | int ret = pci_enable_msi(rdev->pdev); | ||
99 | if (!ret) | ||
100 | rdev->msi_enabled = 1; | ||
101 | } | ||
95 | drm_irq_install(rdev->ddev); | 102 | drm_irq_install(rdev->ddev); |
96 | rdev->irq.installed = true; | 103 | rdev->irq.installed = true; |
97 | DRM_INFO("radeon: irq initialized.\n"); | 104 | DRM_INFO("radeon: irq initialized.\n"); |
@@ -103,5 +110,7 @@ void radeon_irq_kms_fini(struct radeon_device *rdev) | |||
103 | if (rdev->irq.installed) { | 110 | if (rdev->irq.installed) { |
104 | rdev->irq.installed = false; | 111 | rdev->irq.installed = false; |
105 | drm_irq_uninstall(rdev->ddev); | 112 | drm_irq_uninstall(rdev->ddev); |
113 | if (rdev->msi_enabled) | ||
114 | pci_disable_msi(rdev->pdev); | ||
106 | } | 115 | } |
107 | } | 116 | } |
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c index 36410f85d705..8d0b7aa87fa4 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c | |||
@@ -48,7 +48,7 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, | |||
48 | u32 fp_horz_stretch, fp_vert_stretch, fp_horz_vert_active; | 48 | u32 fp_horz_stretch, fp_vert_stretch, fp_horz_vert_active; |
49 | u32 fp_h_sync_strt_wid, fp_crtc_h_total_disp; | 49 | u32 fp_h_sync_strt_wid, fp_crtc_h_total_disp; |
50 | u32 fp_v_sync_strt_wid, fp_crtc_v_total_disp; | 50 | u32 fp_v_sync_strt_wid, fp_crtc_v_total_disp; |
51 | struct radeon_native_mode *native_mode = &radeon_crtc->native_mode; | 51 | struct drm_display_mode *native_mode = &radeon_crtc->native_mode; |
52 | 52 | ||
53 | fp_vert_stretch = RREG32(RADEON_FP_VERT_STRETCH) & | 53 | fp_vert_stretch = RREG32(RADEON_FP_VERT_STRETCH) & |
54 | (RADEON_VERT_STRETCH_RESERVED | | 54 | (RADEON_VERT_STRETCH_RESERVED | |
@@ -95,19 +95,19 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, | |||
95 | 95 | ||
96 | fp_horz_vert_active = 0; | 96 | fp_horz_vert_active = 0; |
97 | 97 | ||
98 | if (native_mode->panel_xres == 0 || | 98 | if (native_mode->hdisplay == 0 || |
99 | native_mode->panel_yres == 0) { | 99 | native_mode->vdisplay == 0) { |
100 | hscale = false; | 100 | hscale = false; |
101 | vscale = false; | 101 | vscale = false; |
102 | } else { | 102 | } else { |
103 | if (xres > native_mode->panel_xres) | 103 | if (xres > native_mode->hdisplay) |
104 | xres = native_mode->panel_xres; | 104 | xres = native_mode->hdisplay; |
105 | if (yres > native_mode->panel_yres) | 105 | if (yres > native_mode->vdisplay) |
106 | yres = native_mode->panel_yres; | 106 | yres = native_mode->vdisplay; |
107 | 107 | ||
108 | if (xres == native_mode->panel_xres) | 108 | if (xres == native_mode->hdisplay) |
109 | hscale = false; | 109 | hscale = false; |
110 | if (yres == native_mode->panel_yres) | 110 | if (yres == native_mode->vdisplay) |
111 | vscale = false; | 111 | vscale = false; |
112 | } | 112 | } |
113 | 113 | ||
@@ -119,11 +119,11 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, | |||
119 | else { | 119 | else { |
120 | inc = (fp_horz_stretch & RADEON_HORZ_AUTO_RATIO_INC) ? 1 : 0; | 120 | inc = (fp_horz_stretch & RADEON_HORZ_AUTO_RATIO_INC) ? 1 : 0; |
121 | scale = ((xres + inc) * RADEON_HORZ_STRETCH_RATIO_MAX) | 121 | scale = ((xres + inc) * RADEON_HORZ_STRETCH_RATIO_MAX) |
122 | / native_mode->panel_xres + 1; | 122 | / native_mode->hdisplay + 1; |
123 | fp_horz_stretch |= (((scale) & RADEON_HORZ_STRETCH_RATIO_MASK) | | 123 | fp_horz_stretch |= (((scale) & RADEON_HORZ_STRETCH_RATIO_MASK) | |
124 | RADEON_HORZ_STRETCH_BLEND | | 124 | RADEON_HORZ_STRETCH_BLEND | |
125 | RADEON_HORZ_STRETCH_ENABLE | | 125 | RADEON_HORZ_STRETCH_ENABLE | |
126 | ((native_mode->panel_xres/8-1) << 16)); | 126 | ((native_mode->hdisplay/8-1) << 16)); |
127 | } | 127 | } |
128 | 128 | ||
129 | if (!vscale) | 129 | if (!vscale) |
@@ -131,11 +131,11 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, | |||
131 | else { | 131 | else { |
132 | inc = (fp_vert_stretch & RADEON_VERT_AUTO_RATIO_INC) ? 1 : 0; | 132 | inc = (fp_vert_stretch & RADEON_VERT_AUTO_RATIO_INC) ? 1 : 0; |
133 | scale = ((yres + inc) * RADEON_VERT_STRETCH_RATIO_MAX) | 133 | scale = ((yres + inc) * RADEON_VERT_STRETCH_RATIO_MAX) |
134 | / native_mode->panel_yres + 1; | 134 | / native_mode->vdisplay + 1; |
135 | fp_vert_stretch |= (((scale) & RADEON_VERT_STRETCH_RATIO_MASK) | | 135 | fp_vert_stretch |= (((scale) & RADEON_VERT_STRETCH_RATIO_MASK) | |
136 | RADEON_VERT_STRETCH_ENABLE | | 136 | RADEON_VERT_STRETCH_ENABLE | |
137 | RADEON_VERT_STRETCH_BLEND | | 137 | RADEON_VERT_STRETCH_BLEND | |
138 | ((native_mode->panel_yres-1) << 12)); | 138 | ((native_mode->vdisplay-1) << 12)); |
139 | } | 139 | } |
140 | break; | 140 | break; |
141 | case RMX_CENTER: | 141 | case RMX_CENTER: |
@@ -175,8 +175,8 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, | |||
175 | ? RADEON_CRTC_V_SYNC_POL | 175 | ? RADEON_CRTC_V_SYNC_POL |
176 | : 0))); | 176 | : 0))); |
177 | 177 | ||
178 | fp_horz_vert_active = (((native_mode->panel_yres) & 0xfff) | | 178 | fp_horz_vert_active = (((native_mode->vdisplay) & 0xfff) | |
179 | (((native_mode->panel_xres / 8) & 0x1ff) << 16)); | 179 | (((native_mode->hdisplay / 8) & 0x1ff) << 16)); |
180 | break; | 180 | break; |
181 | case RMX_OFF: | 181 | case RMX_OFF: |
182 | default: | 182 | default: |
@@ -532,6 +532,10 @@ int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y, | |||
532 | radeon_fb = to_radeon_framebuffer(old_fb); | 532 | radeon_fb = to_radeon_framebuffer(old_fb); |
533 | radeon_gem_object_unpin(radeon_fb->obj); | 533 | radeon_gem_object_unpin(radeon_fb->obj); |
534 | } | 534 | } |
535 | |||
536 | /* Bytes per pixel may have changed */ | ||
537 | radeon_bandwidth_update(rdev); | ||
538 | |||
535 | return 0; | 539 | return 0; |
536 | } | 540 | } |
537 | 541 | ||
@@ -664,6 +668,9 @@ static bool radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mod | |||
664 | 668 | ||
665 | WREG32(RADEON_DISP2_MERGE_CNTL, disp2_merge_cntl); | 669 | WREG32(RADEON_DISP2_MERGE_CNTL, disp2_merge_cntl); |
666 | WREG32(RADEON_CRTC2_GEN_CNTL, crtc2_gen_cntl); | 670 | WREG32(RADEON_CRTC2_GEN_CNTL, crtc2_gen_cntl); |
671 | |||
672 | WREG32(RADEON_FP_H2_SYNC_STRT_WID, crtc_h_sync_strt_wid); | ||
673 | WREG32(RADEON_FP_V2_SYNC_STRT_WID, crtc_v_sync_strt_wid); | ||
667 | } else { | 674 | } else { |
668 | uint32_t crtc_gen_cntl; | 675 | uint32_t crtc_gen_cntl; |
669 | uint32_t crtc_ext_cntl; | 676 | uint32_t crtc_ext_cntl; |
@@ -1015,14 +1022,11 @@ static int radeon_crtc_mode_set(struct drm_crtc *crtc, | |||
1015 | int x, int y, struct drm_framebuffer *old_fb) | 1022 | int x, int y, struct drm_framebuffer *old_fb) |
1016 | { | 1023 | { |
1017 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); | 1024 | struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); |
1018 | struct drm_device *dev = crtc->dev; | ||
1019 | struct radeon_device *rdev = dev->dev_private; | ||
1020 | 1025 | ||
1021 | /* TODO TV */ | 1026 | /* TODO TV */ |
1022 | radeon_crtc_set_base(crtc, x, y, old_fb); | 1027 | radeon_crtc_set_base(crtc, x, y, old_fb); |
1023 | radeon_set_crtc_timing(crtc, adjusted_mode); | 1028 | radeon_set_crtc_timing(crtc, adjusted_mode); |
1024 | radeon_set_pll(crtc, adjusted_mode); | 1029 | radeon_set_pll(crtc, adjusted_mode); |
1025 | radeon_bandwidth_update(rdev); | ||
1026 | if (radeon_crtc->crtc_id == 0) { | 1030 | if (radeon_crtc->crtc_id == 0) { |
1027 | radeon_legacy_rmx_mode_set(crtc, mode, adjusted_mode); | 1031 | radeon_legacy_rmx_mode_set(crtc, mode, adjusted_mode); |
1028 | } else { | 1032 | } else { |
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index 6ceb958fd194..00382122869b 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c | |||
@@ -107,8 +107,6 @@ static void radeon_legacy_lvds_prepare(struct drm_encoder *encoder) | |||
107 | else | 107 | else |
108 | radeon_combios_output_lock(encoder, true); | 108 | radeon_combios_output_lock(encoder, true); |
109 | radeon_legacy_lvds_dpms(encoder, DRM_MODE_DPMS_OFF); | 109 | radeon_legacy_lvds_dpms(encoder, DRM_MODE_DPMS_OFF); |
110 | |||
111 | radeon_encoder_set_active_device(encoder); | ||
112 | } | 110 | } |
113 | 111 | ||
114 | static void radeon_legacy_lvds_commit(struct drm_encoder *encoder) | 112 | static void radeon_legacy_lvds_commit(struct drm_encoder *encoder) |
@@ -192,6 +190,8 @@ static bool radeon_legacy_lvds_mode_fixup(struct drm_encoder *encoder, | |||
192 | { | 190 | { |
193 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); | 191 | struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); |
194 | 192 | ||
193 | /* set the active encoder to connector routing */ | ||
194 | radeon_encoder_set_active_device(encoder); | ||
195 | drm_mode_set_crtcinfo(adjusted_mode, 0); | 195 | drm_mode_set_crtcinfo(adjusted_mode, 0); |
196 | 196 | ||
197 | if (radeon_encoder->rmx_type != RMX_OFF) | 197 | if (radeon_encoder->rmx_type != RMX_OFF) |
@@ -218,7 +218,8 @@ static bool radeon_legacy_primary_dac_mode_fixup(struct drm_encoder *encoder, | |||
218 | struct drm_display_mode *mode, | 218 | struct drm_display_mode *mode, |
219 | struct drm_display_mode *adjusted_mode) | 219 | struct drm_display_mode *adjusted_mode) |
220 | { | 220 | { |
221 | 221 | /* set the active encoder to connector routing */ | |
222 | radeon_encoder_set_active_device(encoder); | ||
222 | drm_mode_set_crtcinfo(adjusted_mode, 0); | 223 | drm_mode_set_crtcinfo(adjusted_mode, 0); |
223 | 224 | ||
224 | return true; | 225 | return true; |
@@ -272,7 +273,6 @@ static void radeon_legacy_primary_dac_prepare(struct drm_encoder *encoder) | |||
272 | else | 273 | else |
273 | radeon_combios_output_lock(encoder, true); | 274 | radeon_combios_output_lock(encoder, true); |
274 | radeon_legacy_primary_dac_dpms(encoder, DRM_MODE_DPMS_OFF); | 275 | radeon_legacy_primary_dac_dpms(encoder, DRM_MODE_DPMS_OFF); |
275 | radeon_encoder_set_active_device(encoder); | ||
276 | } | 276 | } |
277 | 277 | ||
278 | static void radeon_legacy_primary_dac_commit(struct drm_encoder *encoder) | 278 | static void radeon_legacy_primary_dac_commit(struct drm_encoder *encoder) |
@@ -468,7 +468,6 @@ static void radeon_legacy_tmds_int_prepare(struct drm_encoder *encoder) | |||
468 | else | 468 | else |
469 | radeon_combios_output_lock(encoder, true); | 469 | radeon_combios_output_lock(encoder, true); |
470 | radeon_legacy_tmds_int_dpms(encoder, DRM_MODE_DPMS_OFF); | 470 | radeon_legacy_tmds_int_dpms(encoder, DRM_MODE_DPMS_OFF); |
471 | radeon_encoder_set_active_device(encoder); | ||
472 | } | 471 | } |
473 | 472 | ||
474 | static void radeon_legacy_tmds_int_commit(struct drm_encoder *encoder) | 473 | static void radeon_legacy_tmds_int_commit(struct drm_encoder *encoder) |
@@ -543,6 +542,14 @@ static void radeon_legacy_tmds_int_mode_set(struct drm_encoder *encoder, | |||
543 | 542 | ||
544 | fp_gen_cntl &= ~(RADEON_FP_FPON | RADEON_FP_TMDS_EN); | 543 | fp_gen_cntl &= ~(RADEON_FP_FPON | RADEON_FP_TMDS_EN); |
545 | 544 | ||
545 | fp_gen_cntl &= ~(RADEON_FP_RMX_HVSYNC_CONTROL_EN | | ||
546 | RADEON_FP_DFP_SYNC_SEL | | ||
547 | RADEON_FP_CRT_SYNC_SEL | | ||
548 | RADEON_FP_CRTC_LOCK_8DOT | | ||
549 | RADEON_FP_USE_SHADOW_EN | | ||
550 | RADEON_FP_CRTC_USE_SHADOW_VEND | | ||
551 | RADEON_FP_CRT_SYNC_ALT); | ||
552 | |||
546 | if (1) /* FIXME rgbBits == 8 */ | 553 | if (1) /* FIXME rgbBits == 8 */ |
547 | fp_gen_cntl |= RADEON_FP_PANEL_FORMAT; /* 24 bit format */ | 554 | fp_gen_cntl |= RADEON_FP_PANEL_FORMAT; /* 24 bit format */ |
548 | else | 555 | else |
@@ -556,7 +563,7 @@ static void radeon_legacy_tmds_int_mode_set(struct drm_encoder *encoder, | |||
556 | else | 563 | else |
557 | fp_gen_cntl |= R200_FP_SOURCE_SEL_CRTC1; | 564 | fp_gen_cntl |= R200_FP_SOURCE_SEL_CRTC1; |
558 | } else | 565 | } else |
559 | fp_gen_cntl |= RADEON_FP_SEL_CRTC1; | 566 | fp_gen_cntl &= ~RADEON_FP_SEL_CRTC2; |
560 | } else { | 567 | } else { |
561 | if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { | 568 | if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { |
562 | fp_gen_cntl &= ~R200_FP_SOURCE_SEL_MASK; | 569 | fp_gen_cntl &= ~R200_FP_SOURCE_SEL_MASK; |
@@ -593,7 +600,8 @@ static bool radeon_legacy_tmds_ext_mode_fixup(struct drm_encoder *encoder, | |||
593 | struct drm_display_mode *mode, | 600 | struct drm_display_mode *mode, |
594 | struct drm_display_mode *adjusted_mode) | 601 | struct drm_display_mode *adjusted_mode) |
595 | { | 602 | { |
596 | 603 | /* set the active encoder to connector routing */ | |
604 | radeon_encoder_set_active_device(encoder); | ||
597 | drm_mode_set_crtcinfo(adjusted_mode, 0); | 605 | drm_mode_set_crtcinfo(adjusted_mode, 0); |
598 | 606 | ||
599 | return true; | 607 | return true; |
@@ -636,7 +644,6 @@ static void radeon_legacy_tmds_ext_prepare(struct drm_encoder *encoder) | |||
636 | else | 644 | else |
637 | radeon_combios_output_lock(encoder, true); | 645 | radeon_combios_output_lock(encoder, true); |
638 | radeon_legacy_tmds_ext_dpms(encoder, DRM_MODE_DPMS_OFF); | 646 | radeon_legacy_tmds_ext_dpms(encoder, DRM_MODE_DPMS_OFF); |
639 | radeon_encoder_set_active_device(encoder); | ||
640 | } | 647 | } |
641 | 648 | ||
642 | static void radeon_legacy_tmds_ext_commit(struct drm_encoder *encoder) | 649 | static void radeon_legacy_tmds_ext_commit(struct drm_encoder *encoder) |
@@ -735,7 +742,8 @@ static bool radeon_legacy_tv_dac_mode_fixup(struct drm_encoder *encoder, | |||
735 | struct drm_display_mode *mode, | 742 | struct drm_display_mode *mode, |
736 | struct drm_display_mode *adjusted_mode) | 743 | struct drm_display_mode *adjusted_mode) |
737 | { | 744 | { |
738 | 745 | /* set the active encoder to connector routing */ | |
746 | radeon_encoder_set_active_device(encoder); | ||
739 | drm_mode_set_crtcinfo(adjusted_mode, 0); | 747 | drm_mode_set_crtcinfo(adjusted_mode, 0); |
740 | 748 | ||
741 | return true; | 749 | return true; |
@@ -839,7 +847,6 @@ static void radeon_legacy_tv_dac_prepare(struct drm_encoder *encoder) | |||
839 | else | 847 | else |
840 | radeon_combios_output_lock(encoder, true); | 848 | radeon_combios_output_lock(encoder, true); |
841 | radeon_legacy_tv_dac_dpms(encoder, DRM_MODE_DPMS_OFF); | 849 | radeon_legacy_tv_dac_dpms(encoder, DRM_MODE_DPMS_OFF); |
842 | radeon_encoder_set_active_device(encoder); | ||
843 | } | 850 | } |
844 | 851 | ||
845 | static void radeon_legacy_tv_dac_commit(struct drm_encoder *encoder) | 852 | static void radeon_legacy_tv_dac_commit(struct drm_encoder *encoder) |
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index e61226817ccf..ace726aa0d76 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -172,6 +172,7 @@ enum radeon_connector_table { | |||
172 | 172 | ||
173 | struct radeon_mode_info { | 173 | struct radeon_mode_info { |
174 | struct atom_context *atom_context; | 174 | struct atom_context *atom_context; |
175 | struct card_info *atom_card_info; | ||
175 | enum radeon_connector_table connector_table; | 176 | enum radeon_connector_table connector_table; |
176 | bool mode_config_initialized; | 177 | bool mode_config_initialized; |
177 | struct radeon_crtc *crtcs[2]; | 178 | struct radeon_crtc *crtcs[2]; |
@@ -186,17 +187,6 @@ struct radeon_mode_info { | |||
186 | 187 | ||
187 | }; | 188 | }; |
188 | 189 | ||
189 | struct radeon_native_mode { | ||
190 | /* preferred mode */ | ||
191 | uint32_t panel_xres, panel_yres; | ||
192 | uint32_t hoverplus, hsync_width; | ||
193 | uint32_t hblank; | ||
194 | uint32_t voverplus, vsync_width; | ||
195 | uint32_t vblank; | ||
196 | uint32_t dotclock; | ||
197 | uint32_t flags; | ||
198 | }; | ||
199 | |||
200 | #define MAX_H_CODE_TIMING_LEN 32 | 190 | #define MAX_H_CODE_TIMING_LEN 32 |
201 | #define MAX_V_CODE_TIMING_LEN 32 | 191 | #define MAX_V_CODE_TIMING_LEN 32 |
202 | 192 | ||
@@ -228,7 +218,7 @@ struct radeon_crtc { | |||
228 | enum radeon_rmx_type rmx_type; | 218 | enum radeon_rmx_type rmx_type; |
229 | fixed20_12 vsc; | 219 | fixed20_12 vsc; |
230 | fixed20_12 hsc; | 220 | fixed20_12 hsc; |
231 | struct radeon_native_mode native_mode; | 221 | struct drm_display_mode native_mode; |
232 | }; | 222 | }; |
233 | 223 | ||
234 | struct radeon_encoder_primary_dac { | 224 | struct radeon_encoder_primary_dac { |
@@ -248,7 +238,7 @@ struct radeon_encoder_lvds { | |||
248 | bool use_bios_dividers; | 238 | bool use_bios_dividers; |
249 | uint32_t lvds_gen_cntl; | 239 | uint32_t lvds_gen_cntl; |
250 | /* panel mode */ | 240 | /* panel mode */ |
251 | struct radeon_native_mode native_mode; | 241 | struct drm_display_mode native_mode; |
252 | }; | 242 | }; |
253 | 243 | ||
254 | struct radeon_encoder_tv_dac { | 244 | struct radeon_encoder_tv_dac { |
@@ -271,6 +261,16 @@ struct radeon_encoder_int_tmds { | |||
271 | struct radeon_tmds_pll tmds_pll[4]; | 261 | struct radeon_tmds_pll tmds_pll[4]; |
272 | }; | 262 | }; |
273 | 263 | ||
264 | /* spread spectrum */ | ||
265 | struct radeon_atom_ss { | ||
266 | uint16_t percentage; | ||
267 | uint8_t type; | ||
268 | uint8_t step; | ||
269 | uint8_t delay; | ||
270 | uint8_t range; | ||
271 | uint8_t refdiv; | ||
272 | }; | ||
273 | |||
274 | struct radeon_encoder_atom_dig { | 274 | struct radeon_encoder_atom_dig { |
275 | /* atom dig */ | 275 | /* atom dig */ |
276 | bool coherent_mode; | 276 | bool coherent_mode; |
@@ -278,8 +278,9 @@ struct radeon_encoder_atom_dig { | |||
278 | /* atom lvds */ | 278 | /* atom lvds */ |
279 | uint32_t lvds_misc; | 279 | uint32_t lvds_misc; |
280 | uint16_t panel_pwr_delay; | 280 | uint16_t panel_pwr_delay; |
281 | struct radeon_atom_ss *ss; | ||
281 | /* panel mode */ | 282 | /* panel mode */ |
282 | struct radeon_native_mode native_mode; | 283 | struct drm_display_mode native_mode; |
283 | }; | 284 | }; |
284 | 285 | ||
285 | struct radeon_encoder_atom_dac { | 286 | struct radeon_encoder_atom_dac { |
@@ -294,7 +295,7 @@ struct radeon_encoder { | |||
294 | uint32_t flags; | 295 | uint32_t flags; |
295 | uint32_t pixel_clock; | 296 | uint32_t pixel_clock; |
296 | enum radeon_rmx_type rmx_type; | 297 | enum radeon_rmx_type rmx_type; |
297 | struct radeon_native_mode native_mode; | 298 | struct drm_display_mode native_mode; |
298 | void *enc_priv; | 299 | void *enc_priv; |
299 | }; | 300 | }; |
300 | 301 | ||
@@ -308,12 +309,15 @@ struct radeon_connector { | |||
308 | uint32_t connector_id; | 309 | uint32_t connector_id; |
309 | uint32_t devices; | 310 | uint32_t devices; |
310 | struct radeon_i2c_chan *ddc_bus; | 311 | struct radeon_i2c_chan *ddc_bus; |
312 | /* some systems have a an hdmi and vga port with a shared ddc line */ | ||
313 | bool shared_ddc; | ||
311 | bool use_digital; | 314 | bool use_digital; |
312 | /* we need to mind the EDID between detect | 315 | /* we need to mind the EDID between detect |
313 | and get modes due to analog/digital/tvencoder */ | 316 | and get modes due to analog/digital/tvencoder */ |
314 | struct edid *edid; | 317 | struct edid *edid; |
315 | void *con_priv; | 318 | void *con_priv; |
316 | bool dac_load_detect; | 319 | bool dac_load_detect; |
320 | uint16_t connector_object_id; | ||
317 | }; | 321 | }; |
318 | 322 | ||
319 | struct radeon_framebuffer { | 323 | struct radeon_framebuffer { |
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c new file mode 100644 index 000000000000..46146c6a2a06 --- /dev/null +++ b/drivers/gpu/drm/radeon/radeon_pm.c | |||
@@ -0,0 +1,65 @@ | |||
1 | /* | ||
2 | * Permission is hereby granted, free of charge, to any person obtaining a | ||
3 | * copy of this software and associated documentation files (the "Software"), | ||
4 | * to deal in the Software without restriction, including without limitation | ||
5 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
6 | * and/or sell copies of the Software, and to permit persons to whom the | ||
7 | * Software is furnished to do so, subject to the following conditions: | ||
8 | * | ||
9 | * The above copyright notice and this permission notice shall be included in | ||
10 | * all copies or substantial portions of the Software. | ||
11 | * | ||
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
13 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
14 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
15 | * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
16 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
17 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
18 | * OTHER DEALINGS IN THE SOFTWARE. | ||
19 | * | ||
20 | * Authors: Rafał Miłecki <zajec5@gmail.com> | ||
21 | */ | ||
22 | #include "drmP.h" | ||
23 | #include "radeon.h" | ||
24 | |||
25 | int radeon_debugfs_pm_init(struct radeon_device *rdev); | ||
26 | |||
27 | int radeon_pm_init(struct radeon_device *rdev) | ||
28 | { | ||
29 | if (radeon_debugfs_pm_init(rdev)) { | ||
30 | DRM_ERROR("Failed to register debugfs file for CP !\n"); | ||
31 | } | ||
32 | |||
33 | return 0; | ||
34 | } | ||
35 | |||
36 | /* | ||
37 | * Debugfs info | ||
38 | */ | ||
39 | #if defined(CONFIG_DEBUG_FS) | ||
40 | |||
41 | static int radeon_debugfs_pm_info(struct seq_file *m, void *data) | ||
42 | { | ||
43 | struct drm_info_node *node = (struct drm_info_node *) m->private; | ||
44 | struct drm_device *dev = node->minor->dev; | ||
45 | struct radeon_device *rdev = dev->dev_private; | ||
46 | |||
47 | seq_printf(m, "engine clock: %u0 Hz\n", radeon_get_engine_clock(rdev)); | ||
48 | seq_printf(m, "memory clock: %u0 Hz\n", radeon_get_memory_clock(rdev)); | ||
49 | |||
50 | return 0; | ||
51 | } | ||
52 | |||
53 | static struct drm_info_list radeon_pm_info_list[] = { | ||
54 | {"radeon_pm_info", radeon_debugfs_pm_info, 0, NULL}, | ||
55 | }; | ||
56 | #endif | ||
57 | |||
58 | int radeon_debugfs_pm_init(struct radeon_device *rdev) | ||
59 | { | ||
60 | #if defined(CONFIG_DEBUG_FS) | ||
61 | return radeon_debugfs_add_files(rdev, radeon_pm_info_list, ARRAY_SIZE(radeon_pm_info_list)); | ||
62 | #else | ||
63 | return 0; | ||
64 | #endif | ||
65 | } | ||
diff --git a/drivers/gpu/drm/radeon/radeon_reg.h b/drivers/gpu/drm/radeon/radeon_reg.h index bfa1ab9c93e1..29ab75903ec1 100644 --- a/drivers/gpu/drm/radeon/radeon_reg.h +++ b/drivers/gpu/drm/radeon/radeon_reg.h | |||
@@ -290,6 +290,8 @@ | |||
290 | #define RADEON_BUS_CNTL 0x0030 | 290 | #define RADEON_BUS_CNTL 0x0030 |
291 | # define RADEON_BUS_MASTER_DIS (1 << 6) | 291 | # define RADEON_BUS_MASTER_DIS (1 << 6) |
292 | # define RADEON_BUS_BIOS_DIS_ROM (1 << 12) | 292 | # define RADEON_BUS_BIOS_DIS_ROM (1 << 12) |
293 | # define RS600_BUS_MASTER_DIS (1 << 14) | ||
294 | # define RS600_MSI_REARM (1 << 20) /* rs600/rs690/rs740 */ | ||
293 | # define RADEON_BUS_RD_DISCARD_EN (1 << 24) | 295 | # define RADEON_BUS_RD_DISCARD_EN (1 << 24) |
294 | # define RADEON_BUS_RD_ABORT_EN (1 << 25) | 296 | # define RADEON_BUS_RD_ABORT_EN (1 << 25) |
295 | # define RADEON_BUS_MSTR_DISCONNECT_EN (1 << 28) | 297 | # define RADEON_BUS_MSTR_DISCONNECT_EN (1 << 28) |
@@ -297,6 +299,9 @@ | |||
297 | # define RADEON_BUS_READ_BURST (1 << 30) | 299 | # define RADEON_BUS_READ_BURST (1 << 30) |
298 | #define RADEON_BUS_CNTL1 0x0034 | 300 | #define RADEON_BUS_CNTL1 0x0034 |
299 | # define RADEON_BUS_WAIT_ON_LOCK_EN (1 << 4) | 301 | # define RADEON_BUS_WAIT_ON_LOCK_EN (1 << 4) |
302 | /* rv370/rv380, rv410, r423/r430/r480, r5xx */ | ||
303 | #define RADEON_MSI_REARM_EN 0x0160 | ||
304 | # define RV370_MSI_REARM_EN (1 << 0) | ||
300 | 305 | ||
301 | /* #define RADEON_PCIE_INDEX 0x0030 */ | 306 | /* #define RADEON_PCIE_INDEX 0x0030 */ |
302 | /* #define RADEON_PCIE_DATA 0x0034 */ | 307 | /* #define RADEON_PCIE_DATA 0x0034 */ |
@@ -3311,6 +3316,7 @@ | |||
3311 | #define RADEON_AIC_CNTL 0x01d0 | 3316 | #define RADEON_AIC_CNTL 0x01d0 |
3312 | # define RADEON_PCIGART_TRANSLATE_EN (1 << 0) | 3317 | # define RADEON_PCIGART_TRANSLATE_EN (1 << 0) |
3313 | # define RADEON_DIS_OUT_OF_PCI_GART_ACCESS (1 << 1) | 3318 | # define RADEON_DIS_OUT_OF_PCI_GART_ACCESS (1 << 1) |
3319 | # define RS400_MSI_REARM (1 << 3) /* rs400/rs480 */ | ||
3314 | #define RADEON_AIC_LO_ADDR 0x01dc | 3320 | #define RADEON_AIC_LO_ADDR 0x01dc |
3315 | #define RADEON_AIC_PT_BASE 0x01d8 | 3321 | #define RADEON_AIC_PT_BASE 0x01d8 |
3316 | #define RADEON_AIC_HI_ADDR 0x01e0 | 3322 | #define RADEON_AIC_HI_ADDR 0x01e0 |
diff --git a/drivers/gpu/drm/radeon/radeon_test.c b/drivers/gpu/drm/radeon/radeon_test.c index 03c33cf4e14c..f8a465d9a1cf 100644 --- a/drivers/gpu/drm/radeon/radeon_test.c +++ b/drivers/gpu/drm/radeon/radeon_test.c | |||
@@ -42,7 +42,7 @@ void radeon_test_moves(struct radeon_device *rdev) | |||
42 | /* Number of tests = | 42 | /* Number of tests = |
43 | * (Total GTT - IB pool - writeback page - ring buffer) / test size | 43 | * (Total GTT - IB pool - writeback page - ring buffer) / test size |
44 | */ | 44 | */ |
45 | n = (rdev->mc.gtt_size - RADEON_IB_POOL_SIZE*64*1024 - 4096 - | 45 | n = (rdev->mc.gtt_size - RADEON_IB_POOL_SIZE*64*1024 - RADEON_GPU_PAGE_SIZE - |
46 | rdev->cp.ring_size) / size; | 46 | rdev->cp.ring_size) / size; |
47 | 47 | ||
48 | gtt_obj = kzalloc(n * sizeof(*gtt_obj), GFP_KERNEL); | 48 | gtt_obj = kzalloc(n * sizeof(*gtt_obj), GFP_KERNEL); |
@@ -102,7 +102,7 @@ void radeon_test_moves(struct radeon_device *rdev) | |||
102 | goto out_cleanup; | 102 | goto out_cleanup; |
103 | } | 103 | } |
104 | 104 | ||
105 | r = radeon_copy(rdev, gtt_addr, vram_addr, size / 4096, fence); | 105 | r = radeon_copy(rdev, gtt_addr, vram_addr, size / RADEON_GPU_PAGE_SIZE, fence); |
106 | if (r) { | 106 | if (r) { |
107 | DRM_ERROR("Failed GTT->VRAM copy %d\n", i); | 107 | DRM_ERROR("Failed GTT->VRAM copy %d\n", i); |
108 | goto out_cleanup; | 108 | goto out_cleanup; |
@@ -145,7 +145,7 @@ void radeon_test_moves(struct radeon_device *rdev) | |||
145 | goto out_cleanup; | 145 | goto out_cleanup; |
146 | } | 146 | } |
147 | 147 | ||
148 | r = radeon_copy(rdev, vram_addr, gtt_addr, size / 4096, fence); | 148 | r = radeon_copy(rdev, vram_addr, gtt_addr, size / RADEON_GPU_PAGE_SIZE, fence); |
149 | if (r) { | 149 | if (r) { |
150 | DRM_ERROR("Failed VRAM->GTT copy %d\n", i); | 150 | DRM_ERROR("Failed VRAM->GTT copy %d\n", i); |
151 | goto out_cleanup; | 151 | goto out_cleanup; |
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 765bd184b6fc..1381e06d6af3 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c | |||
@@ -295,6 +295,12 @@ static int radeon_move_vram_ram(struct ttm_buffer_object *bo, | |||
295 | if (unlikely(r)) { | 295 | if (unlikely(r)) { |
296 | return r; | 296 | return r; |
297 | } | 297 | } |
298 | |||
299 | r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); | ||
300 | if (unlikely(r)) { | ||
301 | goto out_cleanup; | ||
302 | } | ||
303 | |||
298 | r = ttm_tt_bind(bo->ttm, &tmp_mem); | 304 | r = ttm_tt_bind(bo->ttm, &tmp_mem); |
299 | if (unlikely(r)) { | 305 | if (unlikely(r)) { |
300 | goto out_cleanup; | 306 | goto out_cleanup; |
diff --git a/drivers/gpu/drm/radeon/rs400.c b/drivers/gpu/drm/radeon/rs400.c index a769c296f6a6..ca037160a582 100644 --- a/drivers/gpu/drm/radeon/rs400.c +++ b/drivers/gpu/drm/radeon/rs400.c | |||
@@ -418,6 +418,8 @@ int rs400_resume(struct radeon_device *rdev) | |||
418 | rs400_gart_disable(rdev); | 418 | rs400_gart_disable(rdev); |
419 | /* Resume clock before doing reset */ | 419 | /* Resume clock before doing reset */ |
420 | r300_clock_startup(rdev); | 420 | r300_clock_startup(rdev); |
421 | /* setup MC before calling post tables */ | ||
422 | rs400_mc_program(rdev); | ||
421 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 423 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
422 | if (radeon_gpu_reset(rdev)) { | 424 | if (radeon_gpu_reset(rdev)) { |
423 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 425 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c index 10dfa78762da..5f117cd8736a 100644 --- a/drivers/gpu/drm/radeon/rs600.c +++ b/drivers/gpu/drm/radeon/rs600.c | |||
@@ -242,7 +242,7 @@ void rs600_irq_disable(struct radeon_device *rdev) | |||
242 | 242 | ||
243 | int rs600_irq_process(struct radeon_device *rdev) | 243 | int rs600_irq_process(struct radeon_device *rdev) |
244 | { | 244 | { |
245 | uint32_t status; | 245 | uint32_t status, msi_rearm; |
246 | uint32_t r500_disp_int; | 246 | uint32_t r500_disp_int; |
247 | 247 | ||
248 | status = rs600_irq_ack(rdev, &r500_disp_int); | 248 | status = rs600_irq_ack(rdev, &r500_disp_int); |
@@ -260,6 +260,22 @@ int rs600_irq_process(struct radeon_device *rdev) | |||
260 | drm_handle_vblank(rdev->ddev, 1); | 260 | drm_handle_vblank(rdev->ddev, 1); |
261 | status = rs600_irq_ack(rdev, &r500_disp_int); | 261 | status = rs600_irq_ack(rdev, &r500_disp_int); |
262 | } | 262 | } |
263 | if (rdev->msi_enabled) { | ||
264 | switch (rdev->family) { | ||
265 | case CHIP_RS600: | ||
266 | case CHIP_RS690: | ||
267 | case CHIP_RS740: | ||
268 | msi_rearm = RREG32(RADEON_BUS_CNTL) & ~RS600_MSI_REARM; | ||
269 | WREG32(RADEON_BUS_CNTL, msi_rearm); | ||
270 | WREG32(RADEON_BUS_CNTL, msi_rearm | RS600_MSI_REARM); | ||
271 | break; | ||
272 | default: | ||
273 | msi_rearm = RREG32(RADEON_MSI_REARM_EN) & ~RV370_MSI_REARM_EN; | ||
274 | WREG32(RADEON_MSI_REARM_EN, msi_rearm); | ||
275 | WREG32(RADEON_MSI_REARM_EN, msi_rearm | RV370_MSI_REARM_EN); | ||
276 | break; | ||
277 | } | ||
278 | } | ||
263 | return IRQ_HANDLED; | 279 | return IRQ_HANDLED; |
264 | } | 280 | } |
265 | 281 | ||
@@ -472,6 +488,8 @@ int rs600_init(struct radeon_device *rdev) | |||
472 | } | 488 | } |
473 | /* Initialize clocks */ | 489 | /* Initialize clocks */ |
474 | radeon_get_clock_info(rdev->ddev); | 490 | radeon_get_clock_info(rdev->ddev); |
491 | /* Initialize power management */ | ||
492 | radeon_pm_init(rdev); | ||
475 | /* Get vram informations */ | 493 | /* Get vram informations */ |
476 | rs600_vram_info(rdev); | 494 | rs600_vram_info(rdev); |
477 | /* Initialize memory controller (also test AGP) */ | 495 | /* Initialize memory controller (also test AGP) */ |
diff --git a/drivers/gpu/drm/radeon/rs690.c b/drivers/gpu/drm/radeon/rs690.c index 025e3225346c..27547175cf93 100644 --- a/drivers/gpu/drm/radeon/rs690.c +++ b/drivers/gpu/drm/radeon/rs690.c | |||
@@ -706,6 +706,8 @@ int rs690_init(struct radeon_device *rdev) | |||
706 | } | 706 | } |
707 | /* Initialize clocks */ | 707 | /* Initialize clocks */ |
708 | radeon_get_clock_info(rdev->ddev); | 708 | radeon_get_clock_info(rdev->ddev); |
709 | /* Initialize power management */ | ||
710 | radeon_pm_init(rdev); | ||
709 | /* Get vram informations */ | 711 | /* Get vram informations */ |
710 | rs690_vram_info(rdev); | 712 | rs690_vram_info(rdev); |
711 | /* Initialize memory controller (also test AGP) */ | 713 | /* Initialize memory controller (also test AGP) */ |
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c index 41a34c23e6d8..7935f793bf62 100644 --- a/drivers/gpu/drm/radeon/rv515.c +++ b/drivers/gpu/drm/radeon/rv515.c | |||
@@ -137,6 +137,8 @@ int rv515_mc_wait_for_idle(struct radeon_device *rdev) | |||
137 | 137 | ||
138 | void rv515_vga_render_disable(struct radeon_device *rdev) | 138 | void rv515_vga_render_disable(struct radeon_device *rdev) |
139 | { | 139 | { |
140 | WREG32(R_000330_D1VGA_CONTROL, 0); | ||
141 | WREG32(R_000338_D2VGA_CONTROL, 0); | ||
140 | WREG32(R_000300_VGA_RENDER_CONTROL, | 142 | WREG32(R_000300_VGA_RENDER_CONTROL, |
141 | RREG32(R_000300_VGA_RENDER_CONTROL) & C_000300_VGA_VSTATUS_CNTL); | 143 | RREG32(R_000300_VGA_RENDER_CONTROL) & C_000300_VGA_VSTATUS_CNTL); |
142 | } | 144 | } |
@@ -585,6 +587,8 @@ int rv515_init(struct radeon_device *rdev) | |||
585 | } | 587 | } |
586 | /* Initialize clocks */ | 588 | /* Initialize clocks */ |
587 | radeon_get_clock_info(rdev->ddev); | 589 | radeon_get_clock_info(rdev->ddev); |
590 | /* Initialize power management */ | ||
591 | radeon_pm_init(rdev); | ||
588 | /* Get vram informations */ | 592 | /* Get vram informations */ |
589 | rv515_vram_info(rdev); | 593 | rv515_vram_info(rdev); |
590 | /* Initialize memory controller (also test AGP) */ | 594 | /* Initialize memory controller (also test AGP) */ |
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 595ac638039d..b0efd0ddae7a 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -529,11 +529,11 @@ static void rv770_gpu_init(struct radeon_device *rdev) | |||
529 | if (rdev->family == CHIP_RV770) | 529 | if (rdev->family == CHIP_RV770) |
530 | gb_tiling_config |= BANK_TILING(1); | 530 | gb_tiling_config |= BANK_TILING(1); |
531 | else | 531 | else |
532 | gb_tiling_config |= BANK_TILING((mc_arb_ramcfg & NOOFBANK_SHIFT) >> NOOFBANK_MASK); | 532 | gb_tiling_config |= BANK_TILING((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT); |
533 | 533 | ||
534 | gb_tiling_config |= GROUP_SIZE(0); | 534 | gb_tiling_config |= GROUP_SIZE(0); |
535 | 535 | ||
536 | if (((mc_arb_ramcfg & NOOFROWS_MASK) & NOOFROWS_SHIFT) > 3) { | 536 | if (((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT) > 3) { |
537 | gb_tiling_config |= ROW_TILING(3); | 537 | gb_tiling_config |= ROW_TILING(3); |
538 | gb_tiling_config |= SAMPLE_SPLIT(3); | 538 | gb_tiling_config |= SAMPLE_SPLIT(3); |
539 | } else { | 539 | } else { |
@@ -579,14 +579,14 @@ static void rv770_gpu_init(struct radeon_device *rdev) | |||
579 | 579 | ||
580 | /* set HW defaults for 3D engine */ | 580 | /* set HW defaults for 3D engine */ |
581 | WREG32(CP_QUEUE_THRESHOLDS, (ROQ_IB1_START(0x16) | | 581 | WREG32(CP_QUEUE_THRESHOLDS, (ROQ_IB1_START(0x16) | |
582 | ROQ_IB2_START(0x2b))); | 582 | ROQ_IB2_START(0x2b))); |
583 | 583 | ||
584 | WREG32(CP_MEQ_THRESHOLDS, STQ_SPLIT(0x30)); | 584 | WREG32(CP_MEQ_THRESHOLDS, STQ_SPLIT(0x30)); |
585 | 585 | ||
586 | WREG32(TA_CNTL_AUX, (DISABLE_CUBE_ANISO | | 586 | WREG32(TA_CNTL_AUX, (DISABLE_CUBE_ANISO | |
587 | SYNC_GRADIENT | | 587 | SYNC_GRADIENT | |
588 | SYNC_WALKER | | 588 | SYNC_WALKER | |
589 | SYNC_ALIGNER)); | 589 | SYNC_ALIGNER)); |
590 | 590 | ||
591 | sx_debug_1 = RREG32(SX_DEBUG_1); | 591 | sx_debug_1 = RREG32(SX_DEBUG_1); |
592 | sx_debug_1 |= ENABLE_NEW_SMX_ADDRESS; | 592 | sx_debug_1 |= ENABLE_NEW_SMX_ADDRESS; |
@@ -598,9 +598,9 @@ static void rv770_gpu_init(struct radeon_device *rdev) | |||
598 | WREG32(SMX_DC_CTL0, smx_dc_ctl0); | 598 | WREG32(SMX_DC_CTL0, smx_dc_ctl0); |
599 | 599 | ||
600 | WREG32(SMX_EVENT_CTL, (ES_FLUSH_CTL(4) | | 600 | WREG32(SMX_EVENT_CTL, (ES_FLUSH_CTL(4) | |
601 | GS_FLUSH_CTL(4) | | 601 | GS_FLUSH_CTL(4) | |
602 | ACK_FLUSH_CTL(3) | | 602 | ACK_FLUSH_CTL(3) | |
603 | SYNC_FLUSH_CTL)); | 603 | SYNC_FLUSH_CTL)); |
604 | 604 | ||
605 | if (rdev->family == CHIP_RV770) | 605 | if (rdev->family == CHIP_RV770) |
606 | WREG32(DB_DEBUG3, DB_CLK_OFF_DELAY(0x1f)); | 606 | WREG32(DB_DEBUG3, DB_CLK_OFF_DELAY(0x1f)); |
@@ -611,12 +611,12 @@ static void rv770_gpu_init(struct radeon_device *rdev) | |||
611 | } | 611 | } |
612 | 612 | ||
613 | WREG32(SX_EXPORT_BUFFER_SIZES, (COLOR_BUFFER_SIZE((rdev->config.rv770.sx_max_export_size / 4) - 1) | | 613 | WREG32(SX_EXPORT_BUFFER_SIZES, (COLOR_BUFFER_SIZE((rdev->config.rv770.sx_max_export_size / 4) - 1) | |
614 | POSITION_BUFFER_SIZE((rdev->config.rv770.sx_max_export_pos_size / 4) - 1) | | 614 | POSITION_BUFFER_SIZE((rdev->config.rv770.sx_max_export_pos_size / 4) - 1) | |
615 | SMX_BUFFER_SIZE((rdev->config.rv770.sx_max_export_smx_size / 4) - 1))); | 615 | SMX_BUFFER_SIZE((rdev->config.rv770.sx_max_export_smx_size / 4) - 1))); |
616 | 616 | ||
617 | WREG32(PA_SC_FIFO_SIZE, (SC_PRIM_FIFO_SIZE(rdev->config.rv770.sc_prim_fifo_size) | | 617 | WREG32(PA_SC_FIFO_SIZE, (SC_PRIM_FIFO_SIZE(rdev->config.rv770.sc_prim_fifo_size) | |
618 | SC_HIZ_TILE_FIFO_SIZE(rdev->config.rv770.sc_hiz_tile_fifo_size) | | 618 | SC_HIZ_TILE_FIFO_SIZE(rdev->config.rv770.sc_hiz_tile_fifo_size) | |
619 | SC_EARLYZ_TILE_FIFO_SIZE(rdev->config.rv770.sc_earlyz_tile_fifo_fize))); | 619 | SC_EARLYZ_TILE_FIFO_SIZE(rdev->config.rv770.sc_earlyz_tile_fifo_fize))); |
620 | 620 | ||
621 | WREG32(PA_SC_MULTI_CHIP_CNTL, 0); | 621 | WREG32(PA_SC_MULTI_CHIP_CNTL, 0); |
622 | 622 | ||
@@ -774,14 +774,36 @@ int rv770_mc_init(struct radeon_device *rdev) | |||
774 | { | 774 | { |
775 | fixed20_12 a; | 775 | fixed20_12 a; |
776 | u32 tmp; | 776 | u32 tmp; |
777 | int chansize, numchan; | ||
777 | int r; | 778 | int r; |
778 | 779 | ||
779 | /* Get VRAM informations */ | 780 | /* Get VRAM informations */ |
780 | /* FIXME: Don't know how to determine vram width, need to check | ||
781 | * vram_width usage | ||
782 | */ | ||
783 | rdev->mc.vram_width = 128; | ||
784 | rdev->mc.vram_is_ddr = true; | 781 | rdev->mc.vram_is_ddr = true; |
782 | tmp = RREG32(MC_ARB_RAMCFG); | ||
783 | if (tmp & CHANSIZE_OVERRIDE) { | ||
784 | chansize = 16; | ||
785 | } else if (tmp & CHANSIZE_MASK) { | ||
786 | chansize = 64; | ||
787 | } else { | ||
788 | chansize = 32; | ||
789 | } | ||
790 | tmp = RREG32(MC_SHARED_CHMAP); | ||
791 | switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { | ||
792 | case 0: | ||
793 | default: | ||
794 | numchan = 1; | ||
795 | break; | ||
796 | case 1: | ||
797 | numchan = 2; | ||
798 | break; | ||
799 | case 2: | ||
800 | numchan = 4; | ||
801 | break; | ||
802 | case 3: | ||
803 | numchan = 8; | ||
804 | break; | ||
805 | } | ||
806 | rdev->mc.vram_width = numchan * chansize; | ||
785 | /* Could aper size report 0 ? */ | 807 | /* Could aper size report 0 ? */ |
786 | rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0); | 808 | rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0); |
787 | rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0); | 809 | rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0); |
@@ -961,10 +983,13 @@ int rv770_init(struct radeon_device *rdev) | |||
961 | r600_scratch_init(rdev); | 983 | r600_scratch_init(rdev); |
962 | /* Initialize surface registers */ | 984 | /* Initialize surface registers */ |
963 | radeon_surface_init(rdev); | 985 | radeon_surface_init(rdev); |
986 | /* Initialize clocks */ | ||
964 | radeon_get_clock_info(rdev->ddev); | 987 | radeon_get_clock_info(rdev->ddev); |
965 | r = radeon_clocks_init(rdev); | 988 | r = radeon_clocks_init(rdev); |
966 | if (r) | 989 | if (r) |
967 | return r; | 990 | return r; |
991 | /* Initialize power management */ | ||
992 | radeon_pm_init(rdev); | ||
968 | /* Fence driver */ | 993 | /* Fence driver */ |
969 | r = radeon_fence_driver_init(rdev); | 994 | r = radeon_fence_driver_init(rdev); |
970 | if (r) | 995 | if (r) |
diff --git a/drivers/gpu/drm/radeon/rv770d.h b/drivers/gpu/drm/radeon/rv770d.h index 4b9c3d6396ff..a1367ab6f261 100644 --- a/drivers/gpu/drm/radeon/rv770d.h +++ b/drivers/gpu/drm/radeon/rv770d.h | |||
@@ -129,6 +129,10 @@ | |||
129 | #define HDP_REG_COHERENCY_FLUSH_CNTL 0x54A0 | 129 | #define HDP_REG_COHERENCY_FLUSH_CNTL 0x54A0 |
130 | #define HDP_TILING_CONFIG 0x2F3C | 130 | #define HDP_TILING_CONFIG 0x2F3C |
131 | 131 | ||
132 | #define MC_SHARED_CHMAP 0x2004 | ||
133 | #define NOOFCHAN_SHIFT 12 | ||
134 | #define NOOFCHAN_MASK 0x00003000 | ||
135 | |||
132 | #define MC_ARB_RAMCFG 0x2760 | 136 | #define MC_ARB_RAMCFG 0x2760 |
133 | #define NOOFBANK_SHIFT 0 | 137 | #define NOOFBANK_SHIFT 0 |
134 | #define NOOFBANK_MASK 0x00000003 | 138 | #define NOOFBANK_MASK 0x00000003 |
@@ -142,6 +146,7 @@ | |||
142 | #define CHANSIZE_MASK 0x00000100 | 146 | #define CHANSIZE_MASK 0x00000100 |
143 | #define BURSTLENGTH_SHIFT 9 | 147 | #define BURSTLENGTH_SHIFT 9 |
144 | #define BURSTLENGTH_MASK 0x00000200 | 148 | #define BURSTLENGTH_MASK 0x00000200 |
149 | #define CHANSIZE_OVERRIDE (1 << 11) | ||
145 | #define MC_VM_AGP_TOP 0x2028 | 150 | #define MC_VM_AGP_TOP 0x2028 |
146 | #define MC_VM_AGP_BOT 0x202C | 151 | #define MC_VM_AGP_BOT 0x202C |
147 | #define MC_VM_AGP_BASE 0x2030 | 152 | #define MC_VM_AGP_BASE 0x2030 |
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index a55ee1a56c16..7bcb89f39ce8 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c | |||
@@ -279,6 +279,7 @@ int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) | |||
279 | 279 | ||
280 | return ttm_tt_set_caching(ttm, state); | 280 | return ttm_tt_set_caching(ttm, state); |
281 | } | 281 | } |
282 | EXPORT_SYMBOL(ttm_tt_set_placement_caching); | ||
282 | 283 | ||
283 | static void ttm_tt_free_alloced_pages(struct ttm_tt *ttm) | 284 | static void ttm_tt_free_alloced_pages(struct ttm_tt *ttm) |
284 | { | 285 | { |
diff --git a/drivers/hwmon/adt7475.c b/drivers/hwmon/adt7475.c index d39877a7da63..b5a95193c694 100644 --- a/drivers/hwmon/adt7475.c +++ b/drivers/hwmon/adt7475.c | |||
@@ -350,8 +350,7 @@ static ssize_t show_temp(struct device *dev, struct device_attribute *attr, | |||
350 | 350 | ||
351 | case FAULT: | 351 | case FAULT: |
352 | /* Note - only for remote1 and remote2 */ | 352 | /* Note - only for remote1 and remote2 */ |
353 | out = data->alarms & (sattr->index ? 0x8000 : 0x4000); | 353 | out = !!(data->alarms & (sattr->index ? 0x8000 : 0x4000)); |
354 | out = out ? 0 : 1; | ||
355 | break; | 354 | break; |
356 | 355 | ||
357 | default: | 356 | default: |
@@ -863,7 +862,7 @@ static SENSOR_DEVICE_ATTR_2(pwm1_freq, S_IRUGO | S_IWUSR, show_pwmfreq, | |||
863 | set_pwmfreq, INPUT, 0); | 862 | set_pwmfreq, INPUT, 0); |
864 | static SENSOR_DEVICE_ATTR_2(pwm1_enable, S_IRUGO | S_IWUSR, show_pwmctrl, | 863 | static SENSOR_DEVICE_ATTR_2(pwm1_enable, S_IRUGO | S_IWUSR, show_pwmctrl, |
865 | set_pwmctrl, INPUT, 0); | 864 | set_pwmctrl, INPUT, 0); |
866 | static SENSOR_DEVICE_ATTR_2(pwm1_auto_channel_temp, S_IRUGO | S_IWUSR, | 865 | static SENSOR_DEVICE_ATTR_2(pwm1_auto_channels_temp, S_IRUGO | S_IWUSR, |
867 | show_pwmchan, set_pwmchan, INPUT, 0); | 866 | show_pwmchan, set_pwmchan, INPUT, 0); |
868 | static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, | 867 | static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, |
869 | set_pwm, MIN, 0); | 868 | set_pwm, MIN, 0); |
@@ -875,7 +874,7 @@ static SENSOR_DEVICE_ATTR_2(pwm2_freq, S_IRUGO | S_IWUSR, show_pwmfreq, | |||
875 | set_pwmfreq, INPUT, 1); | 874 | set_pwmfreq, INPUT, 1); |
876 | static SENSOR_DEVICE_ATTR_2(pwm2_enable, S_IRUGO | S_IWUSR, show_pwmctrl, | 875 | static SENSOR_DEVICE_ATTR_2(pwm2_enable, S_IRUGO | S_IWUSR, show_pwmctrl, |
877 | set_pwmctrl, INPUT, 1); | 876 | set_pwmctrl, INPUT, 1); |
878 | static SENSOR_DEVICE_ATTR_2(pwm2_auto_channel_temp, S_IRUGO | S_IWUSR, | 877 | static SENSOR_DEVICE_ATTR_2(pwm2_auto_channels_temp, S_IRUGO | S_IWUSR, |
879 | show_pwmchan, set_pwmchan, INPUT, 1); | 878 | show_pwmchan, set_pwmchan, INPUT, 1); |
880 | static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, | 879 | static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, |
881 | set_pwm, MIN, 1); | 880 | set_pwm, MIN, 1); |
@@ -887,7 +886,7 @@ static SENSOR_DEVICE_ATTR_2(pwm3_freq, S_IRUGO | S_IWUSR, show_pwmfreq, | |||
887 | set_pwmfreq, INPUT, 2); | 886 | set_pwmfreq, INPUT, 2); |
888 | static SENSOR_DEVICE_ATTR_2(pwm3_enable, S_IRUGO | S_IWUSR, show_pwmctrl, | 887 | static SENSOR_DEVICE_ATTR_2(pwm3_enable, S_IRUGO | S_IWUSR, show_pwmctrl, |
889 | set_pwmctrl, INPUT, 2); | 888 | set_pwmctrl, INPUT, 2); |
890 | static SENSOR_DEVICE_ATTR_2(pwm3_auto_channel_temp, S_IRUGO | S_IWUSR, | 889 | static SENSOR_DEVICE_ATTR_2(pwm3_auto_channels_temp, S_IRUGO | S_IWUSR, |
891 | show_pwmchan, set_pwmchan, INPUT, 2); | 890 | show_pwmchan, set_pwmchan, INPUT, 2); |
892 | static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, | 891 | static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, |
893 | set_pwm, MIN, 2); | 892 | set_pwm, MIN, 2); |
@@ -947,19 +946,19 @@ static struct attribute *adt7475_attrs[] = { | |||
947 | &sensor_dev_attr_pwm1.dev_attr.attr, | 946 | &sensor_dev_attr_pwm1.dev_attr.attr, |
948 | &sensor_dev_attr_pwm1_freq.dev_attr.attr, | 947 | &sensor_dev_attr_pwm1_freq.dev_attr.attr, |
949 | &sensor_dev_attr_pwm1_enable.dev_attr.attr, | 948 | &sensor_dev_attr_pwm1_enable.dev_attr.attr, |
950 | &sensor_dev_attr_pwm1_auto_channel_temp.dev_attr.attr, | 949 | &sensor_dev_attr_pwm1_auto_channels_temp.dev_attr.attr, |
951 | &sensor_dev_attr_pwm1_auto_point1_pwm.dev_attr.attr, | 950 | &sensor_dev_attr_pwm1_auto_point1_pwm.dev_attr.attr, |
952 | &sensor_dev_attr_pwm1_auto_point2_pwm.dev_attr.attr, | 951 | &sensor_dev_attr_pwm1_auto_point2_pwm.dev_attr.attr, |
953 | &sensor_dev_attr_pwm2.dev_attr.attr, | 952 | &sensor_dev_attr_pwm2.dev_attr.attr, |
954 | &sensor_dev_attr_pwm2_freq.dev_attr.attr, | 953 | &sensor_dev_attr_pwm2_freq.dev_attr.attr, |
955 | &sensor_dev_attr_pwm2_enable.dev_attr.attr, | 954 | &sensor_dev_attr_pwm2_enable.dev_attr.attr, |
956 | &sensor_dev_attr_pwm2_auto_channel_temp.dev_attr.attr, | 955 | &sensor_dev_attr_pwm2_auto_channels_temp.dev_attr.attr, |
957 | &sensor_dev_attr_pwm2_auto_point1_pwm.dev_attr.attr, | 956 | &sensor_dev_attr_pwm2_auto_point1_pwm.dev_attr.attr, |
958 | &sensor_dev_attr_pwm2_auto_point2_pwm.dev_attr.attr, | 957 | &sensor_dev_attr_pwm2_auto_point2_pwm.dev_attr.attr, |
959 | &sensor_dev_attr_pwm3.dev_attr.attr, | 958 | &sensor_dev_attr_pwm3.dev_attr.attr, |
960 | &sensor_dev_attr_pwm3_freq.dev_attr.attr, | 959 | &sensor_dev_attr_pwm3_freq.dev_attr.attr, |
961 | &sensor_dev_attr_pwm3_enable.dev_attr.attr, | 960 | &sensor_dev_attr_pwm3_enable.dev_attr.attr, |
962 | &sensor_dev_attr_pwm3_auto_channel_temp.dev_attr.attr, | 961 | &sensor_dev_attr_pwm3_auto_channels_temp.dev_attr.attr, |
963 | &sensor_dev_attr_pwm3_auto_point1_pwm.dev_attr.attr, | 962 | &sensor_dev_attr_pwm3_auto_point1_pwm.dev_attr.attr, |
964 | &sensor_dev_attr_pwm3_auto_point2_pwm.dev_attr.attr, | 963 | &sensor_dev_attr_pwm3_auto_point2_pwm.dev_attr.attr, |
965 | NULL, | 964 | NULL, |
@@ -1152,7 +1151,7 @@ static struct adt7475_data *adt7475_update_device(struct device *dev) | |||
1152 | } | 1151 | } |
1153 | 1152 | ||
1154 | /* Limits and settings, should never change update every 60 seconds */ | 1153 | /* Limits and settings, should never change update every 60 seconds */ |
1155 | if (time_after(jiffies, data->limits_updated + HZ * 2) || | 1154 | if (time_after(jiffies, data->limits_updated + HZ * 60) || |
1156 | !data->valid) { | 1155 | !data->valid) { |
1157 | data->config5 = adt7475_read(REG_CONFIG5); | 1156 | data->config5 = adt7475_read(REG_CONFIG5); |
1158 | 1157 | ||
diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c index 3a524f2fe493..71835412529f 100644 --- a/drivers/hwmon/s3c-hwmon.c +++ b/drivers/hwmon/s3c-hwmon.c | |||
@@ -323,14 +323,21 @@ static int __devinit s3c_hwmon_probe(struct platform_device *dev) | |||
323 | } | 323 | } |
324 | 324 | ||
325 | for (i = 0; i < ARRAY_SIZE(pdata->in); i++) { | 325 | for (i = 0; i < ARRAY_SIZE(pdata->in); i++) { |
326 | if (!pdata->in[i]) | 326 | struct s3c24xx_adc_hwmon_incfg *cfg = pdata->in[i]; |
327 | |||
328 | if (!cfg) | ||
327 | continue; | 329 | continue; |
328 | 330 | ||
329 | if (pdata->in[i]->mult >= 0x10000) | 331 | if (cfg->mult >= 0x10000) |
330 | dev_warn(&dev->dev, | 332 | dev_warn(&dev->dev, |
331 | "channel %d multiplier too large\n", | 333 | "channel %d multiplier too large\n", |
332 | i); | 334 | i); |
333 | 335 | ||
336 | if (cfg->divider == 0) { | ||
337 | dev_err(&dev->dev, "channel %d divider zero\n", i); | ||
338 | continue; | ||
339 | } | ||
340 | |||
334 | ret = s3c_hwmon_create_attr(&dev->dev, pdata->in[i], | 341 | ret = s3c_hwmon_create_attr(&dev->dev, pdata->in[i], |
335 | &hwmon->attrs[i], i); | 342 | &hwmon->attrs[i], i); |
336 | if (ret) { | 343 | if (ret) { |
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 737335ff2b21..e8fe7f169e25 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -128,7 +128,7 @@ config I2C_PIIX4 | |||
128 | ATI SB600 | 128 | ATI SB600 |
129 | ATI SB700 | 129 | ATI SB700 |
130 | ATI SB800 | 130 | ATI SB800 |
131 | AMD SB900 | 131 | AMD Hudson-2 |
132 | Serverworks OSB4 | 132 | Serverworks OSB4 |
133 | Serverworks CSB5 | 133 | Serverworks CSB5 |
134 | Serverworks CSB6 | 134 | Serverworks CSB6 |
diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index d26a972aacaa..1e245e9cad31 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c | |||
@@ -22,7 +22,7 @@ | |||
22 | Intel PIIX4, 440MX | 22 | Intel PIIX4, 440MX |
23 | Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100 | 23 | Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100 |
24 | ATI IXP200, IXP300, IXP400, SB600, SB700, SB800 | 24 | ATI IXP200, IXP300, IXP400, SB600, SB700, SB800 |
25 | AMD SB900 | 25 | AMD Hudson-2 |
26 | SMSC Victory66 | 26 | SMSC Victory66 |
27 | 27 | ||
28 | Note: we assume there can only be one device, with one SMBus interface. | 28 | Note: we assume there can only be one device, with one SMBus interface. |
@@ -233,9 +233,9 @@ static int __devinit piix4_setup_sb800(struct pci_dev *PIIX4_dev, | |||
233 | unsigned short smba_idx = 0xcd6; | 233 | unsigned short smba_idx = 0xcd6; |
234 | u8 smba_en_lo, smba_en_hi, i2ccfg, i2ccfg_offset = 0x10, smb_en = 0x2c; | 234 | u8 smba_en_lo, smba_en_hi, i2ccfg, i2ccfg_offset = 0x10, smb_en = 0x2c; |
235 | 235 | ||
236 | /* SB800 SMBus does not support forcing address */ | 236 | /* SB800 and later SMBus does not support forcing address */ |
237 | if (force || force_addr) { | 237 | if (force || force_addr) { |
238 | dev_err(&PIIX4_dev->dev, "SB800 SMBus does not support " | 238 | dev_err(&PIIX4_dev->dev, "SMBus does not support " |
239 | "forcing address!\n"); | 239 | "forcing address!\n"); |
240 | return -EINVAL; | 240 | return -EINVAL; |
241 | } | 241 | } |
@@ -480,7 +480,7 @@ static struct pci_device_id piix4_ids[] = { | |||
480 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_SMBUS) }, | 480 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_SMBUS) }, |
481 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS) }, | 481 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS) }, |
482 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS) }, | 482 | { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS) }, |
483 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_SB900_SMBUS) }, | 483 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS) }, |
484 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, | 484 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, |
485 | PCI_DEVICE_ID_SERVERWORKS_OSB4) }, | 485 | PCI_DEVICE_ID_SERVERWORKS_OSB4) }, |
486 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, | 486 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 63c53d65e875..4d76ba473097 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1046,15 +1046,6 @@ static void ide_port_init_devices(ide_hwif_t *hwif) | |||
1046 | if (port_ops && port_ops->init_dev) | 1046 | if (port_ops && port_ops->init_dev) |
1047 | port_ops->init_dev(drive); | 1047 | port_ops->init_dev(drive); |
1048 | } | 1048 | } |
1049 | |||
1050 | ide_port_for_each_dev(i, drive, hwif) { | ||
1051 | /* | ||
1052 | * default to PIO Mode 0 before we figure out | ||
1053 | * the most suited mode for the attached device | ||
1054 | */ | ||
1055 | if (port_ops && port_ops->set_pio_mode) | ||
1056 | port_ops->set_pio_mode(drive, 0); | ||
1057 | } | ||
1058 | } | 1049 | } |
1059 | 1050 | ||
1060 | static void ide_init_port(ide_hwif_t *hwif, unsigned int port, | 1051 | static void ide_init_port(ide_hwif_t *hwif, unsigned int port, |
diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c index 72c63e5dd630..38df81fcdc3a 100644 --- a/drivers/input/ff-core.c +++ b/drivers/input/ff-core.c | |||
@@ -337,16 +337,16 @@ int input_ff_create(struct input_dev *dev, int max_effects) | |||
337 | dev->ff = ff; | 337 | dev->ff = ff; |
338 | dev->flush = flush_effects; | 338 | dev->flush = flush_effects; |
339 | dev->event = input_ff_event; | 339 | dev->event = input_ff_event; |
340 | set_bit(EV_FF, dev->evbit); | 340 | __set_bit(EV_FF, dev->evbit); |
341 | 341 | ||
342 | /* Copy "true" bits into ff device bitmap */ | 342 | /* Copy "true" bits into ff device bitmap */ |
343 | for (i = 0; i <= FF_MAX; i++) | 343 | for (i = 0; i <= FF_MAX; i++) |
344 | if (test_bit(i, dev->ffbit)) | 344 | if (test_bit(i, dev->ffbit)) |
345 | set_bit(i, ff->ffbit); | 345 | __set_bit(i, ff->ffbit); |
346 | 346 | ||
347 | /* we can emulate RUMBLE with periodic effects */ | 347 | /* we can emulate RUMBLE with periodic effects */ |
348 | if (test_bit(FF_PERIODIC, ff->ffbit)) | 348 | if (test_bit(FF_PERIODIC, ff->ffbit)) |
349 | set_bit(FF_RUMBLE, dev->ffbit); | 349 | __set_bit(FF_RUMBLE, dev->ffbit); |
350 | 350 | ||
351 | return 0; | 351 | return 0; |
352 | } | 352 | } |
@@ -362,12 +362,14 @@ EXPORT_SYMBOL_GPL(input_ff_create); | |||
362 | */ | 362 | */ |
363 | void input_ff_destroy(struct input_dev *dev) | 363 | void input_ff_destroy(struct input_dev *dev) |
364 | { | 364 | { |
365 | clear_bit(EV_FF, dev->evbit); | 365 | struct ff_device *ff = dev->ff; |
366 | if (dev->ff) { | 366 | |
367 | if (dev->ff->destroy) | 367 | __clear_bit(EV_FF, dev->evbit); |
368 | dev->ff->destroy(dev->ff); | 368 | if (ff) { |
369 | kfree(dev->ff->private); | 369 | if (ff->destroy) |
370 | kfree(dev->ff); | 370 | ff->destroy(ff); |
371 | kfree(ff->private); | ||
372 | kfree(ff); | ||
371 | dev->ff = NULL; | 373 | dev->ff = NULL; |
372 | } | 374 | } |
373 | } | 375 | } |
diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c index 2d1415e16834..b483b2995fa9 100644 --- a/drivers/input/ff-memless.c +++ b/drivers/input/ff-memless.c | |||
@@ -61,7 +61,6 @@ struct ml_device { | |||
61 | struct ml_effect_state states[FF_MEMLESS_EFFECTS]; | 61 | struct ml_effect_state states[FF_MEMLESS_EFFECTS]; |
62 | int gain; | 62 | int gain; |
63 | struct timer_list timer; | 63 | struct timer_list timer; |
64 | spinlock_t timer_lock; | ||
65 | struct input_dev *dev; | 64 | struct input_dev *dev; |
66 | 65 | ||
67 | int (*play_effect)(struct input_dev *dev, void *data, | 66 | int (*play_effect)(struct input_dev *dev, void *data, |
@@ -368,38 +367,38 @@ static void ml_effect_timer(unsigned long timer_data) | |||
368 | { | 367 | { |
369 | struct input_dev *dev = (struct input_dev *)timer_data; | 368 | struct input_dev *dev = (struct input_dev *)timer_data; |
370 | struct ml_device *ml = dev->ff->private; | 369 | struct ml_device *ml = dev->ff->private; |
370 | unsigned long flags; | ||
371 | 371 | ||
372 | debug("timer: updating effects"); | 372 | debug("timer: updating effects"); |
373 | 373 | ||
374 | spin_lock(&ml->timer_lock); | 374 | spin_lock_irqsave(&dev->event_lock, flags); |
375 | ml_play_effects(ml); | 375 | ml_play_effects(ml); |
376 | spin_unlock(&ml->timer_lock); | 376 | spin_unlock_irqrestore(&dev->event_lock, flags); |
377 | } | 377 | } |
378 | 378 | ||
379 | /* | ||
380 | * Sets requested gain for FF effects. Called with dev->event_lock held. | ||
381 | */ | ||
379 | static void ml_ff_set_gain(struct input_dev *dev, u16 gain) | 382 | static void ml_ff_set_gain(struct input_dev *dev, u16 gain) |
380 | { | 383 | { |
381 | struct ml_device *ml = dev->ff->private; | 384 | struct ml_device *ml = dev->ff->private; |
382 | int i; | 385 | int i; |
383 | 386 | ||
384 | spin_lock_bh(&ml->timer_lock); | ||
385 | |||
386 | ml->gain = gain; | 387 | ml->gain = gain; |
387 | 388 | ||
388 | for (i = 0; i < FF_MEMLESS_EFFECTS; i++) | 389 | for (i = 0; i < FF_MEMLESS_EFFECTS; i++) |
389 | __clear_bit(FF_EFFECT_PLAYING, &ml->states[i].flags); | 390 | __clear_bit(FF_EFFECT_PLAYING, &ml->states[i].flags); |
390 | 391 | ||
391 | ml_play_effects(ml); | 392 | ml_play_effects(ml); |
392 | |||
393 | spin_unlock_bh(&ml->timer_lock); | ||
394 | } | 393 | } |
395 | 394 | ||
395 | /* | ||
396 | * Start/stop specified FF effect. Called with dev->event_lock held. | ||
397 | */ | ||
396 | static int ml_ff_playback(struct input_dev *dev, int effect_id, int value) | 398 | static int ml_ff_playback(struct input_dev *dev, int effect_id, int value) |
397 | { | 399 | { |
398 | struct ml_device *ml = dev->ff->private; | 400 | struct ml_device *ml = dev->ff->private; |
399 | struct ml_effect_state *state = &ml->states[effect_id]; | 401 | struct ml_effect_state *state = &ml->states[effect_id]; |
400 | unsigned long flags; | ||
401 | |||
402 | spin_lock_irqsave(&ml->timer_lock, flags); | ||
403 | 402 | ||
404 | if (value > 0) { | 403 | if (value > 0) { |
405 | debug("initiated play"); | 404 | debug("initiated play"); |
@@ -425,8 +424,6 @@ static int ml_ff_playback(struct input_dev *dev, int effect_id, int value) | |||
425 | ml_play_effects(ml); | 424 | ml_play_effects(ml); |
426 | } | 425 | } |
427 | 426 | ||
428 | spin_unlock_irqrestore(&ml->timer_lock, flags); | ||
429 | |||
430 | return 0; | 427 | return 0; |
431 | } | 428 | } |
432 | 429 | ||
@@ -436,7 +433,7 @@ static int ml_ff_upload(struct input_dev *dev, | |||
436 | struct ml_device *ml = dev->ff->private; | 433 | struct ml_device *ml = dev->ff->private; |
437 | struct ml_effect_state *state = &ml->states[effect->id]; | 434 | struct ml_effect_state *state = &ml->states[effect->id]; |
438 | 435 | ||
439 | spin_lock_bh(&ml->timer_lock); | 436 | spin_lock_irq(&dev->event_lock); |
440 | 437 | ||
441 | if (test_bit(FF_EFFECT_STARTED, &state->flags)) { | 438 | if (test_bit(FF_EFFECT_STARTED, &state->flags)) { |
442 | __clear_bit(FF_EFFECT_PLAYING, &state->flags); | 439 | __clear_bit(FF_EFFECT_PLAYING, &state->flags); |
@@ -448,7 +445,7 @@ static int ml_ff_upload(struct input_dev *dev, | |||
448 | ml_schedule_timer(ml); | 445 | ml_schedule_timer(ml); |
449 | } | 446 | } |
450 | 447 | ||
451 | spin_unlock_bh(&ml->timer_lock); | 448 | spin_unlock_irq(&dev->event_lock); |
452 | 449 | ||
453 | return 0; | 450 | return 0; |
454 | } | 451 | } |
@@ -482,7 +479,6 @@ int input_ff_create_memless(struct input_dev *dev, void *data, | |||
482 | ml->private = data; | 479 | ml->private = data; |
483 | ml->play_effect = play_effect; | 480 | ml->play_effect = play_effect; |
484 | ml->gain = 0xffff; | 481 | ml->gain = 0xffff; |
485 | spin_lock_init(&ml->timer_lock); | ||
486 | setup_timer(&ml->timer, ml_effect_timer, (unsigned long)dev); | 482 | setup_timer(&ml->timer, ml_effect_timer, (unsigned long)dev); |
487 | 483 | ||
488 | set_bit(FF_GAIN, dev->ffbit); | 484 | set_bit(FF_GAIN, dev->ffbit); |
diff --git a/drivers/input/input.c b/drivers/input/input.c index cc763c96fada..2266ecbfbc01 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -1292,17 +1292,24 @@ static int input_dev_uevent(struct device *device, struct kobj_uevent_env *env) | |||
1292 | return 0; | 1292 | return 0; |
1293 | } | 1293 | } |
1294 | 1294 | ||
1295 | #define INPUT_DO_TOGGLE(dev, type, bits, on) \ | 1295 | #define INPUT_DO_TOGGLE(dev, type, bits, on) \ |
1296 | do { \ | 1296 | do { \ |
1297 | int i; \ | 1297 | int i; \ |
1298 | if (!test_bit(EV_##type, dev->evbit)) \ | 1298 | bool active; \ |
1299 | break; \ | 1299 | \ |
1300 | for (i = 0; i < type##_MAX; i++) { \ | 1300 | if (!test_bit(EV_##type, dev->evbit)) \ |
1301 | if (!test_bit(i, dev->bits##bit) || \ | 1301 | break; \ |
1302 | !test_bit(i, dev->bits)) \ | 1302 | \ |
1303 | continue; \ | 1303 | for (i = 0; i < type##_MAX; i++) { \ |
1304 | dev->event(dev, EV_##type, i, on); \ | 1304 | if (!test_bit(i, dev->bits##bit)) \ |
1305 | } \ | 1305 | continue; \ |
1306 | \ | ||
1307 | active = test_bit(i, dev->bits); \ | ||
1308 | if (!active && !on) \ | ||
1309 | continue; \ | ||
1310 | \ | ||
1311 | dev->event(dev, EV_##type, i, on ? active : 0); \ | ||
1312 | } \ | ||
1306 | } while (0) | 1313 | } while (0) |
1307 | 1314 | ||
1308 | #ifdef CONFIG_PM | 1315 | #ifdef CONFIG_PM |
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 4452eabbee6d..28e6110d1ff8 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -1174,6 +1174,18 @@ static int atkbd_reconnect(struct serio *serio) | |||
1174 | return -1; | 1174 | return -1; |
1175 | 1175 | ||
1176 | atkbd_activate(atkbd); | 1176 | atkbd_activate(atkbd); |
1177 | |||
1178 | /* | ||
1179 | * Restore LED state and repeat rate. While input core | ||
1180 | * will do this for us at resume time reconnect may happen | ||
1181 | * because user requested it via sysfs or simply because | ||
1182 | * keyboard was unplugged and plugged in again so we need | ||
1183 | * to do it ourselves here. | ||
1184 | */ | ||
1185 | atkbd_set_leds(atkbd); | ||
1186 | if (!atkbd->softrepeat) | ||
1187 | atkbd_set_repeat_rate(atkbd); | ||
1188 | |||
1177 | } | 1189 | } |
1178 | 1190 | ||
1179 | atkbd_enable(atkbd); | 1191 | atkbd_enable(atkbd); |
@@ -1422,6 +1434,7 @@ static ssize_t atkbd_set_set(struct atkbd *atkbd, const char *buf, size_t count) | |||
1422 | 1434 | ||
1423 | atkbd->dev = new_dev; | 1435 | atkbd->dev = new_dev; |
1424 | atkbd->set = atkbd_select_set(atkbd, value, atkbd->extra); | 1436 | atkbd->set = atkbd_select_set(atkbd, value, atkbd->extra); |
1437 | atkbd_reset_state(atkbd); | ||
1425 | atkbd_activate(atkbd); | 1438 | atkbd_activate(atkbd); |
1426 | atkbd_set_keycode_table(atkbd); | 1439 | atkbd_set_keycode_table(atkbd); |
1427 | atkbd_set_device_attrs(atkbd); | 1440 | atkbd_set_device_attrs(atkbd); |
diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c index 5e6308694408..82811558ec33 100644 --- a/drivers/input/mouse/lifebook.c +++ b/drivers/input/mouse/lifebook.c | |||
@@ -107,8 +107,7 @@ static const struct dmi_system_id lifebook_dmi_table[] = { | |||
107 | .matches = { | 107 | .matches = { |
108 | DMI_MATCH(DMI_PRODUCT_NAME, "CF-72"), | 108 | DMI_MATCH(DMI_PRODUCT_NAME, "CF-72"), |
109 | }, | 109 | }, |
110 | .callback = lifebook_set_serio_phys, | 110 | .callback = lifebook_set_6byte_proto, |
111 | .driver_data = "isa0060/serio3", | ||
112 | }, | 111 | }, |
113 | { | 112 | { |
114 | .ident = "Lifebook B142", | 113 | .ident = "Lifebook B142", |
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index 690aed905436..07c53798301a 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c | |||
@@ -581,7 +581,7 @@ static int cortron_detect(struct psmouse *psmouse, bool set_properties) | |||
581 | static int psmouse_extensions(struct psmouse *psmouse, | 581 | static int psmouse_extensions(struct psmouse *psmouse, |
582 | unsigned int max_proto, bool set_properties) | 582 | unsigned int max_proto, bool set_properties) |
583 | { | 583 | { |
584 | bool synaptics_hardware = true; | 584 | bool synaptics_hardware = false; |
585 | 585 | ||
586 | /* | 586 | /* |
587 | * We always check for lifebook because it does not disturb mouse | 587 | * We always check for lifebook because it does not disturb mouse |
@@ -1673,7 +1673,7 @@ static int psmouse_get_maxproto(char *buffer, struct kernel_param *kp) | |||
1673 | { | 1673 | { |
1674 | int type = *((unsigned int *)kp->arg); | 1674 | int type = *((unsigned int *)kp->arg); |
1675 | 1675 | ||
1676 | return sprintf(buffer, "%s\n", psmouse_protocol_by_type(type)->name); | 1676 | return sprintf(buffer, "%s", psmouse_protocol_by_type(type)->name); |
1677 | } | 1677 | } |
1678 | 1678 | ||
1679 | static int __init psmouse_init(void) | 1679 | static int __init psmouse_init(void) |
diff --git a/drivers/isdn/hardware/eicon/maintidi.c b/drivers/isdn/hardware/eicon/maintidi.c index 23960cb6eaab..41c26e756452 100644 --- a/drivers/isdn/hardware/eicon/maintidi.c +++ b/drivers/isdn/hardware/eicon/maintidi.c | |||
@@ -959,8 +959,9 @@ static int process_idi_event (diva_strace_context_t* pLib, | |||
959 | } | 959 | } |
960 | if (!strncmp("State\\Layer2 No1", path, pVar->path_length)) { | 960 | if (!strncmp("State\\Layer2 No1", path, pVar->path_length)) { |
961 | char* tmp = &pLib->lines[0].pInterface->Layer2[0]; | 961 | char* tmp = &pLib->lines[0].pInterface->Layer2[0]; |
962 | dword l2_state; | 962 | dword l2_state; |
963 | diva_strace_read_uint (pVar, &l2_state); | 963 | if (diva_strace_read_uint(pVar, &l2_state)) |
964 | return -1; | ||
964 | 965 | ||
965 | switch (l2_state) { | 966 | switch (l2_state) { |
966 | case 0: | 967 | case 0: |
diff --git a/drivers/isdn/hardware/eicon/message.c b/drivers/isdn/hardware/eicon/message.c index 27d5dd68f4fb..ae89fb89da64 100644 --- a/drivers/isdn/hardware/eicon/message.c +++ b/drivers/isdn/hardware/eicon/message.c | |||
@@ -2692,7 +2692,7 @@ static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, | |||
2692 | if (!(fax_control_bits & T30_CONTROL_BIT_MORE_DOCUMENTS) | 2692 | if (!(fax_control_bits & T30_CONTROL_BIT_MORE_DOCUMENTS) |
2693 | || (fax_feature_bits & T30_FEATURE_BIT_MORE_DOCUMENTS)) | 2693 | || (fax_feature_bits & T30_FEATURE_BIT_MORE_DOCUMENTS)) |
2694 | { | 2694 | { |
2695 | len = (byte)(&(((T30_INFO *) 0)->universal_6)); | 2695 | len = offsetof(T30_INFO, universal_6); |
2696 | fax_info_change = false; | 2696 | fax_info_change = false; |
2697 | if (ncpi->length >= 4) | 2697 | if (ncpi->length >= 4) |
2698 | { | 2698 | { |
@@ -2754,7 +2754,7 @@ static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, | |||
2754 | for (i = 0; i < w; i++) | 2754 | for (i = 0; i < w; i++) |
2755 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id[i] = fax_parms[4].info[1+i]; | 2755 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id[i] = fax_parms[4].info[1+i]; |
2756 | ((T30_INFO *)(plci->fax_connect_info_buffer))->head_line_len = 0; | 2756 | ((T30_INFO *)(plci->fax_connect_info_buffer))->head_line_len = 0; |
2757 | len = (byte)(((T30_INFO *) 0)->station_id + 20); | 2757 | len = offsetof(T30_INFO, station_id) + 20; |
2758 | w = fax_parms[5].length; | 2758 | w = fax_parms[5].length; |
2759 | if (w > 20) | 2759 | if (w > 20) |
2760 | w = 20; | 2760 | w = 20; |
@@ -2788,7 +2788,7 @@ static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, | |||
2788 | } | 2788 | } |
2789 | else | 2789 | else |
2790 | { | 2790 | { |
2791 | len = (byte)(&(((T30_INFO *) 0)->universal_6)); | 2791 | len = offsetof(T30_INFO, universal_6); |
2792 | } | 2792 | } |
2793 | fax_info_change = true; | 2793 | fax_info_change = true; |
2794 | 2794 | ||
@@ -2892,7 +2892,7 @@ static byte connect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, | |||
2892 | && (plci->nsf_control_bits & T30_NSF_CONTROL_BIT_ENABLE_NSF) | 2892 | && (plci->nsf_control_bits & T30_NSF_CONTROL_BIT_ENABLE_NSF) |
2893 | && (plci->nsf_control_bits & T30_NSF_CONTROL_BIT_NEGOTIATE_RESP)) | 2893 | && (plci->nsf_control_bits & T30_NSF_CONTROL_BIT_NEGOTIATE_RESP)) |
2894 | { | 2894 | { |
2895 | len = ((byte)(((T30_INFO *) 0)->station_id + 20)); | 2895 | len = offsetof(T30_INFO, station_id) + 20; |
2896 | if (plci->fax_connect_info_length < len) | 2896 | if (plci->fax_connect_info_length < len) |
2897 | { | 2897 | { |
2898 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; | 2898 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; |
@@ -3802,7 +3802,7 @@ static byte manufacturer_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, | |||
3802 | break; | 3802 | break; |
3803 | } | 3803 | } |
3804 | ncpi = &m_parms[1]; | 3804 | ncpi = &m_parms[1]; |
3805 | len = ((byte)(((T30_INFO *) 0)->station_id + 20)); | 3805 | len = offsetof(T30_INFO, station_id) + 20; |
3806 | if (plci->fax_connect_info_length < len) | 3806 | if (plci->fax_connect_info_length < len) |
3807 | { | 3807 | { |
3808 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; | 3808 | ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; |
@@ -6844,7 +6844,7 @@ static void nl_ind(PLCI *plci) | |||
6844 | if ((plci->requested_options_conn | plci->requested_options | a->requested_options_table[plci->appl->Id-1]) | 6844 | if ((plci->requested_options_conn | plci->requested_options | a->requested_options_table[plci->appl->Id-1]) |
6845 | & ((1L << PRIVATE_FAX_SUB_SEP_PWD) | (1L << PRIVATE_FAX_NONSTANDARD))) | 6845 | & ((1L << PRIVATE_FAX_SUB_SEP_PWD) | (1L << PRIVATE_FAX_NONSTANDARD))) |
6846 | { | 6846 | { |
6847 | i = ((word)(((T30_INFO *) 0)->station_id + 20)) + ((T30_INFO *)plci->NL.RBuffer->P)->head_line_len; | 6847 | i = offsetof(T30_INFO, station_id) + 20 + ((T30_INFO *)plci->NL.RBuffer->P)->head_line_len; |
6848 | while (i < plci->NL.RBuffer->length) | 6848 | while (i < plci->NL.RBuffer->length) |
6849 | plci->ncpi_buffer[++len] = plci->NL.RBuffer->P[i++]; | 6849 | plci->ncpi_buffer[++len] = plci->NL.RBuffer->P[i++]; |
6850 | } | 6850 | } |
@@ -7236,7 +7236,7 @@ static void nl_ind(PLCI *plci) | |||
7236 | { | 7236 | { |
7237 | plci->RData[1].P = plci->RData[0].P; | 7237 | plci->RData[1].P = plci->RData[0].P; |
7238 | plci->RData[1].PLength = plci->RData[0].PLength; | 7238 | plci->RData[1].PLength = plci->RData[0].PLength; |
7239 | plci->RData[0].P = v120_header_buffer + (-((int) v120_header_buffer) & 3); | 7239 | plci->RData[0].P = v120_header_buffer + (-((unsigned long)v120_header_buffer) & 3); |
7240 | if ((plci->NL.RBuffer->P[0] & V120_HEADER_EXTEND_BIT) || (plci->NL.RLength == 1)) | 7240 | if ((plci->NL.RBuffer->P[0] & V120_HEADER_EXTEND_BIT) || (plci->NL.RLength == 1)) |
7241 | plci->RData[0].PLength = 1; | 7241 | plci->RData[0].PLength = 1; |
7242 | else | 7242 | else |
@@ -8473,7 +8473,7 @@ static word add_b23(PLCI *plci, API_PARSE *bp) | |||
8473 | fax_control_bits |= T30_CONTROL_BIT_ACCEPT_SEL_POLLING; | 8473 | fax_control_bits |= T30_CONTROL_BIT_ACCEPT_SEL_POLLING; |
8474 | } | 8474 | } |
8475 | len = nlc[0]; | 8475 | len = nlc[0]; |
8476 | pos = ((byte)(((T30_INFO *) 0)->station_id + 20)); | 8476 | pos = offsetof(T30_INFO, station_id) + 20; |
8477 | if (pos < plci->fax_connect_info_length) | 8477 | if (pos < plci->fax_connect_info_length) |
8478 | { | 8478 | { |
8479 | for (i = 1 + plci->fax_connect_info_buffer[pos]; i != 0; i--) | 8479 | for (i = 1 + plci->fax_connect_info_buffer[pos]; i != 0; i--) |
@@ -8525,7 +8525,7 @@ static word add_b23(PLCI *plci, API_PARSE *bp) | |||
8525 | } | 8525 | } |
8526 | 8526 | ||
8527 | PUT_WORD(&(((T30_INFO *)&nlc[1])->control_bits_low), fax_control_bits); | 8527 | PUT_WORD(&(((T30_INFO *)&nlc[1])->control_bits_low), fax_control_bits); |
8528 | len = ((byte)(((T30_INFO *) 0)->station_id + 20)); | 8528 | len = offsetof(T30_INFO, station_id) + 20; |
8529 | for (i = 0; i < len; i++) | 8529 | for (i = 0; i < len; i++) |
8530 | plci->fax_connect_info_buffer[i] = nlc[1+i]; | 8530 | plci->fax_connect_info_buffer[i] = nlc[1+i]; |
8531 | ((T30_INFO *) plci->fax_connect_info_buffer)->head_line_len = 0; | 8531 | ((T30_INFO *) plci->fax_connect_info_buffer)->head_line_len = 0; |
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index faed794cf75a..a6624ad252c5 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -5481,7 +5481,7 @@ HFCmulti_init(void) | |||
5481 | if (err) { | 5481 | if (err) { |
5482 | printk(KERN_ERR "error registering embedded driver: " | 5482 | printk(KERN_ERR "error registering embedded driver: " |
5483 | "%x\n", err); | 5483 | "%x\n", err); |
5484 | return -err; | 5484 | return err; |
5485 | } | 5485 | } |
5486 | HFC_cnt++; | 5486 | HFC_cnt++; |
5487 | printk(KERN_INFO "%d devices registered\n", HFC_cnt); | 5487 | printk(KERN_INFO "%d devices registered\n", HFC_cnt); |
diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index bf526a7a63af..d6fdf1f66754 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c | |||
@@ -594,6 +594,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg) | |||
594 | if (cs->debug & L1_DEB_WARN) | 594 | if (cs->debug & L1_DEB_WARN) |
595 | debugl1(cs, "Amd7930: l1hw: l2l1 tx_skb exist this shouldn't happen"); | 595 | debugl1(cs, "Amd7930: l1hw: l2l1 tx_skb exist this shouldn't happen"); |
596 | skb_queue_tail(&cs->sq, skb); | 596 | skb_queue_tail(&cs->sq, skb); |
597 | spin_unlock_irqrestore(&cs->lock, flags); | ||
597 | break; | 598 | break; |
598 | } | 599 | } |
599 | if (cs->debug & DEB_DLOG_HEX) | 600 | if (cs->debug & DEB_DLOG_HEX) |
diff --git a/drivers/isdn/hisax/diva.c b/drivers/isdn/hisax/diva.c index 018bd293e580..0b0c2e5d806b 100644 --- a/drivers/isdn/hisax/diva.c +++ b/drivers/isdn/hisax/diva.c | |||
@@ -382,7 +382,7 @@ MemwaitforXFW(struct IsdnCardState *cs, int hscx) | |||
382 | { | 382 | { |
383 | int to = 50; | 383 | int to = 50; |
384 | 384 | ||
385 | while ((!(MemReadHSCX(cs, hscx, HSCX_STAR) & 0x44) == 0x40) && to) { | 385 | while (((MemReadHSCX(cs, hscx, HSCX_STAR) & 0x44) != 0x40) && to) { |
386 | udelay(1); | 386 | udelay(1); |
387 | to--; | 387 | to--; |
388 | } | 388 | } |
diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/isdn/hisax/elsa_ser.c index f181db464392..1657bba7879e 100644 --- a/drivers/isdn/hisax/elsa_ser.c +++ b/drivers/isdn/hisax/elsa_ser.c | |||
@@ -477,62 +477,62 @@ static void | |||
477 | modem_set_init(struct IsdnCardState *cs) { | 477 | modem_set_init(struct IsdnCardState *cs) { |
478 | int timeout; | 478 | int timeout; |
479 | 479 | ||
480 | #define RCV_DELAY 20000 | 480 | #define RCV_DELAY 20 |
481 | modem_write_cmd(cs, MInit_1, strlen(MInit_1)); | 481 | modem_write_cmd(cs, MInit_1, strlen(MInit_1)); |
482 | timeout = 1000; | 482 | timeout = 1000; |
483 | while(timeout-- && cs->hw.elsa.transcnt) | 483 | while(timeout-- && cs->hw.elsa.transcnt) |
484 | udelay(1000); | 484 | udelay(1000); |
485 | debugl1(cs, "msi tout=%d", timeout); | 485 | debugl1(cs, "msi tout=%d", timeout); |
486 | udelay(RCV_DELAY); | 486 | mdelay(RCV_DELAY); |
487 | modem_write_cmd(cs, MInit_2, strlen(MInit_2)); | 487 | modem_write_cmd(cs, MInit_2, strlen(MInit_2)); |
488 | timeout = 1000; | 488 | timeout = 1000; |
489 | while(timeout-- && cs->hw.elsa.transcnt) | 489 | while(timeout-- && cs->hw.elsa.transcnt) |
490 | udelay(1000); | 490 | udelay(1000); |
491 | debugl1(cs, "msi tout=%d", timeout); | 491 | debugl1(cs, "msi tout=%d", timeout); |
492 | udelay(RCV_DELAY); | 492 | mdelay(RCV_DELAY); |
493 | modem_write_cmd(cs, MInit_3, strlen(MInit_3)); | 493 | modem_write_cmd(cs, MInit_3, strlen(MInit_3)); |
494 | timeout = 1000; | 494 | timeout = 1000; |
495 | while(timeout-- && cs->hw.elsa.transcnt) | 495 | while(timeout-- && cs->hw.elsa.transcnt) |
496 | udelay(1000); | 496 | udelay(1000); |
497 | debugl1(cs, "msi tout=%d", timeout); | 497 | debugl1(cs, "msi tout=%d", timeout); |
498 | udelay(RCV_DELAY); | 498 | mdelay(RCV_DELAY); |
499 | modem_write_cmd(cs, MInit_4, strlen(MInit_4)); | 499 | modem_write_cmd(cs, MInit_4, strlen(MInit_4)); |
500 | timeout = 1000; | 500 | timeout = 1000; |
501 | while(timeout-- && cs->hw.elsa.transcnt) | 501 | while(timeout-- && cs->hw.elsa.transcnt) |
502 | udelay(1000); | 502 | udelay(1000); |
503 | debugl1(cs, "msi tout=%d", timeout); | 503 | debugl1(cs, "msi tout=%d", timeout); |
504 | udelay(RCV_DELAY ); | 504 | mdelay(RCV_DELAY); |
505 | modem_write_cmd(cs, MInit_5, strlen(MInit_5)); | 505 | modem_write_cmd(cs, MInit_5, strlen(MInit_5)); |
506 | timeout = 1000; | 506 | timeout = 1000; |
507 | while(timeout-- && cs->hw.elsa.transcnt) | 507 | while(timeout-- && cs->hw.elsa.transcnt) |
508 | udelay(1000); | 508 | udelay(1000); |
509 | debugl1(cs, "msi tout=%d", timeout); | 509 | debugl1(cs, "msi tout=%d", timeout); |
510 | udelay(RCV_DELAY); | 510 | mdelay(RCV_DELAY); |
511 | modem_write_cmd(cs, MInit_6, strlen(MInit_6)); | 511 | modem_write_cmd(cs, MInit_6, strlen(MInit_6)); |
512 | timeout = 1000; | 512 | timeout = 1000; |
513 | while(timeout-- && cs->hw.elsa.transcnt) | 513 | while(timeout-- && cs->hw.elsa.transcnt) |
514 | udelay(1000); | 514 | udelay(1000); |
515 | debugl1(cs, "msi tout=%d", timeout); | 515 | debugl1(cs, "msi tout=%d", timeout); |
516 | udelay(RCV_DELAY); | 516 | mdelay(RCV_DELAY); |
517 | modem_write_cmd(cs, MInit_7, strlen(MInit_7)); | 517 | modem_write_cmd(cs, MInit_7, strlen(MInit_7)); |
518 | timeout = 1000; | 518 | timeout = 1000; |
519 | while(timeout-- && cs->hw.elsa.transcnt) | 519 | while(timeout-- && cs->hw.elsa.transcnt) |
520 | udelay(1000); | 520 | udelay(1000); |
521 | debugl1(cs, "msi tout=%d", timeout); | 521 | debugl1(cs, "msi tout=%d", timeout); |
522 | udelay(RCV_DELAY); | 522 | mdelay(RCV_DELAY); |
523 | } | 523 | } |
524 | 524 | ||
525 | static void | 525 | static void |
526 | modem_set_dial(struct IsdnCardState *cs, int outgoing) { | 526 | modem_set_dial(struct IsdnCardState *cs, int outgoing) { |
527 | int timeout; | 527 | int timeout; |
528 | #define RCV_DELAY 20000 | 528 | #define RCV_DELAY 20 |
529 | 529 | ||
530 | modem_write_cmd(cs, MInit_speed28800, strlen(MInit_speed28800)); | 530 | modem_write_cmd(cs, MInit_speed28800, strlen(MInit_speed28800)); |
531 | timeout = 1000; | 531 | timeout = 1000; |
532 | while(timeout-- && cs->hw.elsa.transcnt) | 532 | while(timeout-- && cs->hw.elsa.transcnt) |
533 | udelay(1000); | 533 | udelay(1000); |
534 | debugl1(cs, "msi tout=%d", timeout); | 534 | debugl1(cs, "msi tout=%d", timeout); |
535 | udelay(RCV_DELAY); | 535 | mdelay(RCV_DELAY); |
536 | if (outgoing) | 536 | if (outgoing) |
537 | modem_write_cmd(cs, MInit_dialout, strlen(MInit_dialout)); | 537 | modem_write_cmd(cs, MInit_dialout, strlen(MInit_dialout)); |
538 | else | 538 | else |
@@ -541,7 +541,7 @@ modem_set_dial(struct IsdnCardState *cs, int outgoing) { | |||
541 | while(timeout-- && cs->hw.elsa.transcnt) | 541 | while(timeout-- && cs->hw.elsa.transcnt) |
542 | udelay(1000); | 542 | udelay(1000); |
543 | debugl1(cs, "msi tout=%d", timeout); | 543 | debugl1(cs, "msi tout=%d", timeout); |
544 | udelay(RCV_DELAY); | 544 | mdelay(RCV_DELAY); |
545 | } | 545 | } |
546 | 546 | ||
547 | static void | 547 | static void |
diff --git a/drivers/isdn/hisax/hfc_usb.c b/drivers/isdn/hisax/hfc_usb.c index 9de54202c90c..a420b64472e3 100644 --- a/drivers/isdn/hisax/hfc_usb.c +++ b/drivers/isdn/hisax/hfc_usb.c | |||
@@ -817,8 +817,8 @@ collect_rx_frame(usb_fifo * fifo, __u8 * data, int len, int finish) | |||
817 | } | 817 | } |
818 | /* we have a complete hdlc packet */ | 818 | /* we have a complete hdlc packet */ |
819 | if (finish) { | 819 | if (finish) { |
820 | if ((!fifo->skbuff->data[fifo->skbuff->len - 1]) | 820 | if (fifo->skbuff->len > 3 && |
821 | && (fifo->skbuff->len > 3)) { | 821 | !fifo->skbuff->data[fifo->skbuff->len - 1]) { |
822 | 822 | ||
823 | if (fifon == HFCUSB_D_RX) { | 823 | if (fifon == HFCUSB_D_RX) { |
824 | DBG(HFCUSB_DBG_DCHANNEL, | 824 | DBG(HFCUSB_DBG_DCHANNEL, |
diff --git a/drivers/isdn/hisax/hscx_irq.c b/drivers/isdn/hisax/hscx_irq.c index 7b1ad5e4ecda..2387d76c721a 100644 --- a/drivers/isdn/hisax/hscx_irq.c +++ b/drivers/isdn/hisax/hscx_irq.c | |||
@@ -32,7 +32,7 @@ waitforXFW(struct IsdnCardState *cs, int hscx) | |||
32 | { | 32 | { |
33 | int to = 50; | 33 | int to = 50; |
34 | 34 | ||
35 | while ((!(READHSCX(cs, hscx, HSCX_STAR) & 0x44) == 0x40) && to) { | 35 | while (((READHSCX(cs, hscx, HSCX_STAR) & 0x44) != 0x40) && to) { |
36 | udelay(1); | 36 | udelay(1); |
37 | to--; | 37 | to--; |
38 | } | 38 | } |
diff --git a/drivers/isdn/hisax/icc.c b/drivers/isdn/hisax/icc.c index 9aba646ba221..c80cbb8a2ef9 100644 --- a/drivers/isdn/hisax/icc.c +++ b/drivers/isdn/hisax/icc.c | |||
@@ -468,6 +468,7 @@ ICC_l1hw(struct PStack *st, int pr, void *arg) | |||
468 | if (cs->debug & L1_DEB_WARN) | 468 | if (cs->debug & L1_DEB_WARN) |
469 | debugl1(cs, " l2l1 tx_skb exist this shouldn't happen"); | 469 | debugl1(cs, " l2l1 tx_skb exist this shouldn't happen"); |
470 | skb_queue_tail(&cs->sq, skb); | 470 | skb_queue_tail(&cs->sq, skb); |
471 | spin_unlock_irqrestore(&cs->lock, flags); | ||
471 | break; | 472 | break; |
472 | } | 473 | } |
473 | if (cs->debug & DEB_DLOG_HEX) | 474 | if (cs->debug & DEB_DLOG_HEX) |
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 2d14b64202a3..642d5aaf53ce 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
@@ -1535,10 +1535,8 @@ static int isdn_ppp_mp_bundle_array_init(void) | |||
1535 | int sz = ISDN_MAX_CHANNELS*sizeof(ippp_bundle); | 1535 | int sz = ISDN_MAX_CHANNELS*sizeof(ippp_bundle); |
1536 | if( (isdn_ppp_bundle_arr = kzalloc(sz, GFP_KERNEL)) == NULL ) | 1536 | if( (isdn_ppp_bundle_arr = kzalloc(sz, GFP_KERNEL)) == NULL ) |
1537 | return -ENOMEM; | 1537 | return -ENOMEM; |
1538 | for (i = 0; i < ISDN_MAX_CHANNELS; i++) { | 1538 | for( i = 0; i < ISDN_MAX_CHANNELS; i++ ) |
1539 | spin_lock_init(&isdn_ppp_bundle_arr[i].lock); | 1539 | spin_lock_init(&isdn_ppp_bundle_arr[i].lock); |
1540 | skb_queue_head_init(&isdn_ppp_bundle_arr[i].frags); | ||
1541 | } | ||
1542 | return 0; | 1540 | return 0; |
1543 | } | 1541 | } |
1544 | 1542 | ||
@@ -1571,7 +1569,7 @@ static int isdn_ppp_mp_init( isdn_net_local * lp, ippp_bundle * add_to ) | |||
1571 | if ((lp->netdev->pb = isdn_ppp_mp_bundle_alloc()) == NULL) | 1569 | if ((lp->netdev->pb = isdn_ppp_mp_bundle_alloc()) == NULL) |
1572 | return -ENOMEM; | 1570 | return -ENOMEM; |
1573 | lp->next = lp->last = lp; /* nobody else in a queue */ | 1571 | lp->next = lp->last = lp; /* nobody else in a queue */ |
1574 | skb_queue_head_init(&lp->netdev->pb->frags); | 1572 | lp->netdev->pb->frags = NULL; |
1575 | lp->netdev->pb->frames = 0; | 1573 | lp->netdev->pb->frames = 0; |
1576 | lp->netdev->pb->seq = UINT_MAX; | 1574 | lp->netdev->pb->seq = UINT_MAX; |
1577 | } | 1575 | } |
@@ -1583,29 +1581,28 @@ static int isdn_ppp_mp_init( isdn_net_local * lp, ippp_bundle * add_to ) | |||
1583 | 1581 | ||
1584 | static u32 isdn_ppp_mp_get_seq( int short_seq, | 1582 | static u32 isdn_ppp_mp_get_seq( int short_seq, |
1585 | struct sk_buff * skb, u32 last_seq ); | 1583 | struct sk_buff * skb, u32 last_seq ); |
1586 | static void isdn_ppp_mp_discard(ippp_bundle *mp, struct sk_buff *from, | 1584 | static struct sk_buff * isdn_ppp_mp_discard( ippp_bundle * mp, |
1587 | struct sk_buff *to); | 1585 | struct sk_buff * from, struct sk_buff * to ); |
1588 | static void isdn_ppp_mp_reassembly(isdn_net_dev *net_dev, isdn_net_local *lp, | 1586 | static void isdn_ppp_mp_reassembly( isdn_net_dev * net_dev, isdn_net_local * lp, |
1589 | struct sk_buff *from, struct sk_buff *to, | 1587 | struct sk_buff * from, struct sk_buff * to ); |
1590 | u32 lastseq); | 1588 | static void isdn_ppp_mp_free_skb( ippp_bundle * mp, struct sk_buff * skb ); |
1591 | static void isdn_ppp_mp_free_skb(ippp_bundle *mp, struct sk_buff *skb); | ||
1592 | static void isdn_ppp_mp_print_recv_pkt( int slot, struct sk_buff * skb ); | 1589 | static void isdn_ppp_mp_print_recv_pkt( int slot, struct sk_buff * skb ); |
1593 | 1590 | ||
1594 | static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | 1591 | static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, |
1595 | struct sk_buff *skb) | 1592 | struct sk_buff *skb) |
1596 | { | 1593 | { |
1597 | struct sk_buff *newfrag, *frag, *start, *nextf; | ||
1598 | u32 newseq, minseq, thisseq; | ||
1599 | isdn_mppp_stats *stats; | ||
1600 | struct ippp_struct *is; | 1594 | struct ippp_struct *is; |
1595 | isdn_net_local * lpq; | ||
1596 | ippp_bundle * mp; | ||
1597 | isdn_mppp_stats * stats; | ||
1598 | struct sk_buff * newfrag, * frag, * start, *nextf; | ||
1599 | u32 newseq, minseq, thisseq; | ||
1601 | unsigned long flags; | 1600 | unsigned long flags; |
1602 | isdn_net_local *lpq; | ||
1603 | ippp_bundle *mp; | ||
1604 | int slot; | 1601 | int slot; |
1605 | 1602 | ||
1606 | spin_lock_irqsave(&net_dev->pb->lock, flags); | 1603 | spin_lock_irqsave(&net_dev->pb->lock, flags); |
1607 | mp = net_dev->pb; | 1604 | mp = net_dev->pb; |
1608 | stats = &mp->stats; | 1605 | stats = &mp->stats; |
1609 | slot = lp->ppp_slot; | 1606 | slot = lp->ppp_slot; |
1610 | if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { | 1607 | if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { |
1611 | printk(KERN_ERR "%s: lp->ppp_slot(%d)\n", | 1608 | printk(KERN_ERR "%s: lp->ppp_slot(%d)\n", |
@@ -1616,19 +1613,20 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1616 | return; | 1613 | return; |
1617 | } | 1614 | } |
1618 | is = ippp_table[slot]; | 1615 | is = ippp_table[slot]; |
1619 | if (++mp->frames > stats->max_queue_len) | 1616 | if( ++mp->frames > stats->max_queue_len ) |
1620 | stats->max_queue_len = mp->frames; | 1617 | stats->max_queue_len = mp->frames; |
1621 | 1618 | ||
1622 | if (is->debug & 0x8) | 1619 | if (is->debug & 0x8) |
1623 | isdn_ppp_mp_print_recv_pkt(lp->ppp_slot, skb); | 1620 | isdn_ppp_mp_print_recv_pkt(lp->ppp_slot, skb); |
1624 | 1621 | ||
1625 | newseq = isdn_ppp_mp_get_seq(is->mpppcfg & SC_IN_SHORT_SEQ, | 1622 | newseq = isdn_ppp_mp_get_seq(is->mpppcfg & SC_IN_SHORT_SEQ, |
1626 | skb, is->last_link_seqno); | 1623 | skb, is->last_link_seqno); |
1624 | |||
1627 | 1625 | ||
1628 | /* if this packet seq # is less than last already processed one, | 1626 | /* if this packet seq # is less than last already processed one, |
1629 | * toss it right away, but check for sequence start case first | 1627 | * toss it right away, but check for sequence start case first |
1630 | */ | 1628 | */ |
1631 | if (mp->seq > MP_LONGSEQ_MAX && (newseq & MP_LONGSEQ_MAXBIT)) { | 1629 | if( mp->seq > MP_LONGSEQ_MAX && (newseq & MP_LONGSEQ_MAXBIT) ) { |
1632 | mp->seq = newseq; /* the first packet: required for | 1630 | mp->seq = newseq; /* the first packet: required for |
1633 | * rfc1990 non-compliant clients -- | 1631 | * rfc1990 non-compliant clients -- |
1634 | * prevents constant packet toss */ | 1632 | * prevents constant packet toss */ |
@@ -1638,7 +1636,7 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1638 | spin_unlock_irqrestore(&mp->lock, flags); | 1636 | spin_unlock_irqrestore(&mp->lock, flags); |
1639 | return; | 1637 | return; |
1640 | } | 1638 | } |
1641 | 1639 | ||
1642 | /* find the minimum received sequence number over all links */ | 1640 | /* find the minimum received sequence number over all links */ |
1643 | is->last_link_seqno = minseq = newseq; | 1641 | is->last_link_seqno = minseq = newseq; |
1644 | for (lpq = net_dev->queue;;) { | 1642 | for (lpq = net_dev->queue;;) { |
@@ -1659,31 +1657,22 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1659 | * packets */ | 1657 | * packets */ |
1660 | newfrag = skb; | 1658 | newfrag = skb; |
1661 | 1659 | ||
1662 | /* Insert new fragment into the proper sequence slot. */ | 1660 | /* if this new fragment is before the first one, then enqueue it now. */ |
1663 | skb_queue_walk(&mp->frags, frag) { | 1661 | if ((frag = mp->frags) == NULL || MP_LT(newseq, MP_SEQ(frag))) { |
1664 | if (MP_SEQ(frag) == newseq) { | 1662 | newfrag->next = frag; |
1665 | isdn_ppp_mp_free_skb(mp, newfrag); | 1663 | mp->frags = frag = newfrag; |
1666 | newfrag = NULL; | 1664 | newfrag = NULL; |
1667 | break; | 1665 | } |
1668 | } | ||
1669 | if (MP_LT(newseq, MP_SEQ(frag))) { | ||
1670 | __skb_queue_before(&mp->frags, frag, newfrag); | ||
1671 | newfrag = NULL; | ||
1672 | break; | ||
1673 | } | ||
1674 | } | ||
1675 | if (newfrag) | ||
1676 | __skb_queue_tail(&mp->frags, newfrag); | ||
1677 | 1666 | ||
1678 | frag = skb_peek(&mp->frags); | 1667 | start = MP_FLAGS(frag) & MP_BEGIN_FRAG && |
1679 | start = ((MP_FLAGS(frag) & MP_BEGIN_FRAG) && | 1668 | MP_SEQ(frag) == mp->seq ? frag : NULL; |
1680 | (MP_SEQ(frag) == mp->seq)) ? frag : NULL; | ||
1681 | if (!start) | ||
1682 | goto check_overflow; | ||
1683 | 1669 | ||
1684 | /* main fragment traversing loop | 1670 | /* |
1671 | * main fragment traversing loop | ||
1685 | * | 1672 | * |
1686 | * try to accomplish several tasks: | 1673 | * try to accomplish several tasks: |
1674 | * - insert new fragment into the proper sequence slot (once that's done | ||
1675 | * newfrag will be set to NULL) | ||
1687 | * - reassemble any complete fragment sequence (non-null 'start' | 1676 | * - reassemble any complete fragment sequence (non-null 'start' |
1688 | * indicates there is a continguous sequence present) | 1677 | * indicates there is a continguous sequence present) |
1689 | * - discard any incomplete sequences that are below minseq -- due | 1678 | * - discard any incomplete sequences that are below minseq -- due |
@@ -1692,46 +1681,71 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1692 | * come to complete such sequence and it should be discarded | 1681 | * come to complete such sequence and it should be discarded |
1693 | * | 1682 | * |
1694 | * loop completes when we accomplished the following tasks: | 1683 | * loop completes when we accomplished the following tasks: |
1684 | * - new fragment is inserted in the proper sequence ('newfrag' is | ||
1685 | * set to NULL) | ||
1695 | * - we hit a gap in the sequence, so no reassembly/processing is | 1686 | * - we hit a gap in the sequence, so no reassembly/processing is |
1696 | * possible ('start' would be set to NULL) | 1687 | * possible ('start' would be set to NULL) |
1697 | * | 1688 | * |
1698 | * algorithm for this code is derived from code in the book | 1689 | * algorithm for this code is derived from code in the book |
1699 | * 'PPP Design And Debugging' by James Carlson (Addison-Wesley) | 1690 | * 'PPP Design And Debugging' by James Carlson (Addison-Wesley) |
1700 | */ | 1691 | */ |
1701 | skb_queue_walk_safe(&mp->frags, frag, nextf) { | 1692 | while (start != NULL || newfrag != NULL) { |
1702 | thisseq = MP_SEQ(frag); | 1693 | |
1703 | 1694 | thisseq = MP_SEQ(frag); | |
1704 | /* check for misplaced start */ | 1695 | nextf = frag->next; |
1705 | if (start != frag && (MP_FLAGS(frag) & MP_BEGIN_FRAG)) { | 1696 | |
1706 | printk(KERN_WARNING"isdn_mppp(seq %d): new " | 1697 | /* drop any duplicate fragments */ |
1707 | "BEGIN flag with no prior END", thisseq); | 1698 | if (newfrag != NULL && thisseq == newseq) { |
1708 | stats->seqerrs++; | 1699 | isdn_ppp_mp_free_skb(mp, newfrag); |
1709 | stats->frame_drops++; | 1700 | newfrag = NULL; |
1710 | isdn_ppp_mp_discard(mp, start, frag); | 1701 | } |
1711 | start = frag; | 1702 | |
1712 | } else if (MP_LE(thisseq, minseq)) { | 1703 | /* insert new fragment before next element if possible. */ |
1713 | if (MP_FLAGS(frag) & MP_BEGIN_FRAG) | 1704 | if (newfrag != NULL && (nextf == NULL || |
1705 | MP_LT(newseq, MP_SEQ(nextf)))) { | ||
1706 | newfrag->next = nextf; | ||
1707 | frag->next = nextf = newfrag; | ||
1708 | newfrag = NULL; | ||
1709 | } | ||
1710 | |||
1711 | if (start != NULL) { | ||
1712 | /* check for misplaced start */ | ||
1713 | if (start != frag && (MP_FLAGS(frag) & MP_BEGIN_FRAG)) { | ||
1714 | printk(KERN_WARNING"isdn_mppp(seq %d): new " | ||
1715 | "BEGIN flag with no prior END", thisseq); | ||
1716 | stats->seqerrs++; | ||
1717 | stats->frame_drops++; | ||
1718 | start = isdn_ppp_mp_discard(mp, start,frag); | ||
1719 | nextf = frag->next; | ||
1720 | } | ||
1721 | } else if (MP_LE(thisseq, minseq)) { | ||
1722 | if (MP_FLAGS(frag) & MP_BEGIN_FRAG) | ||
1714 | start = frag; | 1723 | start = frag; |
1715 | else { | 1724 | else { |
1716 | if (MP_FLAGS(frag) & MP_END_FRAG) | 1725 | if (MP_FLAGS(frag) & MP_END_FRAG) |
1717 | stats->frame_drops++; | 1726 | stats->frame_drops++; |
1718 | __skb_unlink(skb, &mp->frags); | 1727 | if( mp->frags == frag ) |
1728 | mp->frags = nextf; | ||
1719 | isdn_ppp_mp_free_skb(mp, frag); | 1729 | isdn_ppp_mp_free_skb(mp, frag); |
1730 | frag = nextf; | ||
1720 | continue; | 1731 | continue; |
1721 | } | 1732 | } |
1722 | } | 1733 | } |
1723 | 1734 | ||
1724 | /* if we have end fragment, then we have full reassembly | 1735 | /* if start is non-null and we have end fragment, then |
1725 | * sequence -- reassemble and process packet now | 1736 | * we have full reassembly sequence -- reassemble |
1737 | * and process packet now | ||
1726 | */ | 1738 | */ |
1727 | if (MP_FLAGS(frag) & MP_END_FRAG) { | 1739 | if (start != NULL && (MP_FLAGS(frag) & MP_END_FRAG)) { |
1728 | minseq = mp->seq = (thisseq+1) & MP_LONGSEQ_MASK; | 1740 | minseq = mp->seq = (thisseq+1) & MP_LONGSEQ_MASK; |
1729 | /* Reassemble the packet then dispatch it */ | 1741 | /* Reassemble the packet then dispatch it */ |
1730 | isdn_ppp_mp_reassembly(net_dev, lp, start, frag, thisseq); | 1742 | isdn_ppp_mp_reassembly(net_dev, lp, start, nextf); |
1743 | |||
1744 | start = NULL; | ||
1745 | frag = NULL; | ||
1731 | 1746 | ||
1732 | start = NULL; | 1747 | mp->frags = nextf; |
1733 | frag = NULL; | 1748 | } |
1734 | } | ||
1735 | 1749 | ||
1736 | /* check if need to update start pointer: if we just | 1750 | /* check if need to update start pointer: if we just |
1737 | * reassembled the packet and sequence is contiguous | 1751 | * reassembled the packet and sequence is contiguous |
@@ -1742,25 +1756,26 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1742 | * below low watermark and set start to the next frag or | 1756 | * below low watermark and set start to the next frag or |
1743 | * clear start ptr. | 1757 | * clear start ptr. |
1744 | */ | 1758 | */ |
1745 | if (nextf != (struct sk_buff *)&mp->frags && | 1759 | if (nextf != NULL && |
1746 | ((thisseq+1) & MP_LONGSEQ_MASK) == MP_SEQ(nextf)) { | 1760 | ((thisseq+1) & MP_LONGSEQ_MASK) == MP_SEQ(nextf)) { |
1747 | /* if we just reassembled and the next one is here, | 1761 | /* if we just reassembled and the next one is here, |
1748 | * then start another reassembly. | 1762 | * then start another reassembly. */ |
1749 | */ | 1763 | |
1750 | if (frag == NULL) { | 1764 | if (frag == NULL) { |
1751 | if (MP_FLAGS(nextf) & MP_BEGIN_FRAG) | 1765 | if (MP_FLAGS(nextf) & MP_BEGIN_FRAG) |
1752 | start = nextf; | 1766 | start = nextf; |
1753 | else { | 1767 | else |
1754 | printk(KERN_WARNING"isdn_mppp(seq %d):" | 1768 | { |
1755 | " END flag with no following " | 1769 | printk(KERN_WARNING"isdn_mppp(seq %d):" |
1756 | "BEGIN", thisseq); | 1770 | " END flag with no following " |
1771 | "BEGIN", thisseq); | ||
1757 | stats->seqerrs++; | 1772 | stats->seqerrs++; |
1758 | } | 1773 | } |
1759 | } | 1774 | } |
1760 | } else { | 1775 | |
1761 | if (nextf != (struct sk_buff *)&mp->frags && | 1776 | } else { |
1762 | frag != NULL && | 1777 | if ( nextf != NULL && frag != NULL && |
1763 | MP_LT(thisseq, minseq)) { | 1778 | MP_LT(thisseq, minseq)) { |
1764 | /* we've got a break in the sequence | 1779 | /* we've got a break in the sequence |
1765 | * and we not at the end yet | 1780 | * and we not at the end yet |
1766 | * and we did not just reassembled | 1781 | * and we did not just reassembled |
@@ -1769,39 +1784,41 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1769 | * discard all the frames below low watermark | 1784 | * discard all the frames below low watermark |
1770 | * and start over */ | 1785 | * and start over */ |
1771 | stats->frame_drops++; | 1786 | stats->frame_drops++; |
1772 | isdn_ppp_mp_discard(mp, start, nextf); | 1787 | mp->frags = isdn_ppp_mp_discard(mp,start,nextf); |
1773 | } | 1788 | } |
1774 | /* break in the sequence, no reassembly */ | 1789 | /* break in the sequence, no reassembly */ |
1775 | start = NULL; | 1790 | start = NULL; |
1776 | } | 1791 | } |
1777 | if (!start) | 1792 | |
1778 | break; | 1793 | frag = nextf; |
1779 | } | 1794 | } /* while -- main loop */ |
1780 | 1795 | ||
1781 | check_overflow: | 1796 | if (mp->frags == NULL) |
1797 | mp->frags = frag; | ||
1798 | |||
1782 | /* rather straighforward way to deal with (not very) possible | 1799 | /* rather straighforward way to deal with (not very) possible |
1783 | * queue overflow | 1800 | * queue overflow */ |
1784 | */ | ||
1785 | if (mp->frames > MP_MAX_QUEUE_LEN) { | 1801 | if (mp->frames > MP_MAX_QUEUE_LEN) { |
1786 | stats->overflows++; | 1802 | stats->overflows++; |
1787 | skb_queue_walk_safe(&mp->frags, frag, nextf) { | 1803 | while (mp->frames > MP_MAX_QUEUE_LEN) { |
1788 | if (mp->frames <= MP_MAX_QUEUE_LEN) | 1804 | frag = mp->frags->next; |
1789 | break; | 1805 | isdn_ppp_mp_free_skb(mp, mp->frags); |
1790 | __skb_unlink(frag, &mp->frags); | 1806 | mp->frags = frag; |
1791 | isdn_ppp_mp_free_skb(mp, frag); | ||
1792 | } | 1807 | } |
1793 | } | 1808 | } |
1794 | spin_unlock_irqrestore(&mp->lock, flags); | 1809 | spin_unlock_irqrestore(&mp->lock, flags); |
1795 | } | 1810 | } |
1796 | 1811 | ||
1797 | static void isdn_ppp_mp_cleanup(isdn_net_local *lp) | 1812 | static void isdn_ppp_mp_cleanup( isdn_net_local * lp ) |
1798 | { | 1813 | { |
1799 | struct sk_buff *skb, *tmp; | 1814 | struct sk_buff * frag = lp->netdev->pb->frags; |
1800 | 1815 | struct sk_buff * nextfrag; | |
1801 | skb_queue_walk_safe(&lp->netdev->pb->frags, skb, tmp) { | 1816 | while( frag ) { |
1802 | __skb_unlink(skb, &lp->netdev->pb->frags); | 1817 | nextfrag = frag->next; |
1803 | isdn_ppp_mp_free_skb(lp->netdev->pb, skb); | 1818 | isdn_ppp_mp_free_skb(lp->netdev->pb, frag); |
1804 | } | 1819 | frag = nextfrag; |
1820 | } | ||
1821 | lp->netdev->pb->frags = NULL; | ||
1805 | } | 1822 | } |
1806 | 1823 | ||
1807 | static u32 isdn_ppp_mp_get_seq( int short_seq, | 1824 | static u32 isdn_ppp_mp_get_seq( int short_seq, |
@@ -1838,115 +1855,72 @@ static u32 isdn_ppp_mp_get_seq( int short_seq, | |||
1838 | return seq; | 1855 | return seq; |
1839 | } | 1856 | } |
1840 | 1857 | ||
1841 | static void isdn_ppp_mp_discard(ippp_bundle *mp, struct sk_buff *from, | 1858 | struct sk_buff * isdn_ppp_mp_discard( ippp_bundle * mp, |
1842 | struct sk_buff *to) | 1859 | struct sk_buff * from, struct sk_buff * to ) |
1843 | { | 1860 | { |
1844 | if (from) { | 1861 | if( from ) |
1845 | struct sk_buff *skb, *tmp; | 1862 | while (from != to) { |
1846 | int freeing = 0; | 1863 | struct sk_buff * next = from->next; |
1847 | 1864 | isdn_ppp_mp_free_skb(mp, from); | |
1848 | skb_queue_walk_safe(&mp->frags, skb, tmp) { | 1865 | from = next; |
1849 | if (skb == to) | ||
1850 | break; | ||
1851 | if (skb == from) | ||
1852 | freeing = 1; | ||
1853 | if (!freeing) | ||
1854 | continue; | ||
1855 | __skb_unlink(skb, &mp->frags); | ||
1856 | isdn_ppp_mp_free_skb(mp, skb); | ||
1857 | } | 1866 | } |
1858 | } | 1867 | return from; |
1859 | } | ||
1860 | |||
1861 | static unsigned int calc_tot_len(struct sk_buff_head *queue, | ||
1862 | struct sk_buff *from, struct sk_buff *to) | ||
1863 | { | ||
1864 | unsigned int tot_len = 0; | ||
1865 | struct sk_buff *skb; | ||
1866 | int found_start = 0; | ||
1867 | |||
1868 | skb_queue_walk(queue, skb) { | ||
1869 | if (skb == from) | ||
1870 | found_start = 1; | ||
1871 | if (!found_start) | ||
1872 | continue; | ||
1873 | tot_len += skb->len - MP_HEADER_LEN; | ||
1874 | if (skb == to) | ||
1875 | break; | ||
1876 | } | ||
1877 | return tot_len; | ||
1878 | } | 1868 | } |
1879 | 1869 | ||
1880 | /* Reassemble packet using fragments in the reassembly queue from | 1870 | void isdn_ppp_mp_reassembly( isdn_net_dev * net_dev, isdn_net_local * lp, |
1881 | * 'from' until 'to', inclusive. | 1871 | struct sk_buff * from, struct sk_buff * to ) |
1882 | */ | ||
1883 | static void isdn_ppp_mp_reassembly(isdn_net_dev *net_dev, isdn_net_local *lp, | ||
1884 | struct sk_buff *from, struct sk_buff *to, | ||
1885 | u32 lastseq) | ||
1886 | { | 1872 | { |
1887 | ippp_bundle *mp = net_dev->pb; | 1873 | ippp_bundle * mp = net_dev->pb; |
1888 | unsigned int tot_len; | ||
1889 | struct sk_buff *skb; | ||
1890 | int proto; | 1874 | int proto; |
1875 | struct sk_buff * skb; | ||
1876 | unsigned int tot_len; | ||
1891 | 1877 | ||
1892 | if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { | 1878 | if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { |
1893 | printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", | 1879 | printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", |
1894 | __func__, lp->ppp_slot); | 1880 | __func__, lp->ppp_slot); |
1895 | return; | 1881 | return; |
1896 | } | 1882 | } |
1897 | 1883 | if( MP_FLAGS(from) == (MP_BEGIN_FRAG | MP_END_FRAG) ) { | |
1898 | tot_len = calc_tot_len(&mp->frags, from, to); | 1884 | if( ippp_table[lp->ppp_slot]->debug & 0x40 ) |
1899 | |||
1900 | if (MP_FLAGS(from) == (MP_BEGIN_FRAG | MP_END_FRAG)) { | ||
1901 | if (ippp_table[lp->ppp_slot]->debug & 0x40) | ||
1902 | printk(KERN_DEBUG "isdn_mppp: reassembly: frame %d, " | 1885 | printk(KERN_DEBUG "isdn_mppp: reassembly: frame %d, " |
1903 | "len %d\n", MP_SEQ(from), from->len); | 1886 | "len %d\n", MP_SEQ(from), from->len ); |
1904 | skb = from; | 1887 | skb = from; |
1905 | skb_pull(skb, MP_HEADER_LEN); | 1888 | skb_pull(skb, MP_HEADER_LEN); |
1906 | __skb_unlink(skb, &mp->frags); | ||
1907 | mp->frames--; | 1889 | mp->frames--; |
1908 | } else { | 1890 | } else { |
1909 | struct sk_buff *walk, *tmp; | 1891 | struct sk_buff * frag; |
1910 | int found_start = 0; | 1892 | int n; |
1911 | 1893 | ||
1912 | if (ippp_table[lp->ppp_slot]->debug & 0x40) | 1894 | for(tot_len=n=0, frag=from; frag != to; frag=frag->next, n++) |
1913 | printk(KERN_DEBUG"isdn_mppp: reassembling frames %d " | 1895 | tot_len += frag->len - MP_HEADER_LEN; |
1914 | "to %d, len %d\n", MP_SEQ(from), lastseq, | ||
1915 | tot_len); | ||
1916 | 1896 | ||
1917 | skb = dev_alloc_skb(tot_len); | 1897 | if( ippp_table[lp->ppp_slot]->debug & 0x40 ) |
1918 | if (!skb) | 1898 | printk(KERN_DEBUG"isdn_mppp: reassembling frames %d " |
1899 | "to %d, len %d\n", MP_SEQ(from), | ||
1900 | (MP_SEQ(from)+n-1) & MP_LONGSEQ_MASK, tot_len ); | ||
1901 | if( (skb = dev_alloc_skb(tot_len)) == NULL ) { | ||
1919 | printk(KERN_ERR "isdn_mppp: cannot allocate sk buff " | 1902 | printk(KERN_ERR "isdn_mppp: cannot allocate sk buff " |
1920 | "of size %d\n", tot_len); | 1903 | "of size %d\n", tot_len); |
1921 | 1904 | isdn_ppp_mp_discard(mp, from, to); | |
1922 | found_start = 0; | 1905 | return; |
1923 | skb_queue_walk_safe(&mp->frags, walk, tmp) { | 1906 | } |
1924 | if (walk == from) | ||
1925 | found_start = 1; | ||
1926 | if (!found_start) | ||
1927 | continue; | ||
1928 | 1907 | ||
1929 | if (skb) { | 1908 | while( from != to ) { |
1930 | unsigned int len = walk->len - MP_HEADER_LEN; | 1909 | unsigned int len = from->len - MP_HEADER_LEN; |
1931 | skb_copy_from_linear_data_offset(walk, MP_HEADER_LEN, | ||
1932 | skb_put(skb, len), | ||
1933 | len); | ||
1934 | } | ||
1935 | __skb_unlink(walk, &mp->frags); | ||
1936 | isdn_ppp_mp_free_skb(mp, walk); | ||
1937 | 1910 | ||
1938 | if (walk == to) | 1911 | skb_copy_from_linear_data_offset(from, MP_HEADER_LEN, |
1939 | break; | 1912 | skb_put(skb,len), |
1913 | len); | ||
1914 | frag = from->next; | ||
1915 | isdn_ppp_mp_free_skb(mp, from); | ||
1916 | from = frag; | ||
1940 | } | 1917 | } |
1941 | } | 1918 | } |
1942 | if (!skb) | ||
1943 | return; | ||
1944 | |||
1945 | proto = isdn_ppp_strip_proto(skb); | 1919 | proto = isdn_ppp_strip_proto(skb); |
1946 | isdn_ppp_push_higher(net_dev, lp, skb, proto); | 1920 | isdn_ppp_push_higher(net_dev, lp, skb, proto); |
1947 | } | 1921 | } |
1948 | 1922 | ||
1949 | static void isdn_ppp_mp_free_skb(ippp_bundle *mp, struct sk_buff *skb) | 1923 | static void isdn_ppp_mp_free_skb(ippp_bundle * mp, struct sk_buff * skb) |
1950 | { | 1924 | { |
1951 | dev_kfree_skb(skb); | 1925 | dev_kfree_skb(skb); |
1952 | mp->frames--; | 1926 | mp->frames--; |
diff --git a/drivers/isdn/mISDN/stack.c b/drivers/isdn/mISDN/stack.c index 3e1532a180ff..0d05ec43012c 100644 --- a/drivers/isdn/mISDN/stack.c +++ b/drivers/isdn/mISDN/stack.c | |||
@@ -364,7 +364,7 @@ add_layer2(struct mISDNchannel *ch, struct mISDNstack *st) | |||
364 | static int | 364 | static int |
365 | st_own_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg) | 365 | st_own_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg) |
366 | { | 366 | { |
367 | if (!ch->st || ch->st->layer1) | 367 | if (!ch->st || !ch->st->layer1) |
368 | return -EINVAL; | 368 | return -EINVAL; |
369 | return ch->st->layer1->ctrl(ch->st->layer1, cmd, arg); | 369 | return ch->st->layer1->ctrl(ch->st->layer1, cmd, arg); |
370 | } | 370 | } |
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 7467980b8cf9..e5225d28f392 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -78,6 +78,8 @@ static int __devinit create_gpio_led(const struct gpio_led *template, | |||
78 | { | 78 | { |
79 | int ret, state; | 79 | int ret, state; |
80 | 80 | ||
81 | led_dat->gpio = -1; | ||
82 | |||
81 | /* skip leds that aren't available */ | 83 | /* skip leds that aren't available */ |
82 | if (!gpio_is_valid(template->gpio)) { | 84 | if (!gpio_is_valid(template->gpio)) { |
83 | printk(KERN_INFO "Skipping unavailable LED gpio %d (%s)\n", | 85 | printk(KERN_INFO "Skipping unavailable LED gpio %d (%s)\n", |
diff --git a/drivers/md/md.c b/drivers/md/md.c index 10eb1fce975e..b182f86a19dd 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -944,6 +944,14 @@ static int super_90_validate(mddev_t *mddev, mdk_rdev_t *rdev) | |||
944 | desc->raid_disk < mddev->raid_disks */) { | 944 | desc->raid_disk < mddev->raid_disks */) { |
945 | set_bit(In_sync, &rdev->flags); | 945 | set_bit(In_sync, &rdev->flags); |
946 | rdev->raid_disk = desc->raid_disk; | 946 | rdev->raid_disk = desc->raid_disk; |
947 | } else if (desc->state & (1<<MD_DISK_ACTIVE)) { | ||
948 | /* active but not in sync implies recovery up to | ||
949 | * reshape position. We don't know exactly where | ||
950 | * that is, so set to zero for now */ | ||
951 | if (mddev->minor_version >= 91) { | ||
952 | rdev->recovery_offset = 0; | ||
953 | rdev->raid_disk = desc->raid_disk; | ||
954 | } | ||
947 | } | 955 | } |
948 | if (desc->state & (1<<MD_DISK_WRITEMOSTLY)) | 956 | if (desc->state & (1<<MD_DISK_WRITEMOSTLY)) |
949 | set_bit(WriteMostly, &rdev->flags); | 957 | set_bit(WriteMostly, &rdev->flags); |
@@ -1032,8 +1040,19 @@ static void super_90_sync(mddev_t *mddev, mdk_rdev_t *rdev) | |||
1032 | list_for_each_entry(rdev2, &mddev->disks, same_set) { | 1040 | list_for_each_entry(rdev2, &mddev->disks, same_set) { |
1033 | mdp_disk_t *d; | 1041 | mdp_disk_t *d; |
1034 | int desc_nr; | 1042 | int desc_nr; |
1035 | if (rdev2->raid_disk >= 0 && test_bit(In_sync, &rdev2->flags) | 1043 | int is_active = test_bit(In_sync, &rdev2->flags); |
1036 | && !test_bit(Faulty, &rdev2->flags)) | 1044 | |
1045 | if (rdev2->raid_disk >= 0 && | ||
1046 | sb->minor_version >= 91) | ||
1047 | /* we have nowhere to store the recovery_offset, | ||
1048 | * but if it is not below the reshape_position, | ||
1049 | * we can piggy-back on that. | ||
1050 | */ | ||
1051 | is_active = 1; | ||
1052 | if (rdev2->raid_disk < 0 || | ||
1053 | test_bit(Faulty, &rdev2->flags)) | ||
1054 | is_active = 0; | ||
1055 | if (is_active) | ||
1037 | desc_nr = rdev2->raid_disk; | 1056 | desc_nr = rdev2->raid_disk; |
1038 | else | 1057 | else |
1039 | desc_nr = next_spare++; | 1058 | desc_nr = next_spare++; |
@@ -1043,16 +1062,16 @@ static void super_90_sync(mddev_t *mddev, mdk_rdev_t *rdev) | |||
1043 | d->number = rdev2->desc_nr; | 1062 | d->number = rdev2->desc_nr; |
1044 | d->major = MAJOR(rdev2->bdev->bd_dev); | 1063 | d->major = MAJOR(rdev2->bdev->bd_dev); |
1045 | d->minor = MINOR(rdev2->bdev->bd_dev); | 1064 | d->minor = MINOR(rdev2->bdev->bd_dev); |
1046 | if (rdev2->raid_disk >= 0 && test_bit(In_sync, &rdev2->flags) | 1065 | if (is_active) |
1047 | && !test_bit(Faulty, &rdev2->flags)) | ||
1048 | d->raid_disk = rdev2->raid_disk; | 1066 | d->raid_disk = rdev2->raid_disk; |
1049 | else | 1067 | else |
1050 | d->raid_disk = rdev2->desc_nr; /* compatibility */ | 1068 | d->raid_disk = rdev2->desc_nr; /* compatibility */ |
1051 | if (test_bit(Faulty, &rdev2->flags)) | 1069 | if (test_bit(Faulty, &rdev2->flags)) |
1052 | d->state = (1<<MD_DISK_FAULTY); | 1070 | d->state = (1<<MD_DISK_FAULTY); |
1053 | else if (test_bit(In_sync, &rdev2->flags)) { | 1071 | else if (is_active) { |
1054 | d->state = (1<<MD_DISK_ACTIVE); | 1072 | d->state = (1<<MD_DISK_ACTIVE); |
1055 | d->state |= (1<<MD_DISK_SYNC); | 1073 | if (test_bit(In_sync, &rdev2->flags)) |
1074 | d->state |= (1<<MD_DISK_SYNC); | ||
1056 | active++; | 1075 | active++; |
1057 | working++; | 1076 | working++; |
1058 | } else { | 1077 | } else { |
@@ -1382,8 +1401,6 @@ static void super_1_sync(mddev_t *mddev, mdk_rdev_t *rdev) | |||
1382 | 1401 | ||
1383 | if (rdev->raid_disk >= 0 && | 1402 | if (rdev->raid_disk >= 0 && |
1384 | !test_bit(In_sync, &rdev->flags)) { | 1403 | !test_bit(In_sync, &rdev->flags)) { |
1385 | if (mddev->curr_resync_completed > rdev->recovery_offset) | ||
1386 | rdev->recovery_offset = mddev->curr_resync_completed; | ||
1387 | if (rdev->recovery_offset > 0) { | 1404 | if (rdev->recovery_offset > 0) { |
1388 | sb->feature_map |= | 1405 | sb->feature_map |= |
1389 | cpu_to_le32(MD_FEATURE_RECOVERY_OFFSET); | 1406 | cpu_to_le32(MD_FEATURE_RECOVERY_OFFSET); |
@@ -1917,6 +1934,14 @@ static void sync_sbs(mddev_t * mddev, int nospares) | |||
1917 | */ | 1934 | */ |
1918 | mdk_rdev_t *rdev; | 1935 | mdk_rdev_t *rdev; |
1919 | 1936 | ||
1937 | /* First make sure individual recovery_offsets are correct */ | ||
1938 | list_for_each_entry(rdev, &mddev->disks, same_set) { | ||
1939 | if (rdev->raid_disk >= 0 && | ||
1940 | !test_bit(In_sync, &rdev->flags) && | ||
1941 | mddev->curr_resync_completed > rdev->recovery_offset) | ||
1942 | rdev->recovery_offset = mddev->curr_resync_completed; | ||
1943 | |||
1944 | } | ||
1920 | list_for_each_entry(rdev, &mddev->disks, same_set) { | 1945 | list_for_each_entry(rdev, &mddev->disks, same_set) { |
1921 | if (rdev->sb_events == mddev->events || | 1946 | if (rdev->sb_events == mddev->events || |
1922 | (nospares && | 1947 | (nospares && |
@@ -6504,8 +6529,9 @@ void md_do_sync(mddev_t *mddev) | |||
6504 | skip: | 6529 | skip: |
6505 | mddev->curr_resync = 0; | 6530 | mddev->curr_resync = 0; |
6506 | mddev->curr_resync_completed = 0; | 6531 | mddev->curr_resync_completed = 0; |
6507 | mddev->resync_min = 0; | 6532 | if (!test_bit(MD_RECOVERY_INTR, &mddev->recovery)) |
6508 | mddev->resync_max = MaxSector; | 6533 | /* We completed so max setting can be forgotten. */ |
6534 | mddev->resync_max = MaxSector; | ||
6509 | sysfs_notify(&mddev->kobj, NULL, "sync_completed"); | 6535 | sysfs_notify(&mddev->kobj, NULL, "sync_completed"); |
6510 | wake_up(&resync_wait); | 6536 | wake_up(&resync_wait); |
6511 | set_bit(MD_RECOVERY_DONE, &mddev->recovery); | 6537 | set_bit(MD_RECOVERY_DONE, &mddev->recovery); |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 81abefc172d9..d29215d966da 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -4049,6 +4049,8 @@ static sector_t reshape_request(mddev_t *mddev, sector_t sector_nr, int *skipped | |||
4049 | sector_nr = conf->reshape_progress; | 4049 | sector_nr = conf->reshape_progress; |
4050 | sector_div(sector_nr, new_data_disks); | 4050 | sector_div(sector_nr, new_data_disks); |
4051 | if (sector_nr) { | 4051 | if (sector_nr) { |
4052 | mddev->curr_resync_completed = sector_nr; | ||
4053 | sysfs_notify(&mddev->kobj, NULL, "sync_completed"); | ||
4052 | *skipped = 1; | 4054 | *skipped = 1; |
4053 | return sector_nr; | 4055 | return sector_nr; |
4054 | } | 4056 | } |
@@ -4821,11 +4823,40 @@ static raid5_conf_t *setup_conf(mddev_t *mddev) | |||
4821 | return ERR_PTR(-ENOMEM); | 4823 | return ERR_PTR(-ENOMEM); |
4822 | } | 4824 | } |
4823 | 4825 | ||
4826 | |||
4827 | static int only_parity(int raid_disk, int algo, int raid_disks, int max_degraded) | ||
4828 | { | ||
4829 | switch (algo) { | ||
4830 | case ALGORITHM_PARITY_0: | ||
4831 | if (raid_disk < max_degraded) | ||
4832 | return 1; | ||
4833 | break; | ||
4834 | case ALGORITHM_PARITY_N: | ||
4835 | if (raid_disk >= raid_disks - max_degraded) | ||
4836 | return 1; | ||
4837 | break; | ||
4838 | case ALGORITHM_PARITY_0_6: | ||
4839 | if (raid_disk == 0 || | ||
4840 | raid_disk == raid_disks - 1) | ||
4841 | return 1; | ||
4842 | break; | ||
4843 | case ALGORITHM_LEFT_ASYMMETRIC_6: | ||
4844 | case ALGORITHM_RIGHT_ASYMMETRIC_6: | ||
4845 | case ALGORITHM_LEFT_SYMMETRIC_6: | ||
4846 | case ALGORITHM_RIGHT_SYMMETRIC_6: | ||
4847 | if (raid_disk == raid_disks - 1) | ||
4848 | return 1; | ||
4849 | } | ||
4850 | return 0; | ||
4851 | } | ||
4852 | |||
4824 | static int run(mddev_t *mddev) | 4853 | static int run(mddev_t *mddev) |
4825 | { | 4854 | { |
4826 | raid5_conf_t *conf; | 4855 | raid5_conf_t *conf; |
4827 | int working_disks = 0, chunk_size; | 4856 | int working_disks = 0, chunk_size; |
4857 | int dirty_parity_disks = 0; | ||
4828 | mdk_rdev_t *rdev; | 4858 | mdk_rdev_t *rdev; |
4859 | sector_t reshape_offset = 0; | ||
4829 | 4860 | ||
4830 | if (mddev->recovery_cp != MaxSector) | 4861 | if (mddev->recovery_cp != MaxSector) |
4831 | printk(KERN_NOTICE "raid5: %s is not clean" | 4862 | printk(KERN_NOTICE "raid5: %s is not clean" |
@@ -4859,6 +4890,7 @@ static int run(mddev_t *mddev) | |||
4859 | "on a stripe boundary\n"); | 4890 | "on a stripe boundary\n"); |
4860 | return -EINVAL; | 4891 | return -EINVAL; |
4861 | } | 4892 | } |
4893 | reshape_offset = here_new * mddev->new_chunk_sectors; | ||
4862 | /* here_new is the stripe we will write to */ | 4894 | /* here_new is the stripe we will write to */ |
4863 | here_old = mddev->reshape_position; | 4895 | here_old = mddev->reshape_position; |
4864 | sector_div(here_old, mddev->chunk_sectors * | 4896 | sector_div(here_old, mddev->chunk_sectors * |
@@ -4914,10 +4946,51 @@ static int run(mddev_t *mddev) | |||
4914 | /* | 4946 | /* |
4915 | * 0 for a fully functional array, 1 or 2 for a degraded array. | 4947 | * 0 for a fully functional array, 1 or 2 for a degraded array. |
4916 | */ | 4948 | */ |
4917 | list_for_each_entry(rdev, &mddev->disks, same_set) | 4949 | list_for_each_entry(rdev, &mddev->disks, same_set) { |
4918 | if (rdev->raid_disk >= 0 && | 4950 | if (rdev->raid_disk < 0) |
4919 | test_bit(In_sync, &rdev->flags)) | 4951 | continue; |
4952 | if (test_bit(In_sync, &rdev->flags)) | ||
4920 | working_disks++; | 4953 | working_disks++; |
4954 | /* This disc is not fully in-sync. However if it | ||
4955 | * just stored parity (beyond the recovery_offset), | ||
4956 | * when we don't need to be concerned about the | ||
4957 | * array being dirty. | ||
4958 | * When reshape goes 'backwards', we never have | ||
4959 | * partially completed devices, so we only need | ||
4960 | * to worry about reshape going forwards. | ||
4961 | */ | ||
4962 | /* Hack because v0.91 doesn't store recovery_offset properly. */ | ||
4963 | if (mddev->major_version == 0 && | ||
4964 | mddev->minor_version > 90) | ||
4965 | rdev->recovery_offset = reshape_offset; | ||
4966 | |||
4967 | printk("%d: w=%d pa=%d pr=%d m=%d a=%d r=%d op1=%d op2=%d\n", | ||
4968 | rdev->raid_disk, working_disks, conf->prev_algo, | ||
4969 | conf->previous_raid_disks, conf->max_degraded, | ||
4970 | conf->algorithm, conf->raid_disks, | ||
4971 | only_parity(rdev->raid_disk, | ||
4972 | conf->prev_algo, | ||
4973 | conf->previous_raid_disks, | ||
4974 | conf->max_degraded), | ||
4975 | only_parity(rdev->raid_disk, | ||
4976 | conf->algorithm, | ||
4977 | conf->raid_disks, | ||
4978 | conf->max_degraded)); | ||
4979 | if (rdev->recovery_offset < reshape_offset) { | ||
4980 | /* We need to check old and new layout */ | ||
4981 | if (!only_parity(rdev->raid_disk, | ||
4982 | conf->algorithm, | ||
4983 | conf->raid_disks, | ||
4984 | conf->max_degraded)) | ||
4985 | continue; | ||
4986 | } | ||
4987 | if (!only_parity(rdev->raid_disk, | ||
4988 | conf->prev_algo, | ||
4989 | conf->previous_raid_disks, | ||
4990 | conf->max_degraded)) | ||
4991 | continue; | ||
4992 | dirty_parity_disks++; | ||
4993 | } | ||
4921 | 4994 | ||
4922 | mddev->degraded = (max(conf->raid_disks, conf->previous_raid_disks) | 4995 | mddev->degraded = (max(conf->raid_disks, conf->previous_raid_disks) |
4923 | - working_disks); | 4996 | - working_disks); |
@@ -4933,7 +5006,7 @@ static int run(mddev_t *mddev) | |||
4933 | mddev->dev_sectors &= ~(mddev->chunk_sectors - 1); | 5006 | mddev->dev_sectors &= ~(mddev->chunk_sectors - 1); |
4934 | mddev->resync_max_sectors = mddev->dev_sectors; | 5007 | mddev->resync_max_sectors = mddev->dev_sectors; |
4935 | 5008 | ||
4936 | if (mddev->degraded > 0 && | 5009 | if (mddev->degraded > dirty_parity_disks && |
4937 | mddev->recovery_cp != MaxSector) { | 5010 | mddev->recovery_cp != MaxSector) { |
4938 | if (mddev->ok_start_degraded) | 5011 | if (mddev->ok_start_degraded) |
4939 | printk(KERN_WARNING | 5012 | printk(KERN_WARNING |
@@ -5359,9 +5432,11 @@ static int raid5_start_reshape(mddev_t *mddev) | |||
5359 | !test_bit(Faulty, &rdev->flags)) { | 5432 | !test_bit(Faulty, &rdev->flags)) { |
5360 | if (raid5_add_disk(mddev, rdev) == 0) { | 5433 | if (raid5_add_disk(mddev, rdev) == 0) { |
5361 | char nm[20]; | 5434 | char nm[20]; |
5362 | set_bit(In_sync, &rdev->flags); | 5435 | if (rdev->raid_disk >= conf->previous_raid_disks) |
5436 | set_bit(In_sync, &rdev->flags); | ||
5437 | else | ||
5438 | rdev->recovery_offset = 0; | ||
5363 | added_devices++; | 5439 | added_devices++; |
5364 | rdev->recovery_offset = 0; | ||
5365 | sprintf(nm, "rd%d", rdev->raid_disk); | 5440 | sprintf(nm, "rd%d", rdev->raid_disk); |
5366 | if (sysfs_create_link(&mddev->kobj, | 5441 | if (sysfs_create_link(&mddev->kobj, |
5367 | &rdev->kobj, nm)) | 5442 | &rdev->kobj, nm)) |
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 64595112000d..3a50ce96fcb9 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
@@ -616,13 +616,13 @@ static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq) | |||
616 | case RF2: | 616 | case RF2: |
617 | map[i].rf_a1 = (prog_cal[RF2] - prog_tab[RF2] - | 617 | map[i].rf_a1 = (prog_cal[RF2] - prog_tab[RF2] - |
618 | prog_cal[RF1] + prog_tab[RF1]) / | 618 | prog_cal[RF1] + prog_tab[RF1]) / |
619 | ((rf_freq[RF2] - rf_freq[RF1]) / 1000); | 619 | (s32)((rf_freq[RF2] - rf_freq[RF1]) / 1000); |
620 | map[i].rf2 = rf_freq[RF2] / 1000; | 620 | map[i].rf2 = rf_freq[RF2] / 1000; |
621 | break; | 621 | break; |
622 | case RF3: | 622 | case RF3: |
623 | map[i].rf_a2 = (prog_cal[RF3] - prog_tab[RF3] - | 623 | map[i].rf_a2 = (prog_cal[RF3] - prog_tab[RF3] - |
624 | prog_cal[RF2] + prog_tab[RF2]) / | 624 | prog_cal[RF2] + prog_tab[RF2]) / |
625 | ((rf_freq[RF3] - rf_freq[RF2]) / 1000); | 625 | (s32)((rf_freq[RF3] - rf_freq[RF2]) / 1000); |
626 | map[i].rf_b2 = prog_cal[RF2] - prog_tab[RF2]; | 626 | map[i].rf_b2 = prog_cal[RF2] - prog_tab[RF2]; |
627 | map[i].rf3 = rf_freq[RF3] / 1000; | 627 | map[i].rf3 = rf_freq[RF3] / 1000; |
628 | break; | 628 | break; |
@@ -1000,12 +1000,12 @@ static int tda18271_set_analog_params(struct dvb_frontend *fe, | |||
1000 | struct tda18271_std_map_item *map; | 1000 | struct tda18271_std_map_item *map; |
1001 | char *mode; | 1001 | char *mode; |
1002 | int ret; | 1002 | int ret; |
1003 | u32 freq = params->frequency * 62500; | 1003 | u32 freq = params->frequency * 125 * |
1004 | ((params->mode == V4L2_TUNER_RADIO) ? 1 : 1000) / 2; | ||
1004 | 1005 | ||
1005 | priv->mode = TDA18271_ANALOG; | 1006 | priv->mode = TDA18271_ANALOG; |
1006 | 1007 | ||
1007 | if (params->mode == V4L2_TUNER_RADIO) { | 1008 | if (params->mode == V4L2_TUNER_RADIO) { |
1008 | freq = freq / 1000; | ||
1009 | map = &std_map->fm_radio; | 1009 | map = &std_map->fm_radio; |
1010 | mode = "fm"; | 1010 | mode = "fm"; |
1011 | } else if (params->std & V4L2_STD_MN) { | 1011 | } else if (params->std & V4L2_STD_MN) { |
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index 9744b0692417..0e4b97fba384 100644 --- a/drivers/media/dvb/dvb-usb/Kconfig +++ b/drivers/media/dvb/dvb-usb/Kconfig | |||
@@ -75,7 +75,7 @@ config DVB_USB_DIB0700 | |||
75 | select DVB_DIB3000MC if !DVB_FE_CUSTOMISE | 75 | select DVB_DIB3000MC if !DVB_FE_CUSTOMISE |
76 | select DVB_S5H1411 if !DVB_FE_CUSTOMISE | 76 | select DVB_S5H1411 if !DVB_FE_CUSTOMISE |
77 | select DVB_LGDT3305 if !DVB_FE_CUSTOMISE | 77 | select DVB_LGDT3305 if !DVB_FE_CUSTOMISE |
78 | select DVB_TUNER_DIB0070 | 78 | select DVB_TUNER_DIB0070 if !DVB_FE_CUSTOMISE |
79 | select MEDIA_TUNER_MT2060 if !MEDIA_TUNER_CUSTOMISE | 79 | select MEDIA_TUNER_MT2060 if !MEDIA_TUNER_CUSTOMISE |
80 | select MEDIA_TUNER_MT2266 if !MEDIA_TUNER_CUSTOMISE | 80 | select MEDIA_TUNER_MT2266 if !MEDIA_TUNER_CUSTOMISE |
81 | select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMISE | 81 | select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMISE |
diff --git a/drivers/media/dvb/dvb-usb/ce6230.c b/drivers/media/dvb/dvb-usb/ce6230.c index 0737c6377892..3df2045b7d2d 100644 --- a/drivers/media/dvb/dvb-usb/ce6230.c +++ b/drivers/media/dvb/dvb-usb/ce6230.c | |||
@@ -105,7 +105,7 @@ static int ce6230_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], | |||
105 | int i = 0; | 105 | int i = 0; |
106 | struct req_t req; | 106 | struct req_t req; |
107 | int ret = 0; | 107 | int ret = 0; |
108 | memset(&req, 0, sizeof(&req)); | 108 | memset(&req, 0, sizeof(req)); |
109 | 109 | ||
110 | if (num > 2) | 110 | if (num > 2) |
111 | return -EINVAL; | 111 | return -EINVAL; |
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index 0b2812aa30a4..6bd8951ea02b 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -1925,7 +1925,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
1925 | { NULL }, | 1925 | { NULL }, |
1926 | }, | 1926 | }, |
1927 | { "Leadtek Winfast DTV Dongle (STK7700P based)", | 1927 | { "Leadtek Winfast DTV Dongle (STK7700P based)", |
1928 | { &dib0700_usb_id_table[8] }, | 1928 | { &dib0700_usb_id_table[8], &dib0700_usb_id_table[34] }, |
1929 | { NULL }, | 1929 | { NULL }, |
1930 | }, | 1930 | }, |
1931 | { "AVerMedia AVerTV DVB-T Express", | 1931 | { "AVerMedia AVerTV DVB-T Express", |
@@ -2064,7 +2064,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
2064 | }, | 2064 | }, |
2065 | }, | 2065 | }, |
2066 | 2066 | ||
2067 | .num_device_descs = 12, | 2067 | .num_device_descs = 11, |
2068 | .devices = { | 2068 | .devices = { |
2069 | { "DiBcom STK7070P reference design", | 2069 | { "DiBcom STK7070P reference design", |
2070 | { &dib0700_usb_id_table[15], NULL }, | 2070 | { &dib0700_usb_id_table[15], NULL }, |
@@ -2098,11 +2098,6 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
2098 | { &dib0700_usb_id_table[30], NULL }, | 2098 | { &dib0700_usb_id_table[30], NULL }, |
2099 | { NULL }, | 2099 | { NULL }, |
2100 | }, | 2100 | }, |
2101 | { "Terratec Cinergy T USB XXS/ T3", | ||
2102 | { &dib0700_usb_id_table[33], | ||
2103 | &dib0700_usb_id_table[52], NULL }, | ||
2104 | { NULL }, | ||
2105 | }, | ||
2106 | { "Elgato EyeTV DTT", | 2101 | { "Elgato EyeTV DTT", |
2107 | { &dib0700_usb_id_table[49], NULL }, | 2102 | { &dib0700_usb_id_table[49], NULL }, |
2108 | { NULL }, | 2103 | { NULL }, |
@@ -2343,8 +2338,10 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
2343 | { &dib0700_usb_id_table[59], NULL }, | 2338 | { &dib0700_usb_id_table[59], NULL }, |
2344 | { NULL }, | 2339 | { NULL }, |
2345 | }, | 2340 | }, |
2346 | { "Terratec Cinergy T USB XXS (HD)", | 2341 | { "Terratec Cinergy T USB XXS (HD)/ T3", |
2347 | { &dib0700_usb_id_table[34], &dib0700_usb_id_table[60] }, | 2342 | { &dib0700_usb_id_table[33], |
2343 | &dib0700_usb_id_table[52], | ||
2344 | &dib0700_usb_id_table[60], NULL}, | ||
2348 | { NULL }, | 2345 | { NULL }, |
2349 | }, | 2346 | }, |
2350 | }, | 2347 | }, |
diff --git a/drivers/media/dvb/firewire/firedtv-avc.c b/drivers/media/dvb/firewire/firedtv-avc.c index d1b67fe0f011..485d061319ab 100644 --- a/drivers/media/dvb/firewire/firedtv-avc.c +++ b/drivers/media/dvb/firewire/firedtv-avc.c | |||
@@ -1050,28 +1050,28 @@ int avc_ca_pmt(struct firedtv *fdtv, char *msg, int length) | |||
1050 | c->operand[4] = 0; /* slot */ | 1050 | c->operand[4] = 0; /* slot */ |
1051 | c->operand[5] = SFE_VENDOR_TAG_CA_PMT; /* ca tag */ | 1051 | c->operand[5] = SFE_VENDOR_TAG_CA_PMT; /* ca tag */ |
1052 | c->operand[6] = 0; /* more/last */ | 1052 | c->operand[6] = 0; /* more/last */ |
1053 | /* c->operand[7] = XXXprogram_info_length + 17; */ /* length */ | 1053 | /* Use three bytes for length field in case length > 127 */ |
1054 | c->operand[8] = list_management; | 1054 | c->operand[10] = list_management; |
1055 | c->operand[9] = 0x01; /* pmt_cmd=OK_descramble */ | 1055 | c->operand[11] = 0x01; /* pmt_cmd=OK_descramble */ |
1056 | 1056 | ||
1057 | /* TS program map table */ | 1057 | /* TS program map table */ |
1058 | 1058 | ||
1059 | c->operand[10] = 0x02; /* Table id=2 */ | 1059 | c->operand[12] = 0x02; /* Table id=2 */ |
1060 | c->operand[11] = 0x80; /* Section syntax + length */ | 1060 | c->operand[13] = 0x80; /* Section syntax + length */ |
1061 | /* c->operand[12] = XXXprogram_info_length + 12; */ | 1061 | /* c->operand[14] = XXXprogram_info_length + 12; */ |
1062 | c->operand[13] = msg[1]; /* Program number */ | 1062 | c->operand[15] = msg[1]; /* Program number */ |
1063 | c->operand[14] = msg[2]; | 1063 | c->operand[16] = msg[2]; |
1064 | c->operand[15] = 0x01; /* Version number=0 + current/next=1 */ | 1064 | c->operand[17] = 0x01; /* Version number=0 + current/next=1 */ |
1065 | c->operand[16] = 0x00; /* Section number=0 */ | 1065 | c->operand[18] = 0x00; /* Section number=0 */ |
1066 | c->operand[17] = 0x00; /* Last section number=0 */ | 1066 | c->operand[19] = 0x00; /* Last section number=0 */ |
1067 | c->operand[18] = 0x1f; /* PCR_PID=1FFF */ | 1067 | c->operand[20] = 0x1f; /* PCR_PID=1FFF */ |
1068 | c->operand[19] = 0xff; | 1068 | c->operand[21] = 0xff; |
1069 | c->operand[20] = (program_info_length >> 8); /* Program info length */ | 1069 | c->operand[22] = (program_info_length >> 8); /* Program info length */ |
1070 | c->operand[21] = (program_info_length & 0xff); | 1070 | c->operand[23] = (program_info_length & 0xff); |
1071 | 1071 | ||
1072 | /* CA descriptors at programme level */ | 1072 | /* CA descriptors at programme level */ |
1073 | read_pos = 6; | 1073 | read_pos = 6; |
1074 | write_pos = 22; | 1074 | write_pos = 24; |
1075 | if (program_info_length > 0) { | 1075 | if (program_info_length > 0) { |
1076 | pmt_cmd_id = msg[read_pos++]; | 1076 | pmt_cmd_id = msg[read_pos++]; |
1077 | if (pmt_cmd_id != 1 && pmt_cmd_id != 4) | 1077 | if (pmt_cmd_id != 1 && pmt_cmd_id != 4) |
@@ -1113,8 +1113,10 @@ int avc_ca_pmt(struct firedtv *fdtv, char *msg, int length) | |||
1113 | c->operand[write_pos++] = 0x00; | 1113 | c->operand[write_pos++] = 0x00; |
1114 | c->operand[write_pos++] = 0x00; | 1114 | c->operand[write_pos++] = 0x00; |
1115 | 1115 | ||
1116 | c->operand[7] = write_pos - 8; | 1116 | c->operand[7] = 0x82; |
1117 | c->operand[12] = write_pos - 13; | 1117 | c->operand[8] = (write_pos - 10) >> 8; |
1118 | c->operand[9] = (write_pos - 10) & 0xff; | ||
1119 | c->operand[14] = write_pos - 15; | ||
1118 | 1120 | ||
1119 | crc32_csum = crc32_be(0, &c->operand[10], c->operand[12] - 1); | 1121 | crc32_csum = crc32_be(0, &c->operand[10], c->operand[12] - 1); |
1120 | c->operand[write_pos - 4] = (crc32_csum >> 24) & 0xff; | 1122 | c->operand[write_pos - 4] = (crc32_csum >> 24) & 0xff; |
diff --git a/drivers/media/dvb/firewire/firedtv-fe.c b/drivers/media/dvb/firewire/firedtv-fe.c index 7ba43630a25d..e49cdc88b0c7 100644 --- a/drivers/media/dvb/firewire/firedtv-fe.c +++ b/drivers/media/dvb/firewire/firedtv-fe.c | |||
@@ -141,18 +141,12 @@ static int fdtv_read_uncorrected_blocks(struct dvb_frontend *fe, u32 *ucblocks) | |||
141 | return -EOPNOTSUPP; | 141 | return -EOPNOTSUPP; |
142 | } | 142 | } |
143 | 143 | ||
144 | #define ACCEPTED 0x9 | ||
145 | |||
146 | static int fdtv_set_frontend(struct dvb_frontend *fe, | 144 | static int fdtv_set_frontend(struct dvb_frontend *fe, |
147 | struct dvb_frontend_parameters *params) | 145 | struct dvb_frontend_parameters *params) |
148 | { | 146 | { |
149 | struct firedtv *fdtv = fe->sec_priv; | 147 | struct firedtv *fdtv = fe->sec_priv; |
150 | 148 | ||
151 | /* FIXME: avc_tuner_dsd never returns ACCEPTED. Check status? */ | 149 | return avc_tuner_dsd(fdtv, params); |
152 | if (avc_tuner_dsd(fdtv, params) != ACCEPTED) | ||
153 | return -EINVAL; | ||
154 | else | ||
155 | return 0; /* not sure of this... */ | ||
156 | } | 150 | } |
157 | 151 | ||
158 | static int fdtv_get_frontend(struct dvb_frontend *fe, | 152 | static int fdtv_get_frontend(struct dvb_frontend *fe, |
diff --git a/drivers/media/dvb/frontends/dib0070.h b/drivers/media/dvb/frontends/dib0070.h index 8a2e1e710adb..eec9e52ffa75 100644 --- a/drivers/media/dvb/frontends/dib0070.h +++ b/drivers/media/dvb/frontends/dib0070.h | |||
@@ -51,6 +51,7 @@ struct dib0070_config { | |||
51 | #if defined(CONFIG_DVB_TUNER_DIB0070) || (defined(CONFIG_DVB_TUNER_DIB0070_MODULE) && defined(MODULE)) | 51 | #if defined(CONFIG_DVB_TUNER_DIB0070) || (defined(CONFIG_DVB_TUNER_DIB0070_MODULE) && defined(MODULE)) |
52 | extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg); | 52 | extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg); |
53 | extern u16 dib0070_wbd_offset(struct dvb_frontend *); | 53 | extern u16 dib0070_wbd_offset(struct dvb_frontend *); |
54 | extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open); | ||
54 | #else | 55 | #else |
55 | static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) | 56 | static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) |
56 | { | 57 | { |
@@ -63,7 +64,11 @@ static inline u16 dib0070_wbd_offset(struct dvb_frontend *fe) | |||
63 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | 64 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
64 | return -ENODEV; | 65 | return -ENODEV; |
65 | } | 66 | } |
67 | |||
68 | static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) | ||
69 | { | ||
70 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | ||
71 | } | ||
66 | #endif | 72 | #endif |
67 | extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open); | ||
68 | 73 | ||
69 | #endif | 74 | #endif |
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c index 55ef6eeb0769..0781f94e05d2 100644 --- a/drivers/media/dvb/frontends/dib7000p.c +++ b/drivers/media/dvb/frontends/dib7000p.c | |||
@@ -1375,6 +1375,11 @@ struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, | |||
1375 | if (dib7000p_identify(st) != 0) | 1375 | if (dib7000p_identify(st) != 0) |
1376 | goto error; | 1376 | goto error; |
1377 | 1377 | ||
1378 | /* FIXME: make sure the dev.parent field is initialized, or else | ||
1379 | request_firmware() will hit an OOPS (this should be moved somewhere | ||
1380 | more common) */ | ||
1381 | st->i2c_master.gated_tuner_i2c_adap.dev.parent = i2c_adap->dev.parent; | ||
1382 | |||
1378 | dibx000_init_i2c_master(&st->i2c_master, DIB7000P, st->i2c_adap, st->i2c_addr); | 1383 | dibx000_init_i2c_master(&st->i2c_master, DIB7000P, st->i2c_adap, st->i2c_addr); |
1379 | 1384 | ||
1380 | dib7000p_demod_reset(st); | 1385 | dib7000p_demod_reset(st); |
diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c index 81e623a90f09..1fd8306371e2 100644 --- a/drivers/media/dvb/pt1/pt1.c +++ b/drivers/media/dvb/pt1/pt1.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/kthread.h> | 28 | #include <linux/kthread.h> |
29 | #include <linux/freezer.h> | 29 | #include <linux/freezer.h> |
30 | #include <linux/vmalloc.h> | ||
30 | 31 | ||
31 | #include "dvbdev.h" | 32 | #include "dvbdev.h" |
32 | #include "dvb_demux.h" | 33 | #include "dvb_demux.h" |
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c index cb8a358b7310..8f88a586b0dd 100644 --- a/drivers/media/dvb/siano/smsusb.c +++ b/drivers/media/dvb/siano/smsusb.c | |||
@@ -529,6 +529,12 @@ struct usb_device_id smsusb_id_table[] = { | |||
529 | .driver_info = SMS1XXX_BOARD_SIANO_NICE }, | 529 | .driver_info = SMS1XXX_BOARD_SIANO_NICE }, |
530 | { USB_DEVICE(0x187f, 0x0301), | 530 | { USB_DEVICE(0x187f, 0x0301), |
531 | .driver_info = SMS1XXX_BOARD_SIANO_VENICE }, | 531 | .driver_info = SMS1XXX_BOARD_SIANO_VENICE }, |
532 | { USB_DEVICE(0x2040, 0xb900), | ||
533 | .driver_info = SMS1XXX_BOARD_HAUPPAUGE_WINDHAM }, | ||
534 | { USB_DEVICE(0x2040, 0xb910), | ||
535 | .driver_info = SMS1XXX_BOARD_HAUPPAUGE_WINDHAM }, | ||
536 | { USB_DEVICE(0x2040, 0xc000), | ||
537 | .driver_info = SMS1XXX_BOARD_HAUPPAUGE_WINDHAM }, | ||
532 | { } /* Terminating entry */ | 538 | { } /* Terminating entry */ |
533 | }; | 539 | }; |
534 | 540 | ||
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 939d1e512974..a6724019c66f 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -1299,7 +1299,7 @@ set_tvnorm(struct bttv *btv, unsigned int norm) | |||
1299 | 1299 | ||
1300 | tvnorm = &bttv_tvnorms[norm]; | 1300 | tvnorm = &bttv_tvnorms[norm]; |
1301 | 1301 | ||
1302 | if (!memcmp(&bttv_tvnorms[btv->tvnorm].cropcap, &tvnorm->cropcap, | 1302 | if (memcmp(&bttv_tvnorms[btv->tvnorm].cropcap, &tvnorm->cropcap, |
1303 | sizeof (tvnorm->cropcap))) { | 1303 | sizeof (tvnorm->cropcap))) { |
1304 | bttv_crop_reset(&btv->crop[0], norm); | 1304 | bttv_crop_reset(&btv->crop[0], norm); |
1305 | btv->crop[1] = btv->crop[0]; /* current = default */ | 1305 | btv->crop[1] = btv->crop[0]; /* current = default */ |
@@ -3800,11 +3800,34 @@ bttv_irq_next_video(struct bttv *btv, struct bttv_buffer_set *set) | |||
3800 | if (!V4L2_FIELD_HAS_BOTH(item->vb.field) && | 3800 | if (!V4L2_FIELD_HAS_BOTH(item->vb.field) && |
3801 | (item->vb.queue.next != &btv->capture)) { | 3801 | (item->vb.queue.next != &btv->capture)) { |
3802 | item = list_entry(item->vb.queue.next, struct bttv_buffer, vb.queue); | 3802 | item = list_entry(item->vb.queue.next, struct bttv_buffer, vb.queue); |
3803 | /* Mike Isely <isely@pobox.com> - Only check | ||
3804 | * and set up the bottom field in the logic | ||
3805 | * below. Don't ever do the top field. This | ||
3806 | * of course means that if we set up the | ||
3807 | * bottom field in the above code that we'll | ||
3808 | * actually skip a field. But that's OK. | ||
3809 | * Having processed only a single buffer this | ||
3810 | * time, then the next time around the first | ||
3811 | * available buffer should be for a top field. | ||
3812 | * That will then cause us here to set up a | ||
3813 | * top then a bottom field in the normal way. | ||
3814 | * The alternative to this understanding is | ||
3815 | * that we set up the second available buffer | ||
3816 | * as a top field, but that's out of order | ||
3817 | * since this driver always processes the top | ||
3818 | * field first - the effect will be the two | ||
3819 | * buffers being returned in the wrong order, | ||
3820 | * with the second buffer also being delayed | ||
3821 | * by one field time (owing to the fifo nature | ||
3822 | * of videobuf). Worse still, we'll be stuck | ||
3823 | * doing fields out of order now every time | ||
3824 | * until something else causes a field to be | ||
3825 | * dropped. By effectively forcing a field to | ||
3826 | * drop this way then we always get back into | ||
3827 | * sync within a single frame time. (Out of | ||
3828 | * order fields can screw up deinterlacing | ||
3829 | * algorithms.) */ | ||
3803 | if (!V4L2_FIELD_HAS_BOTH(item->vb.field)) { | 3830 | if (!V4L2_FIELD_HAS_BOTH(item->vb.field)) { |
3804 | if (NULL == set->top && | ||
3805 | V4L2_FIELD_TOP == item->vb.field) { | ||
3806 | set->top = item; | ||
3807 | } | ||
3808 | if (NULL == set->bottom && | 3831 | if (NULL == set->bottom && |
3809 | V4L2_FIELD_BOTTOM == item->vb.field) { | 3832 | V4L2_FIELD_BOTTOM == item->vb.field) { |
3810 | set->bottom = item; | 3833 | set->bottom = item; |
diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index 7bd8a70f0a0b..ac947aecb9c3 100644 --- a/drivers/media/video/em28xx/em28xx-audio.c +++ b/drivers/media/video/em28xx/em28xx-audio.c | |||
@@ -383,6 +383,11 @@ static int snd_em28xx_hw_capture_free(struct snd_pcm_substream *substream) | |||
383 | 383 | ||
384 | static int snd_em28xx_prepare(struct snd_pcm_substream *substream) | 384 | static int snd_em28xx_prepare(struct snd_pcm_substream *substream) |
385 | { | 385 | { |
386 | struct em28xx *dev = snd_pcm_substream_chip(substream); | ||
387 | |||
388 | dev->adev.hwptr_done_capture = 0; | ||
389 | dev->adev.capture_transfer_done = 0; | ||
390 | |||
386 | return 0; | 391 | return 0; |
387 | } | 392 | } |
388 | 393 | ||
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c index 59400e858965..a27afeb6f39b 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c +++ b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c | |||
@@ -35,12 +35,25 @@ static | |||
35 | const | 35 | const |
36 | struct dmi_system_id s5k4aa_vflip_dmi_table[] = { | 36 | struct dmi_system_id s5k4aa_vflip_dmi_table[] = { |
37 | { | 37 | { |
38 | .ident = "BRUNEINIT", | ||
39 | .matches = { | ||
40 | DMI_MATCH(DMI_SYS_VENDOR, "BRUNENIT"), | ||
41 | DMI_MATCH(DMI_PRODUCT_NAME, "BRUNENIT"), | ||
42 | DMI_MATCH(DMI_BOARD_VERSION, "00030D0000000001") | ||
43 | } | ||
44 | }, { | ||
38 | .ident = "Fujitsu-Siemens Amilo Xa 2528", | 45 | .ident = "Fujitsu-Siemens Amilo Xa 2528", |
39 | .matches = { | 46 | .matches = { |
40 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | 47 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
41 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xa 2528") | 48 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xa 2528") |
42 | } | 49 | } |
43 | }, { | 50 | }, { |
51 | .ident = "Fujitsu-Siemens Amilo Xi 2528", | ||
52 | .matches = { | ||
53 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | ||
54 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xi 2528") | ||
55 | } | ||
56 | }, { | ||
44 | .ident = "Fujitsu-Siemens Amilo Xi 2550", | 57 | .ident = "Fujitsu-Siemens Amilo Xi 2550", |
45 | .matches = { | 58 | .matches = { |
46 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | 59 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
@@ -57,6 +70,13 @@ static | |||
57 | .matches = { | 70 | .matches = { |
58 | DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International"), | 71 | DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International"), |
59 | DMI_MATCH(DMI_PRODUCT_NAME, "GX700"), | 72 | DMI_MATCH(DMI_PRODUCT_NAME, "GX700"), |
73 | DMI_MATCH(DMI_BIOS_DATE, "12/02/2008") | ||
74 | } | ||
75 | }, { | ||
76 | .ident = "MSI GX700", | ||
77 | .matches = { | ||
78 | DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International"), | ||
79 | DMI_MATCH(DMI_PRODUCT_NAME, "GX700"), | ||
60 | DMI_MATCH(DMI_BIOS_DATE, "07/26/2007") | 80 | DMI_MATCH(DMI_BIOS_DATE, "07/26/2007") |
61 | } | 81 | } |
62 | }, { | 82 | }, { |
diff --git a/drivers/media/video/gspca/mr97310a.c b/drivers/media/video/gspca/mr97310a.c index 140c8f320e47..f8328b9efae5 100644 --- a/drivers/media/video/gspca/mr97310a.c +++ b/drivers/media/video/gspca/mr97310a.c | |||
@@ -483,7 +483,7 @@ static int start_cif_cam(struct gspca_dev *gspca_dev) | |||
483 | data[3] = 0x2c; /* reg 2, H size/8 */ | 483 | data[3] = 0x2c; /* reg 2, H size/8 */ |
484 | data[4] = 0x48; /* reg 3, V size/4 */ | 484 | data[4] = 0x48; /* reg 3, V size/4 */ |
485 | data[6] = 0x06; /* reg 5, H start */ | 485 | data[6] = 0x06; /* reg 5, H start */ |
486 | data[8] = 0x06 + sd->sensor_type; /* reg 7, V start */ | 486 | data[8] = 0x06 - sd->sensor_type; /* reg 7, V start */ |
487 | break; | 487 | break; |
488 | } | 488 | } |
489 | err_code = mr_write(gspca_dev, 11); | 489 | err_code = mr_write(gspca_dev, 11); |
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index 2f6e135d94bc..a5c190e93799 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c | |||
@@ -2919,7 +2919,7 @@ static void ov518_pkt_scan(struct gspca_dev *gspca_dev, | |||
2919 | /* A false positive here is likely, until OVT gives me | 2919 | /* A false positive here is likely, until OVT gives me |
2920 | * the definitive SOF/EOF format */ | 2920 | * the definitive SOF/EOF format */ |
2921 | if ((!(data[0] | data[1] | data[2] | data[3] | data[5])) && data[6]) { | 2921 | if ((!(data[0] | data[1] | data[2] | data[3] | data[5])) && data[6]) { |
2922 | gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, 0); | 2922 | frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, 0); |
2923 | gspca_frame_add(gspca_dev, FIRST_PACKET, frame, data, 0); | 2923 | gspca_frame_add(gspca_dev, FIRST_PACKET, frame, data, 0); |
2924 | sd->packet_nr = 0; | 2924 | sd->packet_nr = 0; |
2925 | } | 2925 | } |
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c index 65489d6b0d89..bfae63f5584c 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/drivers/media/video/gspca/stv06xx/stv06xx.c | |||
@@ -394,7 +394,8 @@ frame_data: | |||
394 | PDEBUG(D_PACK, "End of frame detected"); | 394 | PDEBUG(D_PACK, "End of frame detected"); |
395 | 395 | ||
396 | /* Complete the last frame (if any) */ | 396 | /* Complete the last frame (if any) */ |
397 | gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, 0); | 397 | frame = gspca_frame_add(gspca_dev, LAST_PACKET, |
398 | frame, data, 0); | ||
398 | 399 | ||
399 | if (chunk_len) | 400 | if (chunk_len) |
400 | PDEBUG(D_ERR, "Chunk length is " | 401 | PDEBUG(D_ERR, "Chunk length is " |
diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index 6952e9602d5d..51b683c63b70 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/device.h> | 26 | #include <linux/device.h> |
27 | #include <linux/platform_device.h> | 27 | #include <linux/platform_device.h> |
28 | #include <linux/clk.h> | 28 | #include <linux/clk.h> |
29 | #include <linux/sched.h> | ||
29 | 30 | ||
30 | #include <media/v4l2-common.h> | 31 | #include <media/v4l2-common.h> |
31 | #include <media/v4l2-dev.h> | 32 | #include <media/v4l2-dev.h> |
@@ -1432,7 +1433,9 @@ static int pxa_camera_set_fmt(struct soc_camera_device *icd, | |||
1432 | icd->sense = &sense; | 1433 | icd->sense = &sense; |
1433 | 1434 | ||
1434 | cam_f.fmt.pix.pixelformat = cam_fmt->fourcc; | 1435 | cam_f.fmt.pix.pixelformat = cam_fmt->fourcc; |
1435 | ret = v4l2_subdev_call(sd, video, s_fmt, f); | 1436 | ret = v4l2_subdev_call(sd, video, s_fmt, &cam_f); |
1437 | cam_f.fmt.pix.pixelformat = pix->pixelformat; | ||
1438 | *pix = cam_f.fmt.pix; | ||
1436 | 1439 | ||
1437 | icd->sense = NULL; | 1440 | icd->sense = NULL; |
1438 | 1441 | ||
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index 9e3262c0ba37..2c0bb06cab3b 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c | |||
@@ -598,11 +598,6 @@ static int s2255_got_frame(struct s2255_dev *dev, int chn, int jpgsize) | |||
598 | buf = list_entry(dma_q->active.next, | 598 | buf = list_entry(dma_q->active.next, |
599 | struct s2255_buffer, vb.queue); | 599 | struct s2255_buffer, vb.queue); |
600 | 600 | ||
601 | if (!waitqueue_active(&buf->vb.done)) { | ||
602 | /* no one active */ | ||
603 | rc = -1; | ||
604 | goto unlock; | ||
605 | } | ||
606 | list_del(&buf->vb.queue); | 601 | list_del(&buf->vb.queue); |
607 | do_gettimeofday(&buf->vb.ts); | 602 | do_gettimeofday(&buf->vb.ts); |
608 | dprintk(100, "[%p/%d] wakeup\n", buf, buf->vb.i); | 603 | dprintk(100, "[%p/%d] wakeup\n", buf, buf->vb.i); |
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 71145bff94fa..09013229d4aa 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3428,6 +3428,7 @@ struct saa7134_board saa7134_boards[] = { | |||
3428 | .tuner_config = 3, | 3428 | .tuner_config = 3, |
3429 | .mpeg = SAA7134_MPEG_DVB, | 3429 | .mpeg = SAA7134_MPEG_DVB, |
3430 | .ts_type = SAA7134_MPEG_TS_SERIAL, | 3430 | .ts_type = SAA7134_MPEG_TS_SERIAL, |
3431 | .ts_force_val = 1, | ||
3431 | .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */ | 3432 | .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */ |
3432 | .inputs = {{ | 3433 | .inputs = {{ |
3433 | .name = name_tv, | 3434 | .name = name_tv, |
diff --git a/drivers/media/video/saa7134/saa7134-ts.c b/drivers/media/video/saa7134/saa7134-ts.c index 3fa652279ac0..03488ba4c99c 100644 --- a/drivers/media/video/saa7134/saa7134-ts.c +++ b/drivers/media/video/saa7134/saa7134-ts.c | |||
@@ -262,11 +262,13 @@ int saa7134_ts_start(struct saa7134_dev *dev) | |||
262 | switch (saa7134_boards[dev->board].ts_type) { | 262 | switch (saa7134_boards[dev->board].ts_type) { |
263 | case SAA7134_MPEG_TS_PARALLEL: | 263 | case SAA7134_MPEG_TS_PARALLEL: |
264 | saa_writeb(SAA7134_TS_SERIAL0, 0x40); | 264 | saa_writeb(SAA7134_TS_SERIAL0, 0x40); |
265 | saa_writeb(SAA7134_TS_PARALLEL, 0xec); | 265 | saa_writeb(SAA7134_TS_PARALLEL, 0xec | |
266 | (saa7134_boards[dev->board].ts_force_val << 4)); | ||
266 | break; | 267 | break; |
267 | case SAA7134_MPEG_TS_SERIAL: | 268 | case SAA7134_MPEG_TS_SERIAL: |
268 | saa_writeb(SAA7134_TS_SERIAL0, 0xd8); | 269 | saa_writeb(SAA7134_TS_SERIAL0, 0xd8); |
269 | saa_writeb(SAA7134_TS_PARALLEL, 0x6c); | 270 | saa_writeb(SAA7134_TS_PARALLEL, 0x6c | |
271 | (saa7134_boards[dev->board].ts_force_val << 4)); | ||
270 | saa_writeb(SAA7134_TS_PARALLEL_SERIAL, 0xbc); | 272 | saa_writeb(SAA7134_TS_PARALLEL_SERIAL, 0xbc); |
271 | saa_writeb(SAA7134_TS_SERIAL1, 0x02); | 273 | saa_writeb(SAA7134_TS_SERIAL1, 0x02); |
272 | break; | 274 | break; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 6ee3e9b7769e..f8697d46ff5f 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -360,6 +360,7 @@ struct saa7134_board { | |||
360 | enum saa7134_mpeg_type mpeg; | 360 | enum saa7134_mpeg_type mpeg; |
361 | enum saa7134_mpeg_ts_type ts_type; | 361 | enum saa7134_mpeg_ts_type ts_type; |
362 | unsigned int vid_port_opts; | 362 | unsigned int vid_port_opts; |
363 | unsigned int ts_force_val:1; | ||
363 | }; | 364 | }; |
364 | 365 | ||
365 | #define card_has_radio(dev) (NULL != saa7134_boards[dev->board].radio.name) | 366 | #define card_has_radio(dev) (NULL != saa7134_boards[dev->board].radio.name) |
diff --git a/drivers/media/video/saa7164/saa7164-cmd.c b/drivers/media/video/saa7164/saa7164-cmd.c index c45966edc0cf..9c1d3ac43869 100644 --- a/drivers/media/video/saa7164/saa7164-cmd.c +++ b/drivers/media/video/saa7164/saa7164-cmd.c | |||
@@ -347,7 +347,7 @@ int saa7164_cmd_send(struct saa7164_dev *dev, u8 id, tmComResCmd_t command, | |||
347 | 347 | ||
348 | /* Prepare some basic command/response structures */ | 348 | /* Prepare some basic command/response structures */ |
349 | memset(&command_t, 0, sizeof(command_t)); | 349 | memset(&command_t, 0, sizeof(command_t)); |
350 | memset(&response_t, 0, sizeof(&response_t)); | 350 | memset(&response_t, 0, sizeof(response_t)); |
351 | pcommand_t = &command_t; | 351 | pcommand_t = &command_t; |
352 | presponse_t = &response_t; | 352 | presponse_t = &response_t; |
353 | command_t.id = id; | 353 | command_t.id = id; |
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index 65ac474c517a..2f78b4f263f5 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c | |||
@@ -1173,8 +1173,8 @@ static int get_scales(struct soc_camera_device *icd, | |||
1173 | width_in = scale_up(cam->ceu_rect.width, *scale_h); | 1173 | width_in = scale_up(cam->ceu_rect.width, *scale_h); |
1174 | height_in = scale_up(cam->ceu_rect.height, *scale_v); | 1174 | height_in = scale_up(cam->ceu_rect.height, *scale_v); |
1175 | 1175 | ||
1176 | *scale_h = calc_generic_scale(cam->ceu_rect.width, icd->user_width); | 1176 | *scale_h = calc_generic_scale(width_in, icd->user_width); |
1177 | *scale_v = calc_generic_scale(cam->ceu_rect.height, icd->user_height); | 1177 | *scale_v = calc_generic_scale(height_in, icd->user_height); |
1178 | 1178 | ||
1179 | return 0; | 1179 | return 0; |
1180 | } | 1180 | } |
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index 59aa7a3694c2..36e617bd13c7 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/video/soc_camera.c | |||
@@ -1160,13 +1160,15 @@ void soc_camera_host_unregister(struct soc_camera_host *ici) | |||
1160 | if (icd->iface == ici->nr) { | 1160 | if (icd->iface == ici->nr) { |
1161 | /* The bus->remove will be called */ | 1161 | /* The bus->remove will be called */ |
1162 | device_unregister(&icd->dev); | 1162 | device_unregister(&icd->dev); |
1163 | /* Not before device_unregister(), .remove | 1163 | /* |
1164 | * needs parent to call ici->ops->remove() */ | 1164 | * Not before device_unregister(), .remove |
1165 | icd->dev.parent = NULL; | 1165 | * needs parent to call ici->ops->remove(). |
1166 | 1166 | * If the host module is loaded again, device_register() | |
1167 | /* If the host module is loaded again, device_register() | 1167 | * would complain "already initialised," since 2.6.32 |
1168 | * would complain "already initialised" */ | 1168 | * this is also needed to prevent use-after-free of the |
1169 | memset(&icd->dev.kobj, 0, sizeof(icd->dev.kobj)); | 1169 | * device private data. |
1170 | */ | ||
1171 | memset(&icd->dev, 0, sizeof(icd->dev)); | ||
1170 | } | 1172 | } |
1171 | } | 1173 | } |
1172 | 1174 | ||
diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index c3225a561748..1b89735e62fd 100644 --- a/drivers/media/video/uvc/uvc_ctrl.c +++ b/drivers/media/video/uvc/uvc_ctrl.c | |||
@@ -348,7 +348,7 @@ static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, | |||
348 | __s32 value, __u8 *data) | 348 | __s32 value, __u8 *data) |
349 | { | 349 | { |
350 | data[0] = value == 0 ? 0 : (value > 0) ? 1 : 0xff; | 350 | data[0] = value == 0 ? 0 : (value > 0) ? 1 : 0xff; |
351 | data[2] = min(abs(value), 0xff); | 351 | data[2] = min((int)abs(value), 0xff); |
352 | } | 352 | } |
353 | 353 | ||
354 | static struct uvc_control_mapping uvc_ctrl_mappings[] = { | 354 | static struct uvc_control_mapping uvc_ctrl_mappings[] = { |
diff --git a/drivers/media/video/uvc/uvc_video.c b/drivers/media/video/uvc/uvc_video.c index f960e8ea4f17..a6e41d12b221 100644 --- a/drivers/media/video/uvc/uvc_video.c +++ b/drivers/media/video/uvc/uvc_video.c | |||
@@ -90,7 +90,8 @@ static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, | |||
90 | ctrl->dwMaxVideoFrameSize = | 90 | ctrl->dwMaxVideoFrameSize = |
91 | frame->dwMaxVideoFrameBufferSize; | 91 | frame->dwMaxVideoFrameBufferSize; |
92 | 92 | ||
93 | if (stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && | 93 | if (!(format->flags & UVC_FMT_FLAG_COMPRESSED) && |
94 | stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && | ||
94 | stream->intf->num_altsetting > 1) { | 95 | stream->intf->num_altsetting > 1) { |
95 | u32 interval; | 96 | u32 interval; |
96 | u32 bandwidth; | 97 | u32 bandwidth; |
diff --git a/drivers/misc/sgi-gru/gruprocfs.c b/drivers/misc/sgi-gru/gruprocfs.c index ccd4408a26c7..3f2375c5ba5b 100644 --- a/drivers/misc/sgi-gru/gruprocfs.c +++ b/drivers/misc/sgi-gru/gruprocfs.c | |||
@@ -161,14 +161,15 @@ static int options_show(struct seq_file *s, void *p) | |||
161 | static ssize_t options_write(struct file *file, const char __user *userbuf, | 161 | static ssize_t options_write(struct file *file, const char __user *userbuf, |
162 | size_t count, loff_t *data) | 162 | size_t count, loff_t *data) |
163 | { | 163 | { |
164 | unsigned long val; | 164 | char buf[20]; |
165 | char buf[80]; | ||
166 | 165 | ||
167 | if (strncpy_from_user(buf, userbuf, sizeof(buf) - 1) < 0) | 166 | if (count >= sizeof(buf)) |
167 | return -EINVAL; | ||
168 | if (copy_from_user(buf, userbuf, count)) | ||
168 | return -EFAULT; | 169 | return -EFAULT; |
169 | buf[count - 1] = '\0'; | 170 | buf[count] = '\0'; |
170 | if (!strict_strtoul(buf, 10, &val)) | 171 | if (strict_strtoul(buf, 0, &gru_options)) |
171 | gru_options = val; | 172 | return -EINVAL; |
172 | 173 | ||
173 | return count; | 174 | return count; |
174 | } | 175 | } |
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index e7a331de5733..b8fd7af1ceeb 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_device *pdev) | |||
1529 | host->pdata->cleanup(&pdev->dev); | 1529 | host->pdata->cleanup(&pdev->dev); |
1530 | 1530 | ||
1531 | mmc_omap_fclk_enable(host, 0); | 1531 | mmc_omap_fclk_enable(host, 0); |
1532 | free_irq(host->irq, host); | ||
1532 | clk_put(host->fclk); | 1533 | clk_put(host->fclk); |
1533 | clk_disable(host->iclk); | 1534 | clk_disable(host->iclk); |
1534 | clk_put(host->iclk); | 1535 | clk_put(host->iclk); |
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 841e085ab74a..14be0755d7cd 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -486,6 +486,7 @@ config MTD_BFIN_ASYNC | |||
486 | 486 | ||
487 | config MTD_GPIO_ADDR | 487 | config MTD_GPIO_ADDR |
488 | tristate "GPIO-assisted Flash Chip Support" | 488 | tristate "GPIO-assisted Flash Chip Support" |
489 | depends on GENERIC_GPIO || GPIOLIB | ||
489 | depends on MTD_COMPLEX_MAPPINGS | 490 | depends on MTD_COMPLEX_MAPPINGS |
490 | select MTD_PARTITIONS | 491 | select MTD_PARTITIONS |
491 | help | 492 | help |
diff --git a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile index 1d5cf8636723..ae2f6dbe43c3 100644 --- a/drivers/mtd/maps/Makefile +++ b/drivers/mtd/maps/Makefile | |||
@@ -58,4 +58,6 @@ obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o | |||
58 | obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o | 58 | obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o |
59 | obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o | 59 | obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o |
60 | obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o | 60 | obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o |
61 | obj-$(CONFIG_MTD_RBTX4939) += rbtx4939-flash.o | ||
62 | obj-$(CONFIG_MTD_VMU) += vmu-flash.o | ||
61 | obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o | 63 | obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o |
diff --git a/drivers/mtd/maps/gpio-addr-flash.c b/drivers/mtd/maps/gpio-addr-flash.c index 44ef9a49a860..1ad5caf9fe69 100644 --- a/drivers/mtd/maps/gpio-addr-flash.c +++ b/drivers/mtd/maps/gpio-addr-flash.c | |||
@@ -13,7 +13,9 @@ | |||
13 | * Licensed under the GPL-2 or later. | 13 | * Licensed under the GPL-2 or later. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/gpio.h> | ||
16 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <linux/io.h> | ||
17 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
18 | #include <linux/module.h> | 20 | #include <linux/module.h> |
19 | #include <linux/mtd/mtd.h> | 21 | #include <linux/mtd/mtd.h> |
@@ -23,9 +25,6 @@ | |||
23 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
24 | #include <linux/types.h> | 26 | #include <linux/types.h> |
25 | 27 | ||
26 | #include <asm/gpio.h> | ||
27 | #include <asm/io.h> | ||
28 | |||
29 | #define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); }) | 28 | #define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); }) |
30 | 29 | ||
31 | #define DRIVER_NAME "gpio-addr-flash" | 30 | #define DRIVER_NAME "gpio-addr-flash" |
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c index fdb97f3d30e9..d7a47574d21e 100644 --- a/drivers/mtd/maps/sa1100-flash.c +++ b/drivers/mtd/maps/sa1100-flash.c | |||
@@ -209,8 +209,8 @@ static int sa1100_probe_subdev(struct sa_subdev_info *subdev, struct resource *r | |||
209 | } | 209 | } |
210 | subdev->mtd->owner = THIS_MODULE; | 210 | subdev->mtd->owner = THIS_MODULE; |
211 | 211 | ||
212 | printk(KERN_INFO "SA1100 flash: CFI device at 0x%08lx, %dMiB, " | 212 | printk(KERN_INFO "SA1100 flash: CFI device at 0x%08lx, %uMiB, %d-bit\n", |
213 | "%d-bit\n", phys, subdev->mtd->size >> 20, | 213 | phys, (unsigned)(subdev->mtd->size >> 20), |
214 | subdev->map.bankwidth * 8); | 214 | subdev->map.bankwidth * 8); |
215 | 215 | ||
216 | return 0; | 216 | return 0; |
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 22113865438b..2957cc70da3d 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -761,6 +761,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) | |||
761 | * @mtd: mtd info structure | 761 | * @mtd: mtd info structure |
762 | * @chip: nand chip info structure | 762 | * @chip: nand chip info structure |
763 | * @buf: buffer to store read data | 763 | * @buf: buffer to store read data |
764 | * @page: page number to read | ||
764 | * | 765 | * |
765 | * Not for syndrome calculating ecc controllers, which use a special oob layout | 766 | * Not for syndrome calculating ecc controllers, which use a special oob layout |
766 | */ | 767 | */ |
@@ -777,6 +778,7 @@ static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, | |||
777 | * @mtd: mtd info structure | 778 | * @mtd: mtd info structure |
778 | * @chip: nand chip info structure | 779 | * @chip: nand chip info structure |
779 | * @buf: buffer to store read data | 780 | * @buf: buffer to store read data |
781 | * @page: page number to read | ||
780 | * | 782 | * |
781 | * We need a special oob layout and handling even when OOB isn't used. | 783 | * We need a special oob layout and handling even when OOB isn't used. |
782 | */ | 784 | */ |
@@ -818,6 +820,7 @@ static int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *c | |||
818 | * @mtd: mtd info structure | 820 | * @mtd: mtd info structure |
819 | * @chip: nand chip info structure | 821 | * @chip: nand chip info structure |
820 | * @buf: buffer to store read data | 822 | * @buf: buffer to store read data |
823 | * @page: page number to read | ||
821 | */ | 824 | */ |
822 | static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, | 825 | static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, |
823 | uint8_t *buf, int page) | 826 | uint8_t *buf, int page) |
@@ -939,6 +942,7 @@ static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint3 | |||
939 | * @mtd: mtd info structure | 942 | * @mtd: mtd info structure |
940 | * @chip: nand chip info structure | 943 | * @chip: nand chip info structure |
941 | * @buf: buffer to store read data | 944 | * @buf: buffer to store read data |
945 | * @page: page number to read | ||
942 | * | 946 | * |
943 | * Not for syndrome calculating ecc controllers which need a special oob layout | 947 | * Not for syndrome calculating ecc controllers which need a special oob layout |
944 | */ | 948 | */ |
@@ -983,6 +987,7 @@ static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, | |||
983 | * @mtd: mtd info structure | 987 | * @mtd: mtd info structure |
984 | * @chip: nand chip info structure | 988 | * @chip: nand chip info structure |
985 | * @buf: buffer to store read data | 989 | * @buf: buffer to store read data |
990 | * @page: page number to read | ||
986 | * | 991 | * |
987 | * Hardware ECC for large page chips, require OOB to be read first. | 992 | * Hardware ECC for large page chips, require OOB to be read first. |
988 | * For this ECC mode, the write_page method is re-used from ECC_HW. | 993 | * For this ECC mode, the write_page method is re-used from ECC_HW. |
@@ -1031,6 +1036,7 @@ static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd, | |||
1031 | * @mtd: mtd info structure | 1036 | * @mtd: mtd info structure |
1032 | * @chip: nand chip info structure | 1037 | * @chip: nand chip info structure |
1033 | * @buf: buffer to store read data | 1038 | * @buf: buffer to store read data |
1039 | * @page: page number to read | ||
1034 | * | 1040 | * |
1035 | * The hw generator calculates the error syndrome automatically. Therefor | 1041 | * The hw generator calculates the error syndrome automatically. Therefor |
1036 | * we need a special oob layout and handling. | 1042 | * we need a special oob layout and handling. |
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index a80da0e14a52..3b79a225628a 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -259,6 +259,8 @@ struct be_adapter { | |||
259 | u32 port_num; | 259 | u32 port_num; |
260 | bool promiscuous; | 260 | bool promiscuous; |
261 | u32 cap; | 261 | u32 cap; |
262 | u32 rx_fc; /* Rx flow control */ | ||
263 | u32 tx_fc; /* Tx flow control */ | ||
262 | }; | 264 | }; |
263 | 265 | ||
264 | extern const struct ethtool_ops be_ethtool_ops; | 266 | extern const struct ethtool_ops be_ethtool_ops; |
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h index 49953787e41c..e5f9676cf1bc 100644 --- a/drivers/net/benet/be_cmds.h +++ b/drivers/net/benet/be_cmds.h | |||
@@ -68,7 +68,7 @@ enum { | |||
68 | #define CQE_STATUS_COMPL_MASK 0xFFFF | 68 | #define CQE_STATUS_COMPL_MASK 0xFFFF |
69 | #define CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */ | 69 | #define CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */ |
70 | #define CQE_STATUS_EXTD_MASK 0xFFFF | 70 | #define CQE_STATUS_EXTD_MASK 0xFFFF |
71 | #define CQE_STATUS_EXTD_SHIFT 0 /* bits 0 - 15 */ | 71 | #define CQE_STATUS_EXTD_SHIFT 16 /* bits 16 - 31 */ |
72 | 72 | ||
73 | struct be_mcc_compl { | 73 | struct be_mcc_compl { |
74 | u32 status; /* dword 0 */ | 74 | u32 status; /* dword 0 */ |
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/benet/be_ethtool.c index cda5bf2fc50a..f0fd95b43c07 100644 --- a/drivers/net/benet/be_ethtool.c +++ b/drivers/net/benet/be_ethtool.c | |||
@@ -323,10 +323,12 @@ be_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) | |||
323 | 323 | ||
324 | if (ecmd->autoneg != 0) | 324 | if (ecmd->autoneg != 0) |
325 | return -EINVAL; | 325 | return -EINVAL; |
326 | adapter->tx_fc = ecmd->tx_pause; | ||
327 | adapter->rx_fc = ecmd->rx_pause; | ||
326 | 328 | ||
327 | status = be_cmd_set_flow_control(adapter, ecmd->tx_pause, | 329 | status = be_cmd_set_flow_control(adapter, |
328 | ecmd->rx_pause); | 330 | adapter->tx_fc, adapter->rx_fc); |
329 | if (!status) | 331 | if (status) |
330 | dev_warn(&adapter->pdev->dev, "Pause param set failed.\n"); | 332 | dev_warn(&adapter->pdev->dev, "Pause param set failed.\n"); |
331 | 333 | ||
332 | return status; | 334 | return status; |
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 1f941f027718..876b357101fa 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -1610,11 +1610,21 @@ static int be_open(struct net_device *netdev) | |||
1610 | 1610 | ||
1611 | status = be_cmd_link_status_query(adapter, &link_up); | 1611 | status = be_cmd_link_status_query(adapter, &link_up); |
1612 | if (status) | 1612 | if (status) |
1613 | return status; | 1613 | goto ret_sts; |
1614 | be_link_status_update(adapter, link_up); | 1614 | be_link_status_update(adapter, link_up); |
1615 | 1615 | ||
1616 | status = be_vid_config(adapter); | ||
1617 | if (status) | ||
1618 | goto ret_sts; | ||
1619 | |||
1620 | status = be_cmd_set_flow_control(adapter, | ||
1621 | adapter->tx_fc, adapter->rx_fc); | ||
1622 | if (status) | ||
1623 | goto ret_sts; | ||
1624 | |||
1616 | schedule_delayed_work(&adapter->work, msecs_to_jiffies(100)); | 1625 | schedule_delayed_work(&adapter->work, msecs_to_jiffies(100)); |
1617 | return 0; | 1626 | ret_sts: |
1627 | return status; | ||
1618 | } | 1628 | } |
1619 | 1629 | ||
1620 | static int be_setup(struct be_adapter *adapter) | 1630 | static int be_setup(struct be_adapter *adapter) |
@@ -1648,17 +1658,8 @@ static int be_setup(struct be_adapter *adapter) | |||
1648 | if (status != 0) | 1658 | if (status != 0) |
1649 | goto rx_qs_destroy; | 1659 | goto rx_qs_destroy; |
1650 | 1660 | ||
1651 | status = be_vid_config(adapter); | ||
1652 | if (status != 0) | ||
1653 | goto mccqs_destroy; | ||
1654 | |||
1655 | status = be_cmd_set_flow_control(adapter, true, true); | ||
1656 | if (status != 0) | ||
1657 | goto mccqs_destroy; | ||
1658 | return 0; | 1661 | return 0; |
1659 | 1662 | ||
1660 | mccqs_destroy: | ||
1661 | be_mcc_queues_destroy(adapter); | ||
1662 | rx_qs_destroy: | 1663 | rx_qs_destroy: |
1663 | be_rx_queues_destroy(adapter); | 1664 | be_rx_queues_destroy(adapter); |
1664 | tx_qs_destroy: | 1665 | tx_qs_destroy: |
@@ -1909,6 +1910,10 @@ static void be_netdev_init(struct net_device *netdev) | |||
1909 | 1910 | ||
1910 | adapter->rx_csum = true; | 1911 | adapter->rx_csum = true; |
1911 | 1912 | ||
1913 | /* Default settings for Rx and Tx flow control */ | ||
1914 | adapter->rx_fc = true; | ||
1915 | adapter->tx_fc = true; | ||
1916 | |||
1912 | netif_set_gso_max_size(netdev, 65535); | 1917 | netif_set_gso_max_size(netdev, 65535); |
1913 | 1918 | ||
1914 | BE_SET_NETDEV_OPS(netdev, &be_netdev_ops); | 1919 | BE_SET_NETDEV_OPS(netdev, &be_netdev_ops); |
@@ -2171,6 +2176,7 @@ static int be_suspend(struct pci_dev *pdev, pm_message_t state) | |||
2171 | be_close(netdev); | 2176 | be_close(netdev); |
2172 | rtnl_unlock(); | 2177 | rtnl_unlock(); |
2173 | } | 2178 | } |
2179 | be_cmd_get_flow_control(adapter, &adapter->tx_fc, &adapter->rx_fc); | ||
2174 | be_clear(adapter); | 2180 | be_clear(adapter); |
2175 | 2181 | ||
2176 | pci_save_state(pdev); | 2182 | pci_save_state(pdev); |
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index df32c109b7ac..772f6d2489ce 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig | |||
@@ -35,66 +35,16 @@ config CAN_CALC_BITTIMING | |||
35 | arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw". | 35 | arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw". |
36 | If unsure, say Y. | 36 | If unsure, say Y. |
37 | 37 | ||
38 | config CAN_SJA1000 | ||
39 | depends on CAN_DEV && HAS_IOMEM | ||
40 | tristate "Philips SJA1000" | ||
41 | ---help--- | ||
42 | Driver for the SJA1000 CAN controllers from Philips or NXP | ||
43 | |||
44 | config CAN_SJA1000_ISA | ||
45 | depends on CAN_SJA1000 && ISA | ||
46 | tristate "ISA Bus based legacy SJA1000 driver" | ||
47 | ---help--- | ||
48 | This driver adds legacy support for SJA1000 chips connected to | ||
49 | the ISA bus using I/O port, memory mapped or indirect access. | ||
50 | |||
51 | config CAN_SJA1000_PLATFORM | ||
52 | depends on CAN_SJA1000 | ||
53 | tristate "Generic Platform Bus based SJA1000 driver" | ||
54 | ---help--- | ||
55 | This driver adds support for the SJA1000 chips connected to | ||
56 | the "platform bus" (Linux abstraction for directly to the | ||
57 | processor attached devices). Which can be found on various | ||
58 | boards from Phytec (http://www.phytec.de) like the PCM027, | ||
59 | PCM038. | ||
60 | |||
61 | config CAN_SJA1000_OF_PLATFORM | ||
62 | depends on CAN_SJA1000 && PPC_OF | ||
63 | tristate "Generic OF Platform Bus based SJA1000 driver" | ||
64 | ---help--- | ||
65 | This driver adds support for the SJA1000 chips connected to | ||
66 | the OpenFirmware "platform bus" found on embedded systems with | ||
67 | OpenFirmware bindings, e.g. if you have a PowerPC based system | ||
68 | you may want to enable this option. | ||
69 | |||
70 | config CAN_EMS_PCI | ||
71 | tristate "EMS CPC-PCI, CPC-PCIe and CPC-104P Card" | ||
72 | depends on PCI && CAN_SJA1000 | ||
73 | ---help--- | ||
74 | This driver is for the one, two or four channel CPC-PCI, | ||
75 | CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche | ||
76 | (http://www.ems-wuensche.de). | ||
77 | |||
78 | config CAN_EMS_USB | ||
79 | tristate "EMS CPC-USB/ARM7 CAN/USB interface" | ||
80 | depends on USB && CAN_DEV | ||
81 | ---help--- | ||
82 | This driver is for the one channel CPC-USB/ARM7 CAN/USB interface | ||
83 | from from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). | ||
84 | |||
85 | config CAN_KVASER_PCI | ||
86 | tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" | ||
87 | depends on PCI && CAN_SJA1000 | ||
88 | ---help--- | ||
89 | This driver is for the the PCIcanx and PCIcan cards (1, 2 or | ||
90 | 4 channel) from Kvaser (http://www.kvaser.com). | ||
91 | |||
92 | config CAN_AT91 | 38 | config CAN_AT91 |
93 | tristate "Atmel AT91 onchip CAN controller" | 39 | tristate "Atmel AT91 onchip CAN controller" |
94 | depends on CAN && CAN_DEV && ARCH_AT91SAM9263 | 40 | depends on CAN_DEV && ARCH_AT91SAM9263 |
95 | ---help--- | 41 | ---help--- |
96 | This is a driver for the SoC CAN controller in Atmel's AT91SAM9263. | 42 | This is a driver for the SoC CAN controller in Atmel's AT91SAM9263. |
97 | 43 | ||
44 | source "drivers/net/can/sja1000/Kconfig" | ||
45 | |||
46 | source "drivers/net/can/usb/Kconfig" | ||
47 | |||
98 | config CAN_DEBUG_DEVICES | 48 | config CAN_DEBUG_DEVICES |
99 | bool "CAN devices debugging messages" | 49 | bool "CAN devices debugging messages" |
100 | depends on CAN | 50 | depends on CAN |
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index f0b9a1e1db46..2868fe842a41 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c | |||
@@ -589,6 +589,22 @@ static int can_changelink(struct net_device *dev, | |||
589 | return 0; | 589 | return 0; |
590 | } | 590 | } |
591 | 591 | ||
592 | static size_t can_get_size(const struct net_device *dev) | ||
593 | { | ||
594 | struct can_priv *priv = netdev_priv(dev); | ||
595 | size_t size; | ||
596 | |||
597 | size = nla_total_size(sizeof(u32)); /* IFLA_CAN_STATE */ | ||
598 | size += sizeof(struct can_ctrlmode); /* IFLA_CAN_CTRLMODE */ | ||
599 | size += nla_total_size(sizeof(u32)); /* IFLA_CAN_RESTART_MS */ | ||
600 | size += sizeof(struct can_bittiming); /* IFLA_CAN_BITTIMING */ | ||
601 | size += sizeof(struct can_clock); /* IFLA_CAN_CLOCK */ | ||
602 | if (priv->bittiming_const) /* IFLA_CAN_BITTIMING_CONST */ | ||
603 | size += sizeof(struct can_bittiming_const); | ||
604 | |||
605 | return size; | ||
606 | } | ||
607 | |||
592 | static int can_fill_info(struct sk_buff *skb, const struct net_device *dev) | 608 | static int can_fill_info(struct sk_buff *skb, const struct net_device *dev) |
593 | { | 609 | { |
594 | struct can_priv *priv = netdev_priv(dev); | 610 | struct can_priv *priv = netdev_priv(dev); |
@@ -613,6 +629,11 @@ nla_put_failure: | |||
613 | return -EMSGSIZE; | 629 | return -EMSGSIZE; |
614 | } | 630 | } |
615 | 631 | ||
632 | static size_t can_get_xstats_size(const struct net_device *dev) | ||
633 | { | ||
634 | return sizeof(struct can_device_stats); | ||
635 | } | ||
636 | |||
616 | static int can_fill_xstats(struct sk_buff *skb, const struct net_device *dev) | 637 | static int can_fill_xstats(struct sk_buff *skb, const struct net_device *dev) |
617 | { | 638 | { |
618 | struct can_priv *priv = netdev_priv(dev); | 639 | struct can_priv *priv = netdev_priv(dev); |
@@ -639,7 +660,9 @@ static struct rtnl_link_ops can_link_ops __read_mostly = { | |||
639 | .setup = can_setup, | 660 | .setup = can_setup, |
640 | .newlink = can_newlink, | 661 | .newlink = can_newlink, |
641 | .changelink = can_changelink, | 662 | .changelink = can_changelink, |
663 | .get_size = can_get_size, | ||
642 | .fill_info = can_fill_info, | 664 | .fill_info = can_fill_info, |
665 | .get_xstats_size = can_get_xstats_size, | ||
643 | .fill_xstats = can_fill_xstats, | 666 | .fill_xstats = can_fill_xstats, |
644 | }; | 667 | }; |
645 | 668 | ||
diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kconfig new file mode 100644 index 000000000000..4c674927f247 --- /dev/null +++ b/drivers/net/can/sja1000/Kconfig | |||
@@ -0,0 +1,47 @@ | |||
1 | menuconfig CAN_SJA1000 | ||
2 | tristate "Philips/NXP SJA1000 devices" | ||
3 | depends on CAN_DEV && HAS_IOMEM | ||
4 | |||
5 | if CAN_SJA1000 | ||
6 | |||
7 | config CAN_SJA1000_ISA | ||
8 | tristate "ISA Bus based legacy SJA1000 driver" | ||
9 | depends on ISA | ||
10 | ---help--- | ||
11 | This driver adds legacy support for SJA1000 chips connected to | ||
12 | the ISA bus using I/O port, memory mapped or indirect access. | ||
13 | |||
14 | config CAN_SJA1000_PLATFORM | ||
15 | tristate "Generic Platform Bus based SJA1000 driver" | ||
16 | ---help--- | ||
17 | This driver adds support for the SJA1000 chips connected to | ||
18 | the "platform bus" (Linux abstraction for directly to the | ||
19 | processor attached devices). Which can be found on various | ||
20 | boards from Phytec (http://www.phytec.de) like the PCM027, | ||
21 | PCM038. | ||
22 | |||
23 | config CAN_SJA1000_OF_PLATFORM | ||
24 | tristate "Generic OF Platform Bus based SJA1000 driver" | ||
25 | depends on PPC_OF | ||
26 | ---help--- | ||
27 | This driver adds support for the SJA1000 chips connected to | ||
28 | the OpenFirmware "platform bus" found on embedded systems with | ||
29 | OpenFirmware bindings, e.g. if you have a PowerPC based system | ||
30 | you may want to enable this option. | ||
31 | |||
32 | config CAN_EMS_PCI | ||
33 | tristate "EMS CPC-PCI, CPC-PCIe and CPC-104P Card" | ||
34 | depends on PCI | ||
35 | ---help--- | ||
36 | This driver is for the one, two or four channel CPC-PCI, | ||
37 | CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche | ||
38 | (http://www.ems-wuensche.de). | ||
39 | |||
40 | config CAN_KVASER_PCI | ||
41 | tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" | ||
42 | depends on PCI | ||
43 | ---help--- | ||
44 | This driver is for the the PCIcanx and PCIcan cards (1, 2 or | ||
45 | 4 channel) from Kvaser (http://www.kvaser.com). | ||
46 | |||
47 | endif | ||
diff --git a/drivers/net/can/usb/Kconfig b/drivers/net/can/usb/Kconfig new file mode 100644 index 000000000000..bbc78e0b8a15 --- /dev/null +++ b/drivers/net/can/usb/Kconfig | |||
@@ -0,0 +1,10 @@ | |||
1 | menu "CAN USB interfaces" | ||
2 | depends on USB && CAN_DEV | ||
3 | |||
4 | config CAN_EMS_USB | ||
5 | tristate "EMS CPC-USB/ARM7 CAN/USB interface" | ||
6 | ---help--- | ||
7 | This driver is for the one channel CPC-USB/ARM7 CAN/USB interface | ||
8 | from from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). | ||
9 | |||
10 | endmenu | ||
diff --git a/drivers/net/can/usb/Makefile b/drivers/net/can/usb/Makefile index c3f75ba701b1..0afd51d4c7a5 100644 --- a/drivers/net/can/usb/Makefile +++ b/drivers/net/can/usb/Makefile | |||
@@ -3,3 +3,5 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o | 5 | obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o |
6 | |||
7 | ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG | ||
diff --git a/drivers/net/can/usb/ems_usb.c b/drivers/net/can/usb/ems_usb.c index 9012e0abc626..abdbd9c2b788 100644 --- a/drivers/net/can/usb/ems_usb.c +++ b/drivers/net/can/usb/ems_usb.c | |||
@@ -319,7 +319,7 @@ static void ems_usb_rx_can_msg(struct ems_usb *dev, struct ems_cpc_msg *msg) | |||
319 | 319 | ||
320 | cf = (struct can_frame *)skb_put(skb, sizeof(struct can_frame)); | 320 | cf = (struct can_frame *)skb_put(skb, sizeof(struct can_frame)); |
321 | 321 | ||
322 | cf->can_id = msg->msg.can_msg.id; | 322 | cf->can_id = le32_to_cpu(msg->msg.can_msg.id); |
323 | cf->can_dlc = min_t(u8, msg->msg.can_msg.length, 8); | 323 | cf->can_dlc = min_t(u8, msg->msg.can_msg.length, 8); |
324 | 324 | ||
325 | if (msg->type == CPC_MSG_TYPE_EXT_CAN_FRAME | 325 | if (msg->type == CPC_MSG_TYPE_EXT_CAN_FRAME |
@@ -813,6 +813,9 @@ static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *ne | |||
813 | msg->length = CPC_CAN_MSG_MIN_SIZE + cf->can_dlc; | 813 | msg->length = CPC_CAN_MSG_MIN_SIZE + cf->can_dlc; |
814 | } | 814 | } |
815 | 815 | ||
816 | /* Respect byte order */ | ||
817 | msg->msg.can_msg.id = cpu_to_le32(msg->msg.can_msg.id); | ||
818 | |||
816 | for (i = 0; i < MAX_TX_URBS; i++) { | 819 | for (i = 0; i < MAX_TX_URBS; i++) { |
817 | if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { | 820 | if (dev->tx_contexts[i].echo_index == MAX_TX_URBS) { |
818 | context = &dev->tx_contexts[i]; | 821 | context = &dev->tx_contexts[i]; |
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c index 05916aafa4f1..f857afe8e488 100644 --- a/drivers/net/cassini.c +++ b/drivers/net/cassini.c | |||
@@ -4342,11 +4342,11 @@ static int cas_open(struct net_device *dev) | |||
4342 | cas_unlock_all_restore(cp, flags); | 4342 | cas_unlock_all_restore(cp, flags); |
4343 | } | 4343 | } |
4344 | 4344 | ||
4345 | err = -ENOMEM; | ||
4345 | if (cas_tx_tiny_alloc(cp) < 0) | 4346 | if (cas_tx_tiny_alloc(cp) < 0) |
4346 | return -ENOMEM; | 4347 | goto err_unlock; |
4347 | 4348 | ||
4348 | /* alloc rx descriptors */ | 4349 | /* alloc rx descriptors */ |
4349 | err = -ENOMEM; | ||
4350 | if (cas_alloc_rxds(cp) < 0) | 4350 | if (cas_alloc_rxds(cp) < 0) |
4351 | goto err_tx_tiny; | 4351 | goto err_tx_tiny; |
4352 | 4352 | ||
@@ -4386,6 +4386,7 @@ err_spare: | |||
4386 | cas_free_rxds(cp); | 4386 | cas_free_rxds(cp); |
4387 | err_tx_tiny: | 4387 | err_tx_tiny: |
4388 | cas_tx_tiny_free(cp); | 4388 | cas_tx_tiny_free(cp); |
4389 | err_unlock: | ||
4389 | mutex_unlock(&cp->pm_mutex); | 4390 | mutex_unlock(&cp->pm_mutex); |
4390 | return err; | 4391 | return err; |
4391 | } | 4392 | } |
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index f86612857a73..6366061712f4 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -879,7 +879,7 @@ recycle: | |||
879 | pci_dma_sync_single_for_cpu(adap->pdev, dma_addr, len, | 879 | pci_dma_sync_single_for_cpu(adap->pdev, dma_addr, len, |
880 | PCI_DMA_FROMDEVICE); | 880 | PCI_DMA_FROMDEVICE); |
881 | (*sd->pg_chunk.p_cnt)--; | 881 | (*sd->pg_chunk.p_cnt)--; |
882 | if (!*sd->pg_chunk.p_cnt) | 882 | if (!*sd->pg_chunk.p_cnt && sd->pg_chunk.page != fl->pg_chunk.page) |
883 | pci_unmap_page(adap->pdev, | 883 | pci_unmap_page(adap->pdev, |
884 | sd->pg_chunk.mapping, | 884 | sd->pg_chunk.mapping, |
885 | fl->alloc_size, | 885 | fl->alloc_size, |
@@ -2088,7 +2088,7 @@ static void lro_add_page(struct adapter *adap, struct sge_qset *qs, | |||
2088 | PCI_DMA_FROMDEVICE); | 2088 | PCI_DMA_FROMDEVICE); |
2089 | 2089 | ||
2090 | (*sd->pg_chunk.p_cnt)--; | 2090 | (*sd->pg_chunk.p_cnt)--; |
2091 | if (!*sd->pg_chunk.p_cnt) | 2091 | if (!*sd->pg_chunk.p_cnt && sd->pg_chunk.page != fl->pg_chunk.page) |
2092 | pci_unmap_page(adap->pdev, | 2092 | pci_unmap_page(adap->pdev, |
2093 | sd->pg_chunk.mapping, | 2093 | sd->pg_chunk.mapping, |
2094 | fl->alloc_size, | 2094 | fl->alloc_size, |
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index f72c56dec33c..db6380379478 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c | |||
@@ -2140,9 +2140,6 @@ static int emac_poll(struct napi_struct *napi, int budget) | |||
2140 | u32 status = 0; | 2140 | u32 status = 0; |
2141 | u32 num_pkts = 0; | 2141 | u32 num_pkts = 0; |
2142 | 2142 | ||
2143 | if (!netif_running(ndev)) | ||
2144 | return 0; | ||
2145 | |||
2146 | /* Check interrupt vectors and call packet processing */ | 2143 | /* Check interrupt vectors and call packet processing */ |
2147 | status = emac_read(EMAC_MACINVECTOR); | 2144 | status = emac_read(EMAC_MACINVECTOR); |
2148 | 2145 | ||
@@ -2221,7 +2218,7 @@ void emac_poll_controller(struct net_device *ndev) | |||
2221 | struct emac_priv *priv = netdev_priv(ndev); | 2218 | struct emac_priv *priv = netdev_priv(ndev); |
2222 | 2219 | ||
2223 | emac_int_disable(priv); | 2220 | emac_int_disable(priv); |
2224 | emac_irq(ndev->irq, priv); | 2221 | emac_irq(ndev->irq, ndev); |
2225 | emac_int_enable(priv); | 2222 | emac_int_enable(priv); |
2226 | } | 2223 | } |
2227 | #endif | 2224 | #endif |
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index e1da4666f204..3116601dbfea 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -5821,10 +5821,7 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i | |||
5821 | dev->dev_addr); | 5821 | dev->dev_addr); |
5822 | dev_printk(KERN_ERR, &pci_dev->dev, | 5822 | dev_printk(KERN_ERR, &pci_dev->dev, |
5823 | "Please complain to your hardware vendor. Switching to a random MAC.\n"); | 5823 | "Please complain to your hardware vendor. Switching to a random MAC.\n"); |
5824 | dev->dev_addr[0] = 0x00; | 5824 | random_ether_addr(dev->dev_addr); |
5825 | dev->dev_addr[1] = 0x00; | ||
5826 | dev->dev_addr[2] = 0x6c; | ||
5827 | get_random_bytes(&dev->dev_addr[3], 3); | ||
5828 | } | 5825 | } |
5829 | 5826 | ||
5830 | dprintk(KERN_DEBUG "%s: MAC Address %pM\n", | 5827 | dprintk(KERN_DEBUG "%s: MAC Address %pM\n", |
diff --git a/drivers/net/fsl_pq_mdio.c b/drivers/net/fsl_pq_mdio.c index 6ac464866972..efbf67689eca 100644 --- a/drivers/net/fsl_pq_mdio.c +++ b/drivers/net/fsl_pq_mdio.c | |||
@@ -427,3 +427,4 @@ void fsl_pq_mdio_exit(void) | |||
427 | of_unregister_platform_driver(&fsl_pq_mdio_driver); | 427 | of_unregister_platform_driver(&fsl_pq_mdio_driver); |
428 | } | 428 | } |
429 | module_exit(fsl_pq_mdio_exit); | 429 | module_exit(fsl_pq_mdio_exit); |
430 | MODULE_LICENSE("GPL"); | ||
diff --git a/drivers/net/ibm_newemac/emac.h b/drivers/net/ibm_newemac/emac.h index d34adf99fc6a..8a61b597a169 100644 --- a/drivers/net/ibm_newemac/emac.h +++ b/drivers/net/ibm_newemac/emac.h | |||
@@ -263,8 +263,8 @@ struct emac_regs { | |||
263 | 263 | ||
264 | 264 | ||
265 | /* EMACx_TRTR */ | 265 | /* EMACx_TRTR */ |
266 | #define EMAC_TRTR_SHIFT_EMAC4 27 | 266 | #define EMAC_TRTR_SHIFT_EMAC4 24 |
267 | #define EMAC_TRTR_SHIFT 24 | 267 | #define EMAC_TRTR_SHIFT 27 |
268 | 268 | ||
269 | /* EMAC specific TX descriptor control fields (write access) */ | 269 | /* EMAC specific TX descriptor control fields (write access) */ |
270 | #define EMAC_TX_CTRL_GFCS 0x0200 | 270 | #define EMAC_TX_CTRL_GFCS 0x0200 |
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index cbb143ca1eb8..a5036f7c1923 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | #include "ixgbe.h" | 45 | #include "ixgbe.h" |
46 | #include "ixgbe_common.h" | 46 | #include "ixgbe_common.h" |
47 | #include "ixgbe_dcb_82599.h" | ||
47 | 48 | ||
48 | char ixgbe_driver_name[] = "ixgbe"; | 49 | char ixgbe_driver_name[] = "ixgbe"; |
49 | static const char ixgbe_driver_string[] = | 50 | static const char ixgbe_driver_string[] = |
@@ -226,6 +227,56 @@ static void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *adapter, | |||
226 | /* tx_buffer_info must be completely set up in the transmit path */ | 227 | /* tx_buffer_info must be completely set up in the transmit path */ |
227 | } | 228 | } |
228 | 229 | ||
230 | /** | ||
231 | * ixgbe_tx_is_paused - check if the tx ring is paused | ||
232 | * @adapter: the ixgbe adapter | ||
233 | * @tx_ring: the corresponding tx_ring | ||
234 | * | ||
235 | * If not in DCB mode, checks TFCS.TXOFF, otherwise, find out the | ||
236 | * corresponding TC of this tx_ring when checking TFCS. | ||
237 | * | ||
238 | * Returns : true if paused | ||
239 | */ | ||
240 | static inline bool ixgbe_tx_is_paused(struct ixgbe_adapter *adapter, | ||
241 | struct ixgbe_ring *tx_ring) | ||
242 | { | ||
243 | int tc; | ||
244 | u32 txoff = IXGBE_TFCS_TXOFF; | ||
245 | |||
246 | #ifdef CONFIG_IXGBE_DCB | ||
247 | if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) { | ||
248 | int reg_idx = tx_ring->reg_idx; | ||
249 | int dcb_i = adapter->ring_feature[RING_F_DCB].indices; | ||
250 | |||
251 | if (adapter->hw.mac.type == ixgbe_mac_82598EB) { | ||
252 | tc = reg_idx >> 2; | ||
253 | txoff = IXGBE_TFCS_TXOFF0; | ||
254 | } else if (adapter->hw.mac.type == ixgbe_mac_82599EB) { | ||
255 | tc = 0; | ||
256 | txoff = IXGBE_TFCS_TXOFF; | ||
257 | if (dcb_i == 8) { | ||
258 | /* TC0, TC1 */ | ||
259 | tc = reg_idx >> 5; | ||
260 | if (tc == 2) /* TC2, TC3 */ | ||
261 | tc += (reg_idx - 64) >> 4; | ||
262 | else if (tc == 3) /* TC4, TC5, TC6, TC7 */ | ||
263 | tc += 1 + ((reg_idx - 96) >> 3); | ||
264 | } else if (dcb_i == 4) { | ||
265 | /* TC0, TC1 */ | ||
266 | tc = reg_idx >> 6; | ||
267 | if (tc == 1) { | ||
268 | tc += (reg_idx - 64) >> 5; | ||
269 | if (tc == 2) /* TC2, TC3 */ | ||
270 | tc += (reg_idx - 96) >> 4; | ||
271 | } | ||
272 | } | ||
273 | } | ||
274 | txoff <<= tc; | ||
275 | } | ||
276 | #endif | ||
277 | return IXGBE_READ_REG(&adapter->hw, IXGBE_TFCS) & txoff; | ||
278 | } | ||
279 | |||
229 | static inline bool ixgbe_check_tx_hang(struct ixgbe_adapter *adapter, | 280 | static inline bool ixgbe_check_tx_hang(struct ixgbe_adapter *adapter, |
230 | struct ixgbe_ring *tx_ring, | 281 | struct ixgbe_ring *tx_ring, |
231 | unsigned int eop) | 282 | unsigned int eop) |
@@ -237,7 +288,7 @@ static inline bool ixgbe_check_tx_hang(struct ixgbe_adapter *adapter, | |||
237 | adapter->detect_tx_hung = false; | 288 | adapter->detect_tx_hung = false; |
238 | if (tx_ring->tx_buffer_info[eop].time_stamp && | 289 | if (tx_ring->tx_buffer_info[eop].time_stamp && |
239 | time_after(jiffies, tx_ring->tx_buffer_info[eop].time_stamp + HZ) && | 290 | time_after(jiffies, tx_ring->tx_buffer_info[eop].time_stamp + HZ) && |
240 | !(IXGBE_READ_REG(&adapter->hw, IXGBE_TFCS) & IXGBE_TFCS_TXOFF)) { | 291 | !ixgbe_tx_is_paused(adapter, tx_ring)) { |
241 | /* detected Tx unit hang */ | 292 | /* detected Tx unit hang */ |
242 | union ixgbe_adv_tx_desc *tx_desc; | 293 | union ixgbe_adv_tx_desc *tx_desc; |
243 | tx_desc = IXGBE_TX_DESC_ADV(*tx_ring, eop); | 294 | tx_desc = IXGBE_TX_DESC_ADV(*tx_ring, eop); |
@@ -412,19 +463,23 @@ static void ixgbe_update_tx_dca(struct ixgbe_adapter *adapter, | |||
412 | u32 txctrl; | 463 | u32 txctrl; |
413 | int cpu = get_cpu(); | 464 | int cpu = get_cpu(); |
414 | int q = tx_ring - adapter->tx_ring; | 465 | int q = tx_ring - adapter->tx_ring; |
466 | struct ixgbe_hw *hw = &adapter->hw; | ||
415 | 467 | ||
416 | if (tx_ring->cpu != cpu) { | 468 | if (tx_ring->cpu != cpu) { |
417 | txctrl = IXGBE_READ_REG(&adapter->hw, IXGBE_DCA_TXCTRL(q)); | ||
418 | if (adapter->hw.mac.type == ixgbe_mac_82598EB) { | 469 | if (adapter->hw.mac.type == ixgbe_mac_82598EB) { |
470 | txctrl = IXGBE_READ_REG(hw, IXGBE_DCA_TXCTRL(q)); | ||
419 | txctrl &= ~IXGBE_DCA_TXCTRL_CPUID_MASK; | 471 | txctrl &= ~IXGBE_DCA_TXCTRL_CPUID_MASK; |
420 | txctrl |= dca3_get_tag(&adapter->pdev->dev, cpu); | 472 | txctrl |= dca3_get_tag(&adapter->pdev->dev, cpu); |
473 | txctrl |= IXGBE_DCA_TXCTRL_DESC_DCA_EN; | ||
474 | IXGBE_WRITE_REG(hw, IXGBE_DCA_TXCTRL(q), txctrl); | ||
421 | } else if (adapter->hw.mac.type == ixgbe_mac_82599EB) { | 475 | } else if (adapter->hw.mac.type == ixgbe_mac_82599EB) { |
476 | txctrl = IXGBE_READ_REG(hw, IXGBE_DCA_TXCTRL_82599(q)); | ||
422 | txctrl &= ~IXGBE_DCA_TXCTRL_CPUID_MASK_82599; | 477 | txctrl &= ~IXGBE_DCA_TXCTRL_CPUID_MASK_82599; |
423 | txctrl |= (dca3_get_tag(&adapter->pdev->dev, cpu) << | 478 | txctrl |= (dca3_get_tag(&adapter->pdev->dev, cpu) << |
424 | IXGBE_DCA_TXCTRL_CPUID_SHIFT_82599); | 479 | IXGBE_DCA_TXCTRL_CPUID_SHIFT_82599); |
480 | txctrl |= IXGBE_DCA_TXCTRL_DESC_DCA_EN; | ||
481 | IXGBE_WRITE_REG(hw, IXGBE_DCA_TXCTRL_82599(q), txctrl); | ||
425 | } | 482 | } |
426 | txctrl |= IXGBE_DCA_TXCTRL_DESC_DCA_EN; | ||
427 | IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_TXCTRL(q), txctrl); | ||
428 | tx_ring->cpu = cpu; | 483 | tx_ring->cpu = cpu; |
429 | } | 484 | } |
430 | put_cpu(); | 485 | put_cpu(); |
@@ -1913,11 +1968,25 @@ static void ixgbe_configure_tx(struct ixgbe_adapter *adapter) | |||
1913 | break; | 1968 | break; |
1914 | } | 1969 | } |
1915 | } | 1970 | } |
1971 | |||
1916 | if (hw->mac.type == ixgbe_mac_82599EB) { | 1972 | if (hw->mac.type == ixgbe_mac_82599EB) { |
1973 | u32 rttdcs; | ||
1974 | |||
1975 | /* disable the arbiter while setting MTQC */ | ||
1976 | rttdcs = IXGBE_READ_REG(hw, IXGBE_RTTDCS); | ||
1977 | rttdcs |= IXGBE_RTTDCS_ARBDIS; | ||
1978 | IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); | ||
1979 | |||
1917 | /* We enable 8 traffic classes, DCB only */ | 1980 | /* We enable 8 traffic classes, DCB only */ |
1918 | if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) | 1981 | if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) |
1919 | IXGBE_WRITE_REG(hw, IXGBE_MTQC, (IXGBE_MTQC_RT_ENA | | 1982 | IXGBE_WRITE_REG(hw, IXGBE_MTQC, (IXGBE_MTQC_RT_ENA | |
1920 | IXGBE_MTQC_8TC_8TQ)); | 1983 | IXGBE_MTQC_8TC_8TQ)); |
1984 | else | ||
1985 | IXGBE_WRITE_REG(hw, IXGBE_MTQC, IXGBE_MTQC_64Q_1PB); | ||
1986 | |||
1987 | /* re-eable the arbiter */ | ||
1988 | rttdcs &= ~IXGBE_RTTDCS_ARBDIS; | ||
1989 | IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); | ||
1921 | } | 1990 | } |
1922 | } | 1991 | } |
1923 | 1992 | ||
@@ -2471,7 +2540,10 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter) | |||
2471 | ixgbe_restore_vlan(adapter); | 2540 | ixgbe_restore_vlan(adapter); |
2472 | #ifdef CONFIG_IXGBE_DCB | 2541 | #ifdef CONFIG_IXGBE_DCB |
2473 | if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) { | 2542 | if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) { |
2474 | netif_set_gso_max_size(netdev, 32768); | 2543 | if (hw->mac.type == ixgbe_mac_82598EB) |
2544 | netif_set_gso_max_size(netdev, 32768); | ||
2545 | else | ||
2546 | netif_set_gso_max_size(netdev, 65536); | ||
2475 | ixgbe_configure_dcb(adapter); | 2547 | ixgbe_configure_dcb(adapter); |
2476 | } else { | 2548 | } else { |
2477 | netif_set_gso_max_size(netdev, 65536); | 2549 | netif_set_gso_max_size(netdev, 65536); |
@@ -5922,6 +5994,7 @@ static pci_ers_result_t ixgbe_io_slot_reset(struct pci_dev *pdev) | |||
5922 | } else { | 5994 | } else { |
5923 | pci_set_master(pdev); | 5995 | pci_set_master(pdev); |
5924 | pci_restore_state(pdev); | 5996 | pci_restore_state(pdev); |
5997 | pci_save_state(pdev); | ||
5925 | 5998 | ||
5926 | pci_wake_from_d3(pdev, false); | 5999 | pci_wake_from_d3(pdev, false); |
5927 | 6000 | ||
diff --git a/drivers/net/macsonic.c b/drivers/net/macsonic.c index 61eabcac734c..b3d7d8d77f46 100644 --- a/drivers/net/macsonic.c +++ b/drivers/net/macsonic.c | |||
@@ -223,69 +223,73 @@ static int __devinit macsonic_init(struct net_device *dev) | |||
223 | return 0; | 223 | return 0; |
224 | } | 224 | } |
225 | 225 | ||
226 | static int __devinit mac_onboard_sonic_ethernet_addr(struct net_device *dev) | 226 | #define INVALID_MAC(mac) (memcmp(mac, "\x08\x00\x07", 3) && \ |
227 | memcmp(mac, "\x00\xA0\x40", 3) && \ | ||
228 | memcmp(mac, "\x00\x80\x19", 3) && \ | ||
229 | memcmp(mac, "\x00\x05\x02", 3)) | ||
230 | |||
231 | static void __devinit mac_onboard_sonic_ethernet_addr(struct net_device *dev) | ||
227 | { | 232 | { |
228 | struct sonic_local *lp = netdev_priv(dev); | 233 | struct sonic_local *lp = netdev_priv(dev); |
229 | const int prom_addr = ONBOARD_SONIC_PROM_BASE; | 234 | const int prom_addr = ONBOARD_SONIC_PROM_BASE; |
230 | int i; | 235 | unsigned short val; |
231 | 236 | ||
232 | /* On NuBus boards we can sometimes look in the ROM resources. | 237 | /* |
233 | No such luck for comm-slot/onboard. */ | 238 | * On NuBus boards we can sometimes look in the ROM resources. |
234 | for(i = 0; i < 6; i++) | 239 | * No such luck for comm-slot/onboard. |
235 | dev->dev_addr[i] = SONIC_READ_PROM(i); | 240 | * On the PowerBook 520, the PROM base address is a mystery. |
241 | */ | ||
242 | if (hwreg_present((void *)prom_addr)) { | ||
243 | int i; | ||
244 | |||
245 | for (i = 0; i < 6; i++) | ||
246 | dev->dev_addr[i] = SONIC_READ_PROM(i); | ||
247 | if (!INVALID_MAC(dev->dev_addr)) | ||
248 | return; | ||
236 | 249 | ||
237 | /* Most of the time, the address is bit-reversed. The NetBSD | 250 | /* |
238 | source has a rather long and detailed historical account of | 251 | * Most of the time, the address is bit-reversed. The NetBSD |
239 | why this is so. */ | 252 | * source has a rather long and detailed historical account of |
240 | if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && | 253 | * why this is so. |
241 | memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && | 254 | */ |
242 | memcmp(dev->dev_addr, "\x00\x80\x19", 3) && | ||
243 | memcmp(dev->dev_addr, "\x00\x05\x02", 3)) | ||
244 | bit_reverse_addr(dev->dev_addr); | 255 | bit_reverse_addr(dev->dev_addr); |
245 | else | 256 | if (!INVALID_MAC(dev->dev_addr)) |
246 | return 0; | 257 | return; |
247 | 258 | ||
248 | /* If we still have what seems to be a bogus address, we'll | ||
249 | look in the CAM. The top entry should be ours. */ | ||
250 | /* Danger! This only works if MacOS has already initialized | ||
251 | the card... */ | ||
252 | if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && | ||
253 | memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && | ||
254 | memcmp(dev->dev_addr, "\x00\x80\x19", 3) && | ||
255 | memcmp(dev->dev_addr, "\x00\x05\x02", 3)) | ||
256 | { | ||
257 | unsigned short val; | ||
258 | |||
259 | printk(KERN_INFO "macsonic: PROM seems to be wrong, trying CAM entry 15\n"); | ||
260 | |||
261 | SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); | ||
262 | SONIC_WRITE(SONIC_CEP, 15); | ||
263 | |||
264 | val = SONIC_READ(SONIC_CAP2); | ||
265 | dev->dev_addr[5] = val >> 8; | ||
266 | dev->dev_addr[4] = val & 0xff; | ||
267 | val = SONIC_READ(SONIC_CAP1); | ||
268 | dev->dev_addr[3] = val >> 8; | ||
269 | dev->dev_addr[2] = val & 0xff; | ||
270 | val = SONIC_READ(SONIC_CAP0); | ||
271 | dev->dev_addr[1] = val >> 8; | ||
272 | dev->dev_addr[0] = val & 0xff; | ||
273 | |||
274 | printk(KERN_INFO "HW Address from CAM 15: %pM\n", | ||
275 | dev->dev_addr); | ||
276 | } else return 0; | ||
277 | |||
278 | if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && | ||
279 | memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && | ||
280 | memcmp(dev->dev_addr, "\x00\x80\x19", 3) && | ||
281 | memcmp(dev->dev_addr, "\x00\x05\x02", 3)) | ||
282 | { | ||
283 | /* | 259 | /* |
284 | * Still nonsense ... messed up someplace! | 260 | * If we still have what seems to be a bogus address, we'll |
261 | * look in the CAM. The top entry should be ours. | ||
285 | */ | 262 | */ |
286 | printk(KERN_ERR "macsonic: ERROR (INVALID MAC)\n"); | 263 | printk(KERN_WARNING "macsonic: MAC address in PROM seems " |
287 | return -EIO; | 264 | "to be invalid, trying CAM\n"); |
288 | } else return 0; | 265 | } else { |
266 | printk(KERN_WARNING "macsonic: cannot read MAC address from " | ||
267 | "PROM, trying CAM\n"); | ||
268 | } | ||
269 | |||
270 | /* This only works if MacOS has already initialized the card. */ | ||
271 | |||
272 | SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); | ||
273 | SONIC_WRITE(SONIC_CEP, 15); | ||
274 | |||
275 | val = SONIC_READ(SONIC_CAP2); | ||
276 | dev->dev_addr[5] = val >> 8; | ||
277 | dev->dev_addr[4] = val & 0xff; | ||
278 | val = SONIC_READ(SONIC_CAP1); | ||
279 | dev->dev_addr[3] = val >> 8; | ||
280 | dev->dev_addr[2] = val & 0xff; | ||
281 | val = SONIC_READ(SONIC_CAP0); | ||
282 | dev->dev_addr[1] = val >> 8; | ||
283 | dev->dev_addr[0] = val & 0xff; | ||
284 | |||
285 | if (!INVALID_MAC(dev->dev_addr)) | ||
286 | return; | ||
287 | |||
288 | /* Still nonsense ... messed up someplace! */ | ||
289 | |||
290 | printk(KERN_WARNING "macsonic: MAC address in CAM entry 15 " | ||
291 | "seems invalid, will use a random MAC\n"); | ||
292 | random_ether_addr(dev->dev_addr); | ||
289 | } | 293 | } |
290 | 294 | ||
291 | static int __devinit mac_onboard_sonic_probe(struct net_device *dev) | 295 | static int __devinit mac_onboard_sonic_probe(struct net_device *dev) |
@@ -402,8 +406,7 @@ static int __devinit mac_onboard_sonic_probe(struct net_device *dev) | |||
402 | SONIC_WRITE(SONIC_ISR, 0x7fff); | 406 | SONIC_WRITE(SONIC_ISR, 0x7fff); |
403 | 407 | ||
404 | /* Now look for the MAC address. */ | 408 | /* Now look for the MAC address. */ |
405 | if (mac_onboard_sonic_ethernet_addr(dev) != 0) | 409 | mac_onboard_sonic_ethernet_addr(dev); |
406 | return -ENODEV; | ||
407 | 410 | ||
408 | /* Shared init code */ | 411 | /* Shared init code */ |
409 | return macsonic_init(dev); | 412 | return macsonic_init(dev); |
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 8659d341e769..35897134a5dd 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c | |||
@@ -139,7 +139,7 @@ out: | |||
139 | return NULL; | 139 | return NULL; |
140 | } | 140 | } |
141 | 141 | ||
142 | static void __devinit mdio_gpio_bus_deinit(struct device *dev) | 142 | static void mdio_gpio_bus_deinit(struct device *dev) |
143 | { | 143 | { |
144 | struct mii_bus *bus = dev_get_drvdata(dev); | 144 | struct mii_bus *bus = dev_get_drvdata(dev); |
145 | struct mdio_gpio_info *bitbang = bus->priv; | 145 | struct mdio_gpio_info *bitbang = bus->priv; |
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c index 9bf2a6be9031..965adb6174c3 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp_generic.c | |||
@@ -1944,8 +1944,15 @@ ppp_receive_mp_frame(struct ppp *ppp, struct sk_buff *skb, struct channel *pch) | |||
1944 | } | 1944 | } |
1945 | 1945 | ||
1946 | /* Pull completed packets off the queue and receive them. */ | 1946 | /* Pull completed packets off the queue and receive them. */ |
1947 | while ((skb = ppp_mp_reconstruct(ppp))) | 1947 | while ((skb = ppp_mp_reconstruct(ppp))) { |
1948 | ppp_receive_nonmp_frame(ppp, skb); | 1948 | if (pskb_may_pull(skb, 2)) |
1949 | ppp_receive_nonmp_frame(ppp, skb); | ||
1950 | else { | ||
1951 | ++ppp->dev->stats.rx_length_errors; | ||
1952 | kfree_skb(skb); | ||
1953 | ppp_receive_error(ppp); | ||
1954 | } | ||
1955 | } | ||
1949 | 1956 | ||
1950 | return; | 1957 | return; |
1951 | 1958 | ||
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index cea7531f4f40..a2fc70a0d0cc 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -3916,6 +3916,8 @@ static int __devinit ql_init_device(struct pci_dev *pdev, | |||
3916 | goto err_out; | 3916 | goto err_out; |
3917 | } | 3917 | } |
3918 | 3918 | ||
3919 | /* Set PCIe reset type for EEH to fundamental. */ | ||
3920 | pdev->needs_freset = 1; | ||
3919 | pci_save_state(pdev); | 3921 | pci_save_state(pdev); |
3920 | qdev->reg_base = | 3922 | qdev->reg_base = |
3921 | ioremap_nocache(pci_resource_start(pdev, 1), | 3923 | ioremap_nocache(pci_resource_start(pdev, 1), |
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c index bcf13c96f73f..aec05f266107 100644 --- a/drivers/net/qlge/qlge_mpi.c +++ b/drivers/net/qlge/qlge_mpi.c | |||
@@ -499,7 +499,7 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp) | |||
499 | /* Wait for the interrupt to come in. */ | 499 | /* Wait for the interrupt to come in. */ |
500 | status = ql_wait_mbx_cmd_cmplt(qdev); | 500 | status = ql_wait_mbx_cmd_cmplt(qdev); |
501 | if (status) | 501 | if (status) |
502 | goto end; | 502 | continue; |
503 | 503 | ||
504 | /* Process the event. If it's an AEN, it | 504 | /* Process the event. If it's an AEN, it |
505 | * will be handled in-line or a worker | 505 | * will be handled in-line or a worker |
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 7dfcb58b0eb4..8b14c6eda7c3 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -1085,7 +1085,7 @@ static int __devinit r6040_init_one(struct pci_dev *pdev, | |||
1085 | int bar = 0; | 1085 | int bar = 0; |
1086 | u16 *adrp; | 1086 | u16 *adrp; |
1087 | 1087 | ||
1088 | printk(KERN_INFO "%s\n", version); | 1088 | printk("%s\n", version); |
1089 | 1089 | ||
1090 | err = pci_enable_device(pdev); | 1090 | err = pci_enable_device(pdev); |
1091 | if (err) | 1091 | if (err) |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index fa4935678488..b9221bdc7184 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -3243,9 +3243,9 @@ static void __devexit rtl8169_remove_one(struct pci_dev *pdev) | |||
3243 | static void rtl8169_set_rxbufsize(struct rtl8169_private *tp, | 3243 | static void rtl8169_set_rxbufsize(struct rtl8169_private *tp, |
3244 | struct net_device *dev) | 3244 | struct net_device *dev) |
3245 | { | 3245 | { |
3246 | unsigned int mtu = dev->mtu; | 3246 | unsigned int max_frame = dev->mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; |
3247 | 3247 | ||
3248 | tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE; | 3248 | tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE; |
3249 | } | 3249 | } |
3250 | 3250 | ||
3251 | static int rtl8169_open(struct net_device *dev) | 3251 | static int rtl8169_open(struct net_device *dev) |
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index ddccf5fa56b6..0dd7839322bc 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -3494,6 +3494,7 @@ static void s2io_reset(struct s2io_nic *sp) | |||
3494 | 3494 | ||
3495 | /* Restore the PCI state saved during initialization. */ | 3495 | /* Restore the PCI state saved during initialization. */ |
3496 | pci_restore_state(sp->pdev); | 3496 | pci_restore_state(sp->pdev); |
3497 | pci_save_state(sp->pdev); | ||
3497 | pci_read_config_word(sp->pdev, 0x2, &val16); | 3498 | pci_read_config_word(sp->pdev, 0x2, &val16); |
3498 | if (check_pci_device_id(val16) != (u16)PCI_ANY_ID) | 3499 | if (check_pci_device_id(val16) != (u16)PCI_ANY_ID) |
3499 | break; | 3500 | break; |
diff --git a/drivers/net/sfc/sfe4001.c b/drivers/net/sfc/sfe4001.c index cee00ad49b57..49eb91b5f50c 100644 --- a/drivers/net/sfc/sfe4001.c +++ b/drivers/net/sfc/sfe4001.c | |||
@@ -188,7 +188,7 @@ static int sfn4111t_reset(struct efx_nic *efx) | |||
188 | efx_oword_t reg; | 188 | efx_oword_t reg; |
189 | 189 | ||
190 | /* GPIO 3 and the GPIO register are shared with I2C, so block that */ | 190 | /* GPIO 3 and the GPIO register are shared with I2C, so block that */ |
191 | mutex_lock(&efx->i2c_adap.bus_lock); | 191 | i2c_lock_adapter(&efx->i2c_adap); |
192 | 192 | ||
193 | /* Pull RST_N (GPIO 2) low then let it up again, setting the | 193 | /* Pull RST_N (GPIO 2) low then let it up again, setting the |
194 | * FLASH_CFG_1 strap (GPIO 3) appropriately. Only change the | 194 | * FLASH_CFG_1 strap (GPIO 3) appropriately. Only change the |
@@ -204,7 +204,7 @@ static int sfn4111t_reset(struct efx_nic *efx) | |||
204 | falcon_write(efx, ®, GPIO_CTL_REG_KER); | 204 | falcon_write(efx, ®, GPIO_CTL_REG_KER); |
205 | msleep(1); | 205 | msleep(1); |
206 | 206 | ||
207 | mutex_unlock(&efx->i2c_adap.bus_lock); | 207 | i2c_unlock_adapter(&efx->i2c_adap); |
208 | 208 | ||
209 | ssleep(1); | 209 | ssleep(1); |
210 | return 0; | 210 | return 0; |
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index ccdd196f5297..f9cdcbcb77d4 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -986,7 +986,7 @@ static int smsc911x_poll(struct napi_struct *napi, int budget) | |||
986 | struct net_device *dev = pdata->dev; | 986 | struct net_device *dev = pdata->dev; |
987 | int npackets = 0; | 987 | int npackets = 0; |
988 | 988 | ||
989 | while (likely(netif_running(dev)) && (npackets < budget)) { | 989 | while (npackets < budget) { |
990 | unsigned int pktlength; | 990 | unsigned int pktlength; |
991 | unsigned int pktwords; | 991 | unsigned int pktwords; |
992 | struct sk_buff *skb; | 992 | struct sk_buff *skb; |
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 7019a0d1a82b..61640b99b705 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -2063,7 +2063,15 @@ static int gem_check_invariants(struct gem *gp) | |||
2063 | mif_cfg &= ~MIF_CFG_PSELECT; | 2063 | mif_cfg &= ~MIF_CFG_PSELECT; |
2064 | writel(mif_cfg, gp->regs + MIF_CFG); | 2064 | writel(mif_cfg, gp->regs + MIF_CFG); |
2065 | } else { | 2065 | } else { |
2066 | gp->phy_type = phy_serialink; | 2066 | #ifdef CONFIG_SPARC |
2067 | const char *p; | ||
2068 | |||
2069 | p = of_get_property(gp->of_node, "shared-pins", NULL); | ||
2070 | if (p && !strcmp(p, "serdes")) | ||
2071 | gp->phy_type = phy_serdes; | ||
2072 | else | ||
2073 | #endif | ||
2074 | gp->phy_type = phy_serialink; | ||
2067 | } | 2075 | } |
2068 | if (gp->phy_type == phy_mii_mdio1 || | 2076 | if (gp->phy_type == phy_mii_mdio1 || |
2069 | gp->phy_type == phy_mii_mdio0) { | 2077 | gp->phy_type == phy_mii_mdio0) { |
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index c47237c2d638..32d93564a74d 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig | |||
@@ -174,7 +174,7 @@ config USB_NET_CDCETHER | |||
174 | * Ericsson Mobile Broadband Module (all variants) | 174 | * Ericsson Mobile Broadband Module (all variants) |
175 | * Motorola (DM100 and SB4100) | 175 | * Motorola (DM100 and SB4100) |
176 | * Broadcom Cable Modem (reference design) | 176 | * Broadcom Cable Modem (reference design) |
177 | * Toshiba (PCX1100U and F3507g) | 177 | * Toshiba (PCX1100U and F3507g/F3607gw) |
178 | * ... | 178 | * ... |
179 | 179 | ||
180 | This driver creates an interface named "ethX", where X depends on | 180 | This driver creates an interface named "ethX", where X depends on |
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 4a6aff579403..21e1ba160008 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -544,20 +544,60 @@ static const struct usb_device_id products [] = { | |||
544 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | 544 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), |
545 | .driver_info = (unsigned long) &cdc_info, | 545 | .driver_info = (unsigned long) &cdc_info, |
546 | }, { | 546 | }, { |
547 | /* Ericsson F3307 */ | 547 | /* Ericsson F3607gw ver 2 */ |
548 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1905, USB_CLASS_COMM, | ||
549 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
550 | .driver_info = (unsigned long) &cdc_info, | ||
551 | }, { | ||
552 | /* Ericsson F3607gw ver 3 */ | ||
548 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1906, USB_CLASS_COMM, | 553 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1906, USB_CLASS_COMM, |
549 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | 554 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), |
550 | .driver_info = (unsigned long) &cdc_info, | 555 | .driver_info = (unsigned long) &cdc_info, |
551 | }, { | 556 | }, { |
557 | /* Ericsson F3307 */ | ||
558 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x190a, USB_CLASS_COMM, | ||
559 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
560 | .driver_info = (unsigned long) &cdc_info, | ||
561 | }, { | ||
562 | /* Ericsson F3307 ver 2 */ | ||
563 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1909, USB_CLASS_COMM, | ||
564 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
565 | .driver_info = (unsigned long) &cdc_info, | ||
566 | }, { | ||
567 | /* Ericsson C3607w */ | ||
568 | USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1049, USB_CLASS_COMM, | ||
569 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
570 | .driver_info = (unsigned long) &cdc_info, | ||
571 | }, { | ||
552 | /* Toshiba F3507g */ | 572 | /* Toshiba F3507g */ |
553 | USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x130b, USB_CLASS_COMM, | 573 | USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x130b, USB_CLASS_COMM, |
554 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | 574 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), |
555 | .driver_info = (unsigned long) &cdc_info, | 575 | .driver_info = (unsigned long) &cdc_info, |
556 | }, { | 576 | }, { |
577 | /* Toshiba F3607gw */ | ||
578 | USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x130c, USB_CLASS_COMM, | ||
579 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
580 | .driver_info = (unsigned long) &cdc_info, | ||
581 | }, { | ||
582 | /* Toshiba F3607gw ver 2 */ | ||
583 | USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x1311, USB_CLASS_COMM, | ||
584 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
585 | .driver_info = (unsigned long) &cdc_info, | ||
586 | }, { | ||
557 | /* Dell F3507g */ | 587 | /* Dell F3507g */ |
558 | USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8147, USB_CLASS_COMM, | 588 | USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8147, USB_CLASS_COMM, |
559 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | 589 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), |
560 | .driver_info = (unsigned long) &cdc_info, | 590 | .driver_info = (unsigned long) &cdc_info, |
591 | }, { | ||
592 | /* Dell F3607gw */ | ||
593 | USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8183, USB_CLASS_COMM, | ||
594 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
595 | .driver_info = (unsigned long) &cdc_info, | ||
596 | }, { | ||
597 | /* Dell F3607gw ver 2 */ | ||
598 | USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8184, USB_CLASS_COMM, | ||
599 | USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), | ||
600 | .driver_info = (unsigned long) &cdc_info, | ||
561 | }, | 601 | }, |
562 | { }, // END | 602 | { }, // END |
563 | }; | 603 | }; |
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 05630f2f6930..b9e002fccbca 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -998,7 +998,7 @@ static unsigned int features[] = { | |||
998 | VIRTIO_NET_F_CTRL_RX, VIRTIO_NET_F_CTRL_VLAN, | 998 | VIRTIO_NET_F_CTRL_RX, VIRTIO_NET_F_CTRL_VLAN, |
999 | }; | 999 | }; |
1000 | 1000 | ||
1001 | static struct virtio_driver virtio_net = { | 1001 | static struct virtio_driver virtio_net_driver = { |
1002 | .feature_table = features, | 1002 | .feature_table = features, |
1003 | .feature_table_size = ARRAY_SIZE(features), | 1003 | .feature_table_size = ARRAY_SIZE(features), |
1004 | .driver.name = KBUILD_MODNAME, | 1004 | .driver.name = KBUILD_MODNAME, |
@@ -1011,12 +1011,12 @@ static struct virtio_driver virtio_net = { | |||
1011 | 1011 | ||
1012 | static int __init init(void) | 1012 | static int __init init(void) |
1013 | { | 1013 | { |
1014 | return register_virtio_driver(&virtio_net); | 1014 | return register_virtio_driver(&virtio_net_driver); |
1015 | } | 1015 | } |
1016 | 1016 | ||
1017 | static void __exit fini(void) | 1017 | static void __exit fini(void) |
1018 | { | 1018 | { |
1019 | unregister_virtio_driver(&virtio_net); | 1019 | unregister_virtio_driver(&virtio_net_driver); |
1020 | } | 1020 | } |
1021 | module_init(init); | 1021 | module_init(init); |
1022 | module_exit(fini); | 1022 | module_exit(fini); |
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 9c6ab5378f6e..95a8e232b58f 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -1125,7 +1125,6 @@ ath5k_mode_setup(struct ath5k_softc *sc) | |||
1125 | /* configure operational mode */ | 1125 | /* configure operational mode */ |
1126 | ath5k_hw_set_opmode(ah); | 1126 | ath5k_hw_set_opmode(ah); |
1127 | 1127 | ||
1128 | ath5k_hw_set_mcast_filter(ah, 0, 0); | ||
1129 | ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt); | 1128 | ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt); |
1130 | } | 1129 | } |
1131 | 1130 | ||
diff --git a/drivers/net/wireless/ath/ath5k/led.c b/drivers/net/wireless/ath/ath5k/led.c index b767c3b67b24..b548c8eaaae1 100644 --- a/drivers/net/wireless/ath/ath5k/led.c +++ b/drivers/net/wireless/ath/ath5k/led.c | |||
@@ -63,12 +63,16 @@ static const struct pci_device_id ath5k_led_devices[] = { | |||
63 | { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0422), ATH_LED(1, 1) }, | 63 | { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0422), ATH_LED(1, 1) }, |
64 | /* E-machines E510 (tuliom@gmail.com) */ | 64 | /* E-machines E510 (tuliom@gmail.com) */ |
65 | { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0428), ATH_LED(3, 0) }, | 65 | { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0428), ATH_LED(3, 0) }, |
66 | /* BenQ Joybook R55v (nowymarluk@wp.pl) */ | ||
67 | { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0100), ATH_LED(1, 0) }, | ||
66 | /* Acer Extensa 5620z (nekoreeve@gmail.com) */ | 68 | /* Acer Extensa 5620z (nekoreeve@gmail.com) */ |
67 | { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0105), ATH_LED(3, 0) }, | 69 | { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0105), ATH_LED(3, 0) }, |
68 | /* Fukato Datacask Jupiter 1014a (mrb74@gmx.at) */ | 70 | /* Fukato Datacask Jupiter 1014a (mrb74@gmx.at) */ |
69 | { ATH_SDEVICE(PCI_VENDOR_ID_AZWAVE, 0x1026), ATH_LED(3, 0) }, | 71 | { ATH_SDEVICE(PCI_VENDOR_ID_AZWAVE, 0x1026), ATH_LED(3, 0) }, |
70 | /* IBM ThinkPad AR5BXB6 (legovini@spiro.fisica.unipd.it) */ | 72 | /* IBM ThinkPad AR5BXB6 (legovini@spiro.fisica.unipd.it) */ |
71 | { ATH_SDEVICE(PCI_VENDOR_ID_IBM, 0x058a), ATH_LED(1, 0) }, | 73 | { ATH_SDEVICE(PCI_VENDOR_ID_IBM, 0x058a), ATH_LED(1, 0) }, |
74 | /* HP Compaq CQ60-206US (ddreggors@jumptv.com) */ | ||
75 | { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137a), ATH_LED(3, 1) }, | ||
72 | /* HP Compaq C700 (nitrousnrg@gmail.com) */ | 76 | /* HP Compaq C700 (nitrousnrg@gmail.com) */ |
73 | { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137b), ATH_LED(3, 1) }, | 77 | { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137b), ATH_LED(3, 1) }, |
74 | /* IBM-specific AR5212 (all others) */ | 78 | /* IBM-specific AR5212 (all others) */ |
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 86f35827f008..098dda1a67c1 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4521,9 +4521,8 @@ static int b43_op_beacon_set_tim(struct ieee80211_hw *hw, | |||
4521 | { | 4521 | { |
4522 | struct b43_wl *wl = hw_to_b43_wl(hw); | 4522 | struct b43_wl *wl = hw_to_b43_wl(hw); |
4523 | 4523 | ||
4524 | mutex_lock(&wl->mutex); | 4524 | /* FIXME: add locking */ |
4525 | b43_update_templates(wl); | 4525 | b43_update_templates(wl); |
4526 | mutex_unlock(&wl->mutex); | ||
4527 | 4526 | ||
4528 | return 0; | 4527 | return 0; |
4529 | } | 4528 | } |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index a741d37fd96f..6e2fc0cb6f8a 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -6029,7 +6029,7 @@ static struct net_device *ipw2100_alloc_device(struct pci_dev *pci_dev, | |||
6029 | struct ipw2100_priv *priv; | 6029 | struct ipw2100_priv *priv; |
6030 | struct net_device *dev; | 6030 | struct net_device *dev; |
6031 | 6031 | ||
6032 | dev = alloc_ieee80211(sizeof(struct ipw2100_priv), 0); | 6032 | dev = alloc_ieee80211(sizeof(struct ipw2100_priv)); |
6033 | if (!dev) | 6033 | if (!dev) |
6034 | return NULL; | 6034 | return NULL; |
6035 | priv = libipw_priv(dev); | 6035 | priv = libipw_priv(dev); |
@@ -6325,10 +6325,8 @@ static int ipw2100_pci_init_one(struct pci_dev *pci_dev, | |||
6325 | 6325 | ||
6326 | fail: | 6326 | fail: |
6327 | if (dev) { | 6327 | if (dev) { |
6328 | if (registered) { | 6328 | if (registered) |
6329 | unregister_ieee80211(priv->ieee); | ||
6330 | unregister_netdev(dev); | 6329 | unregister_netdev(dev); |
6331 | } | ||
6332 | 6330 | ||
6333 | ipw2100_hw_stop_adapter(priv); | 6331 | ipw2100_hw_stop_adapter(priv); |
6334 | 6332 | ||
@@ -6344,7 +6342,7 @@ static int ipw2100_pci_init_one(struct pci_dev *pci_dev, | |||
6344 | sysfs_remove_group(&pci_dev->dev.kobj, | 6342 | sysfs_remove_group(&pci_dev->dev.kobj, |
6345 | &ipw2100_attribute_group); | 6343 | &ipw2100_attribute_group); |
6346 | 6344 | ||
6347 | free_ieee80211(dev, 0); | 6345 | free_ieee80211(dev); |
6348 | pci_set_drvdata(pci_dev, NULL); | 6346 | pci_set_drvdata(pci_dev, NULL); |
6349 | } | 6347 | } |
6350 | 6348 | ||
@@ -6385,7 +6383,6 @@ static void __devexit ipw2100_pci_remove_one(struct pci_dev *pci_dev) | |||
6385 | /* Unregister the device first - this results in close() | 6383 | /* Unregister the device first - this results in close() |
6386 | * being called if the device is open. If we free storage | 6384 | * being called if the device is open. If we free storage |
6387 | * first, then close() will crash. */ | 6385 | * first, then close() will crash. */ |
6388 | unregister_ieee80211(priv->ieee); | ||
6389 | unregister_netdev(dev); | 6386 | unregister_netdev(dev); |
6390 | 6387 | ||
6391 | /* ipw2100_down will ensure that there is no more pending work | 6388 | /* ipw2100_down will ensure that there is no more pending work |
@@ -6403,7 +6400,7 @@ static void __devexit ipw2100_pci_remove_one(struct pci_dev *pci_dev) | |||
6403 | if (dev->base_addr) | 6400 | if (dev->base_addr) |
6404 | iounmap((void __iomem *)dev->base_addr); | 6401 | iounmap((void __iomem *)dev->base_addr); |
6405 | 6402 | ||
6406 | free_ieee80211(dev, 0); | 6403 | free_ieee80211(dev); |
6407 | } | 6404 | } |
6408 | 6405 | ||
6409 | pci_release_regions(pci_dev); | 6406 | pci_release_regions(pci_dev); |
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 9b0f2c0646e0..a6ca536e44f8 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -104,25 +104,6 @@ static int antenna = CFG_SYS_ANTENNA_BOTH; | |||
104 | static int rtap_iface = 0; /* def: 0 -- do not create rtap interface */ | 104 | static int rtap_iface = 0; /* def: 0 -- do not create rtap interface */ |
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | static struct ieee80211_rate ipw2200_rates[] = { | ||
108 | { .bitrate = 10 }, | ||
109 | { .bitrate = 20, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, | ||
110 | { .bitrate = 55, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, | ||
111 | { .bitrate = 110, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, | ||
112 | { .bitrate = 60 }, | ||
113 | { .bitrate = 90 }, | ||
114 | { .bitrate = 120 }, | ||
115 | { .bitrate = 180 }, | ||
116 | { .bitrate = 240 }, | ||
117 | { .bitrate = 360 }, | ||
118 | { .bitrate = 480 }, | ||
119 | { .bitrate = 540 } | ||
120 | }; | ||
121 | |||
122 | #define ipw2200_a_rates (ipw2200_rates + 4) | ||
123 | #define ipw2200_num_a_rates 8 | ||
124 | #define ipw2200_bg_rates (ipw2200_rates + 0) | ||
125 | #define ipw2200_num_bg_rates 12 | ||
126 | 107 | ||
127 | #ifdef CONFIG_IPW2200_QOS | 108 | #ifdef CONFIG_IPW2200_QOS |
128 | static int qos_enable = 0; | 109 | static int qos_enable = 0; |
@@ -8674,6 +8655,24 @@ static int ipw_sw_reset(struct ipw_priv *priv, int option) | |||
8674 | * | 8655 | * |
8675 | */ | 8656 | */ |
8676 | 8657 | ||
8658 | static int ipw_wx_get_name(struct net_device *dev, | ||
8659 | struct iw_request_info *info, | ||
8660 | union iwreq_data *wrqu, char *extra) | ||
8661 | { | ||
8662 | struct ipw_priv *priv = libipw_priv(dev); | ||
8663 | mutex_lock(&priv->mutex); | ||
8664 | if (priv->status & STATUS_RF_KILL_MASK) | ||
8665 | strcpy(wrqu->name, "radio off"); | ||
8666 | else if (!(priv->status & STATUS_ASSOCIATED)) | ||
8667 | strcpy(wrqu->name, "unassociated"); | ||
8668 | else | ||
8669 | snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11%c", | ||
8670 | ipw_modes[priv->assoc_request.ieee_mode]); | ||
8671 | IPW_DEBUG_WX("Name: %s\n", wrqu->name); | ||
8672 | mutex_unlock(&priv->mutex); | ||
8673 | return 0; | ||
8674 | } | ||
8675 | |||
8677 | static int ipw_set_channel(struct ipw_priv *priv, u8 channel) | 8676 | static int ipw_set_channel(struct ipw_priv *priv, u8 channel) |
8678 | { | 8677 | { |
8679 | if (channel == 0) { | 8678 | if (channel == 0) { |
@@ -9973,7 +9972,7 @@ static int ipw_wx_sw_reset(struct net_device *dev, | |||
9973 | /* Rebase the WE IOCTLs to zero for the handler array */ | 9972 | /* Rebase the WE IOCTLs to zero for the handler array */ |
9974 | #define IW_IOCTL(x) [(x)-SIOCSIWCOMMIT] | 9973 | #define IW_IOCTL(x) [(x)-SIOCSIWCOMMIT] |
9975 | static iw_handler ipw_wx_handlers[] = { | 9974 | static iw_handler ipw_wx_handlers[] = { |
9976 | IW_IOCTL(SIOCGIWNAME) = (iw_handler) cfg80211_wext_giwname, | 9975 | IW_IOCTL(SIOCGIWNAME) = ipw_wx_get_name, |
9977 | IW_IOCTL(SIOCSIWFREQ) = ipw_wx_set_freq, | 9976 | IW_IOCTL(SIOCSIWFREQ) = ipw_wx_set_freq, |
9978 | IW_IOCTL(SIOCGIWFREQ) = ipw_wx_get_freq, | 9977 | IW_IOCTL(SIOCGIWFREQ) = ipw_wx_get_freq, |
9979 | IW_IOCTL(SIOCSIWMODE) = ipw_wx_set_mode, | 9978 | IW_IOCTL(SIOCSIWMODE) = ipw_wx_set_mode, |
@@ -11417,100 +11416,16 @@ static void ipw_bg_down(struct work_struct *work) | |||
11417 | /* Called by register_netdev() */ | 11416 | /* Called by register_netdev() */ |
11418 | static int ipw_net_init(struct net_device *dev) | 11417 | static int ipw_net_init(struct net_device *dev) |
11419 | { | 11418 | { |
11420 | int i, rc = 0; | ||
11421 | struct ipw_priv *priv = libipw_priv(dev); | 11419 | struct ipw_priv *priv = libipw_priv(dev); |
11422 | const struct libipw_geo *geo = libipw_get_geo(priv->ieee); | ||
11423 | struct wireless_dev *wdev = &priv->ieee->wdev; | ||
11424 | mutex_lock(&priv->mutex); | 11420 | mutex_lock(&priv->mutex); |
11425 | 11421 | ||
11426 | if (ipw_up(priv)) { | 11422 | if (ipw_up(priv)) { |
11427 | rc = -EIO; | 11423 | mutex_unlock(&priv->mutex); |
11428 | goto out; | 11424 | return -EIO; |
11429 | } | ||
11430 | |||
11431 | memcpy(wdev->wiphy->perm_addr, priv->mac_addr, ETH_ALEN); | ||
11432 | |||
11433 | /* fill-out priv->ieee->bg_band */ | ||
11434 | if (geo->bg_channels) { | ||
11435 | struct ieee80211_supported_band *bg_band = &priv->ieee->bg_band; | ||
11436 | |||
11437 | bg_band->band = IEEE80211_BAND_2GHZ; | ||
11438 | bg_band->n_channels = geo->bg_channels; | ||
11439 | bg_band->channels = | ||
11440 | kzalloc(geo->bg_channels * | ||
11441 | sizeof(struct ieee80211_channel), GFP_KERNEL); | ||
11442 | /* translate geo->bg to bg_band.channels */ | ||
11443 | for (i = 0; i < geo->bg_channels; i++) { | ||
11444 | bg_band->channels[i].band = IEEE80211_BAND_2GHZ; | ||
11445 | bg_band->channels[i].center_freq = geo->bg[i].freq; | ||
11446 | bg_band->channels[i].hw_value = geo->bg[i].channel; | ||
11447 | bg_band->channels[i].max_power = geo->bg[i].max_power; | ||
11448 | if (geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY) | ||
11449 | bg_band->channels[i].flags |= | ||
11450 | IEEE80211_CHAN_PASSIVE_SCAN; | ||
11451 | if (geo->bg[i].flags & LIBIPW_CH_NO_IBSS) | ||
11452 | bg_band->channels[i].flags |= | ||
11453 | IEEE80211_CHAN_NO_IBSS; | ||
11454 | if (geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT) | ||
11455 | bg_band->channels[i].flags |= | ||
11456 | IEEE80211_CHAN_RADAR; | ||
11457 | /* No equivalent for LIBIPW_CH_80211H_RULES, | ||
11458 | LIBIPW_CH_UNIFORM_SPREADING, or | ||
11459 | LIBIPW_CH_B_ONLY... */ | ||
11460 | } | ||
11461 | /* point at bitrate info */ | ||
11462 | bg_band->bitrates = ipw2200_bg_rates; | ||
11463 | bg_band->n_bitrates = ipw2200_num_bg_rates; | ||
11464 | |||
11465 | wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; | ||
11466 | } | ||
11467 | |||
11468 | /* fill-out priv->ieee->a_band */ | ||
11469 | if (geo->a_channels) { | ||
11470 | struct ieee80211_supported_band *a_band = &priv->ieee->a_band; | ||
11471 | |||
11472 | a_band->band = IEEE80211_BAND_5GHZ; | ||
11473 | a_band->n_channels = geo->a_channels; | ||
11474 | a_band->channels = | ||
11475 | kzalloc(geo->a_channels * | ||
11476 | sizeof(struct ieee80211_channel), GFP_KERNEL); | ||
11477 | /* translate geo->bg to a_band.channels */ | ||
11478 | for (i = 0; i < geo->a_channels; i++) { | ||
11479 | a_band->channels[i].band = IEEE80211_BAND_2GHZ; | ||
11480 | a_band->channels[i].center_freq = geo->a[i].freq; | ||
11481 | a_band->channels[i].hw_value = geo->a[i].channel; | ||
11482 | a_band->channels[i].max_power = geo->a[i].max_power; | ||
11483 | if (geo->a[i].flags & LIBIPW_CH_PASSIVE_ONLY) | ||
11484 | a_band->channels[i].flags |= | ||
11485 | IEEE80211_CHAN_PASSIVE_SCAN; | ||
11486 | if (geo->a[i].flags & LIBIPW_CH_NO_IBSS) | ||
11487 | a_band->channels[i].flags |= | ||
11488 | IEEE80211_CHAN_NO_IBSS; | ||
11489 | if (geo->a[i].flags & LIBIPW_CH_RADAR_DETECT) | ||
11490 | a_band->channels[i].flags |= | ||
11491 | IEEE80211_CHAN_RADAR; | ||
11492 | /* No equivalent for LIBIPW_CH_80211H_RULES, | ||
11493 | LIBIPW_CH_UNIFORM_SPREADING, or | ||
11494 | LIBIPW_CH_B_ONLY... */ | ||
11495 | } | ||
11496 | /* point at bitrate info */ | ||
11497 | a_band->bitrates = ipw2200_a_rates; | ||
11498 | a_band->n_bitrates = ipw2200_num_a_rates; | ||
11499 | |||
11500 | wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = a_band; | ||
11501 | } | ||
11502 | |||
11503 | set_wiphy_dev(wdev->wiphy, &priv->pci_dev->dev); | ||
11504 | |||
11505 | /* With that information in place, we can now register the wiphy... */ | ||
11506 | if (wiphy_register(wdev->wiphy)) { | ||
11507 | rc = -EIO; | ||
11508 | goto out; | ||
11509 | } | 11425 | } |
11510 | 11426 | ||
11511 | out: | ||
11512 | mutex_unlock(&priv->mutex); | 11427 | mutex_unlock(&priv->mutex); |
11513 | return rc; | 11428 | return 0; |
11514 | } | 11429 | } |
11515 | 11430 | ||
11516 | /* PCI driver stuff */ | 11431 | /* PCI driver stuff */ |
@@ -11641,7 +11556,7 @@ static int ipw_prom_alloc(struct ipw_priv *priv) | |||
11641 | if (priv->prom_net_dev) | 11556 | if (priv->prom_net_dev) |
11642 | return -EPERM; | 11557 | return -EPERM; |
11643 | 11558 | ||
11644 | priv->prom_net_dev = alloc_ieee80211(sizeof(struct ipw_prom_priv), 1); | 11559 | priv->prom_net_dev = alloc_ieee80211(sizeof(struct ipw_prom_priv)); |
11645 | if (priv->prom_net_dev == NULL) | 11560 | if (priv->prom_net_dev == NULL) |
11646 | return -ENOMEM; | 11561 | return -ENOMEM; |
11647 | 11562 | ||
@@ -11660,7 +11575,7 @@ static int ipw_prom_alloc(struct ipw_priv *priv) | |||
11660 | 11575 | ||
11661 | rc = register_netdev(priv->prom_net_dev); | 11576 | rc = register_netdev(priv->prom_net_dev); |
11662 | if (rc) { | 11577 | if (rc) { |
11663 | free_ieee80211(priv->prom_net_dev, 1); | 11578 | free_ieee80211(priv->prom_net_dev); |
11664 | priv->prom_net_dev = NULL; | 11579 | priv->prom_net_dev = NULL; |
11665 | return rc; | 11580 | return rc; |
11666 | } | 11581 | } |
@@ -11674,7 +11589,7 @@ static void ipw_prom_free(struct ipw_priv *priv) | |||
11674 | return; | 11589 | return; |
11675 | 11590 | ||
11676 | unregister_netdev(priv->prom_net_dev); | 11591 | unregister_netdev(priv->prom_net_dev); |
11677 | free_ieee80211(priv->prom_net_dev, 1); | 11592 | free_ieee80211(priv->prom_net_dev); |
11678 | 11593 | ||
11679 | priv->prom_net_dev = NULL; | 11594 | priv->prom_net_dev = NULL; |
11680 | } | 11595 | } |
@@ -11702,7 +11617,7 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev, | |||
11702 | struct ipw_priv *priv; | 11617 | struct ipw_priv *priv; |
11703 | int i; | 11618 | int i; |
11704 | 11619 | ||
11705 | net_dev = alloc_ieee80211(sizeof(struct ipw_priv), 0); | 11620 | net_dev = alloc_ieee80211(sizeof(struct ipw_priv)); |
11706 | if (net_dev == NULL) { | 11621 | if (net_dev == NULL) { |
11707 | err = -ENOMEM; | 11622 | err = -ENOMEM; |
11708 | goto out; | 11623 | goto out; |
@@ -11822,7 +11737,6 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev, | |||
11822 | if (err) { | 11737 | if (err) { |
11823 | IPW_ERROR("Failed to register promiscuous network " | 11738 | IPW_ERROR("Failed to register promiscuous network " |
11824 | "device (error %d).\n", err); | 11739 | "device (error %d).\n", err); |
11825 | unregister_ieee80211(priv->ieee); | ||
11826 | unregister_netdev(priv->net_dev); | 11740 | unregister_netdev(priv->net_dev); |
11827 | goto out_remove_sysfs; | 11741 | goto out_remove_sysfs; |
11828 | } | 11742 | } |
@@ -11851,7 +11765,7 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev, | |||
11851 | pci_disable_device(pdev); | 11765 | pci_disable_device(pdev); |
11852 | pci_set_drvdata(pdev, NULL); | 11766 | pci_set_drvdata(pdev, NULL); |
11853 | out_free_ieee80211: | 11767 | out_free_ieee80211: |
11854 | free_ieee80211(priv->net_dev, 0); | 11768 | free_ieee80211(priv->net_dev); |
11855 | out: | 11769 | out: |
11856 | return err; | 11770 | return err; |
11857 | } | 11771 | } |
@@ -11873,7 +11787,6 @@ static void __devexit ipw_pci_remove(struct pci_dev *pdev) | |||
11873 | 11787 | ||
11874 | mutex_unlock(&priv->mutex); | 11788 | mutex_unlock(&priv->mutex); |
11875 | 11789 | ||
11876 | unregister_ieee80211(priv->ieee); | ||
11877 | unregister_netdev(priv->net_dev); | 11790 | unregister_netdev(priv->net_dev); |
11878 | 11791 | ||
11879 | if (priv->rxq) { | 11792 | if (priv->rxq) { |
@@ -11919,7 +11832,7 @@ static void __devexit ipw_pci_remove(struct pci_dev *pdev) | |||
11919 | pci_release_regions(pdev); | 11832 | pci_release_regions(pdev); |
11920 | pci_disable_device(pdev); | 11833 | pci_disable_device(pdev); |
11921 | pci_set_drvdata(pdev, NULL); | 11834 | pci_set_drvdata(pdev, NULL); |
11922 | free_ieee80211(priv->net_dev, 0); | 11835 | free_ieee80211(priv->net_dev); |
11923 | free_firmware(); | 11836 | free_firmware(); |
11924 | } | 11837 | } |
11925 | 11838 | ||
diff --git a/drivers/net/wireless/ipw2x00/libipw.h b/drivers/net/wireless/ipw2x00/libipw.h index f42ade6c2d3e..1e334ff6bd52 100644 --- a/drivers/net/wireless/ipw2x00/libipw.h +++ b/drivers/net/wireless/ipw2x00/libipw.h | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/ieee80211.h> | 31 | #include <linux/ieee80211.h> |
32 | 32 | ||
33 | #include <net/lib80211.h> | 33 | #include <net/lib80211.h> |
34 | #include <net/cfg80211.h> | ||
35 | 34 | ||
36 | #define LIBIPW_VERSION "git-1.1.13" | 35 | #define LIBIPW_VERSION "git-1.1.13" |
37 | 36 | ||
@@ -784,15 +783,12 @@ struct libipw_geo { | |||
784 | 783 | ||
785 | struct libipw_device { | 784 | struct libipw_device { |
786 | struct net_device *dev; | 785 | struct net_device *dev; |
787 | struct wireless_dev wdev; | ||
788 | struct libipw_security sec; | 786 | struct libipw_security sec; |
789 | 787 | ||
790 | /* Bookkeeping structures */ | 788 | /* Bookkeeping structures */ |
791 | struct libipw_stats ieee_stats; | 789 | struct libipw_stats ieee_stats; |
792 | 790 | ||
793 | struct libipw_geo geo; | 791 | struct libipw_geo geo; |
794 | struct ieee80211_supported_band bg_band; | ||
795 | struct ieee80211_supported_band a_band; | ||
796 | 792 | ||
797 | /* Probe / Beacon management */ | 793 | /* Probe / Beacon management */ |
798 | struct list_head network_free_list; | 794 | struct list_head network_free_list; |
@@ -1018,9 +1014,8 @@ static inline int libipw_is_cck_rate(u8 rate) | |||
1018 | } | 1014 | } |
1019 | 1015 | ||
1020 | /* ieee80211.c */ | 1016 | /* ieee80211.c */ |
1021 | extern void free_ieee80211(struct net_device *dev, int monitor); | 1017 | extern void free_ieee80211(struct net_device *dev); |
1022 | extern struct net_device *alloc_ieee80211(int sizeof_priv, int monitor); | 1018 | extern struct net_device *alloc_ieee80211(int sizeof_priv); |
1023 | extern void unregister_ieee80211(struct libipw_device *ieee); | ||
1024 | extern int libipw_change_mtu(struct net_device *dev, int new_mtu); | 1019 | extern int libipw_change_mtu(struct net_device *dev, int new_mtu); |
1025 | 1020 | ||
1026 | extern void libipw_networks_age(struct libipw_device *ieee, | 1021 | extern void libipw_networks_age(struct libipw_device *ieee, |
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c index be5b809ec97a..eb2b60834c17 100644 --- a/drivers/net/wireless/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/ipw2x00/libipw_module.c | |||
@@ -62,9 +62,6 @@ MODULE_DESCRIPTION(DRV_DESCRIPTION); | |||
62 | MODULE_AUTHOR(DRV_COPYRIGHT); | 62 | MODULE_AUTHOR(DRV_COPYRIGHT); |
63 | MODULE_LICENSE("GPL"); | 63 | MODULE_LICENSE("GPL"); |
64 | 64 | ||
65 | struct cfg80211_ops libipw_config_ops = { }; | ||
66 | void *libipw_wiphy_privid = &libipw_wiphy_privid; | ||
67 | |||
68 | static int libipw_networks_allocate(struct libipw_device *ieee) | 65 | static int libipw_networks_allocate(struct libipw_device *ieee) |
69 | { | 66 | { |
70 | if (ieee->networks) | 67 | if (ieee->networks) |
@@ -143,7 +140,7 @@ int libipw_change_mtu(struct net_device *dev, int new_mtu) | |||
143 | } | 140 | } |
144 | EXPORT_SYMBOL(libipw_change_mtu); | 141 | EXPORT_SYMBOL(libipw_change_mtu); |
145 | 142 | ||
146 | struct net_device *alloc_ieee80211(int sizeof_priv, int monitor) | 143 | struct net_device *alloc_ieee80211(int sizeof_priv) |
147 | { | 144 | { |
148 | struct libipw_device *ieee; | 145 | struct libipw_device *ieee; |
149 | struct net_device *dev; | 146 | struct net_device *dev; |
@@ -160,31 +157,10 @@ struct net_device *alloc_ieee80211(int sizeof_priv, int monitor) | |||
160 | 157 | ||
161 | ieee->dev = dev; | 158 | ieee->dev = dev; |
162 | 159 | ||
163 | if (!monitor) { | ||
164 | ieee->wdev.wiphy = wiphy_new(&libipw_config_ops, 0); | ||
165 | if (!ieee->wdev.wiphy) { | ||
166 | LIBIPW_ERROR("Unable to allocate wiphy.\n"); | ||
167 | goto failed_free_netdev; | ||
168 | } | ||
169 | |||
170 | ieee->dev->ieee80211_ptr = &ieee->wdev; | ||
171 | ieee->wdev.iftype = NL80211_IFTYPE_STATION; | ||
172 | |||
173 | /* Fill-out wiphy structure bits we know... Not enough info | ||
174 | here to call set_wiphy_dev or set MAC address or channel info | ||
175 | -- have to do that in ->ndo_init... */ | ||
176 | ieee->wdev.wiphy->privid = libipw_wiphy_privid; | ||
177 | |||
178 | ieee->wdev.wiphy->max_scan_ssids = 1; | ||
179 | ieee->wdev.wiphy->max_scan_ie_len = 0; | ||
180 | ieee->wdev.wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | ||
181 | | BIT(NL80211_IFTYPE_ADHOC); | ||
182 | } | ||
183 | |||
184 | err = libipw_networks_allocate(ieee); | 160 | err = libipw_networks_allocate(ieee); |
185 | if (err) { | 161 | if (err) { |
186 | LIBIPW_ERROR("Unable to allocate beacon storage: %d\n", err); | 162 | LIBIPW_ERROR("Unable to allocate beacon storage: %d\n", err); |
187 | goto failed_free_wiphy; | 163 | goto failed_free_netdev; |
188 | } | 164 | } |
189 | libipw_networks_initialize(ieee); | 165 | libipw_networks_initialize(ieee); |
190 | 166 | ||
@@ -217,37 +193,22 @@ struct net_device *alloc_ieee80211(int sizeof_priv, int monitor) | |||
217 | 193 | ||
218 | return dev; | 194 | return dev; |
219 | 195 | ||
220 | failed_free_wiphy: | ||
221 | if (!monitor) | ||
222 | wiphy_free(ieee->wdev.wiphy); | ||
223 | failed_free_netdev: | 196 | failed_free_netdev: |
224 | free_netdev(dev); | 197 | free_netdev(dev); |
225 | failed: | 198 | failed: |
226 | return NULL; | 199 | return NULL; |
227 | } | 200 | } |
228 | 201 | ||
229 | void free_ieee80211(struct net_device *dev, int monitor) | 202 | void free_ieee80211(struct net_device *dev) |
230 | { | 203 | { |
231 | struct libipw_device *ieee = netdev_priv(dev); | 204 | struct libipw_device *ieee = netdev_priv(dev); |
232 | 205 | ||
233 | lib80211_crypt_info_free(&ieee->crypt_info); | 206 | lib80211_crypt_info_free(&ieee->crypt_info); |
234 | 207 | ||
235 | libipw_networks_free(ieee); | 208 | libipw_networks_free(ieee); |
236 | |||
237 | /* free cfg80211 resources */ | ||
238 | if (!monitor) | ||
239 | wiphy_free(ieee->wdev.wiphy); | ||
240 | |||
241 | free_netdev(dev); | 209 | free_netdev(dev); |
242 | } | 210 | } |
243 | 211 | ||
244 | void unregister_ieee80211(struct libipw_device *ieee) | ||
245 | { | ||
246 | wiphy_unregister(ieee->wdev.wiphy); | ||
247 | kfree(ieee->a_band.channels); | ||
248 | kfree(ieee->bg_band.channels); | ||
249 | } | ||
250 | |||
251 | #ifdef CONFIG_LIBIPW_DEBUG | 212 | #ifdef CONFIG_LIBIPW_DEBUG |
252 | 213 | ||
253 | static int debug = 0; | 214 | static int debug = 0; |
@@ -333,4 +294,3 @@ module_init(libipw_init); | |||
333 | 294 | ||
334 | EXPORT_SYMBOL(alloc_ieee80211); | 295 | EXPORT_SYMBOL(alloc_ieee80211); |
335 | EXPORT_SYMBOL(free_ieee80211); | 296 | EXPORT_SYMBOL(free_ieee80211); |
336 | EXPORT_SYMBOL(unregister_ieee80211); | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index 2716b91ba9fa..950267ab556a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -161,5 +161,6 @@ struct iwl_cfg iwl1000_bgn_cfg = { | |||
161 | .max_ll_items = OTP_MAX_LL_ITEMS_1000, | 161 | .max_ll_items = OTP_MAX_LL_ITEMS_1000, |
162 | .shadow_ram_support = false, | 162 | .shadow_ram_support = false, |
163 | .ht_greenfield_support = true, | 163 | .ht_greenfield_support = true, |
164 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
164 | }; | 165 | }; |
165 | 166 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index c295b8ee9228..1473452ba22f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -175,6 +175,7 @@ struct iwl_cfg iwl6000h_2agn_cfg = { | |||
175 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 175 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
176 | .shadow_ram_support = true, | 176 | .shadow_ram_support = true, |
177 | .ht_greenfield_support = true, | 177 | .ht_greenfield_support = true, |
178 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
178 | }; | 179 | }; |
179 | 180 | ||
180 | /* | 181 | /* |
@@ -198,6 +199,7 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
198 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 199 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
199 | .shadow_ram_support = true, | 200 | .shadow_ram_support = true, |
200 | .ht_greenfield_support = true, | 201 | .ht_greenfield_support = true, |
202 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
201 | }; | 203 | }; |
202 | 204 | ||
203 | struct iwl_cfg iwl6050_2agn_cfg = { | 205 | struct iwl_cfg iwl6050_2agn_cfg = { |
@@ -218,6 +220,7 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
218 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 220 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
219 | .shadow_ram_support = true, | 221 | .shadow_ram_support = true, |
220 | .ht_greenfield_support = true, | 222 | .ht_greenfield_support = true, |
223 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
221 | }; | 224 | }; |
222 | 225 | ||
223 | struct iwl_cfg iwl6000_3agn_cfg = { | 226 | struct iwl_cfg iwl6000_3agn_cfg = { |
@@ -238,6 +241,7 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
238 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 241 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
239 | .shadow_ram_support = true, | 242 | .shadow_ram_support = true, |
240 | .ht_greenfield_support = true, | 243 | .ht_greenfield_support = true, |
244 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
241 | }; | 245 | }; |
242 | 246 | ||
243 | struct iwl_cfg iwl6050_3agn_cfg = { | 247 | struct iwl_cfg iwl6050_3agn_cfg = { |
@@ -258,6 +262,7 @@ struct iwl_cfg iwl6050_3agn_cfg = { | |||
258 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 262 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
259 | .shadow_ram_support = true, | 263 | .shadow_ram_support = true, |
260 | .ht_greenfield_support = true, | 264 | .ht_greenfield_support = true, |
265 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
261 | }; | 266 | }; |
262 | 267 | ||
263 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 268 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index 346dc06fa7b7..81726ee32858 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -418,6 +418,15 @@ static void rs_tl_turn_on_agg(struct iwl_priv *priv, u8 tid, | |||
418 | else if (tid == IWL_AGG_ALL_TID) | 418 | else if (tid == IWL_AGG_ALL_TID) |
419 | for (tid = 0; tid < TID_MAX_LOAD_COUNT; tid++) | 419 | for (tid = 0; tid < TID_MAX_LOAD_COUNT; tid++) |
420 | rs_tl_turn_on_agg_for_tid(priv, lq_data, tid, sta); | 420 | rs_tl_turn_on_agg_for_tid(priv, lq_data, tid, sta); |
421 | if (priv->cfg->use_rts_for_ht) { | ||
422 | /* | ||
423 | * switch to RTS/CTS if it is the prefer protection method | ||
424 | * for HT traffic | ||
425 | */ | ||
426 | IWL_DEBUG_HT(priv, "use RTS/CTS protection for HT\n"); | ||
427 | priv->staging_rxon.flags &= ~RXON_FLG_SELF_CTS_EN; | ||
428 | iwlcore_commit_rxon(priv); | ||
429 | } | ||
421 | } | 430 | } |
422 | 431 | ||
423 | static inline int get_num_of_ant_from_rate(u32 rate_n_flags) | 432 | static inline int get_num_of_ant_from_rate(u32 rate_n_flags) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index eaafae091f5b..921dc4a26fe2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -116,9 +116,6 @@ int iwl_commit_rxon(struct iwl_priv *priv) | |||
116 | 116 | ||
117 | /* always get timestamp with Rx frame */ | 117 | /* always get timestamp with Rx frame */ |
118 | priv->staging_rxon.flags |= RXON_FLG_TSF2HOST_MSK; | 118 | priv->staging_rxon.flags |= RXON_FLG_TSF2HOST_MSK; |
119 | /* allow CTS-to-self if possible. this is relevant only for | ||
120 | * 5000, but will not damage 4965 */ | ||
121 | priv->staging_rxon.flags |= RXON_FLG_SELF_CTS_EN; | ||
122 | 119 | ||
123 | ret = iwl_check_rxon_cmd(priv); | 120 | ret = iwl_check_rxon_cmd(priv); |
124 | if (ret) { | 121 | if (ret) { |
@@ -218,6 +215,13 @@ int iwl_commit_rxon(struct iwl_priv *priv) | |||
218 | "Could not send WEP static key.\n"); | 215 | "Could not send WEP static key.\n"); |
219 | } | 216 | } |
220 | 217 | ||
218 | /* | ||
219 | * allow CTS-to-self if possible for new association. | ||
220 | * this is relevant only for 5000 series and up, | ||
221 | * but will not damage 4965 | ||
222 | */ | ||
223 | priv->staging_rxon.flags |= RXON_FLG_SELF_CTS_EN; | ||
224 | |||
221 | /* Apply the new configuration | 225 | /* Apply the new configuration |
222 | * RXON assoc doesn't clear the station table in uCode, | 226 | * RXON assoc doesn't clear the station table in uCode, |
223 | */ | 227 | */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index e50103a956b1..7754538c2194 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -213,6 +213,7 @@ struct iwl_mod_params { | |||
213 | * @pa_type: used by 6000 series only to identify the type of Power Amplifier | 213 | * @pa_type: used by 6000 series only to identify the type of Power Amplifier |
214 | * @max_ll_items: max number of OTP blocks | 214 | * @max_ll_items: max number of OTP blocks |
215 | * @shadow_ram_support: shadow support for OTP memory | 215 | * @shadow_ram_support: shadow support for OTP memory |
216 | * @use_rts_for_ht: use rts/cts protection for HT traffic | ||
216 | * | 217 | * |
217 | * We enable the driver to be backward compatible wrt API version. The | 218 | * We enable the driver to be backward compatible wrt API version. The |
218 | * driver specifies which APIs it supports (with @ucode_api_max being the | 219 | * driver specifies which APIs it supports (with @ucode_api_max being the |
@@ -255,6 +256,7 @@ struct iwl_cfg { | |||
255 | const bool shadow_ram_support; | 256 | const bool shadow_ram_support; |
256 | const bool ht_greenfield_support; | 257 | const bool ht_greenfield_support; |
257 | const bool broken_powersave; | 258 | const bool broken_powersave; |
259 | bool use_rts_for_ht; | ||
258 | }; | 260 | }; |
259 | 261 | ||
260 | /*************************** | 262 | /*************************** |
diff --git a/drivers/net/wireless/libertas/ethtool.c b/drivers/net/wireless/libertas/ethtool.c index 039b555e4d76..53d56ab83c03 100644 --- a/drivers/net/wireless/libertas/ethtool.c +++ b/drivers/net/wireless/libertas/ethtool.c | |||
@@ -169,16 +169,19 @@ static int lbs_ethtool_set_wol(struct net_device *dev, | |||
169 | struct lbs_private *priv = dev->ml_priv; | 169 | struct lbs_private *priv = dev->ml_priv; |
170 | uint32_t criteria = 0; | 170 | uint32_t criteria = 0; |
171 | 171 | ||
172 | if (priv->wol_criteria == 0xffffffff && wol->wolopts) | ||
173 | return -EOPNOTSUPP; | ||
174 | |||
175 | if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) | 172 | if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) |
176 | return -EOPNOTSUPP; | 173 | return -EOPNOTSUPP; |
177 | 174 | ||
178 | if (wol->wolopts & WAKE_UCAST) criteria |= EHS_WAKE_ON_UNICAST_DATA; | 175 | if (wol->wolopts & WAKE_UCAST) |
179 | if (wol->wolopts & WAKE_MCAST) criteria |= EHS_WAKE_ON_MULTICAST_DATA; | 176 | criteria |= EHS_WAKE_ON_UNICAST_DATA; |
180 | if (wol->wolopts & WAKE_BCAST) criteria |= EHS_WAKE_ON_BROADCAST_DATA; | 177 | if (wol->wolopts & WAKE_MCAST) |
181 | if (wol->wolopts & WAKE_PHY) criteria |= EHS_WAKE_ON_MAC_EVENT; | 178 | criteria |= EHS_WAKE_ON_MULTICAST_DATA; |
179 | if (wol->wolopts & WAKE_BCAST) | ||
180 | criteria |= EHS_WAKE_ON_BROADCAST_DATA; | ||
181 | if (wol->wolopts & WAKE_PHY) | ||
182 | criteria |= EHS_WAKE_ON_MAC_EVENT; | ||
183 | if (wol->wolopts == 0) | ||
184 | criteria |= EHS_REMOVE_WAKEUP; | ||
182 | 185 | ||
183 | return lbs_host_sleep_cfg(priv, criteria, (struct wol_config *)NULL); | 186 | return lbs_host_sleep_cfg(priv, criteria, (struct wol_config *)NULL); |
184 | } | 187 | } |
diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index 17e199546eeb..92af9b96bb7a 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c | |||
@@ -426,12 +426,16 @@ static const char p54u_romboot_3887[] = "~~~~"; | |||
426 | static int p54u_firmware_reset_3887(struct ieee80211_hw *dev) | 426 | static int p54u_firmware_reset_3887(struct ieee80211_hw *dev) |
427 | { | 427 | { |
428 | struct p54u_priv *priv = dev->priv; | 428 | struct p54u_priv *priv = dev->priv; |
429 | u8 buf[4]; | 429 | u8 *buf; |
430 | int ret; | 430 | int ret; |
431 | 431 | ||
432 | memcpy(&buf, p54u_romboot_3887, sizeof(buf)); | 432 | buf = kmalloc(4, GFP_KERNEL); |
433 | if (!buf) | ||
434 | return -ENOMEM; | ||
435 | memcpy(buf, p54u_romboot_3887, 4); | ||
433 | ret = p54u_bulk_msg(priv, P54U_PIPE_DATA, | 436 | ret = p54u_bulk_msg(priv, P54U_PIPE_DATA, |
434 | buf, sizeof(buf)); | 437 | buf, 4); |
438 | kfree(buf); | ||
435 | if (ret) | 439 | if (ret) |
436 | dev_err(&priv->udev->dev, "(p54usb) unable to jump to " | 440 | dev_err(&priv->udev->dev, "(p54usb) unable to jump to " |
437 | "boot ROM (%d)!\n", ret); | 441 | "boot ROM (%d)!\n", ret); |
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 71761b343839..73bbec58341e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -815,6 +815,8 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
815 | 815 | ||
816 | mutex_init(&rt2x00dev->csr_mutex); | 816 | mutex_init(&rt2x00dev->csr_mutex); |
817 | 817 | ||
818 | set_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags); | ||
819 | |||
818 | /* | 820 | /* |
819 | * Make room for rt2x00_intf inside the per-interface | 821 | * Make room for rt2x00_intf inside the per-interface |
820 | * structure ieee80211_vif. | 822 | * structure ieee80211_vif. |
@@ -871,8 +873,6 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
871 | rt2x00leds_register(rt2x00dev); | 873 | rt2x00leds_register(rt2x00dev); |
872 | rt2x00debug_register(rt2x00dev); | 874 | rt2x00debug_register(rt2x00dev); |
873 | 875 | ||
874 | set_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags); | ||
875 | |||
876 | return 0; | 876 | return 0; |
877 | 877 | ||
878 | exit: | 878 | exit: |
diff --git a/drivers/net/wireless/rt2x00/rt2x00link.c b/drivers/net/wireless/rt2x00/rt2x00link.c index c64db0ba7f40..c708d0be9155 100644 --- a/drivers/net/wireless/rt2x00/rt2x00link.c +++ b/drivers/net/wireless/rt2x00/rt2x00link.c | |||
@@ -362,8 +362,9 @@ void rt2x00link_start_tuner(struct rt2x00_dev *rt2x00dev) | |||
362 | 362 | ||
363 | rt2x00link_reset_tuner(rt2x00dev, false); | 363 | rt2x00link_reset_tuner(rt2x00dev, false); |
364 | 364 | ||
365 | ieee80211_queue_delayed_work(rt2x00dev->hw, | 365 | if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) |
366 | &link->work, LINK_TUNE_INTERVAL); | 366 | ieee80211_queue_delayed_work(rt2x00dev->hw, |
367 | &link->work, LINK_TUNE_INTERVAL); | ||
367 | } | 368 | } |
368 | 369 | ||
369 | void rt2x00link_stop_tuner(struct rt2x00_dev *rt2x00dev) | 370 | void rt2x00link_stop_tuner(struct rt2x00_dev *rt2x00dev) |
@@ -469,8 +470,10 @@ static void rt2x00link_tuner(struct work_struct *work) | |||
469 | * Increase tuner counter, and reschedule the next link tuner run. | 470 | * Increase tuner counter, and reschedule the next link tuner run. |
470 | */ | 471 | */ |
471 | link->count++; | 472 | link->count++; |
472 | ieee80211_queue_delayed_work(rt2x00dev->hw, | 473 | |
473 | &link->work, LINK_TUNE_INTERVAL); | 474 | if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) |
475 | ieee80211_queue_delayed_work(rt2x00dev->hw, | ||
476 | &link->work, LINK_TUNE_INTERVAL); | ||
474 | } | 477 | } |
475 | 478 | ||
476 | void rt2x00link_register(struct rt2x00_dev *rt2x00dev) | 479 | void rt2x00link_register(struct rt2x00_dev *rt2x00dev) |
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 501544882c2c..f02b48a90593 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -47,6 +47,8 @@ int rt2x00usb_vendor_request(struct rt2x00_dev *rt2x00dev, | |||
47 | (requesttype == USB_VENDOR_REQUEST_IN) ? | 47 | (requesttype == USB_VENDOR_REQUEST_IN) ? |
48 | usb_rcvctrlpipe(usb_dev, 0) : usb_sndctrlpipe(usb_dev, 0); | 48 | usb_rcvctrlpipe(usb_dev, 0) : usb_sndctrlpipe(usb_dev, 0); |
49 | 49 | ||
50 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) | ||
51 | return -ENODEV; | ||
50 | 52 | ||
51 | for (i = 0; i < REGISTER_BUSY_COUNT; i++) { | 53 | for (i = 0; i < REGISTER_BUSY_COUNT; i++) { |
52 | status = usb_control_msg(usb_dev, pipe, request, requesttype, | 54 | status = usb_control_msg(usb_dev, pipe, request, requesttype, |
@@ -60,8 +62,10 @@ int rt2x00usb_vendor_request(struct rt2x00_dev *rt2x00dev, | |||
60 | * -ENODEV: Device has disappeared, no point continuing. | 62 | * -ENODEV: Device has disappeared, no point continuing. |
61 | * All other errors: Try again. | 63 | * All other errors: Try again. |
62 | */ | 64 | */ |
63 | else if (status == -ENODEV) | 65 | else if (status == -ENODEV) { |
66 | clear_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags); | ||
64 | break; | 67 | break; |
68 | } | ||
65 | } | 69 | } |
66 | 70 | ||
67 | ERROR(rt2x00dev, | 71 | ERROR(rt2x00dev, |
@@ -161,6 +165,9 @@ int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, | |||
161 | { | 165 | { |
162 | unsigned int i; | 166 | unsigned int i; |
163 | 167 | ||
168 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) | ||
169 | return -ENODEV; | ||
170 | |||
164 | for (i = 0; i < REGISTER_BUSY_COUNT; i++) { | 171 | for (i = 0; i < REGISTER_BUSY_COUNT; i++) { |
165 | rt2x00usb_register_read_lock(rt2x00dev, offset, reg); | 172 | rt2x00usb_register_read_lock(rt2x00dev, offset, reg); |
166 | if (!rt2x00_get_field32(*reg, field)) | 173 | if (!rt2x00_get_field32(*reg, field)) |
diff --git a/drivers/net/wireless/rtl818x/rtl8187_leds.c b/drivers/net/wireless/rtl818x/rtl8187_leds.c index a1c670fc1552..cf8a4a40fdf6 100644 --- a/drivers/net/wireless/rtl818x/rtl8187_leds.c +++ b/drivers/net/wireless/rtl818x/rtl8187_leds.c | |||
@@ -210,10 +210,10 @@ void rtl8187_leds_exit(struct ieee80211_hw *dev) | |||
210 | 210 | ||
211 | /* turn the LED off before exiting */ | 211 | /* turn the LED off before exiting */ |
212 | ieee80211_queue_delayed_work(dev, &priv->led_off, 0); | 212 | ieee80211_queue_delayed_work(dev, &priv->led_off, 0); |
213 | cancel_delayed_work_sync(&priv->led_off); | ||
214 | cancel_delayed_work_sync(&priv->led_on); | ||
215 | rtl8187_unregister_led(&priv->led_rx); | 213 | rtl8187_unregister_led(&priv->led_rx); |
216 | rtl8187_unregister_led(&priv->led_tx); | 214 | rtl8187_unregister_led(&priv->led_tx); |
215 | cancel_delayed_work_sync(&priv->led_off); | ||
216 | cancel_delayed_work_sync(&priv->led_on); | ||
217 | } | 217 | } |
218 | #endif /* def CONFIG_RTL8187_LED */ | 218 | #endif /* def CONFIG_RTL8187_LED */ |
219 | 219 | ||
diff --git a/drivers/net/wireless/rtl818x/rtl8187_rfkill.c b/drivers/net/wireless/rtl818x/rtl8187_rfkill.c index 9fab13e4004e..cad8037ab2af 100644 --- a/drivers/net/wireless/rtl818x/rtl8187_rfkill.c +++ b/drivers/net/wireless/rtl818x/rtl8187_rfkill.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <net/mac80211.h> | 18 | #include <net/mac80211.h> |
19 | 19 | ||
20 | #include "rtl8187.h" | 20 | #include "rtl8187.h" |
21 | #include "rtl8187_rfkill.h" | ||
21 | 22 | ||
22 | static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) | 23 | static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) |
23 | { | 24 | { |
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index 22b02c6df854..b952ebc7a78b 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c | |||
@@ -175,15 +175,6 @@ dmar_parse_one_drhd(struct acpi_dmar_header *header) | |||
175 | int ret = 0; | 175 | int ret = 0; |
176 | 176 | ||
177 | drhd = (struct acpi_dmar_hardware_unit *)header; | 177 | drhd = (struct acpi_dmar_hardware_unit *)header; |
178 | if (!drhd->address) { | ||
179 | /* Promote an attitude of violence to a BIOS engineer today */ | ||
180 | WARN(1, "Your BIOS is broken; DMAR reported at address zero!\n" | ||
181 | "BIOS vendor: %s; Ver: %s; Product Version: %s\n", | ||
182 | dmi_get_system_info(DMI_BIOS_VENDOR), | ||
183 | dmi_get_system_info(DMI_BIOS_VERSION), | ||
184 | dmi_get_system_info(DMI_PRODUCT_VERSION)); | ||
185 | return -ENODEV; | ||
186 | } | ||
187 | dmaru = kzalloc(sizeof(*dmaru), GFP_KERNEL); | 178 | dmaru = kzalloc(sizeof(*dmaru), GFP_KERNEL); |
188 | if (!dmaru) | 179 | if (!dmaru) |
189 | return -ENOMEM; | 180 | return -ENOMEM; |
@@ -591,12 +582,53 @@ int __init dmar_table_init(void) | |||
591 | return 0; | 582 | return 0; |
592 | } | 583 | } |
593 | 584 | ||
585 | int __init check_zero_address(void) | ||
586 | { | ||
587 | struct acpi_table_dmar *dmar; | ||
588 | struct acpi_dmar_header *entry_header; | ||
589 | struct acpi_dmar_hardware_unit *drhd; | ||
590 | |||
591 | dmar = (struct acpi_table_dmar *)dmar_tbl; | ||
592 | entry_header = (struct acpi_dmar_header *)(dmar + 1); | ||
593 | |||
594 | while (((unsigned long)entry_header) < | ||
595 | (((unsigned long)dmar) + dmar_tbl->length)) { | ||
596 | /* Avoid looping forever on bad ACPI tables */ | ||
597 | if (entry_header->length == 0) { | ||
598 | printk(KERN_WARNING PREFIX | ||
599 | "Invalid 0-length structure\n"); | ||
600 | return 0; | ||
601 | } | ||
602 | |||
603 | if (entry_header->type == ACPI_DMAR_TYPE_HARDWARE_UNIT) { | ||
604 | drhd = (void *)entry_header; | ||
605 | if (!drhd->address) { | ||
606 | /* Promote an attitude of violence to a BIOS engineer today */ | ||
607 | WARN(1, "Your BIOS is broken; DMAR reported at address zero!\n" | ||
608 | "BIOS vendor: %s; Ver: %s; Product Version: %s\n", | ||
609 | dmi_get_system_info(DMI_BIOS_VENDOR), | ||
610 | dmi_get_system_info(DMI_BIOS_VERSION), | ||
611 | dmi_get_system_info(DMI_PRODUCT_VERSION)); | ||
612 | #ifdef CONFIG_DMAR | ||
613 | dmar_disabled = 1; | ||
614 | #endif | ||
615 | return 0; | ||
616 | } | ||
617 | break; | ||
618 | } | ||
619 | |||
620 | entry_header = ((void *)entry_header + entry_header->length); | ||
621 | } | ||
622 | return 1; | ||
623 | } | ||
624 | |||
594 | void __init detect_intel_iommu(void) | 625 | void __init detect_intel_iommu(void) |
595 | { | 626 | { |
596 | int ret; | 627 | int ret; |
597 | 628 | ||
598 | ret = dmar_table_detect(); | 629 | ret = dmar_table_detect(); |
599 | 630 | if (ret) | |
631 | ret = check_zero_address(); | ||
600 | { | 632 | { |
601 | #ifdef CONFIG_INTR_REMAP | 633 | #ifdef CONFIG_INTR_REMAP |
602 | struct acpi_table_dmar *dmar; | 634 | struct acpi_table_dmar *dmar; |
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index b1e97e682500..1840a0578a42 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -2767,7 +2767,15 @@ static void *intel_alloc_coherent(struct device *hwdev, size_t size, | |||
2767 | 2767 | ||
2768 | size = PAGE_ALIGN(size); | 2768 | size = PAGE_ALIGN(size); |
2769 | order = get_order(size); | 2769 | order = get_order(size); |
2770 | flags &= ~(GFP_DMA | GFP_DMA32); | 2770 | |
2771 | if (!iommu_no_mapping(hwdev)) | ||
2772 | flags &= ~(GFP_DMA | GFP_DMA32); | ||
2773 | else if (hwdev->coherent_dma_mask < dma_get_required_mask(hwdev)) { | ||
2774 | if (hwdev->coherent_dma_mask < DMA_BIT_MASK(32)) | ||
2775 | flags |= GFP_DMA; | ||
2776 | else | ||
2777 | flags |= GFP_DMA32; | ||
2778 | } | ||
2771 | 2779 | ||
2772 | vaddr = (void *)__get_free_pages(flags, order); | 2780 | vaddr = (void *)__get_free_pages(flags, order); |
2773 | if (!vaddr) | 2781 | if (!vaddr) |
@@ -3207,6 +3215,33 @@ static int __init init_iommu_sysfs(void) | |||
3207 | } | 3215 | } |
3208 | #endif /* CONFIG_PM */ | 3216 | #endif /* CONFIG_PM */ |
3209 | 3217 | ||
3218 | /* | ||
3219 | * Here we only respond to action of unbound device from driver. | ||
3220 | * | ||
3221 | * Added device is not attached to its DMAR domain here yet. That will happen | ||
3222 | * when mapping the device to iova. | ||
3223 | */ | ||
3224 | static int device_notifier(struct notifier_block *nb, | ||
3225 | unsigned long action, void *data) | ||
3226 | { | ||
3227 | struct device *dev = data; | ||
3228 | struct pci_dev *pdev = to_pci_dev(dev); | ||
3229 | struct dmar_domain *domain; | ||
3230 | |||
3231 | domain = find_domain(pdev); | ||
3232 | if (!domain) | ||
3233 | return 0; | ||
3234 | |||
3235 | if (action == BUS_NOTIFY_UNBOUND_DRIVER && !iommu_pass_through) | ||
3236 | domain_remove_one_dev_info(domain, pdev); | ||
3237 | |||
3238 | return 0; | ||
3239 | } | ||
3240 | |||
3241 | static struct notifier_block device_nb = { | ||
3242 | .notifier_call = device_notifier, | ||
3243 | }; | ||
3244 | |||
3210 | int __init intel_iommu_init(void) | 3245 | int __init intel_iommu_init(void) |
3211 | { | 3246 | { |
3212 | int ret = 0; | 3247 | int ret = 0; |
@@ -3259,6 +3294,8 @@ int __init intel_iommu_init(void) | |||
3259 | 3294 | ||
3260 | register_iommu(&intel_iommu_ops); | 3295 | register_iommu(&intel_iommu_ops); |
3261 | 3296 | ||
3297 | bus_register_notifier(&pci_bus_type, &device_nb); | ||
3298 | |||
3262 | return 0; | 3299 | return 0; |
3263 | } | 3300 | } |
3264 | 3301 | ||
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index 745402e8e498..5b7056cec00c 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c | |||
@@ -656,8 +656,10 @@ void pcie_aspm_exit_link_state(struct pci_dev *pdev) | |||
656 | free_link_state(link); | 656 | free_link_state(link); |
657 | 657 | ||
658 | /* Recheck latencies and configure upstream links */ | 658 | /* Recheck latencies and configure upstream links */ |
659 | pcie_update_aspm_capable(root); | 659 | if (parent_link) { |
660 | pcie_config_aspm_path(parent_link); | 660 | pcie_update_aspm_capable(root); |
661 | pcie_config_aspm_path(parent_link); | ||
662 | } | ||
661 | out: | 663 | out: |
662 | mutex_unlock(&aspm_lock); | 664 | mutex_unlock(&aspm_lock); |
663 | up_read(&pci_bus_sem); | 665 | up_read(&pci_bus_sem); |
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index d379e74a05d0..4226e5352738 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -150,8 +150,6 @@ struct eeepc_hotk { | |||
150 | /* The actual device the driver binds to */ | 150 | /* The actual device the driver binds to */ |
151 | static struct eeepc_hotk *ehotk; | 151 | static struct eeepc_hotk *ehotk; |
152 | 152 | ||
153 | static void eeepc_rfkill_hotplug(bool real); | ||
154 | |||
155 | /* Platform device/driver */ | 153 | /* Platform device/driver */ |
156 | static int eeepc_hotk_thaw(struct device *device); | 154 | static int eeepc_hotk_thaw(struct device *device); |
157 | static int eeepc_hotk_restore(struct device *device); | 155 | static int eeepc_hotk_restore(struct device *device); |
@@ -345,16 +343,7 @@ static bool eeepc_wlan_rfkill_blocked(void) | |||
345 | static int eeepc_rfkill_set(void *data, bool blocked) | 343 | static int eeepc_rfkill_set(void *data, bool blocked) |
346 | { | 344 | { |
347 | unsigned long asl = (unsigned long)data; | 345 | unsigned long asl = (unsigned long)data; |
348 | int ret; | 346 | return set_acpi(asl, !blocked); |
349 | |||
350 | if (asl != CM_ASL_WLAN) | ||
351 | return set_acpi(asl, !blocked); | ||
352 | |||
353 | /* hack to avoid panic with rt2860sta */ | ||
354 | if (blocked) | ||
355 | eeepc_rfkill_hotplug(false); | ||
356 | ret = set_acpi(asl, !blocked); | ||
357 | return ret; | ||
358 | } | 347 | } |
359 | 348 | ||
360 | static const struct rfkill_ops eeepc_rfkill_ops = { | 349 | static const struct rfkill_ops eeepc_rfkill_ops = { |
@@ -367,7 +356,8 @@ static void __devinit eeepc_enable_camera(void) | |||
367 | * If the following call to set_acpi() fails, it's because there's no | 356 | * If the following call to set_acpi() fails, it's because there's no |
368 | * camera so we can ignore the error. | 357 | * camera so we can ignore the error. |
369 | */ | 358 | */ |
370 | set_acpi(CM_ASL_CAMERA, 1); | 359 | if (get_acpi(CM_ASL_CAMERA) == 0) |
360 | set_acpi(CM_ASL_CAMERA, 1); | ||
371 | } | 361 | } |
372 | 362 | ||
373 | /* | 363 | /* |
@@ -654,13 +644,13 @@ static int eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot, | |||
654 | return 0; | 644 | return 0; |
655 | } | 645 | } |
656 | 646 | ||
657 | static void eeepc_rfkill_hotplug(bool real) | 647 | static void eeepc_rfkill_hotplug(void) |
658 | { | 648 | { |
659 | struct pci_dev *dev; | 649 | struct pci_dev *dev; |
660 | struct pci_bus *bus; | 650 | struct pci_bus *bus; |
661 | bool blocked = real ? eeepc_wlan_rfkill_blocked() : true; | 651 | bool blocked = eeepc_wlan_rfkill_blocked(); |
662 | 652 | ||
663 | if (real && ehotk->wlan_rfkill) | 653 | if (ehotk->wlan_rfkill) |
664 | rfkill_set_sw_state(ehotk->wlan_rfkill, blocked); | 654 | rfkill_set_sw_state(ehotk->wlan_rfkill, blocked); |
665 | 655 | ||
666 | mutex_lock(&ehotk->hotplug_lock); | 656 | mutex_lock(&ehotk->hotplug_lock); |
@@ -703,7 +693,7 @@ static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data) | |||
703 | if (event != ACPI_NOTIFY_BUS_CHECK) | 693 | if (event != ACPI_NOTIFY_BUS_CHECK) |
704 | return; | 694 | return; |
705 | 695 | ||
706 | eeepc_rfkill_hotplug(true); | 696 | eeepc_rfkill_hotplug(); |
707 | } | 697 | } |
708 | 698 | ||
709 | static void eeepc_hotk_notify(struct acpi_device *device, u32 event) | 699 | static void eeepc_hotk_notify(struct acpi_device *device, u32 event) |
@@ -861,7 +851,7 @@ static int eeepc_hotk_restore(struct device *device) | |||
861 | { | 851 | { |
862 | /* Refresh both wlan rfkill state and pci hotplug */ | 852 | /* Refresh both wlan rfkill state and pci hotplug */ |
863 | if (ehotk->wlan_rfkill) | 853 | if (ehotk->wlan_rfkill) |
864 | eeepc_rfkill_hotplug(true); | 854 | eeepc_rfkill_hotplug(); |
865 | 855 | ||
866 | if (ehotk->bluetooth_rfkill) | 856 | if (ehotk->bluetooth_rfkill) |
867 | rfkill_set_sw_state(ehotk->bluetooth_rfkill, | 857 | rfkill_set_sw_state(ehotk->bluetooth_rfkill, |
@@ -1004,7 +994,7 @@ static void eeepc_rfkill_exit(void) | |||
1004 | * Refresh pci hotplug in case the rfkill state was changed after | 994 | * Refresh pci hotplug in case the rfkill state was changed after |
1005 | * eeepc_unregister_rfkill_notifier() | 995 | * eeepc_unregister_rfkill_notifier() |
1006 | */ | 996 | */ |
1007 | eeepc_rfkill_hotplug(true); | 997 | eeepc_rfkill_hotplug(); |
1008 | if (ehotk->hotplug_slot) | 998 | if (ehotk->hotplug_slot) |
1009 | pci_hp_deregister(ehotk->hotplug_slot); | 999 | pci_hp_deregister(ehotk->hotplug_slot); |
1010 | 1000 | ||
@@ -1120,7 +1110,7 @@ static int eeepc_rfkill_init(struct device *dev) | |||
1120 | * Refresh pci hotplug in case the rfkill state was changed during | 1110 | * Refresh pci hotplug in case the rfkill state was changed during |
1121 | * setup. | 1111 | * setup. |
1122 | */ | 1112 | */ |
1123 | eeepc_rfkill_hotplug(true); | 1113 | eeepc_rfkill_hotplug(); |
1124 | 1114 | ||
1125 | exit: | 1115 | exit: |
1126 | if (result && result != -ENODEV) | 1116 | if (result && result != -ENODEV) |
diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c index 35a0b192d768..2d414e23d390 100644 --- a/drivers/pps/kapi.c +++ b/drivers/pps/kapi.c | |||
@@ -271,6 +271,7 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data) | |||
271 | { | 271 | { |
272 | struct pps_device *pps; | 272 | struct pps_device *pps; |
273 | unsigned long flags; | 273 | unsigned long flags; |
274 | int captured = 0; | ||
274 | 275 | ||
275 | if ((event & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR)) == 0) { | 276 | if ((event & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR)) == 0) { |
276 | printk(KERN_ERR "pps: unknown event (%x) for source %d\n", | 277 | printk(KERN_ERR "pps: unknown event (%x) for source %d\n", |
@@ -293,7 +294,8 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data) | |||
293 | 294 | ||
294 | /* Check the event */ | 295 | /* Check the event */ |
295 | pps->current_mode = pps->params.mode; | 296 | pps->current_mode = pps->params.mode; |
296 | if (event & PPS_CAPTUREASSERT) { | 297 | if ((event & PPS_CAPTUREASSERT) & |
298 | (pps->params.mode & PPS_CAPTUREASSERT)) { | ||
297 | /* We have to add an offset? */ | 299 | /* We have to add an offset? */ |
298 | if (pps->params.mode & PPS_OFFSETASSERT) | 300 | if (pps->params.mode & PPS_OFFSETASSERT) |
299 | pps_add_offset(ts, &pps->params.assert_off_tu); | 301 | pps_add_offset(ts, &pps->params.assert_off_tu); |
@@ -303,8 +305,11 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data) | |||
303 | pps->assert_sequence++; | 305 | pps->assert_sequence++; |
304 | pr_debug("capture assert seq #%u for source %d\n", | 306 | pr_debug("capture assert seq #%u for source %d\n", |
305 | pps->assert_sequence, source); | 307 | pps->assert_sequence, source); |
308 | |||
309 | captured = ~0; | ||
306 | } | 310 | } |
307 | if (event & PPS_CAPTURECLEAR) { | 311 | if ((event & PPS_CAPTURECLEAR) & |
312 | (pps->params.mode & PPS_CAPTURECLEAR)) { | ||
308 | /* We have to add an offset? */ | 313 | /* We have to add an offset? */ |
309 | if (pps->params.mode & PPS_OFFSETCLEAR) | 314 | if (pps->params.mode & PPS_OFFSETCLEAR) |
310 | pps_add_offset(ts, &pps->params.clear_off_tu); | 315 | pps_add_offset(ts, &pps->params.clear_off_tu); |
@@ -314,12 +319,17 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data) | |||
314 | pps->clear_sequence++; | 319 | pps->clear_sequence++; |
315 | pr_debug("capture clear seq #%u for source %d\n", | 320 | pr_debug("capture clear seq #%u for source %d\n", |
316 | pps->clear_sequence, source); | 321 | pps->clear_sequence, source); |
322 | |||
323 | captured = ~0; | ||
317 | } | 324 | } |
318 | 325 | ||
319 | pps->go = ~0; | 326 | /* Wake up iif captured somthing */ |
320 | wake_up_interruptible(&pps->queue); | 327 | if (captured) { |
328 | pps->go = ~0; | ||
329 | wake_up_interruptible(&pps->queue); | ||
321 | 330 | ||
322 | kill_fasync(&pps->async_queue, SIGIO, POLL_IN); | 331 | kill_fasync(&pps->async_queue, SIGIO, POLL_IN); |
332 | } | ||
323 | 333 | ||
324 | spin_unlock_irqrestore(&pps->lock, flags); | 334 | spin_unlock_irqrestore(&pps->lock, flags); |
325 | 335 | ||
diff --git a/drivers/pps/pps.c b/drivers/pps/pps.c index fea17e7805e9..ca5183bdad85 100644 --- a/drivers/pps/pps.c +++ b/drivers/pps/pps.c | |||
@@ -71,9 +71,14 @@ static long pps_cdev_ioctl(struct file *file, | |||
71 | case PPS_GETPARAMS: | 71 | case PPS_GETPARAMS: |
72 | pr_debug("PPS_GETPARAMS: source %d\n", pps->id); | 72 | pr_debug("PPS_GETPARAMS: source %d\n", pps->id); |
73 | 73 | ||
74 | /* Return current parameters */ | 74 | spin_lock_irq(&pps->lock); |
75 | err = copy_to_user(uarg, &pps->params, | 75 | |
76 | sizeof(struct pps_kparams)); | 76 | /* Get the current parameters */ |
77 | params = pps->params; | ||
78 | |||
79 | spin_unlock_irq(&pps->lock); | ||
80 | |||
81 | err = copy_to_user(uarg, ¶ms, sizeof(struct pps_kparams)); | ||
77 | if (err) | 82 | if (err) |
78 | return -EFAULT; | 83 | return -EFAULT; |
79 | 84 | ||
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 744ea1d0b59b..efe568deda12 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1283,7 +1283,8 @@ static int _regulator_disable(struct regulator_dev *rdev) | |||
1283 | return -EIO; | 1283 | return -EIO; |
1284 | 1284 | ||
1285 | /* are we the last user and permitted to disable ? */ | 1285 | /* are we the last user and permitted to disable ? */ |
1286 | if (rdev->use_count == 1 && !rdev->constraints->always_on) { | 1286 | if (rdev->use_count == 1 && |
1287 | (rdev->constraints && !rdev->constraints->always_on)) { | ||
1287 | 1288 | ||
1288 | /* we are last user */ | 1289 | /* we are last user */ |
1289 | if (_regulator_can_change_status(rdev) && | 1290 | if (_regulator_can_change_status(rdev) && |
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index f8b295700d7d..f9f516a3028a 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c | |||
@@ -196,11 +196,10 @@ static int regulator_fixed_voltage_remove(struct platform_device *pdev) | |||
196 | struct fixed_voltage_data *drvdata = platform_get_drvdata(pdev); | 196 | struct fixed_voltage_data *drvdata = platform_get_drvdata(pdev); |
197 | 197 | ||
198 | regulator_unregister(drvdata->dev); | 198 | regulator_unregister(drvdata->dev); |
199 | kfree(drvdata->desc.name); | ||
200 | kfree(drvdata); | ||
201 | |||
202 | if (gpio_is_valid(drvdata->gpio)) | 199 | if (gpio_is_valid(drvdata->gpio)) |
203 | gpio_free(drvdata->gpio); | 200 | gpio_free(drvdata->gpio); |
201 | kfree(drvdata->desc.name); | ||
202 | kfree(drvdata); | ||
204 | 203 | ||
205 | return 0; | 204 | return 0; |
206 | } | 205 | } |
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c index bb61aede4801..902db56ce099 100644 --- a/drivers/regulator/wm831x-ldo.c +++ b/drivers/regulator/wm831x-ldo.c | |||
@@ -175,18 +175,18 @@ static unsigned int wm831x_gp_ldo_get_mode(struct regulator_dev *rdev) | |||
175 | struct wm831x *wm831x = ldo->wm831x; | 175 | struct wm831x *wm831x = ldo->wm831x; |
176 | int ctrl_reg = ldo->base + WM831X_LDO_CONTROL; | 176 | int ctrl_reg = ldo->base + WM831X_LDO_CONTROL; |
177 | int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; | 177 | int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; |
178 | unsigned int ret; | 178 | int ret; |
179 | 179 | ||
180 | ret = wm831x_reg_read(wm831x, on_reg); | 180 | ret = wm831x_reg_read(wm831x, on_reg); |
181 | if (ret < 0) | 181 | if (ret < 0) |
182 | return 0; | 182 | return ret; |
183 | 183 | ||
184 | if (!(ret & WM831X_LDO1_ON_MODE)) | 184 | if (!(ret & WM831X_LDO1_ON_MODE)) |
185 | return REGULATOR_MODE_NORMAL; | 185 | return REGULATOR_MODE_NORMAL; |
186 | 186 | ||
187 | ret = wm831x_reg_read(wm831x, ctrl_reg); | 187 | ret = wm831x_reg_read(wm831x, ctrl_reg); |
188 | if (ret < 0) | 188 | if (ret < 0) |
189 | return 0; | 189 | return ret; |
190 | 190 | ||
191 | if (ret & WM831X_LDO1_LP_MODE) | 191 | if (ret & WM831X_LDO1_LP_MODE) |
192 | return REGULATOR_MODE_STANDBY; | 192 | return REGULATOR_MODE_STANDBY; |
diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c index 7fe1fa26c52c..03ea530981d1 100644 --- a/drivers/rtc/rtc-coh901331.c +++ b/drivers/rtc/rtc-coh901331.c | |||
@@ -58,7 +58,16 @@ static irqreturn_t coh901331_interrupt(int irq, void *data) | |||
58 | clk_enable(rtap->clk); | 58 | clk_enable(rtap->clk); |
59 | /* Ack IRQ */ | 59 | /* Ack IRQ */ |
60 | writel(1, rtap->virtbase + COH901331_IRQ_EVENT); | 60 | writel(1, rtap->virtbase + COH901331_IRQ_EVENT); |
61 | /* | ||
62 | * Disable the interrupt. This is necessary because | ||
63 | * the RTC lives on a lower-clocked line and will | ||
64 | * not release the IRQ line until after a few (slower) | ||
65 | * clock cycles. The interrupt will be re-enabled when | ||
66 | * a new alarm is set anyway. | ||
67 | */ | ||
68 | writel(0, rtap->virtbase + COH901331_IRQ_MASK); | ||
61 | clk_disable(rtap->clk); | 69 | clk_disable(rtap->clk); |
70 | |||
62 | /* Set alarm flag */ | 71 | /* Set alarm flag */ |
63 | rtc_update_irq(rtap->rtc, 1, RTC_AF); | 72 | rtc_update_irq(rtap->rtc, 1, RTC_AF); |
64 | 73 | ||
@@ -128,6 +137,8 @@ static int coh901331_alarm_irq_enable(struct device *dev, unsigned int enabled) | |||
128 | else | 137 | else |
129 | writel(0, rtap->virtbase + COH901331_IRQ_MASK); | 138 | writel(0, rtap->virtbase + COH901331_IRQ_MASK); |
130 | clk_disable(rtap->clk); | 139 | clk_disable(rtap->clk); |
140 | |||
141 | return 0; | ||
131 | } | 142 | } |
132 | 143 | ||
133 | static struct rtc_class_ops coh901331_ops = { | 144 | static struct rtc_class_ops coh901331_ops = { |
diff --git a/drivers/rtc/rtc-pcf50633.c b/drivers/rtc/rtc-pcf50633.c index f4dd87e29075..33a10c47260e 100644 --- a/drivers/rtc/rtc-pcf50633.c +++ b/drivers/rtc/rtc-pcf50633.c | |||
@@ -70,7 +70,7 @@ static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) | |||
70 | rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]); | 70 | rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]); |
71 | rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]); | 71 | rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]); |
72 | rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]); | 72 | rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]); |
73 | rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]); | 73 | rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1; |
74 | rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; | 74 | rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; |
75 | } | 75 | } |
76 | 76 | ||
@@ -81,7 +81,7 @@ static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) | |||
81 | pcf->time[PCF50633_TI_HOUR] = bin2bcd(rtc->tm_hour); | 81 | pcf->time[PCF50633_TI_HOUR] = bin2bcd(rtc->tm_hour); |
82 | pcf->time[PCF50633_TI_WKDAY] = bin2bcd(rtc->tm_wday); | 82 | pcf->time[PCF50633_TI_WKDAY] = bin2bcd(rtc->tm_wday); |
83 | pcf->time[PCF50633_TI_DAY] = bin2bcd(rtc->tm_mday); | 83 | pcf->time[PCF50633_TI_DAY] = bin2bcd(rtc->tm_mday); |
84 | pcf->time[PCF50633_TI_MONTH] = bin2bcd(rtc->tm_mon); | 84 | pcf->time[PCF50633_TI_MONTH] = bin2bcd(rtc->tm_mon + 1); |
85 | pcf->time[PCF50633_TI_YEAR] = bin2bcd(rtc->tm_year % 100); | 85 | pcf->time[PCF50633_TI_YEAR] = bin2bcd(rtc->tm_year % 100); |
86 | } | 86 | } |
87 | 87 | ||
@@ -245,8 +245,9 @@ static int pcf50633_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) | |||
245 | ret = pcf50633_write_block(rtc->pcf, PCF50633_REG_RTCSCA, | 245 | ret = pcf50633_write_block(rtc->pcf, PCF50633_REG_RTCSCA, |
246 | PCF50633_TI_EXTENT, &pcf_tm.time[0]); | 246 | PCF50633_TI_EXTENT, &pcf_tm.time[0]); |
247 | 247 | ||
248 | if (!alarm_masked) | 248 | if (!alarm_masked || alrm->enabled) |
249 | pcf50633_irq_unmask(rtc->pcf, PCF50633_IRQ_ALARM); | 249 | pcf50633_irq_unmask(rtc->pcf, PCF50633_IRQ_ALARM); |
250 | rtc->alarm_enabled = alrm->enabled; | ||
250 | 251 | ||
251 | return ret; | 252 | return ret; |
252 | } | 253 | } |
diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index ad164056feb6..423cd5a30b10 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c | |||
@@ -96,7 +96,7 @@ static void v3020_mmio_write_bit(struct v3020 *chip, unsigned char bit) | |||
96 | 96 | ||
97 | static unsigned char v3020_mmio_read_bit(struct v3020 *chip) | 97 | static unsigned char v3020_mmio_read_bit(struct v3020 *chip) |
98 | { | 98 | { |
99 | return readl(chip->ioaddress) & (1 << chip->leftshift); | 99 | return !!(readl(chip->ioaddress) & (1 << chip->leftshift)); |
100 | } | 100 | } |
101 | 101 | ||
102 | static struct v3020_chip_ops v3020_mmio_ops = { | 102 | static struct v3020_chip_ops v3020_mmio_ops = { |
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 2c839d0d21bd..fadddac1e5a4 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c | |||
@@ -209,19 +209,18 @@ static int vr41xx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *wkalrm) | |||
209 | 209 | ||
210 | static int vr41xx_rtc_irq_set_freq(struct device *dev, int freq) | 210 | static int vr41xx_rtc_irq_set_freq(struct device *dev, int freq) |
211 | { | 211 | { |
212 | unsigned long count; | 212 | u64 count; |
213 | 213 | ||
214 | if (!is_power_of_2(freq)) | 214 | if (!is_power_of_2(freq)) |
215 | return -EINVAL; | 215 | return -EINVAL; |
216 | count = RTC_FREQUENCY; | 216 | count = RTC_FREQUENCY; |
217 | do_div(count, freq); | 217 | do_div(count, freq); |
218 | 218 | ||
219 | periodic_count = count; | ||
220 | |||
221 | spin_lock_irq(&rtc_lock); | 219 | spin_lock_irq(&rtc_lock); |
222 | 220 | ||
223 | rtc1_write(RTCL1LREG, count); | 221 | periodic_count = count; |
224 | rtc1_write(RTCL1HREG, count >> 16); | 222 | rtc1_write(RTCL1LREG, periodic_count); |
223 | rtc1_write(RTCL1HREG, periodic_count >> 16); | ||
225 | 224 | ||
226 | spin_unlock_irq(&rtc_lock); | 225 | spin_unlock_irq(&rtc_lock); |
227 | 226 | ||
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index 89ece1c235aa..66e21dd23154 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c | |||
@@ -357,6 +357,7 @@ static int mon_close(struct inode *inode, struct file *filp) | |||
357 | atomic_set(&monpriv->msglim_count, 0); | 357 | atomic_set(&monpriv->msglim_count, 0); |
358 | monpriv->write_index = 0; | 358 | monpriv->write_index = 0; |
359 | monpriv->read_index = 0; | 359 | monpriv->read_index = 0; |
360 | dev_set_drvdata(monreader_device, NULL); | ||
360 | 361 | ||
361 | for (i = 0; i < MON_MSGLIM; i++) | 362 | for (i = 0; i < MON_MSGLIM; i++) |
362 | kfree(monpriv->msg_array[i]); | 363 | kfree(monpriv->msg_array[i]); |
diff --git a/drivers/s390/char/sclp_quiesce.c b/drivers/s390/char/sclp_quiesce.c index 84c191c1cd62..05909a7df8b3 100644 --- a/drivers/s390/char/sclp_quiesce.c +++ b/drivers/s390/char/sclp_quiesce.c | |||
@@ -20,9 +20,12 @@ | |||
20 | 20 | ||
21 | #include "sclp.h" | 21 | #include "sclp.h" |
22 | 22 | ||
23 | static void (*old_machine_restart)(char *); | ||
24 | static void (*old_machine_halt)(void); | ||
25 | static void (*old_machine_power_off)(void); | ||
26 | |||
23 | /* Shutdown handler. Signal completion of shutdown by loading special PSW. */ | 27 | /* Shutdown handler. Signal completion of shutdown by loading special PSW. */ |
24 | static void | 28 | static void do_machine_quiesce(void) |
25 | do_machine_quiesce(void) | ||
26 | { | 29 | { |
27 | psw_t quiesce_psw; | 30 | psw_t quiesce_psw; |
28 | 31 | ||
@@ -33,23 +36,48 @@ do_machine_quiesce(void) | |||
33 | } | 36 | } |
34 | 37 | ||
35 | /* Handler for quiesce event. Start shutdown procedure. */ | 38 | /* Handler for quiesce event. Start shutdown procedure. */ |
36 | static void | 39 | static void sclp_quiesce_handler(struct evbuf_header *evbuf) |
37 | sclp_quiesce_handler(struct evbuf_header *evbuf) | ||
38 | { | 40 | { |
39 | _machine_restart = (void *) do_machine_quiesce; | 41 | if (_machine_restart != (void *) do_machine_quiesce) { |
40 | _machine_halt = do_machine_quiesce; | 42 | old_machine_restart = _machine_restart; |
41 | _machine_power_off = do_machine_quiesce; | 43 | old_machine_halt = _machine_halt; |
44 | old_machine_power_off = _machine_power_off; | ||
45 | _machine_restart = (void *) do_machine_quiesce; | ||
46 | _machine_halt = do_machine_quiesce; | ||
47 | _machine_power_off = do_machine_quiesce; | ||
48 | } | ||
42 | ctrl_alt_del(); | 49 | ctrl_alt_del(); |
43 | } | 50 | } |
44 | 51 | ||
52 | /* Undo machine restart/halt/power_off modification on resume */ | ||
53 | static void sclp_quiesce_pm_event(struct sclp_register *reg, | ||
54 | enum sclp_pm_event sclp_pm_event) | ||
55 | { | ||
56 | switch (sclp_pm_event) { | ||
57 | case SCLP_PM_EVENT_RESTORE: | ||
58 | if (old_machine_restart) { | ||
59 | _machine_restart = old_machine_restart; | ||
60 | _machine_halt = old_machine_halt; | ||
61 | _machine_power_off = old_machine_power_off; | ||
62 | old_machine_restart = NULL; | ||
63 | old_machine_halt = NULL; | ||
64 | old_machine_power_off = NULL; | ||
65 | } | ||
66 | break; | ||
67 | case SCLP_PM_EVENT_FREEZE: | ||
68 | case SCLP_PM_EVENT_THAW: | ||
69 | break; | ||
70 | } | ||
71 | } | ||
72 | |||
45 | static struct sclp_register sclp_quiesce_event = { | 73 | static struct sclp_register sclp_quiesce_event = { |
46 | .receive_mask = EVTYP_SIGQUIESCE_MASK, | 74 | .receive_mask = EVTYP_SIGQUIESCE_MASK, |
47 | .receiver_fn = sclp_quiesce_handler | 75 | .receiver_fn = sclp_quiesce_handler, |
76 | .pm_event_fn = sclp_quiesce_pm_event | ||
48 | }; | 77 | }; |
49 | 78 | ||
50 | /* Initialize quiesce driver. */ | 79 | /* Initialize quiesce driver. */ |
51 | static int __init | 80 | static int __init sclp_quiesce_init(void) |
52 | sclp_quiesce_init(void) | ||
53 | { | 81 | { |
54 | return sclp_register(&sclp_quiesce_event); | 82 | return sclp_register(&sclp_quiesce_event); |
55 | } | 83 | } |
diff --git a/drivers/scsi/bfa/bfad_fwimg.c b/drivers/scsi/bfa/bfad_fwimg.c index b2f6949bc8d3..bd34b0db2d6b 100644 --- a/drivers/scsi/bfa/bfad_fwimg.c +++ b/drivers/scsi/bfa/bfad_fwimg.c | |||
@@ -41,6 +41,8 @@ u32 *bfi_image_cb; | |||
41 | 41 | ||
42 | #define BFAD_FW_FILE_CT "ctfw.bin" | 42 | #define BFAD_FW_FILE_CT "ctfw.bin" |
43 | #define BFAD_FW_FILE_CB "cbfw.bin" | 43 | #define BFAD_FW_FILE_CB "cbfw.bin" |
44 | MODULE_FIRMWARE(BFAD_FW_FILE_CT); | ||
45 | MODULE_FIRMWARE(BFAD_FW_FILE_CB); | ||
44 | 46 | ||
45 | u32 * | 47 | u32 * |
46 | bfad_read_firmware(struct pci_dev *pdev, u32 **bfi_image, | 48 | bfad_read_firmware(struct pci_dev *pdev, u32 **bfi_image, |
diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c index 158c99243c08..55d012a9a668 100644 --- a/drivers/scsi/bfa/bfad_im.c +++ b/drivers/scsi/bfa/bfad_im.c | |||
@@ -948,7 +948,7 @@ bfad_os_fc_host_init(struct bfad_im_port_s *im_port) | |||
948 | if (bfad_supported_fc4s & (BFA_PORT_ROLE_FCP_IM | BFA_PORT_ROLE_FCP_TM)) | 948 | if (bfad_supported_fc4s & (BFA_PORT_ROLE_FCP_IM | BFA_PORT_ROLE_FCP_TM)) |
949 | /* For FCP type 0x08 */ | 949 | /* For FCP type 0x08 */ |
950 | fc_host_supported_fc4s(host)[2] = 1; | 950 | fc_host_supported_fc4s(host)[2] = 1; |
951 | if (bfad_supported_fc4s | BFA_PORT_ROLE_FCP_IPFC) | 951 | if (bfad_supported_fc4s & BFA_PORT_ROLE_FCP_IPFC) |
952 | /* For LLC/SNAP type 0x05 */ | 952 | /* For LLC/SNAP type 0x05 */ |
953 | fc_host_supported_fc4s(host)[3] = 0x20; | 953 | fc_host_supported_fc4s(host)[3] = 0x20; |
954 | /* For fibre channel services type 0x20 */ | 954 | /* For fibre channel services type 0x20 */ |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 185e6bc4dd40..9e8fce0f0c1b 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -2900,7 +2900,7 @@ static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr) | |||
2900 | eindex = handle; | 2900 | eindex = handle; |
2901 | estr->event_source = 0; | 2901 | estr->event_source = 0; |
2902 | 2902 | ||
2903 | if (eindex >= MAX_EVENTS) { | 2903 | if (eindex < 0 || eindex >= MAX_EVENTS) { |
2904 | spin_unlock_irqrestore(&ha->smp_lock, flags); | 2904 | spin_unlock_irqrestore(&ha->smp_lock, flags); |
2905 | return eindex; | 2905 | return eindex; |
2906 | } | 2906 | } |
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 5f045505a1f4..76d294fc7846 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -4189,6 +4189,25 @@ static irqreturn_t ipr_handle_other_interrupt(struct ipr_ioa_cfg *ioa_cfg, | |||
4189 | } | 4189 | } |
4190 | 4190 | ||
4191 | /** | 4191 | /** |
4192 | * ipr_isr_eh - Interrupt service routine error handler | ||
4193 | * @ioa_cfg: ioa config struct | ||
4194 | * @msg: message to log | ||
4195 | * | ||
4196 | * Return value: | ||
4197 | * none | ||
4198 | **/ | ||
4199 | static void ipr_isr_eh(struct ipr_ioa_cfg *ioa_cfg, char *msg) | ||
4200 | { | ||
4201 | ioa_cfg->errors_logged++; | ||
4202 | dev_err(&ioa_cfg->pdev->dev, "%s\n", msg); | ||
4203 | |||
4204 | if (WAIT_FOR_DUMP == ioa_cfg->sdt_state) | ||
4205 | ioa_cfg->sdt_state = GET_DUMP; | ||
4206 | |||
4207 | ipr_initiate_ioa_reset(ioa_cfg, IPR_SHUTDOWN_NONE); | ||
4208 | } | ||
4209 | |||
4210 | /** | ||
4192 | * ipr_isr - Interrupt service routine | 4211 | * ipr_isr - Interrupt service routine |
4193 | * @irq: irq number | 4212 | * @irq: irq number |
4194 | * @devp: pointer to ioa config struct | 4213 | * @devp: pointer to ioa config struct |
@@ -4203,6 +4222,7 @@ static irqreturn_t ipr_isr(int irq, void *devp) | |||
4203 | volatile u32 int_reg, int_mask_reg; | 4222 | volatile u32 int_reg, int_mask_reg; |
4204 | u32 ioasc; | 4223 | u32 ioasc; |
4205 | u16 cmd_index; | 4224 | u16 cmd_index; |
4225 | int num_hrrq = 0; | ||
4206 | struct ipr_cmnd *ipr_cmd; | 4226 | struct ipr_cmnd *ipr_cmd; |
4207 | irqreturn_t rc = IRQ_NONE; | 4227 | irqreturn_t rc = IRQ_NONE; |
4208 | 4228 | ||
@@ -4233,13 +4253,7 @@ static irqreturn_t ipr_isr(int irq, void *devp) | |||
4233 | IPR_HRRQ_REQ_RESP_HANDLE_MASK) >> IPR_HRRQ_REQ_RESP_HANDLE_SHIFT; | 4253 | IPR_HRRQ_REQ_RESP_HANDLE_MASK) >> IPR_HRRQ_REQ_RESP_HANDLE_SHIFT; |
4234 | 4254 | ||
4235 | if (unlikely(cmd_index >= IPR_NUM_CMD_BLKS)) { | 4255 | if (unlikely(cmd_index >= IPR_NUM_CMD_BLKS)) { |
4236 | ioa_cfg->errors_logged++; | 4256 | ipr_isr_eh(ioa_cfg, "Invalid response handle from IOA"); |
4237 | dev_err(&ioa_cfg->pdev->dev, "Invalid response handle from IOA\n"); | ||
4238 | |||
4239 | if (WAIT_FOR_DUMP == ioa_cfg->sdt_state) | ||
4240 | ioa_cfg->sdt_state = GET_DUMP; | ||
4241 | |||
4242 | ipr_initiate_ioa_reset(ioa_cfg, IPR_SHUTDOWN_NONE); | ||
4243 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); | 4257 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); |
4244 | return IRQ_HANDLED; | 4258 | return IRQ_HANDLED; |
4245 | } | 4259 | } |
@@ -4266,8 +4280,18 @@ static irqreturn_t ipr_isr(int irq, void *devp) | |||
4266 | 4280 | ||
4267 | if (ipr_cmd != NULL) { | 4281 | if (ipr_cmd != NULL) { |
4268 | /* Clear the PCI interrupt */ | 4282 | /* Clear the PCI interrupt */ |
4269 | writel(IPR_PCII_HRRQ_UPDATED, ioa_cfg->regs.clr_interrupt_reg); | 4283 | do { |
4270 | int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; | 4284 | writel(IPR_PCII_HRRQ_UPDATED, ioa_cfg->regs.clr_interrupt_reg); |
4285 | int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; | ||
4286 | } while (int_reg & IPR_PCII_HRRQ_UPDATED && | ||
4287 | num_hrrq++ < IPR_MAX_HRRQ_RETRIES); | ||
4288 | |||
4289 | if (int_reg & IPR_PCII_HRRQ_UPDATED) { | ||
4290 | ipr_isr_eh(ioa_cfg, "Error clearing HRRQ"); | ||
4291 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); | ||
4292 | return IRQ_HANDLED; | ||
4293 | } | ||
4294 | |||
4271 | } else | 4295 | } else |
4272 | break; | 4296 | break; |
4273 | } | 4297 | } |
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 163245a1c3e5..19bbcf39f0c9 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -144,6 +144,7 @@ | |||
144 | #define IPR_IOA_MAX_SECTORS 32767 | 144 | #define IPR_IOA_MAX_SECTORS 32767 |
145 | #define IPR_VSET_MAX_SECTORS 512 | 145 | #define IPR_VSET_MAX_SECTORS 512 |
146 | #define IPR_MAX_CDB_LEN 16 | 146 | #define IPR_MAX_CDB_LEN 16 |
147 | #define IPR_MAX_HRRQ_RETRIES 3 | ||
147 | 148 | ||
148 | #define IPR_DEFAULT_BUS_WIDTH 16 | 149 | #define IPR_DEFAULT_BUS_WIDTH 16 |
149 | #define IPR_80MBs_SCSI_RATE ((80 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8)) | 150 | #define IPR_80MBs_SCSI_RATE ((80 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8)) |
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index b3381959acce..33cf988c8c8a 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b/drivers/scsi/libsas/sas_expander.c | |||
@@ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) | |||
960 | 960 | ||
961 | } | 961 | } |
962 | } | 962 | } |
963 | res = 0; | ||
964 | } | 963 | } |
965 | 964 | ||
966 | return res; | 965 | return res; |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index f7c70e2a8224..0a97bc9074bb 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -1071,7 +1071,7 @@ static struct pmcraid_cmd *pmcraid_init_hcam | |||
1071 | 1071 | ||
1072 | ioarcb->data_transfer_length = cpu_to_le32(rcb_size); | 1072 | ioarcb->data_transfer_length = cpu_to_le32(rcb_size); |
1073 | 1073 | ||
1074 | ioadl[0].flags |= cpu_to_le32(IOADL_FLAGS_READ_LAST); | 1074 | ioadl[0].flags |= IOADL_FLAGS_READ_LAST; |
1075 | ioadl[0].data_len = cpu_to_le32(rcb_size); | 1075 | ioadl[0].data_len = cpu_to_le32(rcb_size); |
1076 | ioadl[0].address = cpu_to_le32(dma); | 1076 | ioadl[0].address = cpu_to_le32(dma); |
1077 | 1077 | ||
@@ -2251,7 +2251,7 @@ static void pmcraid_request_sense(struct pmcraid_cmd *cmd) | |||
2251 | 2251 | ||
2252 | ioadl->address = cpu_to_le64(cmd->sense_buffer_dma); | 2252 | ioadl->address = cpu_to_le64(cmd->sense_buffer_dma); |
2253 | ioadl->data_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE); | 2253 | ioadl->data_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE); |
2254 | ioadl->flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 2254 | ioadl->flags = IOADL_FLAGS_LAST_DESC; |
2255 | 2255 | ||
2256 | /* request sense might be called as part of error response processing | 2256 | /* request sense might be called as part of error response processing |
2257 | * which runs in tasklets context. It is possible that mid-layer might | 2257 | * which runs in tasklets context. It is possible that mid-layer might |
@@ -3017,7 +3017,7 @@ static int pmcraid_build_ioadl( | |||
3017 | ioadl[i].flags = 0; | 3017 | ioadl[i].flags = 0; |
3018 | } | 3018 | } |
3019 | /* setup last descriptor */ | 3019 | /* setup last descriptor */ |
3020 | ioadl[i - 1].flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 3020 | ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC; |
3021 | 3021 | ||
3022 | return 0; | 3022 | return 0; |
3023 | } | 3023 | } |
@@ -3387,7 +3387,7 @@ static int pmcraid_build_passthrough_ioadls( | |||
3387 | } | 3387 | } |
3388 | 3388 | ||
3389 | /* setup the last descriptor */ | 3389 | /* setup the last descriptor */ |
3390 | ioadl[i - 1].flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 3390 | ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC; |
3391 | 3391 | ||
3392 | return 0; | 3392 | return 0; |
3393 | } | 3393 | } |
@@ -5314,7 +5314,7 @@ static void pmcraid_querycfg(struct pmcraid_cmd *cmd) | |||
5314 | cpu_to_le32(sizeof(struct pmcraid_config_table)); | 5314 | cpu_to_le32(sizeof(struct pmcraid_config_table)); |
5315 | 5315 | ||
5316 | ioadl = &(ioarcb->add_data.u.ioadl[0]); | 5316 | ioadl = &(ioarcb->add_data.u.ioadl[0]); |
5317 | ioadl->flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 5317 | ioadl->flags = IOADL_FLAGS_LAST_DESC; |
5318 | ioadl->address = cpu_to_le64(pinstance->cfg_table_bus_addr); | 5318 | ioadl->address = cpu_to_le64(pinstance->cfg_table_bus_addr); |
5319 | ioadl->data_len = cpu_to_le32(sizeof(struct pmcraid_config_table)); | 5319 | ioadl->data_len = cpu_to_le32(sizeof(struct pmcraid_config_table)); |
5320 | 5320 | ||
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index a67fed10598a..c6f70dae9b2e 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/drivers/scsi/scsi_transport_fc.c | |||
@@ -3656,6 +3656,7 @@ fc_bsg_host_dispatch(struct request_queue *q, struct Scsi_Host *shost, | |||
3656 | fail_host_msg: | 3656 | fail_host_msg: |
3657 | /* return the errno failure code as the only status */ | 3657 | /* return the errno failure code as the only status */ |
3658 | BUG_ON(job->reply_len < sizeof(uint32_t)); | 3658 | BUG_ON(job->reply_len < sizeof(uint32_t)); |
3659 | job->reply->reply_payload_rcv_len = 0; | ||
3659 | job->reply->result = ret; | 3660 | job->reply->result = ret; |
3660 | job->reply_len = sizeof(uint32_t); | 3661 | job->reply_len = sizeof(uint32_t); |
3661 | fc_bsg_jobdone(job); | 3662 | fc_bsg_jobdone(job); |
@@ -3741,6 +3742,7 @@ check_bidi: | |||
3741 | fail_rport_msg: | 3742 | fail_rport_msg: |
3742 | /* return the errno failure code as the only status */ | 3743 | /* return the errno failure code as the only status */ |
3743 | BUG_ON(job->reply_len < sizeof(uint32_t)); | 3744 | BUG_ON(job->reply_len < sizeof(uint32_t)); |
3745 | job->reply->reply_payload_rcv_len = 0; | ||
3744 | job->reply->result = ret; | 3746 | job->reply->result = ret; |
3745 | job->reply_len = sizeof(uint32_t); | 3747 | job->reply_len = sizeof(uint32_t); |
3746 | fc_bsg_jobdone(job); | 3748 | fc_bsg_jobdone(job); |
@@ -3797,6 +3799,7 @@ fc_bsg_request_handler(struct request_queue *q, struct Scsi_Host *shost, | |||
3797 | /* check if we have the msgcode value at least */ | 3799 | /* check if we have the msgcode value at least */ |
3798 | if (job->request_len < sizeof(uint32_t)) { | 3800 | if (job->request_len < sizeof(uint32_t)) { |
3799 | BUG_ON(job->reply_len < sizeof(uint32_t)); | 3801 | BUG_ON(job->reply_len < sizeof(uint32_t)); |
3802 | job->reply->reply_payload_rcv_len = 0; | ||
3800 | job->reply->result = -ENOMSG; | 3803 | job->reply->result = -ENOMSG; |
3801 | job->reply_len = sizeof(uint32_t); | 3804 | job->reply_len = sizeof(uint32_t); |
3802 | fc_bsg_jobdone(job); | 3805 | fc_bsg_jobdone(job); |
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index b1ae774016f1..737b4c960971 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -1089,7 +1089,7 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) | |||
1089 | if (!up->port.iobase && !up->port.mapbase && !up->port.membase) | 1089 | if (!up->port.iobase && !up->port.mapbase && !up->port.membase) |
1090 | return; | 1090 | return; |
1091 | 1091 | ||
1092 | DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04x, 0x%p): ", | 1092 | DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04lx, 0x%p): ", |
1093 | serial_index(&up->port), up->port.iobase, up->port.membase); | 1093 | serial_index(&up->port), up->port.iobase, up->port.membase); |
1094 | 1094 | ||
1095 | /* | 1095 | /* |
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 42e8550cd2b6..b28af13c45a1 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c | |||
@@ -2383,7 +2383,7 @@ pciserial_init_ports(struct pci_dev *dev, const struct pciserial_board *board) | |||
2383 | break; | 2383 | break; |
2384 | 2384 | ||
2385 | #ifdef SERIAL_DEBUG_PCI | 2385 | #ifdef SERIAL_DEBUG_PCI |
2386 | printk(KERN_DEBUG "Setup PCI port: port %x, irq %d, type %d\n", | 2386 | printk(KERN_DEBUG "Setup PCI port: port %lx, irq %d, type %d\n", |
2387 | serial_port.iobase, serial_port.irq, serial_port.iotype); | 2387 | serial_port.iobase, serial_port.irq, serial_port.iotype); |
2388 | #endif | 2388 | #endif |
2389 | 2389 | ||
@@ -3139,6 +3139,12 @@ static struct pci_device_id serial_pci_tbl[] = { | |||
3139 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATRO_B, | 3139 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATRO_B, |
3140 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 3140 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
3141 | pbn_b0_bt_2_115200 }, | 3141 | pbn_b0_bt_2_115200 }, |
3142 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATTRO_A, | ||
3143 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | ||
3144 | pbn_b0_bt_2_115200 }, | ||
3145 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATTRO_B, | ||
3146 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | ||
3147 | pbn_b0_bt_2_115200 }, | ||
3142 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A, | 3148 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A, |
3143 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 3149 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
3144 | pbn_b0_bt_4_460800 }, | 3150 | pbn_b0_bt_4_460800 }, |
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 85119fb7cb50..6498bd1fb6dd 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
@@ -1143,7 +1143,7 @@ static void serial_console_write(struct console *co, const char *s, | |||
1143 | while ((sci_in(port, SCxSR) & bits) != bits) | 1143 | while ((sci_in(port, SCxSR) & bits) != bits) |
1144 | cpu_relax(); | 1144 | cpu_relax(); |
1145 | 1145 | ||
1146 | if (sci_port->disable); | 1146 | if (sci_port->disable) |
1147 | sci_port->disable(port); | 1147 | sci_port->disable(port); |
1148 | } | 1148 | } |
1149 | 1149 | ||
diff --git a/drivers/spi/spi_stmp.c b/drivers/spi/spi_stmp.c index d871dc23909c..2552bb364005 100644 --- a/drivers/spi/spi_stmp.c +++ b/drivers/spi/spi_stmp.c | |||
@@ -242,7 +242,7 @@ static int stmp_spi_txrx_dma(struct stmp_spi *ss, int cs, | |||
242 | wait_for_completion(&ss->done); | 242 | wait_for_completion(&ss->done); |
243 | 243 | ||
244 | if (!busy_wait(readl(ss->regs + HW_SSP_CTRL0) & BM_SSP_CTRL0_RUN)) | 244 | if (!busy_wait(readl(ss->regs + HW_SSP_CTRL0) & BM_SSP_CTRL0_RUN)) |
245 | status = ETIMEDOUT; | 245 | status = -ETIMEDOUT; |
246 | 246 | ||
247 | if (!dma_buf) | 247 | if (!dma_buf) |
248 | dma_unmap_single(ss->master_dev, spi_buf_dma, len, dir); | 248 | dma_unmap_single(ss->master_dev, spi_buf_dma, len, dir); |
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index b74212d698c7..e8b89e8ac9bd 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c | |||
@@ -162,6 +162,8 @@ static u8 chipid_to_nrcores(u16 chipid) | |||
162 | static u32 scan_read32(struct ssb_bus *bus, u8 current_coreidx, | 162 | static u32 scan_read32(struct ssb_bus *bus, u8 current_coreidx, |
163 | u16 offset) | 163 | u16 offset) |
164 | { | 164 | { |
165 | u32 lo, hi; | ||
166 | |||
165 | switch (bus->bustype) { | 167 | switch (bus->bustype) { |
166 | case SSB_BUSTYPE_SSB: | 168 | case SSB_BUSTYPE_SSB: |
167 | offset += current_coreidx * SSB_CORE_SIZE; | 169 | offset += current_coreidx * SSB_CORE_SIZE; |
@@ -174,7 +176,9 @@ static u32 scan_read32(struct ssb_bus *bus, u8 current_coreidx, | |||
174 | offset -= 0x800; | 176 | offset -= 0x800; |
175 | } else | 177 | } else |
176 | ssb_pcmcia_switch_segment(bus, 0); | 178 | ssb_pcmcia_switch_segment(bus, 0); |
177 | break; | 179 | lo = readw(bus->mmio + offset); |
180 | hi = readw(bus->mmio + offset + 2); | ||
181 | return lo | (hi << 16); | ||
178 | case SSB_BUSTYPE_SDIO: | 182 | case SSB_BUSTYPE_SDIO: |
179 | offset += current_coreidx * SSB_CORE_SIZE; | 183 | offset += current_coreidx * SSB_CORE_SIZE; |
180 | return ssb_sdio_scan_read32(bus, offset); | 184 | return ssb_sdio_scan_read32(bus, offset); |
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 4e83c297ec9e..6f8d8f971212 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c | |||
@@ -180,15 +180,15 @@ trip_point_type_show(struct device *dev, struct device_attribute *attr, | |||
180 | 180 | ||
181 | switch (type) { | 181 | switch (type) { |
182 | case THERMAL_TRIP_CRITICAL: | 182 | case THERMAL_TRIP_CRITICAL: |
183 | return sprintf(buf, "critical"); | 183 | return sprintf(buf, "critical\n"); |
184 | case THERMAL_TRIP_HOT: | 184 | case THERMAL_TRIP_HOT: |
185 | return sprintf(buf, "hot"); | 185 | return sprintf(buf, "hot\n"); |
186 | case THERMAL_TRIP_PASSIVE: | 186 | case THERMAL_TRIP_PASSIVE: |
187 | return sprintf(buf, "passive"); | 187 | return sprintf(buf, "passive\n"); |
188 | case THERMAL_TRIP_ACTIVE: | 188 | case THERMAL_TRIP_ACTIVE: |
189 | return sprintf(buf, "active"); | 189 | return sprintf(buf, "active\n"); |
190 | default: | 190 | default: |
191 | return sprintf(buf, "unknown"); | 191 | return sprintf(buf, "unknown\n"); |
192 | } | 192 | } |
193 | } | 193 | } |
194 | 194 | ||
diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index 02347c57357d..aa53db9f2e88 100644 --- a/drivers/uio/uio_pdrv_genirq.c +++ b/drivers/uio/uio_pdrv_genirq.c | |||
@@ -178,6 +178,7 @@ static int uio_pdrv_genirq_probe(struct platform_device *pdev) | |||
178 | return 0; | 178 | return 0; |
179 | bad1: | 179 | bad1: |
180 | kfree(priv); | 180 | kfree(priv); |
181 | pm_runtime_disable(&pdev->dev); | ||
181 | bad0: | 182 | bad0: |
182 | return ret; | 183 | return ret; |
183 | } | 184 | } |
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index e3861b21e776..e4eca7810bcf 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -609,9 +609,9 @@ static int acm_tty_open(struct tty_struct *tty, struct file *filp) | |||
609 | 609 | ||
610 | acm->throttle = 0; | 610 | acm->throttle = 0; |
611 | 611 | ||
612 | tasklet_schedule(&acm->urb_task); | ||
613 | set_bit(ASYNCB_INITIALIZED, &acm->port.flags); | 612 | set_bit(ASYNCB_INITIALIZED, &acm->port.flags); |
614 | rv = tty_port_block_til_ready(&acm->port, tty, filp); | 613 | rv = tty_port_block_til_ready(&acm->port, tty, filp); |
614 | tasklet_schedule(&acm->urb_task); | ||
615 | done: | 615 | done: |
616 | mutex_unlock(&acm->mutex); | 616 | mutex_unlock(&acm->mutex); |
617 | err_out: | 617 | err_out: |
@@ -686,15 +686,21 @@ static void acm_tty_close(struct tty_struct *tty, struct file *filp) | |||
686 | 686 | ||
687 | /* Perform the closing process and see if we need to do the hardware | 687 | /* Perform the closing process and see if we need to do the hardware |
688 | shutdown */ | 688 | shutdown */ |
689 | if (!acm || tty_port_close_start(&acm->port, tty, filp) == 0) | 689 | if (!acm) |
690 | return; | ||
691 | if (tty_port_close_start(&acm->port, tty, filp) == 0) { | ||
692 | mutex_lock(&open_mutex); | ||
693 | if (!acm->dev) { | ||
694 | tty_port_tty_set(&acm->port, NULL); | ||
695 | acm_tty_unregister(acm); | ||
696 | tty->driver_data = NULL; | ||
697 | } | ||
698 | mutex_unlock(&open_mutex); | ||
690 | return; | 699 | return; |
700 | } | ||
691 | acm_port_down(acm, 0); | 701 | acm_port_down(acm, 0); |
692 | tty_port_close_end(&acm->port, tty); | 702 | tty_port_close_end(&acm->port, tty); |
693 | mutex_lock(&open_mutex); | ||
694 | tty_port_tty_set(&acm->port, NULL); | 703 | tty_port_tty_set(&acm->port, NULL); |
695 | if (!acm->dev) | ||
696 | acm_tty_unregister(acm); | ||
697 | mutex_unlock(&open_mutex); | ||
698 | } | 704 | } |
699 | 705 | ||
700 | static int acm_tty_write(struct tty_struct *tty, | 706 | static int acm_tty_write(struct tty_struct *tty, |
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 78bb7710f36d..24eb74781919 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -87,6 +87,7 @@ static int ohci_restart (struct ohci_hcd *ohci); | |||
87 | #ifdef CONFIG_PCI | 87 | #ifdef CONFIG_PCI |
88 | static void quirk_amd_pll(int state); | 88 | static void quirk_amd_pll(int state); |
89 | static void amd_iso_dev_put(void); | 89 | static void amd_iso_dev_put(void); |
90 | static void sb800_prefetch(struct ohci_hcd *ohci, int on); | ||
90 | #else | 91 | #else |
91 | static inline void quirk_amd_pll(int state) | 92 | static inline void quirk_amd_pll(int state) |
92 | { | 93 | { |
@@ -96,6 +97,10 @@ static inline void amd_iso_dev_put(void) | |||
96 | { | 97 | { |
97 | return; | 98 | return; |
98 | } | 99 | } |
100 | static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) | ||
101 | { | ||
102 | return; | ||
103 | } | ||
99 | #endif | 104 | #endif |
100 | 105 | ||
101 | 106 | ||
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index d2ba04dd785e..b8a1148f248e 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
@@ -177,6 +177,13 @@ static int ohci_quirk_amd700(struct usb_hcd *hcd) | |||
177 | return 0; | 177 | return 0; |
178 | 178 | ||
179 | pci_read_config_byte(amd_smbus_dev, PCI_REVISION_ID, &rev); | 179 | pci_read_config_byte(amd_smbus_dev, PCI_REVISION_ID, &rev); |
180 | |||
181 | /* SB800 needs pre-fetch fix */ | ||
182 | if ((rev >= 0x40) && (rev <= 0x4f)) { | ||
183 | ohci->flags |= OHCI_QUIRK_AMD_PREFETCH; | ||
184 | ohci_dbg(ohci, "enabled AMD prefetch quirk\n"); | ||
185 | } | ||
186 | |||
180 | if ((rev > 0x3b) || (rev < 0x30)) { | 187 | if ((rev > 0x3b) || (rev < 0x30)) { |
181 | pci_dev_put(amd_smbus_dev); | 188 | pci_dev_put(amd_smbus_dev); |
182 | amd_smbus_dev = NULL; | 189 | amd_smbus_dev = NULL; |
@@ -262,6 +269,19 @@ static void amd_iso_dev_put(void) | |||
262 | 269 | ||
263 | } | 270 | } |
264 | 271 | ||
272 | static void sb800_prefetch(struct ohci_hcd *ohci, int on) | ||
273 | { | ||
274 | struct pci_dev *pdev; | ||
275 | u16 misc; | ||
276 | |||
277 | pdev = to_pci_dev(ohci_to_hcd(ohci)->self.controller); | ||
278 | pci_read_config_word(pdev, 0x50, &misc); | ||
279 | if (on == 0) | ||
280 | pci_write_config_word(pdev, 0x50, misc & 0xfcff); | ||
281 | else | ||
282 | pci_write_config_word(pdev, 0x50, misc | 0x0300); | ||
283 | } | ||
284 | |||
265 | /* List of quirks for OHCI */ | 285 | /* List of quirks for OHCI */ |
266 | static const struct pci_device_id ohci_pci_quirks[] = { | 286 | static const struct pci_device_id ohci_pci_quirks[] = { |
267 | { | 287 | { |
diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c index 16fecb8ecc39..35288bcae0db 100644 --- a/drivers/usb/host/ohci-q.c +++ b/drivers/usb/host/ohci-q.c | |||
@@ -49,9 +49,12 @@ __acquires(ohci->lock) | |||
49 | switch (usb_pipetype (urb->pipe)) { | 49 | switch (usb_pipetype (urb->pipe)) { |
50 | case PIPE_ISOCHRONOUS: | 50 | case PIPE_ISOCHRONOUS: |
51 | ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; | 51 | ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; |
52 | if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 | 52 | if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { |
53 | && quirk_amdiso(ohci)) | 53 | if (quirk_amdiso(ohci)) |
54 | quirk_amd_pll(1); | 54 | quirk_amd_pll(1); |
55 | if (quirk_amdprefetch(ohci)) | ||
56 | sb800_prefetch(ohci, 0); | ||
57 | } | ||
55 | break; | 58 | break; |
56 | case PIPE_INTERRUPT: | 59 | case PIPE_INTERRUPT: |
57 | ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; | 60 | ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; |
@@ -680,9 +683,12 @@ static void td_submit_urb ( | |||
680 | data + urb->iso_frame_desc [cnt].offset, | 683 | data + urb->iso_frame_desc [cnt].offset, |
681 | urb->iso_frame_desc [cnt].length, urb, cnt); | 684 | urb->iso_frame_desc [cnt].length, urb, cnt); |
682 | } | 685 | } |
683 | if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 | 686 | if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { |
684 | && quirk_amdiso(ohci)) | 687 | if (quirk_amdiso(ohci)) |
685 | quirk_amd_pll(0); | 688 | quirk_amd_pll(0); |
689 | if (quirk_amdprefetch(ohci)) | ||
690 | sb800_prefetch(ohci, 1); | ||
691 | } | ||
686 | periodic = ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs++ == 0 | 692 | periodic = ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs++ == 0 |
687 | && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0; | 693 | && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0; |
688 | break; | 694 | break; |
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 222011f6172c..5bf15fed0d9f 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h | |||
@@ -402,6 +402,7 @@ struct ohci_hcd { | |||
402 | #define OHCI_QUIRK_FRAME_NO 0x80 /* no big endian frame_no shift */ | 402 | #define OHCI_QUIRK_FRAME_NO 0x80 /* no big endian frame_no shift */ |
403 | #define OHCI_QUIRK_HUB_POWER 0x100 /* distrust firmware power/oc setup */ | 403 | #define OHCI_QUIRK_HUB_POWER 0x100 /* distrust firmware power/oc setup */ |
404 | #define OHCI_QUIRK_AMD_ISO 0x200 /* ISO transfers*/ | 404 | #define OHCI_QUIRK_AMD_ISO 0x200 /* ISO transfers*/ |
405 | #define OHCI_QUIRK_AMD_PREFETCH 0x400 /* pre-fetch for ISO transfer */ | ||
405 | // there are also chip quirks/bugs in init logic | 406 | // there are also chip quirks/bugs in init logic |
406 | 407 | ||
407 | struct work_struct nec_work; /* Worker for NEC quirk */ | 408 | struct work_struct nec_work; /* Worker for NEC quirk */ |
@@ -433,6 +434,10 @@ static inline int quirk_amdiso(struct ohci_hcd *ohci) | |||
433 | { | 434 | { |
434 | return ohci->flags & OHCI_QUIRK_AMD_ISO; | 435 | return ohci->flags & OHCI_QUIRK_AMD_ISO; |
435 | } | 436 | } |
437 | static inline int quirk_amdprefetch(struct ohci_hcd *ohci) | ||
438 | { | ||
439 | return ohci->flags & OHCI_QUIRK_AMD_PREFETCH; | ||
440 | } | ||
436 | #else | 441 | #else |
437 | static inline int quirk_nec(struct ohci_hcd *ohci) | 442 | static inline int quirk_nec(struct ohci_hcd *ohci) |
438 | { | 443 | { |
@@ -446,6 +451,10 @@ static inline int quirk_amdiso(struct ohci_hcd *ohci) | |||
446 | { | 451 | { |
447 | return 0; | 452 | return 0; |
448 | } | 453 | } |
454 | static inline int quirk_amdprefetch(struct ohci_hcd *ohci) | ||
455 | { | ||
456 | return 0; | ||
457 | } | ||
449 | #endif | 458 | #endif |
450 | 459 | ||
451 | /* convert between an hcd pointer and the corresponding ohci_hcd */ | 460 | /* convert between an hcd pointer and the corresponding ohci_hcd */ |
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 1db4fea8c170..b8fd270a8b0d 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -802,9 +802,11 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) | |||
802 | int i; | 802 | int i; |
803 | 803 | ||
804 | /* Free the Event Ring Segment Table and the actual Event Ring */ | 804 | /* Free the Event Ring Segment Table and the actual Event Ring */ |
805 | xhci_writel(xhci, 0, &xhci->ir_set->erst_size); | 805 | if (xhci->ir_set) { |
806 | xhci_write_64(xhci, 0, &xhci->ir_set->erst_base); | 806 | xhci_writel(xhci, 0, &xhci->ir_set->erst_size); |
807 | xhci_write_64(xhci, 0, &xhci->ir_set->erst_dequeue); | 807 | xhci_write_64(xhci, 0, &xhci->ir_set->erst_base); |
808 | xhci_write_64(xhci, 0, &xhci->ir_set->erst_dequeue); | ||
809 | } | ||
808 | size = sizeof(struct xhci_erst_entry)*(xhci->erst.num_entries); | 810 | size = sizeof(struct xhci_erst_entry)*(xhci->erst.num_entries); |
809 | if (xhci->erst.entries) | 811 | if (xhci->erst.entries) |
810 | pci_free_consistent(pdev, size, | 812 | pci_free_consistent(pdev, size, |
@@ -841,9 +843,9 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) | |||
841 | xhci->dcbaa, xhci->dcbaa->dma); | 843 | xhci->dcbaa, xhci->dcbaa->dma); |
842 | xhci->dcbaa = NULL; | 844 | xhci->dcbaa = NULL; |
843 | 845 | ||
846 | scratchpad_free(xhci); | ||
844 | xhci->page_size = 0; | 847 | xhci->page_size = 0; |
845 | xhci->page_shift = 0; | 848 | xhci->page_shift = 0; |
846 | scratchpad_free(xhci); | ||
847 | } | 849 | } |
848 | 850 | ||
849 | int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | 851 | int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) |
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 173c39c76489..821b7b4709de 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -864,9 +864,11 @@ static struct xhci_segment *trb_in_td( | |||
864 | cur_seg = start_seg; | 864 | cur_seg = start_seg; |
865 | 865 | ||
866 | do { | 866 | do { |
867 | if (start_dma == 0) | ||
868 | return 0; | ||
867 | /* We may get an event for a Link TRB in the middle of a TD */ | 869 | /* We may get an event for a Link TRB in the middle of a TD */ |
868 | end_seg_dma = xhci_trb_virt_to_dma(cur_seg, | 870 | end_seg_dma = xhci_trb_virt_to_dma(cur_seg, |
869 | &start_seg->trbs[TRBS_PER_SEGMENT - 1]); | 871 | &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); |
870 | /* If the end TRB isn't in this segment, this is set to 0 */ | 872 | /* If the end TRB isn't in this segment, this is set to 0 */ |
871 | end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb); | 873 | end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb); |
872 | 874 | ||
@@ -893,8 +895,9 @@ static struct xhci_segment *trb_in_td( | |||
893 | } | 895 | } |
894 | cur_seg = cur_seg->next; | 896 | cur_seg = cur_seg->next; |
895 | start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); | 897 | start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); |
896 | } while (1); | 898 | } while (cur_seg != start_seg); |
897 | 899 | ||
900 | return 0; | ||
898 | } | 901 | } |
899 | 902 | ||
900 | /* | 903 | /* |
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index 9ed3e741bee1..10f3205798e8 100644 --- a/drivers/usb/mon/mon_bin.c +++ b/drivers/usb/mon/mon_bin.c | |||
@@ -348,12 +348,12 @@ static unsigned int mon_buff_area_alloc_contiguous(struct mon_reader_bin *rp, | |||
348 | 348 | ||
349 | /* | 349 | /* |
350 | * Return a few (kilo-)bytes to the head of the buffer. | 350 | * Return a few (kilo-)bytes to the head of the buffer. |
351 | * This is used if a DMA fetch fails. | 351 | * This is used if a data fetch fails. |
352 | */ | 352 | */ |
353 | static void mon_buff_area_shrink(struct mon_reader_bin *rp, unsigned int size) | 353 | static void mon_buff_area_shrink(struct mon_reader_bin *rp, unsigned int size) |
354 | { | 354 | { |
355 | 355 | ||
356 | size = (size + PKT_ALIGN-1) & ~(PKT_ALIGN-1); | 356 | /* size &= ~(PKT_ALIGN-1); -- we're called with aligned size */ |
357 | rp->b_cnt -= size; | 357 | rp->b_cnt -= size; |
358 | if (rp->b_in < size) | 358 | if (rp->b_in < size) |
359 | rp->b_in += rp->b_size; | 359 | rp->b_in += rp->b_size; |
@@ -433,6 +433,7 @@ static void mon_bin_event(struct mon_reader_bin *rp, struct urb *urb, | |||
433 | unsigned int urb_length; | 433 | unsigned int urb_length; |
434 | unsigned int offset; | 434 | unsigned int offset; |
435 | unsigned int length; | 435 | unsigned int length; |
436 | unsigned int delta; | ||
436 | unsigned int ndesc, lendesc; | 437 | unsigned int ndesc, lendesc; |
437 | unsigned char dir; | 438 | unsigned char dir; |
438 | struct mon_bin_hdr *ep; | 439 | struct mon_bin_hdr *ep; |
@@ -537,8 +538,10 @@ static void mon_bin_event(struct mon_reader_bin *rp, struct urb *urb, | |||
537 | if (length != 0) { | 538 | if (length != 0) { |
538 | ep->flag_data = mon_bin_get_data(rp, offset, urb, length); | 539 | ep->flag_data = mon_bin_get_data(rp, offset, urb, length); |
539 | if (ep->flag_data != 0) { /* Yes, it's 0x00, not '0' */ | 540 | if (ep->flag_data != 0) { /* Yes, it's 0x00, not '0' */ |
540 | ep->len_cap = 0; | 541 | delta = (ep->len_cap + PKT_ALIGN-1) & ~(PKT_ALIGN-1); |
541 | mon_buff_area_shrink(rp, length); | 542 | ep->len_cap -= length; |
543 | delta -= (ep->len_cap + PKT_ALIGN-1) & ~(PKT_ALIGN-1); | ||
544 | mon_buff_area_shrink(rp, delta); | ||
542 | } | 545 | } |
543 | } else { | 546 | } else { |
544 | ep->flag_data = data_tag; | 547 | ep->flag_data = data_tag; |
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 698252a4dc5d..bd254ec97d14 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -50,6 +50,8 @@ static int cp210x_tiocmset_port(struct usb_serial_port *port, struct file *, | |||
50 | static void cp210x_break_ctl(struct tty_struct *, int); | 50 | static void cp210x_break_ctl(struct tty_struct *, int); |
51 | static int cp210x_startup(struct usb_serial *); | 51 | static int cp210x_startup(struct usb_serial *); |
52 | static void cp210x_disconnect(struct usb_serial *); | 52 | static void cp210x_disconnect(struct usb_serial *); |
53 | static void cp210x_dtr_rts(struct usb_serial_port *p, int on); | ||
54 | static int cp210x_carrier_raised(struct usb_serial_port *p); | ||
53 | 55 | ||
54 | static int debug; | 56 | static int debug; |
55 | 57 | ||
@@ -143,6 +145,8 @@ static struct usb_serial_driver cp210x_device = { | |||
143 | .tiocmset = cp210x_tiocmset, | 145 | .tiocmset = cp210x_tiocmset, |
144 | .attach = cp210x_startup, | 146 | .attach = cp210x_startup, |
145 | .disconnect = cp210x_disconnect, | 147 | .disconnect = cp210x_disconnect, |
148 | .dtr_rts = cp210x_dtr_rts, | ||
149 | .carrier_raised = cp210x_carrier_raised | ||
146 | }; | 150 | }; |
147 | 151 | ||
148 | /* Config request types */ | 152 | /* Config request types */ |
@@ -746,6 +750,14 @@ static int cp210x_tiocmset_port(struct usb_serial_port *port, struct file *file, | |||
746 | return cp210x_set_config(port, CP210X_SET_MHS, &control, 2); | 750 | return cp210x_set_config(port, CP210X_SET_MHS, &control, 2); |
747 | } | 751 | } |
748 | 752 | ||
753 | static void cp210x_dtr_rts(struct usb_serial_port *p, int on) | ||
754 | { | ||
755 | if (on) | ||
756 | cp210x_tiocmset_port(p, NULL, TIOCM_DTR|TIOCM_RTS, 0); | ||
757 | else | ||
758 | cp210x_tiocmset_port(p, NULL, 0, TIOCM_DTR|TIOCM_RTS); | ||
759 | } | ||
760 | |||
749 | static int cp210x_tiocmget (struct tty_struct *tty, struct file *file) | 761 | static int cp210x_tiocmget (struct tty_struct *tty, struct file *file) |
750 | { | 762 | { |
751 | struct usb_serial_port *port = tty->driver_data; | 763 | struct usb_serial_port *port = tty->driver_data; |
@@ -768,6 +780,15 @@ static int cp210x_tiocmget (struct tty_struct *tty, struct file *file) | |||
768 | return result; | 780 | return result; |
769 | } | 781 | } |
770 | 782 | ||
783 | static int cp210x_carrier_raised(struct usb_serial_port *p) | ||
784 | { | ||
785 | unsigned int control; | ||
786 | cp210x_get_config(p, CP210X_GET_MDMSTS, &control, 1); | ||
787 | if (control & CONTROL_DCD) | ||
788 | return 1; | ||
789 | return 0; | ||
790 | } | ||
791 | |||
771 | static void cp210x_break_ctl (struct tty_struct *tty, int break_state) | 792 | static void cp210x_break_ctl (struct tty_struct *tty, int break_state) |
772 | { | 793 | { |
773 | struct usb_serial_port *port = tty->driver_data; | 794 | struct usb_serial_port *port = tty->driver_data; |
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index cd44c68954df..319aaf9725b3 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -308,6 +308,7 @@ static int option_resume(struct usb_serial *serial); | |||
308 | 308 | ||
309 | #define DLINK_VENDOR_ID 0x1186 | 309 | #define DLINK_VENDOR_ID 0x1186 |
310 | #define DLINK_PRODUCT_DWM_652 0x3e04 | 310 | #define DLINK_PRODUCT_DWM_652 0x3e04 |
311 | #define DLINK_PRODUCT_DWM_652_U5 0xce16 | ||
311 | 312 | ||
312 | #define QISDA_VENDOR_ID 0x1da5 | 313 | #define QISDA_VENDOR_ID 0x1da5 |
313 | #define QISDA_PRODUCT_H21_4512 0x4512 | 314 | #define QISDA_PRODUCT_H21_4512 0x4512 |
@@ -586,6 +587,7 @@ static struct usb_device_id option_ids[] = { | |||
586 | { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) }, | 587 | { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) }, |
587 | { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) }, | 588 | { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) }, |
588 | { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) }, | 589 | { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) }, |
590 | { USB_DEVICE(ALINK_VENDOR_ID, DLINK_PRODUCT_DWM_652_U5) }, /* Yes, ALINK_VENDOR_ID */ | ||
589 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4512) }, | 591 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4512) }, |
590 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4523) }, | 592 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4523) }, |
591 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4515) }, | 593 | { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4515) }, |
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 9bbb2855ea91..188e1ba3b69f 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -2121,7 +2121,7 @@ config FB_EP93XX | |||
2121 | 2121 | ||
2122 | config FB_PRE_INIT_FB | 2122 | config FB_PRE_INIT_FB |
2123 | bool "Don't reinitialize, use bootloader's GDC/Display configuration" | 2123 | bool "Don't reinitialize, use bootloader's GDC/Display configuration" |
2124 | depends on FB_MB862XX_LIME | 2124 | depends on FB && FB_MB862XX_LIME |
2125 | ---help--- | 2125 | ---help--- |
2126 | Select this option if display contents should be inherited as set by | 2126 | Select this option if display contents should be inherited as set by |
2127 | the bootloader. | 2127 | the bootloader. |
diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c index 8cd279be74e5..37624f74e88b 100644 --- a/drivers/video/atafb.c +++ b/drivers/video/atafb.c | |||
@@ -329,12 +329,6 @@ extern unsigned char fontdata_8x16[]; | |||
329 | * | 329 | * |
330 | * * perform fb specific mmap * | 330 | * * perform fb specific mmap * |
331 | * int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma); | 331 | * int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma); |
332 | * | ||
333 | * * save current hardware state * | ||
334 | * void (*fb_save_state)(struct fb_info *info); | ||
335 | * | ||
336 | * * restore saved state * | ||
337 | * void (*fb_restore_state)(struct fb_info *info); | ||
338 | * } ; | 332 | * } ; |
339 | */ | 333 | */ |
340 | 334 | ||
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 2830ffd72976..d5e801076d33 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c | |||
@@ -484,6 +484,7 @@ static int atmel_lcdfb_set_par(struct fb_info *info) | |||
484 | unsigned long value; | 484 | unsigned long value; |
485 | unsigned long clk_value_khz; | 485 | unsigned long clk_value_khz; |
486 | unsigned long bits_per_line; | 486 | unsigned long bits_per_line; |
487 | unsigned long pix_factor = 2; | ||
487 | 488 | ||
488 | might_sleep(); | 489 | might_sleep(); |
489 | 490 | ||
@@ -516,20 +517,24 @@ static int atmel_lcdfb_set_par(struct fb_info *info) | |||
516 | /* Now, the LCDC core... */ | 517 | /* Now, the LCDC core... */ |
517 | 518 | ||
518 | /* Set pixel clock */ | 519 | /* Set pixel clock */ |
520 | if (cpu_is_at91sam9g45() && !cpu_is_at91sam9g45es()) | ||
521 | pix_factor = 1; | ||
522 | |||
519 | clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; | 523 | clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; |
520 | 524 | ||
521 | value = DIV_ROUND_UP(clk_value_khz, PICOS2KHZ(info->var.pixclock)); | 525 | value = DIV_ROUND_UP(clk_value_khz, PICOS2KHZ(info->var.pixclock)); |
522 | 526 | ||
523 | if (value < 2) { | 527 | if (value < pix_factor) { |
524 | dev_notice(info->device, "Bypassing pixel clock divider\n"); | 528 | dev_notice(info->device, "Bypassing pixel clock divider\n"); |
525 | lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, ATMEL_LCDC_BYPASS); | 529 | lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, ATMEL_LCDC_BYPASS); |
526 | } else { | 530 | } else { |
527 | value = (value / 2) - 1; | 531 | value = (value / pix_factor) - 1; |
528 | dev_dbg(info->device, " * programming CLKVAL = 0x%08lx\n", | 532 | dev_dbg(info->device, " * programming CLKVAL = 0x%08lx\n", |
529 | value); | 533 | value); |
530 | lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, | 534 | lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, |
531 | value << ATMEL_LCDC_CLKVAL_OFFSET); | 535 | value << ATMEL_LCDC_CLKVAL_OFFSET); |
532 | info->var.pixclock = KHZ2PICOS(clk_value_khz / (2 * (value + 1))); | 536 | info->var.pixclock = |
537 | KHZ2PICOS(clk_value_khz / (pix_factor * (value + 1))); | ||
533 | dev_dbg(info->device, " updated pixclk: %lu KHz\n", | 538 | dev_dbg(info->device, " updated pixclk: %lu KHz\n", |
534 | PICOS2KHZ(info->var.pixclock)); | 539 | PICOS2KHZ(info->var.pixclock)); |
535 | } | 540 | } |
diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c index 2211a852af9c..96774949cd30 100644 --- a/drivers/video/backlight/corgi_lcd.c +++ b/drivers/video/backlight/corgi_lcd.c | |||
@@ -433,8 +433,9 @@ static int corgi_bl_update_status(struct backlight_device *bd) | |||
433 | 433 | ||
434 | if (corgibl_flags & CORGIBL_SUSPENDED) | 434 | if (corgibl_flags & CORGIBL_SUSPENDED) |
435 | intensity = 0; | 435 | intensity = 0; |
436 | if (corgibl_flags & CORGIBL_BATTLOW) | 436 | |
437 | intensity &= lcd->limit_mask; | 437 | if ((corgibl_flags & CORGIBL_BATTLOW) && intensity > lcd->limit_mask) |
438 | intensity = lcd->limit_mask; | ||
438 | 439 | ||
439 | return corgi_bl_set_intensity(lcd, intensity); | 440 | return corgi_bl_set_intensity(lcd, intensity); |
440 | } | 441 | } |
diff --git a/drivers/video/backlight/lcd.c b/drivers/video/backlight/lcd.c index b6449470106c..a482dd7b0311 100644 --- a/drivers/video/backlight/lcd.c +++ b/drivers/video/backlight/lcd.c | |||
@@ -56,7 +56,7 @@ static int fb_notifier_callback(struct notifier_block *self, | |||
56 | 56 | ||
57 | static int lcd_register_fb(struct lcd_device *ld) | 57 | static int lcd_register_fb(struct lcd_device *ld) |
58 | { | 58 | { |
59 | memset(&ld->fb_notif, 0, sizeof(&ld->fb_notif)); | 59 | memset(&ld->fb_notif, 0, sizeof(ld->fb_notif)); |
60 | ld->fb_notif.notifier_call = fb_notifier_callback; | 60 | ld->fb_notif.notifier_call = fb_notifier_callback; |
61 | return fb_register_client(&ld->fb_notif); | 61 | return fb_register_client(&ld->fb_notif); |
62 | } | 62 | } |
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 5a686cea23f4..3681c6a88212 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -2311,14 +2311,11 @@ static int fbcon_blank(struct vc_data *vc, int blank, int mode_switch) | |||
2311 | ops->graphics = 1; | 2311 | ops->graphics = 1; |
2312 | 2312 | ||
2313 | if (!blank) { | 2313 | if (!blank) { |
2314 | if (info->fbops->fb_save_state) | ||
2315 | info->fbops->fb_save_state(info); | ||
2316 | var.activate = FB_ACTIVATE_NOW | FB_ACTIVATE_FORCE; | 2314 | var.activate = FB_ACTIVATE_NOW | FB_ACTIVATE_FORCE; |
2317 | fb_set_var(info, &var); | 2315 | fb_set_var(info, &var); |
2318 | ops->graphics = 0; | 2316 | ops->graphics = 0; |
2319 | ops->var = info->var; | 2317 | ops->var = info->var; |
2320 | } else if (info->fbops->fb_restore_state) | 2318 | } |
2321 | info->fbops->fb_restore_state(info); | ||
2322 | } | 2319 | } |
2323 | 2320 | ||
2324 | if (!fbcon_is_inactive(vc, info)) { | 2321 | if (!fbcon_is_inactive(vc, info)) { |
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index d065894ce38f..035d56835b75 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c | |||
@@ -704,7 +704,7 @@ static int __init fb_probe(struct platform_device *device) | |||
704 | 704 | ||
705 | if (i == ARRAY_SIZE(known_lcd_panels)) { | 705 | if (i == ARRAY_SIZE(known_lcd_panels)) { |
706 | dev_err(&device->dev, "GLCD: No valid panel found\n"); | 706 | dev_err(&device->dev, "GLCD: No valid panel found\n"); |
707 | ret = ENODEV; | 707 | ret = -ENODEV; |
708 | goto err_clk_disable; | 708 | goto err_clk_disable; |
709 | } else | 709 | } else |
710 | dev_info(&device->dev, "GLCD: Found %s panel\n", | 710 | dev_info(&device->dev, "GLCD: Found %s panel\n", |
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index 5c5a1ad1d397..474421fe79a6 100644 --- a/drivers/video/msm/mddi.c +++ b/drivers/video/msm/mddi.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/clk.h> | 25 | #include <linux/clk.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/sched.h> | ||
27 | #include <mach/msm_iomap.h> | 28 | #include <mach/msm_iomap.h> |
28 | #include <mach/irqs.h> | 29 | #include <mach/irqs.h> |
29 | #include <mach/board.h> | 30 | #include <mach/board.h> |
diff --git a/drivers/video/msm/mddi_client_nt35399.c b/drivers/video/msm/mddi_client_nt35399.c index 9c78050ac799..c9e9349451cb 100644 --- a/drivers/video/msm/mddi_client_nt35399.c +++ b/drivers/video/msm/mddi_client_nt35399.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/sched.h> | ||
22 | #include <linux/gpio.h> | 23 | #include <linux/gpio.h> |
23 | #include <mach/msm_fb.h> | 24 | #include <mach/msm_fb.h> |
24 | 25 | ||
diff --git a/drivers/video/msm/mddi_client_toshiba.c b/drivers/video/msm/mddi_client_toshiba.c index 80d0f5fdf0b1..71048e78f7f0 100644 --- a/drivers/video/msm/mddi_client_toshiba.c +++ b/drivers/video/msm/mddi_client_toshiba.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
23 | #include <linux/sched.h> | ||
23 | #include <mach/msm_fb.h> | 24 | #include <mach/msm_fb.h> |
24 | 25 | ||
25 | 26 | ||
diff --git a/drivers/video/msm/mdp.c b/drivers/video/msm/mdp.c index 99636a2b20f2..6c519e2fa2b7 100644 --- a/drivers/video/msm/mdp.c +++ b/drivers/video/msm/mdp.c | |||
@@ -22,9 +22,6 @@ | |||
22 | #include <linux/wait.h> | 22 | #include <linux/wait.h> |
23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
24 | #include <linux/file.h> | 24 | #include <linux/file.h> |
25 | #ifdef CONFIG_ANDROID_PMEM | ||
26 | #include <linux/android_pmem.h> | ||
27 | #endif | ||
28 | #include <linux/major.h> | 25 | #include <linux/major.h> |
29 | 26 | ||
30 | #include <mach/msm_iomap.h> | 27 | #include <mach/msm_iomap.h> |
@@ -262,11 +259,6 @@ int get_img(struct mdp_img *img, struct fb_info *info, | |||
262 | struct file *file; | 259 | struct file *file; |
263 | unsigned long vstart; | 260 | unsigned long vstart; |
264 | 261 | ||
265 | #ifdef CONFIG_ANDROID_PMEM | ||
266 | if (!get_pmem_file(img->memory_id, start, &vstart, len, filep)) | ||
267 | return 0; | ||
268 | #endif | ||
269 | |||
270 | file = fget_light(img->memory_id, &put_needed); | 262 | file = fget_light(img->memory_id, &put_needed); |
271 | if (file == NULL) | 263 | if (file == NULL) |
272 | return -1; | 264 | return -1; |
@@ -283,12 +275,6 @@ int get_img(struct mdp_img *img, struct fb_info *info, | |||
283 | 275 | ||
284 | void put_img(struct file *src_file, struct file *dst_file) | 276 | void put_img(struct file *src_file, struct file *dst_file) |
285 | { | 277 | { |
286 | #ifdef CONFIG_ANDROID_PMEM | ||
287 | if (src_file) | ||
288 | put_pmem_file(src_file); | ||
289 | if (dst_file) | ||
290 | put_pmem_file(dst_file); | ||
291 | #endif | ||
292 | } | 278 | } |
293 | 279 | ||
294 | int mdp_blit(struct mdp_device *mdp_dev, struct fb_info *fb, | 280 | int mdp_blit(struct mdp_device *mdp_dev, struct fb_info *fb, |
@@ -320,9 +306,6 @@ int mdp_blit(struct mdp_device *mdp_dev, struct fb_info *fb, | |||
320 | if (unlikely(get_img(&req->dst, fb, &dst_start, &dst_len, &dst_file))) { | 306 | if (unlikely(get_img(&req->dst, fb, &dst_start, &dst_len, &dst_file))) { |
321 | printk(KERN_ERR "mpd_ppp: could not retrieve dst image from " | 307 | printk(KERN_ERR "mpd_ppp: could not retrieve dst image from " |
322 | "memory\n"); | 308 | "memory\n"); |
323 | #ifdef CONFIG_ANDROID_PMEM | ||
324 | put_pmem_file(src_file); | ||
325 | #endif | ||
326 | return -EINVAL; | 309 | return -EINVAL; |
327 | } | 310 | } |
328 | mutex_lock(&mdp_mutex); | 311 | mutex_lock(&mdp_mutex); |
@@ -499,7 +482,6 @@ int mdp_probe(struct platform_device *pdev) | |||
499 | /* register mdp device */ | 482 | /* register mdp device */ |
500 | mdp->mdp_dev.dev.parent = &pdev->dev; | 483 | mdp->mdp_dev.dev.parent = &pdev->dev; |
501 | mdp->mdp_dev.dev.class = mdp_class; | 484 | mdp->mdp_dev.dev.class = mdp_class; |
502 | snprintf(mdp->mdp_dev.dev.bus_id, BUS_ID_SIZE, "mdp%d", pdev->id); | ||
503 | 485 | ||
504 | /* if you can remove the platform device you'd have to implement | 486 | /* if you can remove the platform device you'd have to implement |
505 | * this: | 487 | * this: |
diff --git a/drivers/video/msm/mdp_ppp.c b/drivers/video/msm/mdp_ppp.c index ba2c4673b648..4ff001f4cbbd 100644 --- a/drivers/video/msm/mdp_ppp.c +++ b/drivers/video/msm/mdp_ppp.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/file.h> | 16 | #include <linux/file.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/msm_mdp.h> | 18 | #include <linux/msm_mdp.h> |
19 | #include <linux/android_pmem.h> | ||
20 | #include <mach/msm_fb.h> | 19 | #include <mach/msm_fb.h> |
21 | 20 | ||
22 | #include "mdp_hw.h" | 21 | #include "mdp_hw.h" |
@@ -579,25 +578,6 @@ static int valid_src_dst(unsigned long src_start, unsigned long src_len, | |||
579 | static void flush_imgs(struct mdp_blit_req *req, struct mdp_regs *regs, | 578 | static void flush_imgs(struct mdp_blit_req *req, struct mdp_regs *regs, |
580 | struct file *src_file, struct file *dst_file) | 579 | struct file *src_file, struct file *dst_file) |
581 | { | 580 | { |
582 | #ifdef CONFIG_ANDROID_PMEM | ||
583 | uint32_t src0_len, src1_len, dst0_len, dst1_len; | ||
584 | |||
585 | /* flush src images to memory before dma to mdp */ | ||
586 | get_len(&req->src, &req->src_rect, regs->src_bpp, &src0_len, | ||
587 | &src1_len); | ||
588 | flush_pmem_file(src_file, req->src.offset, src0_len); | ||
589 | if (IS_PSEUDOPLNR(req->src.format)) | ||
590 | flush_pmem_file(src_file, req->src.offset + src0_len, | ||
591 | src1_len); | ||
592 | |||
593 | /* flush dst images */ | ||
594 | get_len(&req->dst, &req->dst_rect, regs->dst_bpp, &dst0_len, | ||
595 | &dst1_len); | ||
596 | flush_pmem_file(dst_file, req->dst.offset, dst0_len); | ||
597 | if (IS_PSEUDOPLNR(req->dst.format)) | ||
598 | flush_pmem_file(dst_file, req->dst.offset + dst0_len, | ||
599 | dst1_len); | ||
600 | #endif | ||
601 | } | 581 | } |
602 | 582 | ||
603 | static void get_chroma_addr(struct mdp_img *img, struct mdp_rect *rect, | 583 | static void get_chroma_addr(struct mdp_img *img, struct mdp_rect *rect, |
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c index 37b135d5d12e..842d157e1025 100644 --- a/drivers/video/savage/savagefb_driver.c +++ b/drivers/video/savage/savagefb_driver.c | |||
@@ -1565,7 +1565,7 @@ static int savagefb_blank(int blank, struct fb_info *info) | |||
1565 | vga_out8(0x3c5, sr8, par); | 1565 | vga_out8(0x3c5, sr8, par); |
1566 | vga_out8(0x3c4, 0x0d, par); | 1566 | vga_out8(0x3c4, 0x0d, par); |
1567 | srd = vga_in8(0x3c5, par); | 1567 | srd = vga_in8(0x3c5, par); |
1568 | srd &= 0x03; | 1568 | srd &= 0x50; |
1569 | 1569 | ||
1570 | switch (blank) { | 1570 | switch (blank) { |
1571 | case FB_BLANK_UNBLANK: | 1571 | case FB_BLANK_UNBLANK: |
@@ -1606,22 +1606,6 @@ static int savagefb_blank(int blank, struct fb_info *info) | |||
1606 | return (blank == FB_BLANK_NORMAL) ? 1 : 0; | 1606 | return (blank == FB_BLANK_NORMAL) ? 1 : 0; |
1607 | } | 1607 | } |
1608 | 1608 | ||
1609 | static void savagefb_save_state(struct fb_info *info) | ||
1610 | { | ||
1611 | struct savagefb_par *par = info->par; | ||
1612 | |||
1613 | savage_get_default_par(par, &par->save); | ||
1614 | } | ||
1615 | |||
1616 | static void savagefb_restore_state(struct fb_info *info) | ||
1617 | { | ||
1618 | struct savagefb_par *par = info->par; | ||
1619 | |||
1620 | savagefb_blank(FB_BLANK_POWERDOWN, info); | ||
1621 | savage_set_default_par(par, &par->save); | ||
1622 | savagefb_blank(FB_BLANK_UNBLANK, info); | ||
1623 | } | ||
1624 | |||
1625 | static int savagefb_open(struct fb_info *info, int user) | 1609 | static int savagefb_open(struct fb_info *info, int user) |
1626 | { | 1610 | { |
1627 | struct savagefb_par *par = info->par; | 1611 | struct savagefb_par *par = info->par; |
@@ -1667,8 +1651,6 @@ static struct fb_ops savagefb_ops = { | |||
1667 | .fb_setcolreg = savagefb_setcolreg, | 1651 | .fb_setcolreg = savagefb_setcolreg, |
1668 | .fb_pan_display = savagefb_pan_display, | 1652 | .fb_pan_display = savagefb_pan_display, |
1669 | .fb_blank = savagefb_blank, | 1653 | .fb_blank = savagefb_blank, |
1670 | .fb_save_state = savagefb_save_state, | ||
1671 | .fb_restore_state = savagefb_restore_state, | ||
1672 | #if defined(CONFIG_FB_SAVAGE_ACCEL) | 1654 | #if defined(CONFIG_FB_SAVAGE_ACCEL) |
1673 | .fb_fillrect = savagefb_fillrect, | 1655 | .fb_fillrect = savagefb_fillrect, |
1674 | .fb_copyarea = savagefb_copyarea, | 1656 | .fb_copyarea = savagefb_copyarea, |
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index e35232a18571..54fbb2995a5f 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c | |||
@@ -1411,23 +1411,6 @@ static int uvesafb_check_var(struct fb_var_screeninfo *var, | |||
1411 | return 0; | 1411 | return 0; |
1412 | } | 1412 | } |
1413 | 1413 | ||
1414 | static void uvesafb_save_state(struct fb_info *info) | ||
1415 | { | ||
1416 | struct uvesafb_par *par = info->par; | ||
1417 | |||
1418 | if (par->vbe_state_saved) | ||
1419 | kfree(par->vbe_state_saved); | ||
1420 | |||
1421 | par->vbe_state_saved = uvesafb_vbe_state_save(par); | ||
1422 | } | ||
1423 | |||
1424 | static void uvesafb_restore_state(struct fb_info *info) | ||
1425 | { | ||
1426 | struct uvesafb_par *par = info->par; | ||
1427 | |||
1428 | uvesafb_vbe_state_restore(par, par->vbe_state_saved); | ||
1429 | } | ||
1430 | |||
1431 | static struct fb_ops uvesafb_ops = { | 1414 | static struct fb_ops uvesafb_ops = { |
1432 | .owner = THIS_MODULE, | 1415 | .owner = THIS_MODULE, |
1433 | .fb_open = uvesafb_open, | 1416 | .fb_open = uvesafb_open, |
@@ -1441,8 +1424,6 @@ static struct fb_ops uvesafb_ops = { | |||
1441 | .fb_imageblit = cfb_imageblit, | 1424 | .fb_imageblit = cfb_imageblit, |
1442 | .fb_check_var = uvesafb_check_var, | 1425 | .fb_check_var = uvesafb_check_var, |
1443 | .fb_set_par = uvesafb_set_par, | 1426 | .fb_set_par = uvesafb_set_par, |
1444 | .fb_save_state = uvesafb_save_state, | ||
1445 | .fb_restore_state = uvesafb_restore_state, | ||
1446 | }; | 1427 | }; |
1447 | 1428 | ||
1448 | static void __devinit uvesafb_init_info(struct fb_info *info, | 1429 | static void __devinit uvesafb_init_info(struct fb_info *info, |
@@ -1459,15 +1440,6 @@ static void __devinit uvesafb_init_info(struct fb_info *info, | |||
1459 | info->fix.ypanstep = par->ypan ? 1 : 0; | 1440 | info->fix.ypanstep = par->ypan ? 1 : 0; |
1460 | info->fix.ywrapstep = (par->ypan > 1) ? 1 : 0; | 1441 | info->fix.ywrapstep = (par->ypan > 1) ? 1 : 0; |
1461 | 1442 | ||
1462 | /* | ||
1463 | * If we were unable to get the state buffer size, disable | ||
1464 | * functions for saving and restoring the hardware state. | ||
1465 | */ | ||
1466 | if (par->vbe_state_size == 0) { | ||
1467 | info->fbops->fb_save_state = NULL; | ||
1468 | info->fbops->fb_restore_state = NULL; | ||
1469 | } | ||
1470 | |||
1471 | /* Disable blanking if the user requested so. */ | 1443 | /* Disable blanking if the user requested so. */ |
1472 | if (!blank) | 1444 | if (!blank) |
1473 | info->fbops->fb_blank = NULL; | 1445 | info->fbops->fb_blank = NULL; |
diff --git a/drivers/watchdog/sbc_fitpc2_wdt.c b/drivers/watchdog/sbc_fitpc2_wdt.c index 852ca1977917..91430a89107c 100644 --- a/drivers/watchdog/sbc_fitpc2_wdt.c +++ b/drivers/watchdog/sbc_fitpc2_wdt.c | |||
@@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void) | |||
227 | } | 227 | } |
228 | 228 | ||
229 | err = misc_register(&fitpc2_wdt_miscdev); | 229 | err = misc_register(&fitpc2_wdt_miscdev); |
230 | if (!err) { | 230 | if (err) { |
231 | pr_err("cannot register miscdev on minor=%d (err=%d)\n", | 231 | pr_err("cannot register miscdev on minor=%d (err=%d)\n", |
232 | WATCHDOG_MINOR, err); | 232 | WATCHDOG_MINOR, err); |
233 | goto err_margin; | 233 | goto err_margin; |
diff --git a/fs/Kconfig b/fs/Kconfig index 2126078a38ed..64d44efad7a5 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -135,7 +135,7 @@ config TMPFS_POSIX_ACL | |||
135 | 135 | ||
136 | config HUGETLBFS | 136 | config HUGETLBFS |
137 | bool "HugeTLB file system support" | 137 | bool "HugeTLB file system support" |
138 | depends on X86 || IA64 || PPC_BOOK3S_64 || SPARC64 || (S390 && 64BIT) || \ | 138 | depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \ |
139 | SYS_SUPPORTS_HUGETLBFS || BROKEN | 139 | SYS_SUPPORTS_HUGETLBFS || BROKEN |
140 | help | 140 | help |
141 | hugetlbfs is a filesystem backing for HugeTLB pages, based on | 141 | hugetlbfs is a filesystem backing for HugeTLB pages, based on |
@@ -325,8 +325,16 @@ static void bio_fs_destructor(struct bio *bio) | |||
325 | * @gfp_mask: allocation mask to use | 325 | * @gfp_mask: allocation mask to use |
326 | * @nr_iovecs: number of iovecs | 326 | * @nr_iovecs: number of iovecs |
327 | * | 327 | * |
328 | * Allocate a new bio with @nr_iovecs bvecs. If @gfp_mask | 328 | * bio_alloc will allocate a bio and associated bio_vec array that can hold |
329 | * contains __GFP_WAIT, the allocation is guaranteed to succeed. | 329 | * at least @nr_iovecs entries. Allocations will be done from the |
330 | * fs_bio_set. Also see @bio_alloc_bioset and @bio_kmalloc. | ||
331 | * | ||
332 | * If %__GFP_WAIT is set, then bio_alloc will always be able to allocate | ||
333 | * a bio. This is due to the mempool guarantees. To make this work, callers | ||
334 | * must never allocate more than 1 bio at a time from this pool. Callers | ||
335 | * that need to allocate more than 1 bio must always submit the previously | ||
336 | * allocated bio for IO before attempting to allocate a new one. Failure to | ||
337 | * do so can cause livelocks under memory pressure. | ||
330 | * | 338 | * |
331 | * RETURNS: | 339 | * RETURNS: |
332 | * Pointer to new bio on success, NULL on failure. | 340 | * Pointer to new bio on success, NULL on failure. |
@@ -350,21 +358,13 @@ static void bio_kmalloc_destructor(struct bio *bio) | |||
350 | } | 358 | } |
351 | 359 | ||
352 | /** | 360 | /** |
353 | * bio_alloc - allocate a bio for I/O | 361 | * bio_kmalloc - allocate a bio for I/O using kmalloc() |
354 | * @gfp_mask: the GFP_ mask given to the slab allocator | 362 | * @gfp_mask: the GFP_ mask given to the slab allocator |
355 | * @nr_iovecs: number of iovecs to pre-allocate | 363 | * @nr_iovecs: number of iovecs to pre-allocate |
356 | * | 364 | * |
357 | * Description: | 365 | * Description: |
358 | * bio_alloc will allocate a bio and associated bio_vec array that can hold | 366 | * Allocate a new bio with @nr_iovecs bvecs. If @gfp_mask contains |
359 | * at least @nr_iovecs entries. Allocations will be done from the | 367 | * %__GFP_WAIT, the allocation is guaranteed to succeed. |
360 | * fs_bio_set. Also see @bio_alloc_bioset. | ||
361 | * | ||
362 | * If %__GFP_WAIT is set, then bio_alloc will always be able to allocate | ||
363 | * a bio. This is due to the mempool guarantees. To make this work, callers | ||
364 | * must never allocate more than 1 bio at a time from this pool. Callers | ||
365 | * that need to allocate more than 1 bio must always submit the previously | ||
366 | * allocated bio for IO before attempting to allocate a new one. Failure to | ||
367 | * do so can cause livelocks under memory pressure. | ||
368 | * | 368 | * |
369 | **/ | 369 | **/ |
370 | struct bio *bio_kmalloc(gfp_t gfp_mask, int nr_iovecs) | 370 | struct bio *bio_kmalloc(gfp_t gfp_mask, int nr_iovecs) |
@@ -407,7 +407,7 @@ EXPORT_SYMBOL(zero_fill_bio); | |||
407 | * | 407 | * |
408 | * Description: | 408 | * Description: |
409 | * Put a reference to a &struct bio, either one you have gotten with | 409 | * Put a reference to a &struct bio, either one you have gotten with |
410 | * bio_alloc or bio_get. The last put of a bio will free it. | 410 | * bio_alloc, bio_get or bio_clone. The last put of a bio will free it. |
411 | **/ | 411 | **/ |
412 | void bio_put(struct bio *bio) | 412 | void bio_put(struct bio *bio) |
413 | { | 413 | { |
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index e238a0cdac67..94627c4cc193 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -2977,10 +2977,10 @@ static int maybe_allocate_chunk(struct btrfs_root *root, | |||
2977 | 2977 | ||
2978 | free_space = btrfs_super_total_bytes(disk_super); | 2978 | free_space = btrfs_super_total_bytes(disk_super); |
2979 | /* | 2979 | /* |
2980 | * we allow the metadata to grow to a max of either 5gb or 5% of the | 2980 | * we allow the metadata to grow to a max of either 10gb or 5% of the |
2981 | * space in the volume. | 2981 | * space in the volume. |
2982 | */ | 2982 | */ |
2983 | min_metadata = min((u64)5 * 1024 * 1024 * 1024, | 2983 | min_metadata = min((u64)10 * 1024 * 1024 * 1024, |
2984 | div64_u64(free_space * 5, 100)); | 2984 | div64_u64(free_space * 5, 100)); |
2985 | if (info->total_bytes >= min_metadata) { | 2985 | if (info->total_bytes >= min_metadata) { |
2986 | spin_unlock(&info->lock); | 2986 | spin_unlock(&info->lock); |
@@ -4102,7 +4102,7 @@ wait_block_group_cache_done(struct btrfs_block_group_cache *cache) | |||
4102 | } | 4102 | } |
4103 | 4103 | ||
4104 | enum btrfs_loop_type { | 4104 | enum btrfs_loop_type { |
4105 | LOOP_CACHED_ONLY = 0, | 4105 | LOOP_FIND_IDEAL = 0, |
4106 | LOOP_CACHING_NOWAIT = 1, | 4106 | LOOP_CACHING_NOWAIT = 1, |
4107 | LOOP_CACHING_WAIT = 2, | 4107 | LOOP_CACHING_WAIT = 2, |
4108 | LOOP_ALLOC_CHUNK = 3, | 4108 | LOOP_ALLOC_CHUNK = 3, |
@@ -4131,12 +4131,15 @@ static noinline int find_free_extent(struct btrfs_trans_handle *trans, | |||
4131 | struct btrfs_block_group_cache *block_group = NULL; | 4131 | struct btrfs_block_group_cache *block_group = NULL; |
4132 | int empty_cluster = 2 * 1024 * 1024; | 4132 | int empty_cluster = 2 * 1024 * 1024; |
4133 | int allowed_chunk_alloc = 0; | 4133 | int allowed_chunk_alloc = 0; |
4134 | int done_chunk_alloc = 0; | ||
4134 | struct btrfs_space_info *space_info; | 4135 | struct btrfs_space_info *space_info; |
4135 | int last_ptr_loop = 0; | 4136 | int last_ptr_loop = 0; |
4136 | int loop = 0; | 4137 | int loop = 0; |
4137 | bool found_uncached_bg = false; | 4138 | bool found_uncached_bg = false; |
4138 | bool failed_cluster_refill = false; | 4139 | bool failed_cluster_refill = false; |
4139 | bool failed_alloc = false; | 4140 | bool failed_alloc = false; |
4141 | u64 ideal_cache_percent = 0; | ||
4142 | u64 ideal_cache_offset = 0; | ||
4140 | 4143 | ||
4141 | WARN_ON(num_bytes < root->sectorsize); | 4144 | WARN_ON(num_bytes < root->sectorsize); |
4142 | btrfs_set_key_type(ins, BTRFS_EXTENT_ITEM_KEY); | 4145 | btrfs_set_key_type(ins, BTRFS_EXTENT_ITEM_KEY); |
@@ -4172,14 +4175,19 @@ static noinline int find_free_extent(struct btrfs_trans_handle *trans, | |||
4172 | empty_cluster = 0; | 4175 | empty_cluster = 0; |
4173 | 4176 | ||
4174 | if (search_start == hint_byte) { | 4177 | if (search_start == hint_byte) { |
4178 | ideal_cache: | ||
4175 | block_group = btrfs_lookup_block_group(root->fs_info, | 4179 | block_group = btrfs_lookup_block_group(root->fs_info, |
4176 | search_start); | 4180 | search_start); |
4177 | /* | 4181 | /* |
4178 | * we don't want to use the block group if it doesn't match our | 4182 | * we don't want to use the block group if it doesn't match our |
4179 | * allocation bits, or if its not cached. | 4183 | * allocation bits, or if its not cached. |
4184 | * | ||
4185 | * However if we are re-searching with an ideal block group | ||
4186 | * picked out then we don't care that the block group is cached. | ||
4180 | */ | 4187 | */ |
4181 | if (block_group && block_group_bits(block_group, data) && | 4188 | if (block_group && block_group_bits(block_group, data) && |
4182 | block_group_cache_done(block_group)) { | 4189 | (block_group->cached != BTRFS_CACHE_NO || |
4190 | search_start == ideal_cache_offset)) { | ||
4183 | down_read(&space_info->groups_sem); | 4191 | down_read(&space_info->groups_sem); |
4184 | if (list_empty(&block_group->list) || | 4192 | if (list_empty(&block_group->list) || |
4185 | block_group->ro) { | 4193 | block_group->ro) { |
@@ -4191,13 +4199,13 @@ static noinline int find_free_extent(struct btrfs_trans_handle *trans, | |||
4191 | */ | 4199 | */ |
4192 | btrfs_put_block_group(block_group); | 4200 | btrfs_put_block_group(block_group); |
4193 | up_read(&space_info->groups_sem); | 4201 | up_read(&space_info->groups_sem); |
4194 | } else | 4202 | } else { |
4195 | goto have_block_group; | 4203 | goto have_block_group; |
4204 | } | ||
4196 | } else if (block_group) { | 4205 | } else if (block_group) { |
4197 | btrfs_put_block_group(block_group); | 4206 | btrfs_put_block_group(block_group); |
4198 | } | 4207 | } |
4199 | } | 4208 | } |
4200 | |||
4201 | search: | 4209 | search: |
4202 | down_read(&space_info->groups_sem); | 4210 | down_read(&space_info->groups_sem); |
4203 | list_for_each_entry(block_group, &space_info->block_groups, list) { | 4211 | list_for_each_entry(block_group, &space_info->block_groups, list) { |
@@ -4209,28 +4217,45 @@ search: | |||
4209 | 4217 | ||
4210 | have_block_group: | 4218 | have_block_group: |
4211 | if (unlikely(block_group->cached == BTRFS_CACHE_NO)) { | 4219 | if (unlikely(block_group->cached == BTRFS_CACHE_NO)) { |
4220 | u64 free_percent; | ||
4221 | |||
4222 | free_percent = btrfs_block_group_used(&block_group->item); | ||
4223 | free_percent *= 100; | ||
4224 | free_percent = div64_u64(free_percent, | ||
4225 | block_group->key.offset); | ||
4226 | free_percent = 100 - free_percent; | ||
4227 | if (free_percent > ideal_cache_percent && | ||
4228 | likely(!block_group->ro)) { | ||
4229 | ideal_cache_offset = block_group->key.objectid; | ||
4230 | ideal_cache_percent = free_percent; | ||
4231 | } | ||
4232 | |||
4212 | /* | 4233 | /* |
4213 | * we want to start caching kthreads, but not too many | 4234 | * We only want to start kthread caching if we are at |
4214 | * right off the bat so we don't overwhelm the system, | 4235 | * the point where we will wait for caching to make |
4215 | * so only start them if there are less than 2 and we're | 4236 | * progress, or if our ideal search is over and we've |
4216 | * in the initial allocation phase. | 4237 | * found somebody to start caching. |
4217 | */ | 4238 | */ |
4218 | if (loop > LOOP_CACHING_NOWAIT || | 4239 | if (loop > LOOP_CACHING_NOWAIT || |
4219 | atomic_read(&space_info->caching_threads) < 2) { | 4240 | (loop > LOOP_FIND_IDEAL && |
4241 | atomic_read(&space_info->caching_threads) < 2)) { | ||
4220 | ret = cache_block_group(block_group); | 4242 | ret = cache_block_group(block_group); |
4221 | BUG_ON(ret); | 4243 | BUG_ON(ret); |
4222 | } | 4244 | } |
4223 | } | ||
4224 | |||
4225 | cached = block_group_cache_done(block_group); | ||
4226 | if (unlikely(!cached)) { | ||
4227 | found_uncached_bg = true; | 4245 | found_uncached_bg = true; |
4228 | 4246 | ||
4229 | /* if we only want cached bgs, loop */ | 4247 | /* |
4230 | if (loop == LOOP_CACHED_ONLY) | 4248 | * If loop is set for cached only, try the next block |
4249 | * group. | ||
4250 | */ | ||
4251 | if (loop == LOOP_FIND_IDEAL) | ||
4231 | goto loop; | 4252 | goto loop; |
4232 | } | 4253 | } |
4233 | 4254 | ||
4255 | cached = block_group_cache_done(block_group); | ||
4256 | if (unlikely(!cached)) | ||
4257 | found_uncached_bg = true; | ||
4258 | |||
4234 | if (unlikely(block_group->ro)) | 4259 | if (unlikely(block_group->ro)) |
4235 | goto loop; | 4260 | goto loop; |
4236 | 4261 | ||
@@ -4410,9 +4435,11 @@ loop: | |||
4410 | } | 4435 | } |
4411 | up_read(&space_info->groups_sem); | 4436 | up_read(&space_info->groups_sem); |
4412 | 4437 | ||
4413 | /* LOOP_CACHED_ONLY, only search fully cached block groups | 4438 | /* LOOP_FIND_IDEAL, only search caching/cached bg's, and don't wait for |
4414 | * LOOP_CACHING_NOWAIT, search partially cached block groups, but | 4439 | * for them to make caching progress. Also |
4415 | * dont wait foR them to finish caching | 4440 | * determine the best possible bg to cache |
4441 | * LOOP_CACHING_NOWAIT, search partially cached block groups, kicking | ||
4442 | * caching kthreads as we move along | ||
4416 | * LOOP_CACHING_WAIT, search everything, and wait if our bg is caching | 4443 | * LOOP_CACHING_WAIT, search everything, and wait if our bg is caching |
4417 | * LOOP_ALLOC_CHUNK, force a chunk allocation and try again | 4444 | * LOOP_ALLOC_CHUNK, force a chunk allocation and try again |
4418 | * LOOP_NO_EMPTY_SIZE, set empty_size and empty_cluster to 0 and try | 4445 | * LOOP_NO_EMPTY_SIZE, set empty_size and empty_cluster to 0 and try |
@@ -4421,12 +4448,47 @@ loop: | |||
4421 | if (!ins->objectid && loop < LOOP_NO_EMPTY_SIZE && | 4448 | if (!ins->objectid && loop < LOOP_NO_EMPTY_SIZE && |
4422 | (found_uncached_bg || empty_size || empty_cluster || | 4449 | (found_uncached_bg || empty_size || empty_cluster || |
4423 | allowed_chunk_alloc)) { | 4450 | allowed_chunk_alloc)) { |
4424 | if (found_uncached_bg) { | 4451 | if (loop == LOOP_FIND_IDEAL && found_uncached_bg) { |
4425 | found_uncached_bg = false; | 4452 | found_uncached_bg = false; |
4426 | if (loop < LOOP_CACHING_WAIT) { | 4453 | loop++; |
4427 | loop++; | 4454 | if (!ideal_cache_percent && |
4455 | atomic_read(&space_info->caching_threads)) | ||
4428 | goto search; | 4456 | goto search; |
4429 | } | 4457 | |
4458 | /* | ||
4459 | * 1 of the following 2 things have happened so far | ||
4460 | * | ||
4461 | * 1) We found an ideal block group for caching that | ||
4462 | * is mostly full and will cache quickly, so we might | ||
4463 | * as well wait for it. | ||
4464 | * | ||
4465 | * 2) We searched for cached only and we didn't find | ||
4466 | * anything, and we didn't start any caching kthreads | ||
4467 | * either, so chances are we will loop through and | ||
4468 | * start a couple caching kthreads, and then come back | ||
4469 | * around and just wait for them. This will be slower | ||
4470 | * because we will have 2 caching kthreads reading at | ||
4471 | * the same time when we could have just started one | ||
4472 | * and waited for it to get far enough to give us an | ||
4473 | * allocation, so go ahead and go to the wait caching | ||
4474 | * loop. | ||
4475 | */ | ||
4476 | loop = LOOP_CACHING_WAIT; | ||
4477 | search_start = ideal_cache_offset; | ||
4478 | ideal_cache_percent = 0; | ||
4479 | goto ideal_cache; | ||
4480 | } else if (loop == LOOP_FIND_IDEAL) { | ||
4481 | /* | ||
4482 | * Didn't find a uncached bg, wait on anything we find | ||
4483 | * next. | ||
4484 | */ | ||
4485 | loop = LOOP_CACHING_WAIT; | ||
4486 | goto search; | ||
4487 | } | ||
4488 | |||
4489 | if (loop < LOOP_CACHING_WAIT) { | ||
4490 | loop++; | ||
4491 | goto search; | ||
4430 | } | 4492 | } |
4431 | 4493 | ||
4432 | if (loop == LOOP_ALLOC_CHUNK) { | 4494 | if (loop == LOOP_ALLOC_CHUNK) { |
@@ -4438,7 +4500,8 @@ loop: | |||
4438 | ret = do_chunk_alloc(trans, root, num_bytes + | 4500 | ret = do_chunk_alloc(trans, root, num_bytes + |
4439 | 2 * 1024 * 1024, data, 1); | 4501 | 2 * 1024 * 1024, data, 1); |
4440 | allowed_chunk_alloc = 0; | 4502 | allowed_chunk_alloc = 0; |
4441 | } else { | 4503 | done_chunk_alloc = 1; |
4504 | } else if (!done_chunk_alloc) { | ||
4442 | space_info->force_alloc = 1; | 4505 | space_info->force_alloc = 1; |
4443 | } | 4506 | } |
4444 | 4507 | ||
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index 2c726b7b9faa..ccbdcb54ec5d 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c | |||
@@ -208,7 +208,7 @@ int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len) | |||
208 | write_lock(&tree->lock); | 208 | write_lock(&tree->lock); |
209 | em = lookup_extent_mapping(tree, start, len); | 209 | em = lookup_extent_mapping(tree, start, len); |
210 | 210 | ||
211 | WARN_ON(em->start != start || !em); | 211 | WARN_ON(!em || em->start != start); |
212 | 212 | ||
213 | if (!em) | 213 | if (!em) |
214 | goto out; | 214 | goto out; |
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 5c2caad76212..cb2849f03251 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c | |||
@@ -1296,7 +1296,7 @@ again: | |||
1296 | window_start = entry->offset; | 1296 | window_start = entry->offset; |
1297 | window_free = entry->bytes; | 1297 | window_free = entry->bytes; |
1298 | last = entry; | 1298 | last = entry; |
1299 | max_extent = 0; | 1299 | max_extent = entry->bytes; |
1300 | } else { | 1300 | } else { |
1301 | last = next; | 1301 | last = next; |
1302 | window_free += next->bytes; | 1302 | window_free += next->bytes; |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index dae12dc7e159..b3ad168a0bfc 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -538,7 +538,7 @@ static noinline int submit_compressed_extents(struct inode *inode, | |||
538 | struct btrfs_root *root = BTRFS_I(inode)->root; | 538 | struct btrfs_root *root = BTRFS_I(inode)->root; |
539 | struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; | 539 | struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; |
540 | struct extent_io_tree *io_tree; | 540 | struct extent_io_tree *io_tree; |
541 | int ret; | 541 | int ret = 0; |
542 | 542 | ||
543 | if (list_empty(&async_cow->extents)) | 543 | if (list_empty(&async_cow->extents)) |
544 | return 0; | 544 | return 0; |
@@ -552,6 +552,7 @@ static noinline int submit_compressed_extents(struct inode *inode, | |||
552 | 552 | ||
553 | io_tree = &BTRFS_I(inode)->io_tree; | 553 | io_tree = &BTRFS_I(inode)->io_tree; |
554 | 554 | ||
555 | retry: | ||
555 | /* did the compression code fall back to uncompressed IO? */ | 556 | /* did the compression code fall back to uncompressed IO? */ |
556 | if (!async_extent->pages) { | 557 | if (!async_extent->pages) { |
557 | int page_started = 0; | 558 | int page_started = 0; |
@@ -562,11 +563,11 @@ static noinline int submit_compressed_extents(struct inode *inode, | |||
562 | async_extent->ram_size - 1, GFP_NOFS); | 563 | async_extent->ram_size - 1, GFP_NOFS); |
563 | 564 | ||
564 | /* allocate blocks */ | 565 | /* allocate blocks */ |
565 | cow_file_range(inode, async_cow->locked_page, | 566 | ret = cow_file_range(inode, async_cow->locked_page, |
566 | async_extent->start, | 567 | async_extent->start, |
567 | async_extent->start + | 568 | async_extent->start + |
568 | async_extent->ram_size - 1, | 569 | async_extent->ram_size - 1, |
569 | &page_started, &nr_written, 0); | 570 | &page_started, &nr_written, 0); |
570 | 571 | ||
571 | /* | 572 | /* |
572 | * if page_started, cow_file_range inserted an | 573 | * if page_started, cow_file_range inserted an |
@@ -574,7 +575,7 @@ static noinline int submit_compressed_extents(struct inode *inode, | |||
574 | * and IO for us. Otherwise, we need to submit | 575 | * and IO for us. Otherwise, we need to submit |
575 | * all those pages down to the drive. | 576 | * all those pages down to the drive. |
576 | */ | 577 | */ |
577 | if (!page_started) | 578 | if (!page_started && !ret) |
578 | extent_write_locked_range(io_tree, | 579 | extent_write_locked_range(io_tree, |
579 | inode, async_extent->start, | 580 | inode, async_extent->start, |
580 | async_extent->start + | 581 | async_extent->start + |
@@ -602,7 +603,21 @@ static noinline int submit_compressed_extents(struct inode *inode, | |||
602 | async_extent->compressed_size, | 603 | async_extent->compressed_size, |
603 | 0, alloc_hint, | 604 | 0, alloc_hint, |
604 | (u64)-1, &ins, 1); | 605 | (u64)-1, &ins, 1); |
605 | BUG_ON(ret); | 606 | if (ret) { |
607 | int i; | ||
608 | for (i = 0; i < async_extent->nr_pages; i++) { | ||
609 | WARN_ON(async_extent->pages[i]->mapping); | ||
610 | page_cache_release(async_extent->pages[i]); | ||
611 | } | ||
612 | kfree(async_extent->pages); | ||
613 | async_extent->nr_pages = 0; | ||
614 | async_extent->pages = NULL; | ||
615 | unlock_extent(io_tree, async_extent->start, | ||
616 | async_extent->start + | ||
617 | async_extent->ram_size - 1, GFP_NOFS); | ||
618 | goto retry; | ||
619 | } | ||
620 | |||
606 | em = alloc_extent_map(GFP_NOFS); | 621 | em = alloc_extent_map(GFP_NOFS); |
607 | em->start = async_extent->start; | 622 | em->start = async_extent->start; |
608 | em->len = async_extent->ram_size; | 623 | em->len = async_extent->ram_size; |
@@ -743,8 +758,22 @@ static noinline int cow_file_range(struct inode *inode, | |||
743 | em = search_extent_mapping(&BTRFS_I(inode)->extent_tree, | 758 | em = search_extent_mapping(&BTRFS_I(inode)->extent_tree, |
744 | start, num_bytes); | 759 | start, num_bytes); |
745 | if (em) { | 760 | if (em) { |
746 | alloc_hint = em->block_start; | 761 | /* |
747 | free_extent_map(em); | 762 | * if block start isn't an actual block number then find the |
763 | * first block in this inode and use that as a hint. If that | ||
764 | * block is also bogus then just don't worry about it. | ||
765 | */ | ||
766 | if (em->block_start >= EXTENT_MAP_LAST_BYTE) { | ||
767 | free_extent_map(em); | ||
768 | em = search_extent_mapping(em_tree, 0, 0); | ||
769 | if (em && em->block_start < EXTENT_MAP_LAST_BYTE) | ||
770 | alloc_hint = em->block_start; | ||
771 | if (em) | ||
772 | free_extent_map(em); | ||
773 | } else { | ||
774 | alloc_hint = em->block_start; | ||
775 | free_extent_map(em); | ||
776 | } | ||
748 | } | 777 | } |
749 | read_unlock(&BTRFS_I(inode)->extent_tree.lock); | 778 | read_unlock(&BTRFS_I(inode)->extent_tree.lock); |
750 | btrfs_drop_extent_cache(inode, start, start + num_bytes - 1, 0); | 779 | btrfs_drop_extent_cache(inode, start, start + num_bytes - 1, 0); |
@@ -2474,7 +2503,19 @@ static int btrfs_unlink(struct inode *dir, struct dentry *dentry) | |||
2474 | 2503 | ||
2475 | root = BTRFS_I(dir)->root; | 2504 | root = BTRFS_I(dir)->root; |
2476 | 2505 | ||
2506 | /* | ||
2507 | * 5 items for unlink inode | ||
2508 | * 1 for orphan | ||
2509 | */ | ||
2510 | ret = btrfs_reserve_metadata_space(root, 6); | ||
2511 | if (ret) | ||
2512 | return ret; | ||
2513 | |||
2477 | trans = btrfs_start_transaction(root, 1); | 2514 | trans = btrfs_start_transaction(root, 1); |
2515 | if (IS_ERR(trans)) { | ||
2516 | btrfs_unreserve_metadata_space(root, 6); | ||
2517 | return PTR_ERR(trans); | ||
2518 | } | ||
2478 | 2519 | ||
2479 | btrfs_set_trans_block_group(trans, dir); | 2520 | btrfs_set_trans_block_group(trans, dir); |
2480 | 2521 | ||
@@ -2489,6 +2530,7 @@ static int btrfs_unlink(struct inode *dir, struct dentry *dentry) | |||
2489 | nr = trans->blocks_used; | 2530 | nr = trans->blocks_used; |
2490 | 2531 | ||
2491 | btrfs_end_transaction_throttle(trans, root); | 2532 | btrfs_end_transaction_throttle(trans, root); |
2533 | btrfs_unreserve_metadata_space(root, 6); | ||
2492 | btrfs_btree_balance_dirty(root, nr); | 2534 | btrfs_btree_balance_dirty(root, nr); |
2493 | return ret; | 2535 | return ret; |
2494 | } | 2536 | } |
@@ -2569,7 +2611,16 @@ static int btrfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
2569 | inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) | 2611 | inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) |
2570 | return -ENOTEMPTY; | 2612 | return -ENOTEMPTY; |
2571 | 2613 | ||
2614 | ret = btrfs_reserve_metadata_space(root, 5); | ||
2615 | if (ret) | ||
2616 | return ret; | ||
2617 | |||
2572 | trans = btrfs_start_transaction(root, 1); | 2618 | trans = btrfs_start_transaction(root, 1); |
2619 | if (IS_ERR(trans)) { | ||
2620 | btrfs_unreserve_metadata_space(root, 5); | ||
2621 | return PTR_ERR(trans); | ||
2622 | } | ||
2623 | |||
2573 | btrfs_set_trans_block_group(trans, dir); | 2624 | btrfs_set_trans_block_group(trans, dir); |
2574 | 2625 | ||
2575 | if (unlikely(inode->i_ino == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID)) { | 2626 | if (unlikely(inode->i_ino == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID)) { |
@@ -2592,6 +2643,7 @@ static int btrfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
2592 | out: | 2643 | out: |
2593 | nr = trans->blocks_used; | 2644 | nr = trans->blocks_used; |
2594 | ret = btrfs_end_transaction_throttle(trans, root); | 2645 | ret = btrfs_end_transaction_throttle(trans, root); |
2646 | btrfs_unreserve_metadata_space(root, 5); | ||
2595 | btrfs_btree_balance_dirty(root, nr); | 2647 | btrfs_btree_balance_dirty(root, nr); |
2596 | 2648 | ||
2597 | if (ret && !err) | 2649 | if (ret && !err) |
@@ -5128,6 +5180,7 @@ struct inode *btrfs_alloc_inode(struct super_block *sb) | |||
5128 | ei->logged_trans = 0; | 5180 | ei->logged_trans = 0; |
5129 | ei->outstanding_extents = 0; | 5181 | ei->outstanding_extents = 0; |
5130 | ei->reserved_extents = 0; | 5182 | ei->reserved_extents = 0; |
5183 | ei->root = NULL; | ||
5131 | spin_lock_init(&ei->accounting_lock); | 5184 | spin_lock_init(&ei->accounting_lock); |
5132 | btrfs_ordered_inode_tree_init(&ei->ordered_tree); | 5185 | btrfs_ordered_inode_tree_init(&ei->ordered_tree); |
5133 | INIT_LIST_HEAD(&ei->i_orphan); | 5186 | INIT_LIST_HEAD(&ei->i_orphan); |
@@ -5144,6 +5197,14 @@ void btrfs_destroy_inode(struct inode *inode) | |||
5144 | WARN_ON(inode->i_data.nrpages); | 5197 | WARN_ON(inode->i_data.nrpages); |
5145 | 5198 | ||
5146 | /* | 5199 | /* |
5200 | * This can happen where we create an inode, but somebody else also | ||
5201 | * created the same inode and we need to destroy the one we already | ||
5202 | * created. | ||
5203 | */ | ||
5204 | if (!root) | ||
5205 | goto free; | ||
5206 | |||
5207 | /* | ||
5147 | * Make sure we're properly removed from the ordered operation | 5208 | * Make sure we're properly removed from the ordered operation |
5148 | * lists. | 5209 | * lists. |
5149 | */ | 5210 | */ |
@@ -5178,6 +5239,7 @@ void btrfs_destroy_inode(struct inode *inode) | |||
5178 | } | 5239 | } |
5179 | inode_tree_del(inode); | 5240 | inode_tree_del(inode); |
5180 | btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); | 5241 | btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); |
5242 | free: | ||
5181 | kmem_cache_free(btrfs_inode_cachep, BTRFS_I(inode)); | 5243 | kmem_cache_free(btrfs_inode_cachep, BTRFS_I(inode)); |
5182 | } | 5244 | } |
5183 | 5245 | ||
@@ -5283,11 +5345,14 @@ static int btrfs_rename(struct inode *old_dir, struct dentry *old_dentry, | |||
5283 | return -ENOTEMPTY; | 5345 | return -ENOTEMPTY; |
5284 | 5346 | ||
5285 | /* | 5347 | /* |
5286 | * 2 items for dir items | 5348 | * We want to reserve the absolute worst case amount of items. So if |
5287 | * 1 item for orphan entry | 5349 | * both inodes are subvols and we need to unlink them then that would |
5288 | * 1 item for ref | 5350 | * require 4 item modifications, but if they are both normal inodes it |
5351 | * would require 5 item modifications, so we'll assume their normal | ||
5352 | * inodes. So 5 * 2 is 10, plus 1 for the new link, so 11 total items | ||
5353 | * should cover the worst case number of items we'll modify. | ||
5289 | */ | 5354 | */ |
5290 | ret = btrfs_reserve_metadata_space(root, 4); | 5355 | ret = btrfs_reserve_metadata_space(root, 11); |
5291 | if (ret) | 5356 | if (ret) |
5292 | return ret; | 5357 | return ret; |
5293 | 5358 | ||
@@ -5403,7 +5468,7 @@ out_fail: | |||
5403 | if (old_inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) | 5468 | if (old_inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) |
5404 | up_read(&root->fs_info->subvol_sem); | 5469 | up_read(&root->fs_info->subvol_sem); |
5405 | 5470 | ||
5406 | btrfs_unreserve_metadata_space(root, 4); | 5471 | btrfs_unreserve_metadata_space(root, 11); |
5407 | return ret; | 5472 | return ret; |
5408 | } | 5473 | } |
5409 | 5474 | ||
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 9351428f30e2..67fa2d29d663 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
@@ -159,7 +159,6 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root | |||
159 | write_extent_buffer(l, item, ptr, sizeof(*item)); | 159 | write_extent_buffer(l, item, ptr, sizeof(*item)); |
160 | btrfs_mark_buffer_dirty(path->nodes[0]); | 160 | btrfs_mark_buffer_dirty(path->nodes[0]); |
161 | out: | 161 | out: |
162 | btrfs_release_path(root, path); | ||
163 | btrfs_free_path(path); | 162 | btrfs_free_path(path); |
164 | return ret; | 163 | return ret; |
165 | } | 164 | } |
@@ -332,7 +331,6 @@ int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, | |||
332 | BUG_ON(refs != 0); | 331 | BUG_ON(refs != 0); |
333 | ret = btrfs_del_item(trans, root, path); | 332 | ret = btrfs_del_item(trans, root, path); |
334 | out: | 333 | out: |
335 | btrfs_release_path(root, path); | ||
336 | btrfs_free_path(path); | 334 | btrfs_free_path(path); |
337 | return ret; | 335 | return ret; |
338 | } | 336 | } |
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index bca82a4ca8e6..c207e8c32c9b 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -163,8 +163,14 @@ static void wait_current_trans(struct btrfs_root *root) | |||
163 | } | 163 | } |
164 | } | 164 | } |
165 | 165 | ||
166 | enum btrfs_trans_type { | ||
167 | TRANS_START, | ||
168 | TRANS_JOIN, | ||
169 | TRANS_USERSPACE, | ||
170 | }; | ||
171 | |||
166 | static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, | 172 | static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, |
167 | int num_blocks, int wait) | 173 | int num_blocks, int type) |
168 | { | 174 | { |
169 | struct btrfs_trans_handle *h = | 175 | struct btrfs_trans_handle *h = |
170 | kmem_cache_alloc(btrfs_trans_handle_cachep, GFP_NOFS); | 176 | kmem_cache_alloc(btrfs_trans_handle_cachep, GFP_NOFS); |
@@ -172,7 +178,8 @@ static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, | |||
172 | 178 | ||
173 | mutex_lock(&root->fs_info->trans_mutex); | 179 | mutex_lock(&root->fs_info->trans_mutex); |
174 | if (!root->fs_info->log_root_recovering && | 180 | if (!root->fs_info->log_root_recovering && |
175 | ((wait == 1 && !root->fs_info->open_ioctl_trans) || wait == 2)) | 181 | ((type == TRANS_START && !root->fs_info->open_ioctl_trans) || |
182 | type == TRANS_USERSPACE)) | ||
176 | wait_current_trans(root); | 183 | wait_current_trans(root); |
177 | ret = join_transaction(root); | 184 | ret = join_transaction(root); |
178 | BUG_ON(ret); | 185 | BUG_ON(ret); |
@@ -186,7 +193,7 @@ static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, | |||
186 | h->alloc_exclude_start = 0; | 193 | h->alloc_exclude_start = 0; |
187 | h->delayed_ref_updates = 0; | 194 | h->delayed_ref_updates = 0; |
188 | 195 | ||
189 | if (!current->journal_info) | 196 | if (!current->journal_info && type != TRANS_USERSPACE) |
190 | current->journal_info = h; | 197 | current->journal_info = h; |
191 | 198 | ||
192 | root->fs_info->running_transaction->use_count++; | 199 | root->fs_info->running_transaction->use_count++; |
@@ -198,18 +205,18 @@ static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, | |||
198 | struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, | 205 | struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, |
199 | int num_blocks) | 206 | int num_blocks) |
200 | { | 207 | { |
201 | return start_transaction(root, num_blocks, 1); | 208 | return start_transaction(root, num_blocks, TRANS_START); |
202 | } | 209 | } |
203 | struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root, | 210 | struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root, |
204 | int num_blocks) | 211 | int num_blocks) |
205 | { | 212 | { |
206 | return start_transaction(root, num_blocks, 0); | 213 | return start_transaction(root, num_blocks, TRANS_JOIN); |
207 | } | 214 | } |
208 | 215 | ||
209 | struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r, | 216 | struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r, |
210 | int num_blocks) | 217 | int num_blocks) |
211 | { | 218 | { |
212 | return start_transaction(r, num_blocks, 2); | 219 | return start_transaction(r, num_blocks, TRANS_USERSPACE); |
213 | } | 220 | } |
214 | 221 | ||
215 | /* wait for a transaction commit to be fully complete */ | 222 | /* wait for a transaction commit to be fully complete */ |
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 6928c24d1d42..5646727e33f5 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -388,4 +388,5 @@ extern int CIFSSMBSetPosixACL(const int xid, struct cifsTconInfo *tcon, | |||
388 | const struct nls_table *nls_codepage, int remap_special_chars); | 388 | const struct nls_table *nls_codepage, int remap_special_chars); |
389 | extern int CIFSGetExtAttr(const int xid, struct cifsTconInfo *tcon, | 389 | extern int CIFSGetExtAttr(const int xid, struct cifsTconInfo *tcon, |
390 | const int netfid, __u64 *pExtAttrBits, __u64 *pMask); | 390 | const int netfid, __u64 *pExtAttrBits, __u64 *pMask); |
391 | extern void cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb); | ||
391 | #endif /* _CIFSPROTO_H */ | 392 | #endif /* _CIFSPROTO_H */ |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index b09098079916..63ea83ff687f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -2220,16 +2220,8 @@ is_path_accessible(int xid, struct cifsTconInfo *tcon, | |||
2220 | struct cifs_sb_info *cifs_sb, const char *full_path) | 2220 | struct cifs_sb_info *cifs_sb, const char *full_path) |
2221 | { | 2221 | { |
2222 | int rc; | 2222 | int rc; |
2223 | __u64 inode_num; | ||
2224 | FILE_ALL_INFO *pfile_info; | 2223 | FILE_ALL_INFO *pfile_info; |
2225 | 2224 | ||
2226 | rc = CIFSGetSrvInodeNumber(xid, tcon, full_path, &inode_num, | ||
2227 | cifs_sb->local_nls, | ||
2228 | cifs_sb->mnt_cifs_flags & | ||
2229 | CIFS_MOUNT_MAP_SPECIAL_CHR); | ||
2230 | if (rc != -EOPNOTSUPP) | ||
2231 | return rc; | ||
2232 | |||
2233 | pfile_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); | 2225 | pfile_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); |
2234 | if (pfile_info == NULL) | 2226 | if (pfile_info == NULL) |
2235 | return -ENOMEM; | 2227 | return -ENOMEM; |
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 5e2492535daa..cababd8a52df 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -512,13 +512,10 @@ int cifs_get_inode_info(struct inode **pinode, | |||
512 | cifs_sb->local_nls, | 512 | cifs_sb->local_nls, |
513 | cifs_sb->mnt_cifs_flags & | 513 | cifs_sb->mnt_cifs_flags & |
514 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 514 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
515 | if (rc1) { | 515 | if (rc1 || !fattr.cf_uniqueid) { |
516 | cFYI(1, ("GetSrvInodeNum rc %d", rc1)); | 516 | cFYI(1, ("GetSrvInodeNum rc %d", rc1)); |
517 | fattr.cf_uniqueid = iunique(sb, ROOT_I); | 517 | fattr.cf_uniqueid = iunique(sb, ROOT_I); |
518 | /* disable serverino if call not supported */ | 518 | cifs_autodisable_serverino(cifs_sb); |
519 | if (rc1 == -EINVAL) | ||
520 | cifs_sb->mnt_cifs_flags &= | ||
521 | ~CIFS_MOUNT_SERVER_INUM; | ||
522 | } | 519 | } |
523 | } else { | 520 | } else { |
524 | fattr.cf_uniqueid = iunique(sb, ROOT_I); | 521 | fattr.cf_uniqueid = iunique(sb, ROOT_I); |
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 0241b25ac33f..d27d4ec6579b 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c | |||
@@ -715,3 +715,17 @@ cifsConvertToUCS(__le16 *target, const char *source, int maxlen, | |||
715 | ctoUCS_out: | 715 | ctoUCS_out: |
716 | return i; | 716 | return i; |
717 | } | 717 | } |
718 | |||
719 | void | ||
720 | cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb) | ||
721 | { | ||
722 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { | ||
723 | cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; | ||
724 | cERROR(1, ("Autodisabling the use of server inode numbers on " | ||
725 | "%s. This server doesn't seem to support them " | ||
726 | "properly. Hardlinks will not be recognized on this " | ||
727 | "mount. Consider mounting with the \"noserverino\" " | ||
728 | "option to silence this message.", | ||
729 | cifs_sb->tcon->treeName)); | ||
730 | } | ||
731 | } | ||
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 1f098ca71636..f84062f9a985 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -727,11 +727,12 @@ static int cifs_filldir(char *pfindEntry, struct file *file, filldir_t filldir, | |||
727 | cifs_dir_info_to_fattr(&fattr, (FILE_DIRECTORY_INFO *) | 727 | cifs_dir_info_to_fattr(&fattr, (FILE_DIRECTORY_INFO *) |
728 | pfindEntry, cifs_sb); | 728 | pfindEntry, cifs_sb); |
729 | 729 | ||
730 | /* FIXME: make _to_fattr functions fill this out */ | 730 | if (inum && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { |
731 | if (pCifsF->srch_inf.info_level == SMB_FIND_FILE_ID_FULL_DIR_INFO) | ||
732 | fattr.cf_uniqueid = inum; | 731 | fattr.cf_uniqueid = inum; |
733 | else | 732 | } else { |
734 | fattr.cf_uniqueid = iunique(sb, ROOT_I); | 733 | fattr.cf_uniqueid = iunique(sb, ROOT_I); |
734 | cifs_autodisable_serverino(cifs_sb); | ||
735 | } | ||
735 | 736 | ||
736 | ino = cifs_uniqueid_to_ino_t(fattr.cf_uniqueid); | 737 | ino = cifs_uniqueid_to_ino_t(fattr.cf_uniqueid); |
737 | tmp_dentry = cifs_readdir_lookup(file->f_dentry, &qstring, &fattr); | 738 | tmp_dentry = cifs_readdir_lookup(file->f_dentry, &qstring, &fattr); |
diff --git a/fs/compat.c b/fs/compat.c index d576b552e8e2..6c19040ffeef 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -1532,6 +1532,8 @@ int compat_do_execve(char * filename, | |||
1532 | if (retval < 0) | 1532 | if (retval < 0) |
1533 | goto out; | 1533 | goto out; |
1534 | 1534 | ||
1535 | current->stack_start = current->mm->start_stack; | ||
1536 | |||
1535 | /* execve succeeded */ | 1537 | /* execve succeeded */ |
1536 | current->fs->in_exec = 0; | 1538 | current->fs->in_exec = 0; |
1537 | current->in_execve = 0; | 1539 | current->in_execve = 0; |
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index f91fd51b32e3..d84e7058c298 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -1800,7 +1800,7 @@ struct space_resv_32 { | |||
1800 | /* just account for different alignment */ | 1800 | /* just account for different alignment */ |
1801 | static int compat_ioctl_preallocate(struct file *file, unsigned long arg) | 1801 | static int compat_ioctl_preallocate(struct file *file, unsigned long arg) |
1802 | { | 1802 | { |
1803 | struct space_resv_32 __user *p32 = (void __user *)arg; | 1803 | struct space_resv_32 __user *p32 = compat_ptr(arg); |
1804 | struct space_resv __user *p = compat_alloc_user_space(sizeof(*p)); | 1804 | struct space_resv __user *p = compat_alloc_user_space(sizeof(*p)); |
1805 | 1805 | ||
1806 | if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || | 1806 | if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || |
@@ -2802,7 +2802,7 @@ asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, | |||
2802 | #else | 2802 | #else |
2803 | case FS_IOC_RESVSP: | 2803 | case FS_IOC_RESVSP: |
2804 | case FS_IOC_RESVSP64: | 2804 | case FS_IOC_RESVSP64: |
2805 | error = ioctl_preallocate(filp, (void __user *)arg); | 2805 | error = ioctl_preallocate(filp, compat_ptr(arg)); |
2806 | goto out_fput; | 2806 | goto out_fput; |
2807 | #endif | 2807 | #endif |
2808 | 2808 | ||
@@ -624,10 +624,8 @@ int setup_arg_pages(struct linux_binprm *bprm, | |||
624 | /* Move stack pages down in memory. */ | 624 | /* Move stack pages down in memory. */ |
625 | if (stack_shift) { | 625 | if (stack_shift) { |
626 | ret = shift_arg_pages(vma, stack_shift); | 626 | ret = shift_arg_pages(vma, stack_shift); |
627 | if (ret) { | 627 | if (ret) |
628 | up_write(&mm->mmap_sem); | 628 | goto out_unlock; |
629 | return ret; | ||
630 | } | ||
631 | } | 629 | } |
632 | 630 | ||
633 | #ifdef CONFIG_STACK_GROWSUP | 631 | #ifdef CONFIG_STACK_GROWSUP |
@@ -641,7 +639,7 @@ int setup_arg_pages(struct linux_binprm *bprm, | |||
641 | 639 | ||
642 | out_unlock: | 640 | out_unlock: |
643 | up_write(&mm->mmap_sem); | 641 | up_write(&mm->mmap_sem); |
644 | return 0; | 642 | return ret; |
645 | } | 643 | } |
646 | EXPORT_SYMBOL(setup_arg_pages); | 644 | EXPORT_SYMBOL(setup_arg_pages); |
647 | 645 | ||
diff --git a/fs/ext3/fsync.c b/fs/ext3/fsync.c index 451d166bbe93..8209f266e9ad 100644 --- a/fs/ext3/fsync.c +++ b/fs/ext3/fsync.c | |||
@@ -46,19 +46,21 @@ | |||
46 | int ext3_sync_file(struct file * file, struct dentry *dentry, int datasync) | 46 | int ext3_sync_file(struct file * file, struct dentry *dentry, int datasync) |
47 | { | 47 | { |
48 | struct inode *inode = dentry->d_inode; | 48 | struct inode *inode = dentry->d_inode; |
49 | struct ext3_inode_info *ei = EXT3_I(inode); | ||
50 | journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; | ||
49 | int ret = 0; | 51 | int ret = 0; |
52 | tid_t commit_tid; | ||
53 | |||
54 | if (inode->i_sb->s_flags & MS_RDONLY) | ||
55 | return 0; | ||
50 | 56 | ||
51 | J_ASSERT(ext3_journal_current_handle() == NULL); | 57 | J_ASSERT(ext3_journal_current_handle() == NULL); |
52 | 58 | ||
53 | /* | 59 | /* |
54 | * data=writeback: | 60 | * data=writeback,ordered: |
55 | * The caller's filemap_fdatawrite()/wait will sync the data. | 61 | * The caller's filemap_fdatawrite()/wait will sync the data. |
56 | * sync_inode() will sync the metadata | 62 | * Metadata is in the journal, we wait for a proper transaction |
57 | * | 63 | * to commit here. |
58 | * data=ordered: | ||
59 | * The caller's filemap_fdatawrite() will write the data and | ||
60 | * sync_inode() will write the inode if it is dirty. Then the caller's | ||
61 | * filemap_fdatawait() will wait on the pages. | ||
62 | * | 64 | * |
63 | * data=journal: | 65 | * data=journal: |
64 | * filemap_fdatawrite won't do anything (the buffers are clean). | 66 | * filemap_fdatawrite won't do anything (the buffers are clean). |
@@ -73,22 +75,16 @@ int ext3_sync_file(struct file * file, struct dentry *dentry, int datasync) | |||
73 | goto out; | 75 | goto out; |
74 | } | 76 | } |
75 | 77 | ||
76 | if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) | 78 | if (datasync) |
77 | goto flush; | 79 | commit_tid = atomic_read(&ei->i_datasync_tid); |
80 | else | ||
81 | commit_tid = atomic_read(&ei->i_sync_tid); | ||
78 | 82 | ||
79 | /* | 83 | if (log_start_commit(journal, commit_tid)) { |
80 | * The VFS has written the file data. If the inode is unaltered | 84 | log_wait_commit(journal, commit_tid); |
81 | * then we need not start a commit. | ||
82 | */ | ||
83 | if (inode->i_state & (I_DIRTY_SYNC|I_DIRTY_DATASYNC)) { | ||
84 | struct writeback_control wbc = { | ||
85 | .sync_mode = WB_SYNC_ALL, | ||
86 | .nr_to_write = 0, /* sys_fsync did this */ | ||
87 | }; | ||
88 | ret = sync_inode(inode, &wbc); | ||
89 | goto out; | 85 | goto out; |
90 | } | 86 | } |
91 | flush: | 87 | |
92 | /* | 88 | /* |
93 | * In case we didn't commit a transaction, we have to flush | 89 | * In case we didn't commit a transaction, we have to flush |
94 | * disk caches manually so that data really is on persistent | 90 | * disk caches manually so that data really is on persistent |
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index acf1b1423327..354ed3b47b30 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
@@ -699,8 +699,9 @@ static int ext3_splice_branch(handle_t *handle, struct inode *inode, | |||
699 | int err = 0; | 699 | int err = 0; |
700 | struct ext3_block_alloc_info *block_i; | 700 | struct ext3_block_alloc_info *block_i; |
701 | ext3_fsblk_t current_block; | 701 | ext3_fsblk_t current_block; |
702 | struct ext3_inode_info *ei = EXT3_I(inode); | ||
702 | 703 | ||
703 | block_i = EXT3_I(inode)->i_block_alloc_info; | 704 | block_i = ei->i_block_alloc_info; |
704 | /* | 705 | /* |
705 | * If we're splicing into a [td]indirect block (as opposed to the | 706 | * If we're splicing into a [td]indirect block (as opposed to the |
706 | * inode) then we need to get write access to the [td]indirect block | 707 | * inode) then we need to get write access to the [td]indirect block |
@@ -741,6 +742,8 @@ static int ext3_splice_branch(handle_t *handle, struct inode *inode, | |||
741 | 742 | ||
742 | inode->i_ctime = CURRENT_TIME_SEC; | 743 | inode->i_ctime = CURRENT_TIME_SEC; |
743 | ext3_mark_inode_dirty(handle, inode); | 744 | ext3_mark_inode_dirty(handle, inode); |
745 | /* ext3_mark_inode_dirty already updated i_sync_tid */ | ||
746 | atomic_set(&ei->i_datasync_tid, handle->h_transaction->t_tid); | ||
744 | 747 | ||
745 | /* had we spliced it onto indirect block? */ | 748 | /* had we spliced it onto indirect block? */ |
746 | if (where->bh) { | 749 | if (where->bh) { |
@@ -1735,6 +1738,7 @@ static ssize_t ext3_direct_IO(int rw, struct kiocb *iocb, | |||
1735 | ssize_t ret; | 1738 | ssize_t ret; |
1736 | int orphan = 0; | 1739 | int orphan = 0; |
1737 | size_t count = iov_length(iov, nr_segs); | 1740 | size_t count = iov_length(iov, nr_segs); |
1741 | int retries = 0; | ||
1738 | 1742 | ||
1739 | if (rw == WRITE) { | 1743 | if (rw == WRITE) { |
1740 | loff_t final_size = offset + count; | 1744 | loff_t final_size = offset + count; |
@@ -1757,9 +1761,12 @@ static ssize_t ext3_direct_IO(int rw, struct kiocb *iocb, | |||
1757 | } | 1761 | } |
1758 | } | 1762 | } |
1759 | 1763 | ||
1764 | retry: | ||
1760 | ret = blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, | 1765 | ret = blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, |
1761 | offset, nr_segs, | 1766 | offset, nr_segs, |
1762 | ext3_get_block, NULL); | 1767 | ext3_get_block, NULL); |
1768 | if (ret == -ENOSPC && ext3_should_retry_alloc(inode->i_sb, &retries)) | ||
1769 | goto retry; | ||
1763 | 1770 | ||
1764 | if (orphan) { | 1771 | if (orphan) { |
1765 | int err; | 1772 | int err; |
@@ -2750,6 +2757,8 @@ struct inode *ext3_iget(struct super_block *sb, unsigned long ino) | |||
2750 | struct ext3_inode_info *ei; | 2757 | struct ext3_inode_info *ei; |
2751 | struct buffer_head *bh; | 2758 | struct buffer_head *bh; |
2752 | struct inode *inode; | 2759 | struct inode *inode; |
2760 | journal_t *journal = EXT3_SB(sb)->s_journal; | ||
2761 | transaction_t *transaction; | ||
2753 | long ret; | 2762 | long ret; |
2754 | int block; | 2763 | int block; |
2755 | 2764 | ||
@@ -2827,6 +2836,30 @@ struct inode *ext3_iget(struct super_block *sb, unsigned long ino) | |||
2827 | ei->i_data[block] = raw_inode->i_block[block]; | 2836 | ei->i_data[block] = raw_inode->i_block[block]; |
2828 | INIT_LIST_HEAD(&ei->i_orphan); | 2837 | INIT_LIST_HEAD(&ei->i_orphan); |
2829 | 2838 | ||
2839 | /* | ||
2840 | * Set transaction id's of transactions that have to be committed | ||
2841 | * to finish f[data]sync. We set them to currently running transaction | ||
2842 | * as we cannot be sure that the inode or some of its metadata isn't | ||
2843 | * part of the transaction - the inode could have been reclaimed and | ||
2844 | * now it is reread from disk. | ||
2845 | */ | ||
2846 | if (journal) { | ||
2847 | tid_t tid; | ||
2848 | |||
2849 | spin_lock(&journal->j_state_lock); | ||
2850 | if (journal->j_running_transaction) | ||
2851 | transaction = journal->j_running_transaction; | ||
2852 | else | ||
2853 | transaction = journal->j_committing_transaction; | ||
2854 | if (transaction) | ||
2855 | tid = transaction->t_tid; | ||
2856 | else | ||
2857 | tid = journal->j_commit_sequence; | ||
2858 | spin_unlock(&journal->j_state_lock); | ||
2859 | atomic_set(&ei->i_sync_tid, tid); | ||
2860 | atomic_set(&ei->i_datasync_tid, tid); | ||
2861 | } | ||
2862 | |||
2830 | if (inode->i_ino >= EXT3_FIRST_INO(inode->i_sb) + 1 && | 2863 | if (inode->i_ino >= EXT3_FIRST_INO(inode->i_sb) + 1 && |
2831 | EXT3_INODE_SIZE(inode->i_sb) > EXT3_GOOD_OLD_INODE_SIZE) { | 2864 | EXT3_INODE_SIZE(inode->i_sb) > EXT3_GOOD_OLD_INODE_SIZE) { |
2832 | /* | 2865 | /* |
@@ -3011,6 +3044,7 @@ again: | |||
3011 | err = rc; | 3044 | err = rc; |
3012 | ei->i_state &= ~EXT3_STATE_NEW; | 3045 | ei->i_state &= ~EXT3_STATE_NEW; |
3013 | 3046 | ||
3047 | atomic_set(&ei->i_sync_tid, handle->h_transaction->t_tid); | ||
3014 | out_brelse: | 3048 | out_brelse: |
3015 | brelse (bh); | 3049 | brelse (bh); |
3016 | ext3_std_error(inode->i_sb, err); | 3050 | ext3_std_error(inode->i_sb, err); |
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 7a520a862f49..427496c4767c 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -466,6 +466,8 @@ static struct inode *ext3_alloc_inode(struct super_block *sb) | |||
466 | return NULL; | 466 | return NULL; |
467 | ei->i_block_alloc_info = NULL; | 467 | ei->i_block_alloc_info = NULL; |
468 | ei->vfs_inode.i_version = 1; | 468 | ei->vfs_inode.i_version = 1; |
469 | atomic_set(&ei->i_datasync_tid, 0); | ||
470 | atomic_set(&ei->i_sync_tid, 0); | ||
469 | return &ei->vfs_inode; | 471 | return &ei->vfs_inode; |
470 | } | 472 | } |
471 | 473 | ||
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 00d153f2f261..8825515eeddd 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -322,6 +322,7 @@ static inline __u32 ext4_mask_flags(umode_t mode, __u32 flags) | |||
322 | #define EXT4_STATE_NO_EXPAND 0x00000008 /* No space for expansion */ | 322 | #define EXT4_STATE_NO_EXPAND 0x00000008 /* No space for expansion */ |
323 | #define EXT4_STATE_DA_ALLOC_CLOSE 0x00000010 /* Alloc DA blks on close */ | 323 | #define EXT4_STATE_DA_ALLOC_CLOSE 0x00000010 /* Alloc DA blks on close */ |
324 | #define EXT4_STATE_EXT_MIGRATE 0x00000020 /* Inode is migrating */ | 324 | #define EXT4_STATE_EXT_MIGRATE 0x00000020 /* Inode is migrating */ |
325 | #define EXT4_STATE_DIO_UNWRITTEN 0x00000040 /* need convert on dio done*/ | ||
325 | 326 | ||
326 | /* Used to pass group descriptor data when online resize is done */ | 327 | /* Used to pass group descriptor data when online resize is done */ |
327 | struct ext4_new_group_input { | 328 | struct ext4_new_group_input { |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 10539e364283..715264b4bae4 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -2807,6 +2807,8 @@ fix_extent_len: | |||
2807 | * into three uninitialized extent(at most). After IO complete, the part | 2807 | * into three uninitialized extent(at most). After IO complete, the part |
2808 | * being filled will be convert to initialized by the end_io callback function | 2808 | * being filled will be convert to initialized by the end_io callback function |
2809 | * via ext4_convert_unwritten_extents(). | 2809 | * via ext4_convert_unwritten_extents(). |
2810 | * | ||
2811 | * Returns the size of uninitialized extent to be written on success. | ||
2810 | */ | 2812 | */ |
2811 | static int ext4_split_unwritten_extents(handle_t *handle, | 2813 | static int ext4_split_unwritten_extents(handle_t *handle, |
2812 | struct inode *inode, | 2814 | struct inode *inode, |
@@ -2824,7 +2826,6 @@ static int ext4_split_unwritten_extents(handle_t *handle, | |||
2824 | unsigned int allocated, ee_len, depth; | 2826 | unsigned int allocated, ee_len, depth; |
2825 | ext4_fsblk_t newblock; | 2827 | ext4_fsblk_t newblock; |
2826 | int err = 0; | 2828 | int err = 0; |
2827 | int ret = 0; | ||
2828 | 2829 | ||
2829 | ext_debug("ext4_split_unwritten_extents: inode %lu," | 2830 | ext_debug("ext4_split_unwritten_extents: inode %lu," |
2830 | "iblock %llu, max_blocks %u\n", inode->i_ino, | 2831 | "iblock %llu, max_blocks %u\n", inode->i_ino, |
@@ -2842,12 +2843,12 @@ static int ext4_split_unwritten_extents(handle_t *handle, | |||
2842 | ext4_ext_store_pblock(&orig_ex, ext_pblock(ex)); | 2843 | ext4_ext_store_pblock(&orig_ex, ext_pblock(ex)); |
2843 | 2844 | ||
2844 | /* | 2845 | /* |
2845 | * if the entire unintialized extent length less than | 2846 | * If the uninitialized extent begins at the same logical |
2846 | * the size of extent to write, there is no need to split | 2847 | * block where the write begins, and the write completely |
2847 | * uninitialized extent | 2848 | * covers the extent, then we don't need to split it. |
2848 | */ | 2849 | */ |
2849 | if (allocated <= max_blocks) | 2850 | if ((iblock == ee_block) && (allocated <= max_blocks)) |
2850 | return ret; | 2851 | return allocated; |
2851 | 2852 | ||
2852 | err = ext4_ext_get_access(handle, inode, path + depth); | 2853 | err = ext4_ext_get_access(handle, inode, path + depth); |
2853 | if (err) | 2854 | if (err) |
@@ -3048,12 +3049,18 @@ ext4_ext_handle_uninitialized_extents(handle_t *handle, struct inode *inode, | |||
3048 | ret = ext4_split_unwritten_extents(handle, | 3049 | ret = ext4_split_unwritten_extents(handle, |
3049 | inode, path, iblock, | 3050 | inode, path, iblock, |
3050 | max_blocks, flags); | 3051 | max_blocks, flags); |
3051 | /* flag the io_end struct that we need convert when IO done */ | 3052 | /* |
3053 | * Flag the inode(non aio case) or end_io struct (aio case) | ||
3054 | * that this IO needs to convertion to written when IO is | ||
3055 | * completed | ||
3056 | */ | ||
3052 | if (io) | 3057 | if (io) |
3053 | io->flag = DIO_AIO_UNWRITTEN; | 3058 | io->flag = DIO_AIO_UNWRITTEN; |
3059 | else | ||
3060 | EXT4_I(inode)->i_state |= EXT4_STATE_DIO_UNWRITTEN; | ||
3054 | goto out; | 3061 | goto out; |
3055 | } | 3062 | } |
3056 | /* DIO end_io complete, convert the filled extent to written */ | 3063 | /* async DIO end_io complete, convert the filled extent to written */ |
3057 | if (flags == EXT4_GET_BLOCKS_DIO_CONVERT_EXT) { | 3064 | if (flags == EXT4_GET_BLOCKS_DIO_CONVERT_EXT) { |
3058 | ret = ext4_convert_unwritten_extents_dio(handle, inode, | 3065 | ret = ext4_convert_unwritten_extents_dio(handle, inode, |
3059 | path); | 3066 | path); |
@@ -3295,10 +3302,16 @@ int ext4_ext_get_blocks(handle_t *handle, struct inode *inode, | |||
3295 | * To avoid unecessary convertion for every aio dio rewrite | 3302 | * To avoid unecessary convertion for every aio dio rewrite |
3296 | * to the mid of file, here we flag the IO that is really | 3303 | * to the mid of file, here we flag the IO that is really |
3297 | * need the convertion. | 3304 | * need the convertion. |
3298 | * | 3305 | * For non asycn direct IO case, flag the inode state |
3306 | * that we need to perform convertion when IO is done. | ||
3299 | */ | 3307 | */ |
3300 | if (io && flags == EXT4_GET_BLOCKS_DIO_CREATE_EXT) | 3308 | if (flags == EXT4_GET_BLOCKS_DIO_CREATE_EXT) { |
3301 | io->flag = DIO_AIO_UNWRITTEN; | 3309 | if (io) |
3310 | io->flag = DIO_AIO_UNWRITTEN; | ||
3311 | else | ||
3312 | EXT4_I(inode)->i_state |= | ||
3313 | EXT4_STATE_DIO_UNWRITTEN;; | ||
3314 | } | ||
3302 | } | 3315 | } |
3303 | err = ext4_ext_insert_extent(handle, inode, path, &newex, flags); | 3316 | err = ext4_ext_insert_extent(handle, inode, path, &newex, flags); |
3304 | if (err) { | 3317 | if (err) { |
@@ -3519,6 +3532,7 @@ retry: | |||
3519 | * | 3532 | * |
3520 | * This function is called from the direct IO end io call back | 3533 | * This function is called from the direct IO end io call back |
3521 | * function, to convert the fallocated extents after IO is completed. | 3534 | * function, to convert the fallocated extents after IO is completed. |
3535 | * Returns 0 on success. | ||
3522 | */ | 3536 | */ |
3523 | int ext4_convert_unwritten_extents(struct inode *inode, loff_t offset, | 3537 | int ext4_convert_unwritten_extents(struct inode *inode, loff_t offset, |
3524 | loff_t len) | 3538 | loff_t len) |
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 5c5bc5dafff8..2c8caa51addb 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -193,7 +193,7 @@ static int try_to_extend_transaction(handle_t *handle, struct inode *inode) | |||
193 | * so before we call here everything must be consistently dirtied against | 193 | * so before we call here everything must be consistently dirtied against |
194 | * this transaction. | 194 | * this transaction. |
195 | */ | 195 | */ |
196 | int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, | 196 | int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, |
197 | int nblocks) | 197 | int nblocks) |
198 | { | 198 | { |
199 | int ret; | 199 | int ret; |
@@ -209,6 +209,7 @@ static int try_to_extend_transaction(handle_t *handle, struct inode *inode) | |||
209 | up_write(&EXT4_I(inode)->i_data_sem); | 209 | up_write(&EXT4_I(inode)->i_data_sem); |
210 | ret = ext4_journal_restart(handle, blocks_for_truncate(inode)); | 210 | ret = ext4_journal_restart(handle, blocks_for_truncate(inode)); |
211 | down_write(&EXT4_I(inode)->i_data_sem); | 211 | down_write(&EXT4_I(inode)->i_data_sem); |
212 | ext4_discard_preallocations(inode); | ||
212 | 213 | ||
213 | return ret; | 214 | return ret; |
214 | } | 215 | } |
@@ -3445,8 +3446,6 @@ out: | |||
3445 | return ret; | 3446 | return ret; |
3446 | } | 3447 | } |
3447 | 3448 | ||
3448 | /* Maximum number of blocks we map for direct IO at once. */ | ||
3449 | |||
3450 | static int ext4_get_block_dio_write(struct inode *inode, sector_t iblock, | 3449 | static int ext4_get_block_dio_write(struct inode *inode, sector_t iblock, |
3451 | struct buffer_head *bh_result, int create) | 3450 | struct buffer_head *bh_result, int create) |
3452 | { | 3451 | { |
@@ -3654,13 +3653,14 @@ static void ext4_end_io_dio(struct kiocb *iocb, loff_t offset, | |||
3654 | ext4_io_end_t *io_end = iocb->private; | 3653 | ext4_io_end_t *io_end = iocb->private; |
3655 | struct workqueue_struct *wq; | 3654 | struct workqueue_struct *wq; |
3656 | 3655 | ||
3656 | /* if not async direct IO or dio with 0 bytes write, just return */ | ||
3657 | if (!io_end || !size) | ||
3658 | return; | ||
3659 | |||
3657 | ext_debug("ext4_end_io_dio(): io_end 0x%p" | 3660 | ext_debug("ext4_end_io_dio(): io_end 0x%p" |
3658 | "for inode %lu, iocb 0x%p, offset %llu, size %llu\n", | 3661 | "for inode %lu, iocb 0x%p, offset %llu, size %llu\n", |
3659 | iocb->private, io_end->inode->i_ino, iocb, offset, | 3662 | iocb->private, io_end->inode->i_ino, iocb, offset, |
3660 | size); | 3663 | size); |
3661 | /* if not async direct IO or dio with 0 bytes write, just return */ | ||
3662 | if (!io_end || !size) | ||
3663 | return; | ||
3664 | 3664 | ||
3665 | /* if not aio dio with unwritten extents, just free io and return */ | 3665 | /* if not aio dio with unwritten extents, just free io and return */ |
3666 | if (io_end->flag != DIO_AIO_UNWRITTEN){ | 3666 | if (io_end->flag != DIO_AIO_UNWRITTEN){ |
@@ -3771,13 +3771,19 @@ static ssize_t ext4_ext_direct_IO(int rw, struct kiocb *iocb, | |||
3771 | if (ret != -EIOCBQUEUED && ret <= 0 && iocb->private) { | 3771 | if (ret != -EIOCBQUEUED && ret <= 0 && iocb->private) { |
3772 | ext4_free_io_end(iocb->private); | 3772 | ext4_free_io_end(iocb->private); |
3773 | iocb->private = NULL; | 3773 | iocb->private = NULL; |
3774 | } else if (ret > 0) | 3774 | } else if (ret > 0 && (EXT4_I(inode)->i_state & |
3775 | EXT4_STATE_DIO_UNWRITTEN)) { | ||
3776 | int err; | ||
3775 | /* | 3777 | /* |
3776 | * for non AIO case, since the IO is already | 3778 | * for non AIO case, since the IO is already |
3777 | * completed, we could do the convertion right here | 3779 | * completed, we could do the convertion right here |
3778 | */ | 3780 | */ |
3779 | ret = ext4_convert_unwritten_extents(inode, | 3781 | err = ext4_convert_unwritten_extents(inode, |
3780 | offset, ret); | 3782 | offset, ret); |
3783 | if (err < 0) | ||
3784 | ret = err; | ||
3785 | EXT4_I(inode)->i_state &= ~EXT4_STATE_DIO_UNWRITTEN; | ||
3786 | } | ||
3781 | return ret; | 3787 | return ret; |
3782 | } | 3788 | } |
3783 | 3789 | ||
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 7c8fe80bacdd..6d2c1b897fc7 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -1518,12 +1518,8 @@ static int ext4_add_entry(handle_t *handle, struct dentry *dentry, | |||
1518 | return retval; | 1518 | return retval; |
1519 | 1519 | ||
1520 | if (blocks == 1 && !dx_fallback && | 1520 | if (blocks == 1 && !dx_fallback && |
1521 | EXT4_HAS_COMPAT_FEATURE(sb, EXT4_FEATURE_COMPAT_DIR_INDEX)) { | 1521 | EXT4_HAS_COMPAT_FEATURE(sb, EXT4_FEATURE_COMPAT_DIR_INDEX)) |
1522 | retval = make_indexed_dir(handle, dentry, inode, bh); | 1522 | return make_indexed_dir(handle, dentry, inode, bh); |
1523 | if (retval == -ENOSPC) | ||
1524 | brelse(bh); | ||
1525 | return retval; | ||
1526 | } | ||
1527 | brelse(bh); | 1523 | brelse(bh); |
1528 | } | 1524 | } |
1529 | bh = ext4_append(handle, dir, &block, &retval); | 1525 | bh = ext4_append(handle, dir, &block, &retval); |
@@ -1532,10 +1528,7 @@ static int ext4_add_entry(handle_t *handle, struct dentry *dentry, | |||
1532 | de = (struct ext4_dir_entry_2 *) bh->b_data; | 1528 | de = (struct ext4_dir_entry_2 *) bh->b_data; |
1533 | de->inode = 0; | 1529 | de->inode = 0; |
1534 | de->rec_len = ext4_rec_len_to_disk(blocksize, blocksize); | 1530 | de->rec_len = ext4_rec_len_to_disk(blocksize, blocksize); |
1535 | retval = add_dirent_to_buf(handle, dentry, inode, de, bh); | 1531 | return add_dirent_to_buf(handle, dentry, inode, de, bh); |
1536 | if (retval == -ENOSPC) | ||
1537 | brelse(bh); | ||
1538 | return retval; | ||
1539 | } | 1532 | } |
1540 | 1533 | ||
1541 | /* | 1534 | /* |
@@ -1664,8 +1657,7 @@ static int ext4_dx_add_entry(handle_t *handle, struct dentry *dentry, | |||
1664 | if (!de) | 1657 | if (!de) |
1665 | goto cleanup; | 1658 | goto cleanup; |
1666 | err = add_dirent_to_buf(handle, dentry, inode, de, bh); | 1659 | err = add_dirent_to_buf(handle, dentry, inode, de, bh); |
1667 | if (err != -ENOSPC) | 1660 | bh = NULL; |
1668 | bh = NULL; | ||
1669 | goto cleanup; | 1661 | goto cleanup; |
1670 | 1662 | ||
1671 | journal_error: | 1663 | journal_error: |
diff --git a/fs/fcntl.c b/fs/fcntl.c index fc089f2f7f56..2cf93ec40a67 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -284,7 +284,7 @@ static int f_setown_ex(struct file *filp, unsigned long arg) | |||
284 | type = PIDTYPE_PID; | 284 | type = PIDTYPE_PID; |
285 | break; | 285 | break; |
286 | 286 | ||
287 | case F_OWNER_GID: | 287 | case F_OWNER_PGRP: |
288 | type = PIDTYPE_PGID; | 288 | type = PIDTYPE_PGID; |
289 | break; | 289 | break; |
290 | 290 | ||
@@ -321,7 +321,7 @@ static int f_getown_ex(struct file *filp, unsigned long arg) | |||
321 | break; | 321 | break; |
322 | 322 | ||
323 | case PIDTYPE_PGID: | 323 | case PIDTYPE_PGID: |
324 | owner.type = F_OWNER_GID; | 324 | owner.type = F_OWNER_PGRP; |
325 | break; | 325 | break; |
326 | 326 | ||
327 | default: | 327 | default: |
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 992f6c9410bb..8ada78aade58 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -712,8 +712,10 @@ static int fuse_rename(struct inode *olddir, struct dentry *oldent, | |||
712 | fuse_invalidate_attr(newdir); | 712 | fuse_invalidate_attr(newdir); |
713 | 713 | ||
714 | /* newent will end up negative */ | 714 | /* newent will end up negative */ |
715 | if (newent->d_inode) | 715 | if (newent->d_inode) { |
716 | fuse_invalidate_attr(newent->d_inode); | ||
716 | fuse_invalidate_entry_cache(newent); | 717 | fuse_invalidate_entry_cache(newent); |
718 | } | ||
717 | } else if (err == -EINTR) { | 719 | } else if (err == -EINTR) { |
718 | /* If request was interrupted, DEITY only knows if the | 720 | /* If request was interrupted, DEITY only knows if the |
719 | rename actually took place. If the invalidation | 721 | rename actually took place. If the invalidation |
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index a3492f7d207c..c18913a777ae 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -1063,7 +1063,8 @@ ssize_t fuse_direct_io(struct file *file, const char __user *buf, | |||
1063 | break; | 1063 | break; |
1064 | } | 1064 | } |
1065 | } | 1065 | } |
1066 | fuse_put_request(fc, req); | 1066 | if (!IS_ERR(req)) |
1067 | fuse_put_request(fc, req); | ||
1067 | if (res > 0) | 1068 | if (res > 0) |
1068 | *ppos = pos; | 1069 | *ppos = pos; |
1069 | 1070 | ||
@@ -1599,7 +1600,7 @@ static int fuse_ioctl_copy_user(struct page **pages, struct iovec *iov, | |||
1599 | kaddr += copy; | 1600 | kaddr += copy; |
1600 | } | 1601 | } |
1601 | 1602 | ||
1602 | kunmap(map); | 1603 | kunmap(page); |
1603 | } | 1604 | } |
1604 | 1605 | ||
1605 | return 0; | 1606 | return 0; |
diff --git a/fs/ioctl.c b/fs/ioctl.c index 7b17a14396ff..6c751106c2e5 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c | |||
@@ -254,7 +254,7 @@ int __generic_block_fiemap(struct inode *inode, | |||
254 | u64 len, get_block_t *get_block) | 254 | u64 len, get_block_t *get_block) |
255 | { | 255 | { |
256 | struct buffer_head tmp; | 256 | struct buffer_head tmp; |
257 | unsigned int start_blk; | 257 | unsigned long long start_blk; |
258 | long long length = 0, map_len = 0; | 258 | long long length = 0, map_len = 0; |
259 | u64 logical = 0, phys = 0, size = 0; | 259 | u64 logical = 0, phys = 0, size = 0; |
260 | u32 flags = FIEMAP_EXTENT_MERGED; | 260 | u32 flags = FIEMAP_EXTENT_MERGED; |
diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index bd3c073b485d..4160afad6d00 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c | |||
@@ -73,6 +73,7 @@ EXPORT_SYMBOL(journal_errno); | |||
73 | EXPORT_SYMBOL(journal_ack_err); | 73 | EXPORT_SYMBOL(journal_ack_err); |
74 | EXPORT_SYMBOL(journal_clear_err); | 74 | EXPORT_SYMBOL(journal_clear_err); |
75 | EXPORT_SYMBOL(log_wait_commit); | 75 | EXPORT_SYMBOL(log_wait_commit); |
76 | EXPORT_SYMBOL(log_start_commit); | ||
76 | EXPORT_SYMBOL(journal_start_commit); | 77 | EXPORT_SYMBOL(journal_start_commit); |
77 | EXPORT_SYMBOL(journal_force_commit_nested); | 78 | EXPORT_SYMBOL(journal_force_commit_nested); |
78 | EXPORT_SYMBOL(journal_wipe); | 79 | EXPORT_SYMBOL(journal_wipe); |
@@ -756,6 +757,7 @@ journal_t * journal_init_dev(struct block_device *bdev, | |||
756 | 757 | ||
757 | return journal; | 758 | return journal; |
758 | out_err: | 759 | out_err: |
760 | kfree(journal->j_wbuf); | ||
759 | kfree(journal); | 761 | kfree(journal); |
760 | return NULL; | 762 | return NULL; |
761 | } | 763 | } |
@@ -820,6 +822,7 @@ journal_t * journal_init_inode (struct inode *inode) | |||
820 | 822 | ||
821 | return journal; | 823 | return journal; |
822 | out_err: | 824 | out_err: |
825 | kfree(journal->j_wbuf); | ||
823 | kfree(journal); | 826 | kfree(journal); |
824 | return NULL; | 827 | return NULL; |
825 | } | 828 | } |
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index b0ab5219becb..fed85388ee86 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -913,6 +913,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev, | |||
913 | 913 | ||
914 | return journal; | 914 | return journal; |
915 | out_err: | 915 | out_err: |
916 | kfree(journal->j_wbuf); | ||
916 | jbd2_stats_proc_exit(journal); | 917 | jbd2_stats_proc_exit(journal); |
917 | kfree(journal); | 918 | kfree(journal); |
918 | return NULL; | 919 | return NULL; |
@@ -986,6 +987,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode) | |||
986 | 987 | ||
987 | return journal; | 988 | return journal; |
988 | out_err: | 989 | out_err: |
990 | kfree(journal->j_wbuf); | ||
989 | jbd2_stats_proc_exit(journal); | 991 | jbd2_stats_proc_exit(journal); |
990 | kfree(journal); | 992 | kfree(journal); |
991 | return NULL; | 993 | return NULL; |
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index ff37454fa783..741a562177fc 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -2767,7 +2767,7 @@ static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, | |||
2767 | .pages = &page, | 2767 | .pages = &page, |
2768 | .pgbase = 0, | 2768 | .pgbase = 0, |
2769 | .count = count, | 2769 | .count = count, |
2770 | .bitmask = NFS_SERVER(dentry->d_inode)->cache_consistency_bitmask, | 2770 | .bitmask = NFS_SERVER(dentry->d_inode)->attr_bitmask, |
2771 | }; | 2771 | }; |
2772 | struct nfs4_readdir_res res; | 2772 | struct nfs4_readdir_res res; |
2773 | struct rpc_message msg = { | 2773 | struct rpc_message msg = { |
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c index edf926e1062f..d0a2ce1b4324 100644 --- a/fs/nfsd/nfs3xdr.c +++ b/fs/nfsd/nfs3xdr.c | |||
@@ -958,7 +958,7 @@ encode_entry(struct readdir_cd *ccd, const char *name, int namlen, | |||
958 | p1 = encode_entry_baggage(cd, p1, name, namlen, ino); | 958 | p1 = encode_entry_baggage(cd, p1, name, namlen, ino); |
959 | 959 | ||
960 | if (plus) | 960 | if (plus) |
961 | p = encode_entryplus_baggage(cd, p1, name, namlen); | 961 | p1 = encode_entryplus_baggage(cd, p1, name, namlen); |
962 | 962 | ||
963 | /* determine entry word length and lengths to go in pages */ | 963 | /* determine entry word length and lengths to go in pages */ |
964 | num_entry_words = p1 - tmp; | 964 | num_entry_words = p1 - tmp; |
diff --git a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c index 1c6cfb59128d..3f5d5d06f53c 100644 --- a/fs/nilfs2/cpfile.c +++ b/fs/nilfs2/cpfile.c | |||
@@ -871,7 +871,6 @@ int nilfs_cpfile_change_cpmode(struct inode *cpfile, __u64 cno, int mode) | |||
871 | * exclusive with a new mount job. Though it doesn't cover | 871 | * exclusive with a new mount job. Though it doesn't cover |
872 | * umount, it's enough for the purpose. | 872 | * umount, it's enough for the purpose. |
873 | */ | 873 | */ |
874 | mutex_lock(&nilfs->ns_mount_mutex); | ||
875 | if (nilfs_checkpoint_is_mounted(nilfs, cno, 1)) { | 874 | if (nilfs_checkpoint_is_mounted(nilfs, cno, 1)) { |
876 | /* Current implementation does not have to protect | 875 | /* Current implementation does not have to protect |
877 | plain read-only mounts since they are exclusive | 876 | plain read-only mounts since they are exclusive |
@@ -880,7 +879,6 @@ int nilfs_cpfile_change_cpmode(struct inode *cpfile, __u64 cno, int mode) | |||
880 | ret = -EBUSY; | 879 | ret = -EBUSY; |
881 | } else | 880 | } else |
882 | ret = nilfs_cpfile_clear_snapshot(cpfile, cno); | 881 | ret = nilfs_cpfile_clear_snapshot(cpfile, cno); |
883 | mutex_unlock(&nilfs->ns_mount_mutex); | ||
884 | return ret; | 882 | return ret; |
885 | case NILFS_SNAPSHOT: | 883 | case NILFS_SNAPSHOT: |
886 | return nilfs_cpfile_set_snapshot(cpfile, cno); | 884 | return nilfs_cpfile_set_snapshot(cpfile, cno); |
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c index 5040220c3732..2a0a5a3ac134 100644 --- a/fs/nilfs2/inode.c +++ b/fs/nilfs2/inode.c | |||
@@ -664,7 +664,6 @@ int nilfs_load_inode_block(struct nilfs_sb_info *sbi, struct inode *inode, | |||
664 | int err; | 664 | int err; |
665 | 665 | ||
666 | spin_lock(&sbi->s_inode_lock); | 666 | spin_lock(&sbi->s_inode_lock); |
667 | /* Caller of this function MUST lock s_inode_lock */ | ||
668 | if (ii->i_bh == NULL) { | 667 | if (ii->i_bh == NULL) { |
669 | spin_unlock(&sbi->s_inode_lock); | 668 | spin_unlock(&sbi->s_inode_lock); |
670 | err = nilfs_ifile_get_inode_block(sbi->s_ifile, inode->i_ino, | 669 | err = nilfs_ifile_get_inode_block(sbi->s_ifile, inode->i_ino, |
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c index 6572ea4bc4df..f6af76042d80 100644 --- a/fs/nilfs2/ioctl.c +++ b/fs/nilfs2/ioctl.c | |||
@@ -99,7 +99,8 @@ static int nilfs_ioctl_wrap_copy(struct the_nilfs *nilfs, | |||
99 | static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, | 99 | static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, |
100 | unsigned int cmd, void __user *argp) | 100 | unsigned int cmd, void __user *argp) |
101 | { | 101 | { |
102 | struct inode *cpfile = NILFS_SB(inode->i_sb)->s_nilfs->ns_cpfile; | 102 | struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; |
103 | struct inode *cpfile = nilfs->ns_cpfile; | ||
103 | struct nilfs_transaction_info ti; | 104 | struct nilfs_transaction_info ti; |
104 | struct nilfs_cpmode cpmode; | 105 | struct nilfs_cpmode cpmode; |
105 | int ret; | 106 | int ret; |
@@ -109,14 +110,17 @@ static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, | |||
109 | if (copy_from_user(&cpmode, argp, sizeof(cpmode))) | 110 | if (copy_from_user(&cpmode, argp, sizeof(cpmode))) |
110 | return -EFAULT; | 111 | return -EFAULT; |
111 | 112 | ||
113 | mutex_lock(&nilfs->ns_mount_mutex); | ||
112 | nilfs_transaction_begin(inode->i_sb, &ti, 0); | 114 | nilfs_transaction_begin(inode->i_sb, &ti, 0); |
113 | ret = nilfs_cpfile_change_cpmode( | 115 | ret = nilfs_cpfile_change_cpmode( |
114 | cpfile, cpmode.cm_cno, cpmode.cm_mode); | 116 | cpfile, cpmode.cm_cno, cpmode.cm_mode); |
115 | if (unlikely(ret < 0)) { | 117 | if (unlikely(ret < 0)) { |
116 | nilfs_transaction_abort(inode->i_sb); | 118 | nilfs_transaction_abort(inode->i_sb); |
119 | mutex_unlock(&nilfs->ns_mount_mutex); | ||
117 | return ret; | 120 | return ret; |
118 | } | 121 | } |
119 | nilfs_transaction_commit(inode->i_sb); /* never fails */ | 122 | nilfs_transaction_commit(inode->i_sb); /* never fails */ |
123 | mutex_unlock(&nilfs->ns_mount_mutex); | ||
120 | return ret; | 124 | return ret; |
121 | } | 125 | } |
122 | 126 | ||
@@ -297,7 +301,18 @@ static int nilfs_ioctl_move_inode_block(struct inode *inode, | |||
297 | (unsigned long long)vdesc->vd_vblocknr); | 301 | (unsigned long long)vdesc->vd_vblocknr); |
298 | return ret; | 302 | return ret; |
299 | } | 303 | } |
300 | bh->b_private = vdesc; | 304 | if (unlikely(!list_empty(&bh->b_assoc_buffers))) { |
305 | printk(KERN_CRIT "%s: conflicting %s buffer: ino=%llu, " | ||
306 | "cno=%llu, offset=%llu, blocknr=%llu, vblocknr=%llu\n", | ||
307 | __func__, vdesc->vd_flags ? "node" : "data", | ||
308 | (unsigned long long)vdesc->vd_ino, | ||
309 | (unsigned long long)vdesc->vd_cno, | ||
310 | (unsigned long long)vdesc->vd_offset, | ||
311 | (unsigned long long)vdesc->vd_blocknr, | ||
312 | (unsigned long long)vdesc->vd_vblocknr); | ||
313 | brelse(bh); | ||
314 | return -EEXIST; | ||
315 | } | ||
301 | list_add_tail(&bh->b_assoc_buffers, buffers); | 316 | list_add_tail(&bh->b_assoc_buffers, buffers); |
302 | return 0; | 317 | return 0; |
303 | } | 318 | } |
@@ -335,24 +350,10 @@ static int nilfs_ioctl_move_blocks(struct the_nilfs *nilfs, | |||
335 | list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { | 350 | list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { |
336 | ret = nilfs_gccache_wait_and_mark_dirty(bh); | 351 | ret = nilfs_gccache_wait_and_mark_dirty(bh); |
337 | if (unlikely(ret < 0)) { | 352 | if (unlikely(ret < 0)) { |
338 | if (ret == -EEXIST) { | 353 | WARN_ON(ret == -EEXIST); |
339 | vdesc = bh->b_private; | ||
340 | printk(KERN_CRIT | ||
341 | "%s: conflicting %s buffer: " | ||
342 | "ino=%llu, cno=%llu, offset=%llu, " | ||
343 | "blocknr=%llu, vblocknr=%llu\n", | ||
344 | __func__, | ||
345 | vdesc->vd_flags ? "node" : "data", | ||
346 | (unsigned long long)vdesc->vd_ino, | ||
347 | (unsigned long long)vdesc->vd_cno, | ||
348 | (unsigned long long)vdesc->vd_offset, | ||
349 | (unsigned long long)vdesc->vd_blocknr, | ||
350 | (unsigned long long)vdesc->vd_vblocknr); | ||
351 | } | ||
352 | goto failed; | 354 | goto failed; |
353 | } | 355 | } |
354 | list_del_init(&bh->b_assoc_buffers); | 356 | list_del_init(&bh->b_assoc_buffers); |
355 | bh->b_private = NULL; | ||
356 | brelse(bh); | 357 | brelse(bh); |
357 | } | 358 | } |
358 | return nmembs; | 359 | return nmembs; |
@@ -360,7 +361,6 @@ static int nilfs_ioctl_move_blocks(struct the_nilfs *nilfs, | |||
360 | failed: | 361 | failed: |
361 | list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { | 362 | list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { |
362 | list_del_init(&bh->b_assoc_buffers); | 363 | list_del_init(&bh->b_assoc_buffers); |
363 | bh->b_private = NULL; | ||
364 | brelse(bh); | 364 | brelse(bh); |
365 | } | 365 | } |
366 | return ret; | 366 | return ret; |
@@ -471,7 +471,6 @@ int nilfs_ioctl_prepare_clean_segments(struct the_nilfs *nilfs, | |||
471 | return 0; | 471 | return 0; |
472 | 472 | ||
473 | failed: | 473 | failed: |
474 | nilfs_remove_all_gcinode(nilfs); | ||
475 | printk(KERN_ERR "NILFS: GC failed during preparation: %s: err=%d\n", | 474 | printk(KERN_ERR "NILFS: GC failed during preparation: %s: err=%d\n", |
476 | msg, ret); | 475 | msg, ret); |
477 | return ret; | 476 | return ret; |
@@ -560,6 +559,8 @@ static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, | |||
560 | else | 559 | else |
561 | ret = nilfs_clean_segments(inode->i_sb, argv, kbufs); | 560 | ret = nilfs_clean_segments(inode->i_sb, argv, kbufs); |
562 | 561 | ||
562 | if (ret < 0) | ||
563 | nilfs_remove_all_gcinode(nilfs); | ||
563 | clear_nilfs_gc_running(nilfs); | 564 | clear_nilfs_gc_running(nilfs); |
564 | 565 | ||
565 | out_free: | 566 | out_free: |
diff --git a/fs/proc/array.c b/fs/proc/array.c index 07f77a7945c3..822c2d506518 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -571,7 +571,7 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, | |||
571 | rsslim, | 571 | rsslim, |
572 | mm ? mm->start_code : 0, | 572 | mm ? mm->start_code : 0, |
573 | mm ? mm->end_code : 0, | 573 | mm ? mm->end_code : 0, |
574 | (permitted) ? task->stack_start : 0, | 574 | (permitted && mm) ? task->stack_start : 0, |
575 | esp, | 575 | esp, |
576 | eip, | 576 | eip, |
577 | /* The signal information here is obsolete. | 577 | /* The signal information here is obsolete. |
diff --git a/fs/proc/base.c b/fs/proc/base.c index 837469a96598..af643b5aefe8 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2597,8 +2597,7 @@ static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) | |||
2597 | name.len = snprintf(buf, sizeof(buf), "%d", pid); | 2597 | name.len = snprintf(buf, sizeof(buf), "%d", pid); |
2598 | dentry = d_hash_and_lookup(mnt->mnt_root, &name); | 2598 | dentry = d_hash_and_lookup(mnt->mnt_root, &name); |
2599 | if (dentry) { | 2599 | if (dentry) { |
2600 | if (!(current->flags & PF_EXITING)) | 2600 | shrink_dcache_parent(dentry); |
2601 | shrink_dcache_parent(dentry); | ||
2602 | d_drop(dentry); | 2601 | d_drop(dentry); |
2603 | dput(dentry); | 2602 | dput(dentry); |
2604 | } | 2603 | } |
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 5fad489ce5bc..e0201837d244 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/completion.h> | 21 | #include <linux/completion.h> |
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/security.h> | ||
24 | #include "sysfs.h" | 25 | #include "sysfs.h" |
25 | 26 | ||
26 | DEFINE_MUTEX(sysfs_mutex); | 27 | DEFINE_MUTEX(sysfs_mutex); |
@@ -285,6 +286,9 @@ void release_sysfs_dirent(struct sysfs_dirent * sd) | |||
285 | sysfs_put(sd->s_symlink.target_sd); | 286 | sysfs_put(sd->s_symlink.target_sd); |
286 | if (sysfs_type(sd) & SYSFS_COPY_NAME) | 287 | if (sysfs_type(sd) & SYSFS_COPY_NAME) |
287 | kfree(sd->s_name); | 288 | kfree(sd->s_name); |
289 | if (sd->s_iattr && sd->s_iattr->ia_secdata) | ||
290 | security_release_secctx(sd->s_iattr->ia_secdata, | ||
291 | sd->s_iattr->ia_secdata_len); | ||
288 | kfree(sd->s_iattr); | 292 | kfree(sd->s_iattr); |
289 | sysfs_free_ino(sd->s_ino); | 293 | sysfs_free_ino(sd->s_ino); |
290 | kmem_cache_free(sysfs_dir_cachep, sd); | 294 | kmem_cache_free(sysfs_dir_cachep, sd); |
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 1099395d7d6c..fb17f8226b09 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -1980,7 +1980,7 @@ xlog_recover_do_reg_buffer( | |||
1980 | "XFS: NULL dquot in %s.", __func__); | 1980 | "XFS: NULL dquot in %s.", __func__); |
1981 | goto next; | 1981 | goto next; |
1982 | } | 1982 | } |
1983 | if (item->ri_buf[i].i_len < sizeof(xfs_dqblk_t)) { | 1983 | if (item->ri_buf[i].i_len < sizeof(xfs_disk_dquot_t)) { |
1984 | cmn_err(CE_ALERT, | 1984 | cmn_err(CE_ALERT, |
1985 | "XFS: dquot too small (%d) in %s.", | 1985 | "XFS: dquot too small (%d) in %s.", |
1986 | item->ri_buf[i].i_len, __func__); | 1986 | item->ri_buf[i].i_len, __func__); |
@@ -2635,7 +2635,7 @@ xlog_recover_do_dquot_trans( | |||
2635 | "XFS: NULL dquot in %s.", __func__); | 2635 | "XFS: NULL dquot in %s.", __func__); |
2636 | return XFS_ERROR(EIO); | 2636 | return XFS_ERROR(EIO); |
2637 | } | 2637 | } |
2638 | if (item->ri_buf[1].i_len < sizeof(xfs_dqblk_t)) { | 2638 | if (item->ri_buf[1].i_len < sizeof(xfs_disk_dquot_t)) { |
2639 | cmn_err(CE_ALERT, | 2639 | cmn_err(CE_ALERT, |
2640 | "XFS: dquot too small (%d) in %s.", | 2640 | "XFS: dquot too small (%d) in %s.", |
2641 | item->ri_buf[1].i_len, __func__); | 2641 | item->ri_buf[1].i_len, __func__); |
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index f31271c30de9..2ffc570679be 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -467,6 +467,7 @@ xfs_trans_ail_update( | |||
467 | { | 467 | { |
468 | xfs_log_item_t *dlip = NULL; | 468 | xfs_log_item_t *dlip = NULL; |
469 | xfs_log_item_t *mlip; /* ptr to minimum lip */ | 469 | xfs_log_item_t *mlip; /* ptr to minimum lip */ |
470 | xfs_lsn_t tail_lsn; | ||
470 | 471 | ||
471 | mlip = xfs_ail_min(ailp); | 472 | mlip = xfs_ail_min(ailp); |
472 | 473 | ||
@@ -483,8 +484,16 @@ xfs_trans_ail_update( | |||
483 | 484 | ||
484 | if (mlip == dlip) { | 485 | if (mlip == dlip) { |
485 | mlip = xfs_ail_min(ailp); | 486 | mlip = xfs_ail_min(ailp); |
487 | /* | ||
488 | * It is not safe to access mlip after the AIL lock is | ||
489 | * dropped, so we must get a copy of li_lsn before we do | ||
490 | * so. This is especially important on 32-bit platforms | ||
491 | * where accessing and updating 64-bit values like li_lsn | ||
492 | * is not atomic. | ||
493 | */ | ||
494 | tail_lsn = mlip->li_lsn; | ||
486 | spin_unlock(&ailp->xa_lock); | 495 | spin_unlock(&ailp->xa_lock); |
487 | xfs_log_move_tail(ailp->xa_mount, mlip->li_lsn); | 496 | xfs_log_move_tail(ailp->xa_mount, tail_lsn); |
488 | } else { | 497 | } else { |
489 | spin_unlock(&ailp->xa_lock); | 498 | spin_unlock(&ailp->xa_lock); |
490 | } | 499 | } |
@@ -514,6 +523,7 @@ xfs_trans_ail_delete( | |||
514 | { | 523 | { |
515 | xfs_log_item_t *dlip; | 524 | xfs_log_item_t *dlip; |
516 | xfs_log_item_t *mlip; | 525 | xfs_log_item_t *mlip; |
526 | xfs_lsn_t tail_lsn; | ||
517 | 527 | ||
518 | if (lip->li_flags & XFS_LI_IN_AIL) { | 528 | if (lip->li_flags & XFS_LI_IN_AIL) { |
519 | mlip = xfs_ail_min(ailp); | 529 | mlip = xfs_ail_min(ailp); |
@@ -527,9 +537,16 @@ xfs_trans_ail_delete( | |||
527 | 537 | ||
528 | if (mlip == dlip) { | 538 | if (mlip == dlip) { |
529 | mlip = xfs_ail_min(ailp); | 539 | mlip = xfs_ail_min(ailp); |
540 | /* | ||
541 | * It is not safe to access mlip after the AIL lock | ||
542 | * is dropped, so we must get a copy of li_lsn | ||
543 | * before we do so. This is especially important | ||
544 | * on 32-bit platforms where accessing and updating | ||
545 | * 64-bit values like li_lsn is not atomic. | ||
546 | */ | ||
547 | tail_lsn = mlip ? mlip->li_lsn : 0; | ||
530 | spin_unlock(&ailp->xa_lock); | 548 | spin_unlock(&ailp->xa_lock); |
531 | xfs_log_move_tail(ailp->xa_mount, | 549 | xfs_log_move_tail(ailp->xa_mount, tail_lsn); |
532 | (mlip ? mlip->li_lsn : 0)); | ||
533 | } else { | 550 | } else { |
534 | spin_unlock(&ailp->xa_lock); | 551 | spin_unlock(&ailp->xa_lock); |
535 | } | 552 | } |
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index 0c3dd8603927..495dc8af4044 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h | |||
@@ -73,14 +73,23 @@ | |||
73 | #define F_SETSIG 10 /* for sockets. */ | 73 | #define F_SETSIG 10 /* for sockets. */ |
74 | #define F_GETSIG 11 /* for sockets. */ | 74 | #define F_GETSIG 11 /* for sockets. */ |
75 | #endif | 75 | #endif |
76 | |||
77 | #ifndef CONFIG_64BIT | ||
78 | #ifndef F_GETLK64 | ||
79 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
80 | #define F_SETLK64 13 | ||
81 | #define F_SETLKW64 14 | ||
82 | #endif | ||
83 | #endif | ||
84 | |||
76 | #ifndef F_SETOWN_EX | 85 | #ifndef F_SETOWN_EX |
77 | #define F_SETOWN_EX 12 | 86 | #define F_SETOWN_EX 15 |
78 | #define F_GETOWN_EX 13 | 87 | #define F_GETOWN_EX 16 |
79 | #endif | 88 | #endif |
80 | 89 | ||
81 | #define F_OWNER_TID 0 | 90 | #define F_OWNER_TID 0 |
82 | #define F_OWNER_PID 1 | 91 | #define F_OWNER_PID 1 |
83 | #define F_OWNER_GID 2 | 92 | #define F_OWNER_PGRP 2 |
84 | 93 | ||
85 | struct f_owner_ex { | 94 | struct f_owner_ex { |
86 | int type; | 95 | int type; |
@@ -139,12 +148,6 @@ struct flock { | |||
139 | 148 | ||
140 | #ifndef CONFIG_64BIT | 149 | #ifndef CONFIG_64BIT |
141 | 150 | ||
142 | #ifndef F_GETLK64 | ||
143 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
144 | #define F_SETLK64 13 | ||
145 | #define F_SETLKW64 14 | ||
146 | #endif | ||
147 | |||
148 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 | 151 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 |
149 | #ifndef __ARCH_FLOCK64_PAD | 152 | #ifndef __ARCH_FLOCK64_PAD |
150 | #define __ARCH_FLOCK64_PAD | 153 | #define __ARCH_FLOCK64_PAD |
diff --git a/include/linux/ext3_fs_i.h b/include/linux/ext3_fs_i.h index ca1bfe90004f..93e7428156ba 100644 --- a/include/linux/ext3_fs_i.h +++ b/include/linux/ext3_fs_i.h | |||
@@ -137,6 +137,14 @@ struct ext3_inode_info { | |||
137 | * by other means, so we have truncate_mutex. | 137 | * by other means, so we have truncate_mutex. |
138 | */ | 138 | */ |
139 | struct mutex truncate_mutex; | 139 | struct mutex truncate_mutex; |
140 | |||
141 | /* | ||
142 | * Transactions that contain inode's metadata needed to complete | ||
143 | * fsync and fdatasync, respectively. | ||
144 | */ | ||
145 | atomic_t i_sync_tid; | ||
146 | atomic_t i_datasync_tid; | ||
147 | |||
140 | struct inode vfs_inode; | 148 | struct inode vfs_inode; |
141 | }; | 149 | }; |
142 | 150 | ||
diff --git a/include/linux/fb.h b/include/linux/fb.h index a34bdf5a9d23..de9c722e7b90 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -669,12 +669,6 @@ struct fb_ops { | |||
669 | /* perform fb specific mmap */ | 669 | /* perform fb specific mmap */ |
670 | int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma); | 670 | int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma); |
671 | 671 | ||
672 | /* save current hardware state */ | ||
673 | void (*fb_save_state)(struct fb_info *info); | ||
674 | |||
675 | /* restore saved state */ | ||
676 | void (*fb_restore_state)(struct fb_info *info); | ||
677 | |||
678 | /* get capability given var */ | 672 | /* get capability given var */ |
679 | void (*fb_get_caps)(struct fb_info *info, struct fb_blit_caps *caps, | 673 | void (*fb_get_caps)(struct fb_info *info, struct fb_blit_caps *caps, |
680 | struct fb_var_screeninfo *var); | 674 | struct fb_var_screeninfo *var); |
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 57d41b0abce2..7b40cda57a70 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -361,6 +361,24 @@ static inline void i2c_set_adapdata(struct i2c_adapter *dev, void *data) | |||
361 | dev_set_drvdata(&dev->dev, data); | 361 | dev_set_drvdata(&dev->dev, data); |
362 | } | 362 | } |
363 | 363 | ||
364 | /** | ||
365 | * i2c_lock_adapter - Prevent access to an I2C bus segment | ||
366 | * @adapter: Target I2C bus segment | ||
367 | */ | ||
368 | static inline void i2c_lock_adapter(struct i2c_adapter *adapter) | ||
369 | { | ||
370 | mutex_lock(&adapter->bus_lock); | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * i2c_unlock_adapter - Reauthorize access to an I2C bus segment | ||
375 | * @adapter: Target I2C bus segment | ||
376 | */ | ||
377 | static inline void i2c_unlock_adapter(struct i2c_adapter *adapter) | ||
378 | { | ||
379 | mutex_unlock(&adapter->bus_lock); | ||
380 | } | ||
381 | |||
364 | /*flags for the client struct: */ | 382 | /*flags for the client struct: */ |
365 | #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ | 383 | #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ |
366 | #define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ | 384 | #define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ |
diff --git a/include/linux/input.h b/include/linux/input.h index 0ccfc30cd40f..c2b1a7d244d9 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1377,6 +1377,10 @@ extern struct class input_class; | |||
1377 | * methods; erase() is optional. set_gain() and set_autocenter() need | 1377 | * methods; erase() is optional. set_gain() and set_autocenter() need |
1378 | * only be implemented if driver sets up FF_GAIN and FF_AUTOCENTER | 1378 | * only be implemented if driver sets up FF_GAIN and FF_AUTOCENTER |
1379 | * bits. | 1379 | * bits. |
1380 | * | ||
1381 | * Note that playback(), set_gain() and set_autocenter() are called with | ||
1382 | * dev->event_lock spinlock held and interrupts off and thus may not | ||
1383 | * sleep. | ||
1380 | */ | 1384 | */ |
1381 | struct ff_device { | 1385 | struct ff_device { |
1382 | int (*upload)(struct input_dev *dev, struct ff_effect *effect, | 1386 | int (*upload)(struct input_dev *dev, struct ff_effect *effect, |
diff --git a/include/linux/isdn_ppp.h b/include/linux/isdn_ppp.h index 4c218ee7587a..8687a7dc0632 100644 --- a/include/linux/isdn_ppp.h +++ b/include/linux/isdn_ppp.h | |||
@@ -157,7 +157,7 @@ typedef struct { | |||
157 | 157 | ||
158 | typedef struct { | 158 | typedef struct { |
159 | int mp_mrru; /* unused */ | 159 | int mp_mrru; /* unused */ |
160 | struct sk_buff_head frags; /* fragments sl list */ | 160 | struct sk_buff * frags; /* fragments sl list -- use skb->next */ |
161 | long frames; /* number of frames in the frame list */ | 161 | long frames; /* number of frames in the frame list */ |
162 | unsigned int seq; /* last processed packet seq #: any packets | 162 | unsigned int seq; /* last processed packet seq #: any packets |
163 | * with smaller seq # will be dropped | 163 | * with smaller seq # will be dropped |
diff --git a/include/linux/nilfs2_fs.h b/include/linux/nilfs2_fs.h index 79fec6af3f9f..ce520402e840 100644 --- a/include/linux/nilfs2_fs.h +++ b/include/linux/nilfs2_fs.h | |||
@@ -425,15 +425,6 @@ struct nilfs_dat_entry { | |||
425 | }; | 425 | }; |
426 | 426 | ||
427 | /** | 427 | /** |
428 | * struct nilfs_dat_group_desc - block group descriptor | ||
429 | * @dg_nfrees: number of free virtual block numbers in block group | ||
430 | */ | ||
431 | struct nilfs_dat_group_desc { | ||
432 | __le32 dg_nfrees; | ||
433 | }; | ||
434 | |||
435 | |||
436 | /** | ||
437 | * struct nilfs_snapshot_list - snapshot list | 428 | * struct nilfs_snapshot_list - snapshot list |
438 | * @ssl_next: next checkpoint number on snapshot list | 429 | * @ssl_next: next checkpoint number on snapshot list |
439 | * @ssl_prev: previous checkpoint number on snapshot list | 430 | * @ssl_prev: previous checkpoint number on snapshot list |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index b0f0f3851cd4..84cf1f3b7838 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -543,7 +543,7 @@ | |||
543 | #define PCI_DEVICE_ID_AMD_8131_BRIDGE 0x7450 | 543 | #define PCI_DEVICE_ID_AMD_8131_BRIDGE 0x7450 |
544 | #define PCI_DEVICE_ID_AMD_8131_APIC 0x7451 | 544 | #define PCI_DEVICE_ID_AMD_8131_APIC 0x7451 |
545 | #define PCI_DEVICE_ID_AMD_8132_BRIDGE 0x7458 | 545 | #define PCI_DEVICE_ID_AMD_8132_BRIDGE 0x7458 |
546 | #define PCI_DEVICE_ID_AMD_SB900_SMBUS 0x780b | 546 | #define PCI_DEVICE_ID_AMD_HUDSON2_SMBUS 0x780b |
547 | #define PCI_DEVICE_ID_AMD_CS5535_IDE 0x208F | 547 | #define PCI_DEVICE_ID_AMD_CS5535_IDE 0x208F |
548 | #define PCI_DEVICE_ID_AMD_CS5536_ISA 0x2090 | 548 | #define PCI_DEVICE_ID_AMD_CS5536_ISA 0x2090 |
549 | #define PCI_DEVICE_ID_AMD_CS5536_FLASH 0x2091 | 549 | #define PCI_DEVICE_ID_AMD_CS5536_FLASH 0x2091 |
@@ -1956,6 +1956,8 @@ | |||
1956 | #define PCI_DEVICE_ID_LAVA_DSERIAL 0x0100 /* 2x 16550 */ | 1956 | #define PCI_DEVICE_ID_LAVA_DSERIAL 0x0100 /* 2x 16550 */ |
1957 | #define PCI_DEVICE_ID_LAVA_QUATRO_A 0x0101 /* 2x 16550, half of 4 port */ | 1957 | #define PCI_DEVICE_ID_LAVA_QUATRO_A 0x0101 /* 2x 16550, half of 4 port */ |
1958 | #define PCI_DEVICE_ID_LAVA_QUATRO_B 0x0102 /* 2x 16550, half of 4 port */ | 1958 | #define PCI_DEVICE_ID_LAVA_QUATRO_B 0x0102 /* 2x 16550, half of 4 port */ |
1959 | #define PCI_DEVICE_ID_LAVA_QUATTRO_A 0x0120 /* 2x 16550A, half of 4 port */ | ||
1960 | #define PCI_DEVICE_ID_LAVA_QUATTRO_B 0x0121 /* 2x 16550A, half of 4 port */ | ||
1959 | #define PCI_DEVICE_ID_LAVA_OCTO_A 0x0180 /* 4x 16550A, half of 8 port */ | 1961 | #define PCI_DEVICE_ID_LAVA_OCTO_A 0x0180 /* 4x 16550A, half of 8 port */ |
1960 | #define PCI_DEVICE_ID_LAVA_OCTO_B 0x0181 /* 4x 16550A, half of 8 port */ | 1962 | #define PCI_DEVICE_ID_LAVA_OCTO_B 0x0181 /* 4x 16550A, half of 8 port */ |
1961 | #define PCI_DEVICE_ID_LAVA_PORT_PLUS 0x0200 /* 2x 16650 */ | 1963 | #define PCI_DEVICE_ID_LAVA_PORT_PLUS 0x0200 /* 2x 16650 */ |
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index cd15df6c63cd..5e781d824e6d 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -301,6 +301,8 @@ static inline int unregister_pm_notifier(struct notifier_block *nb) | |||
301 | #define pm_notifier(fn, pri) do { (void)(fn); } while (0) | 301 | #define pm_notifier(fn, pri) do { (void)(fn); } while (0) |
302 | #endif /* !CONFIG_PM_SLEEP */ | 302 | #endif /* !CONFIG_PM_SLEEP */ |
303 | 303 | ||
304 | extern struct mutex pm_mutex; | ||
305 | |||
304 | #ifndef CONFIG_HIBERNATION | 306 | #ifndef CONFIG_HIBERNATION |
305 | static inline void register_nosave_region(unsigned long b, unsigned long e) | 307 | static inline void register_nosave_region(unsigned long b, unsigned long e) |
306 | { | 308 | { |
@@ -308,8 +310,23 @@ static inline void register_nosave_region(unsigned long b, unsigned long e) | |||
308 | static inline void register_nosave_region_late(unsigned long b, unsigned long e) | 310 | static inline void register_nosave_region_late(unsigned long b, unsigned long e) |
309 | { | 311 | { |
310 | } | 312 | } |
311 | #endif | ||
312 | 313 | ||
313 | extern struct mutex pm_mutex; | 314 | static inline void lock_system_sleep(void) {} |
315 | static inline void unlock_system_sleep(void) {} | ||
316 | |||
317 | #else | ||
318 | |||
319 | /* Let some subsystems like memory hotadd exclude hibernation */ | ||
320 | |||
321 | static inline void lock_system_sleep(void) | ||
322 | { | ||
323 | mutex_lock(&pm_mutex); | ||
324 | } | ||
325 | |||
326 | static inline void unlock_system_sleep(void) | ||
327 | { | ||
328 | mutex_unlock(&pm_mutex); | ||
329 | } | ||
330 | #endif | ||
314 | 331 | ||
315 | #endif /* _LINUX_SUSPEND_H */ | 332 | #endif /* _LINUX_SUSPEND_H */ |
diff --git a/include/linux/vt.h b/include/linux/vt.h index 7afca0d72139..7ffa11f06232 100644 --- a/include/linux/vt.h +++ b/include/linux/vt.h | |||
@@ -70,8 +70,8 @@ struct vt_event { | |||
70 | #define VT_EVENT_UNBLANK 0x0004 /* Screen unblank */ | 70 | #define VT_EVENT_UNBLANK 0x0004 /* Screen unblank */ |
71 | #define VT_EVENT_RESIZE 0x0008 /* Resize display */ | 71 | #define VT_EVENT_RESIZE 0x0008 /* Resize display */ |
72 | #define VT_MAX_EVENT 0x000F | 72 | #define VT_MAX_EVENT 0x000F |
73 | unsigned int old; /* Old console */ | 73 | unsigned int oldev; /* Old console */ |
74 | unsigned int new; /* New console (if changing) */ | 74 | unsigned int newev; /* New console (if changing) */ |
75 | unsigned int pad[4]; /* Padding for expansion */ | 75 | unsigned int pad[4]; /* Padding for expansion */ |
76 | }; | 76 | }; |
77 | 77 | ||
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index cbdd6284996d..5cf7270e3ffc 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
@@ -255,11 +255,9 @@ static inline bool nf_ct_kill(struct nf_conn *ct) | |||
255 | } | 255 | } |
256 | 256 | ||
257 | /* These are for NAT. Icky. */ | 257 | /* These are for NAT. Icky. */ |
258 | /* Update TCP window tracking data when NAT mangles the packet */ | 258 | extern s16 (*nf_ct_nat_offset)(const struct nf_conn *ct, |
259 | extern void nf_conntrack_tcp_update(const struct sk_buff *skb, | 259 | enum ip_conntrack_dir dir, |
260 | unsigned int dataoff, | 260 | u32 seq); |
261 | struct nf_conn *ct, int dir, | ||
262 | s16 offset); | ||
263 | 261 | ||
264 | /* Fake conntrack entry for untracked connections */ | 262 | /* Fake conntrack entry for untracked connections */ |
265 | extern struct nf_conn nf_conntrack_untracked; | 263 | extern struct nf_conn nf_conntrack_untracked; |
diff --git a/include/net/netfilter/nf_nat_helper.h b/include/net/netfilter/nf_nat_helper.h index 237a961f40e1..4222220920a5 100644 --- a/include/net/netfilter/nf_nat_helper.h +++ b/include/net/netfilter/nf_nat_helper.h | |||
@@ -32,4 +32,8 @@ extern int (*nf_nat_seq_adjust_hook)(struct sk_buff *skb, | |||
32 | * to port ct->master->saved_proto. */ | 32 | * to port ct->master->saved_proto. */ |
33 | extern void nf_nat_follow_master(struct nf_conn *ct, | 33 | extern void nf_nat_follow_master(struct nf_conn *ct, |
34 | struct nf_conntrack_expect *this); | 34 | struct nf_conntrack_expect *this); |
35 | |||
36 | extern s16 nf_nat_get_offset(const struct nf_conn *ct, | ||
37 | enum ip_conntrack_dir dir, | ||
38 | u32 seq); | ||
35 | #endif | 39 | #endif |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 6e5f0e0c7967..cd2e18778f81 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -1980,7 +1980,7 @@ void sctp_assoc_set_primary(struct sctp_association *, | |||
1980 | void sctp_assoc_del_nonprimary_peers(struct sctp_association *, | 1980 | void sctp_assoc_del_nonprimary_peers(struct sctp_association *, |
1981 | struct sctp_transport *); | 1981 | struct sctp_transport *); |
1982 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, | 1982 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, |
1983 | gfp_t); | 1983 | sctp_scope_t, gfp_t); |
1984 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, | 1984 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, |
1985 | struct sctp_cookie*, | 1985 | struct sctp_cookie*, |
1986 | gfp_t gfp); | 1986 | gfp_t gfp); |
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 6e728b176904..47941fc5aba7 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -797,30 +797,23 @@ static inline unsigned int scsi_host_get_prot(struct Scsi_Host *shost) | |||
797 | 797 | ||
798 | static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) | 798 | static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) |
799 | { | 799 | { |
800 | switch (target_type) { | 800 | static unsigned char cap[] = { 0, |
801 | case 1: | 801 | SHOST_DIF_TYPE1_PROTECTION, |
802 | if (shost->prot_capabilities & SHOST_DIF_TYPE1_PROTECTION) | 802 | SHOST_DIF_TYPE2_PROTECTION, |
803 | return target_type; | 803 | SHOST_DIF_TYPE3_PROTECTION }; |
804 | case 2: | ||
805 | if (shost->prot_capabilities & SHOST_DIF_TYPE2_PROTECTION) | ||
806 | return target_type; | ||
807 | case 3: | ||
808 | if (shost->prot_capabilities & SHOST_DIF_TYPE3_PROTECTION) | ||
809 | return target_type; | ||
810 | } | ||
811 | 804 | ||
812 | return 0; | 805 | return shost->prot_capabilities & cap[target_type] ? target_type : 0; |
813 | } | 806 | } |
814 | 807 | ||
815 | static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) | 808 | static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) |
816 | { | 809 | { |
817 | #if defined(CONFIG_BLK_DEV_INTEGRITY) | 810 | #if defined(CONFIG_BLK_DEV_INTEGRITY) |
818 | switch (target_type) { | 811 | static unsigned char cap[] = { SHOST_DIX_TYPE0_PROTECTION, |
819 | case 0: return shost->prot_capabilities & SHOST_DIX_TYPE0_PROTECTION; | 812 | SHOST_DIX_TYPE1_PROTECTION, |
820 | case 1: return shost->prot_capabilities & SHOST_DIX_TYPE1_PROTECTION; | 813 | SHOST_DIX_TYPE2_PROTECTION, |
821 | case 2: return shost->prot_capabilities & SHOST_DIX_TYPE2_PROTECTION; | 814 | SHOST_DIX_TYPE3_PROTECTION }; |
822 | case 3: return shost->prot_capabilities & SHOST_DIX_TYPE3_PROTECTION; | 815 | |
823 | } | 816 | return shost->prot_capabilities & cap[target_type]; |
824 | #endif | 817 | #endif |
825 | return 0; | 818 | return 0; |
826 | } | 819 | } |
diff --git a/include/sound/Kbuild b/include/sound/Kbuild index fd054a344324..e9dd9369ecb9 100644 --- a/include/sound/Kbuild +++ b/include/sound/Kbuild | |||
@@ -2,7 +2,6 @@ header-y += asound_fm.h | |||
2 | header-y += hdsp.h | 2 | header-y += hdsp.h |
3 | header-y += hdspm.h | 3 | header-y += hdspm.h |
4 | header-y += sfnt_info.h | 4 | header-y += sfnt_info.h |
5 | header-y += sscape_ioctl.h | ||
6 | 5 | ||
7 | unifdef-y += asequencer.h | 6 | unifdef-y += asequencer.h |
8 | unifdef-y += asound.h | 7 | unifdef-y += asound.h |
diff --git a/include/sound/control.h b/include/sound/control.h index ef96f07aa03b..112374dc0c58 100644 --- a/include/sound/control.h +++ b/include/sound/control.h | |||
@@ -56,7 +56,6 @@ struct snd_kcontrol_new { | |||
56 | 56 | ||
57 | struct snd_kcontrol_volatile { | 57 | struct snd_kcontrol_volatile { |
58 | struct snd_ctl_file *owner; /* locked */ | 58 | struct snd_ctl_file *owner; /* locked */ |
59 | pid_t owner_pid; | ||
60 | unsigned int access; /* access rights */ | 59 | unsigned int access; /* access rights */ |
61 | }; | 60 | }; |
62 | 61 | ||
@@ -87,10 +86,12 @@ struct snd_kctl_event { | |||
87 | 86 | ||
88 | #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list) | 87 | #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list) |
89 | 88 | ||
89 | struct pid; | ||
90 | |||
90 | struct snd_ctl_file { | 91 | struct snd_ctl_file { |
91 | struct list_head list; /* list of all control files */ | 92 | struct list_head list; /* list of all control files */ |
92 | struct snd_card *card; | 93 | struct snd_card *card; |
93 | pid_t pid; | 94 | struct pid *pid; |
94 | int prefer_pcm_subdevice; | 95 | int prefer_pcm_subdevice; |
95 | int prefer_rawmidi_subdevice; | 96 | int prefer_rawmidi_subdevice; |
96 | wait_queue_head_t change_sleep; | 97 | wait_queue_head_t change_sleep; |
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index de6d981de5d6..c83a4a79f16b 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -348,6 +348,8 @@ struct snd_pcm_group { /* keep linked substreams */ | |||
348 | int count; | 348 | int count; |
349 | }; | 349 | }; |
350 | 350 | ||
351 | struct pid; | ||
352 | |||
351 | struct snd_pcm_substream { | 353 | struct snd_pcm_substream { |
352 | struct snd_pcm *pcm; | 354 | struct snd_pcm *pcm; |
353 | struct snd_pcm_str *pstr; | 355 | struct snd_pcm_str *pstr; |
@@ -379,6 +381,7 @@ struct snd_pcm_substream { | |||
379 | atomic_t mmap_count; | 381 | atomic_t mmap_count; |
380 | unsigned int f_flags; | 382 | unsigned int f_flags; |
381 | void (*pcm_release)(struct snd_pcm_substream *); | 383 | void (*pcm_release)(struct snd_pcm_substream *); |
384 | struct pid *pid; | ||
382 | #if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE) | 385 | #if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE) |
383 | /* -- OSS things -- */ | 386 | /* -- OSS things -- */ |
384 | struct snd_pcm_oss_substream oss; | 387 | struct snd_pcm_oss_substream oss; |
diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h index c23c26585700..2480e7d10dcf 100644 --- a/include/sound/rawmidi.h +++ b/include/sound/rawmidi.h | |||
@@ -46,6 +46,7 @@ | |||
46 | struct snd_rawmidi; | 46 | struct snd_rawmidi; |
47 | struct snd_rawmidi_substream; | 47 | struct snd_rawmidi_substream; |
48 | struct snd_seq_port_info; | 48 | struct snd_seq_port_info; |
49 | struct pid; | ||
49 | 50 | ||
50 | struct snd_rawmidi_ops { | 51 | struct snd_rawmidi_ops { |
51 | int (*open) (struct snd_rawmidi_substream * substream); | 52 | int (*open) (struct snd_rawmidi_substream * substream); |
@@ -97,6 +98,7 @@ struct snd_rawmidi_substream { | |||
97 | struct snd_rawmidi_str *pstr; | 98 | struct snd_rawmidi_str *pstr; |
98 | char name[32]; | 99 | char name[32]; |
99 | struct snd_rawmidi_runtime *runtime; | 100 | struct snd_rawmidi_runtime *runtime; |
101 | struct pid *pid; | ||
100 | /* hardware layer */ | 102 | /* hardware layer */ |
101 | struct snd_rawmidi_ops *ops; | 103 | struct snd_rawmidi_ops *ops; |
102 | }; | 104 | }; |
diff --git a/include/sound/sh_dac_audio.h b/include/sound/sh_dac_audio.h new file mode 100644 index 000000000000..f5deaf1ddb9f --- /dev/null +++ b/include/sound/sh_dac_audio.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * SH_DAC specific configuration, for the dac_audio platform_device | ||
3 | * | ||
4 | * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published | ||
8 | * by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __INCLUDE_SH_DAC_AUDIO_H | ||
12 | #define __INCLUDE_SH_DAC_AUDIO_H | ||
13 | |||
14 | struct dac_audio_pdata { | ||
15 | int buffer_size; | ||
16 | int channel; | ||
17 | void (*start)(struct dac_audio_pdata *pd); | ||
18 | void (*stop)(struct dac_audio_pdata *pd); | ||
19 | }; | ||
20 | |||
21 | #endif /* __INCLUDE_SH_DAC_AUDIO_H */ | ||
diff --git a/include/sound/sscape_ioctl.h b/include/sound/sscape_ioctl.h deleted file mode 100644 index 0d8885969c64..000000000000 --- a/include/sound/sscape_ioctl.h +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #ifndef SSCAPE_IOCTL_H | ||
2 | #define SSCAPE_IOCTL_H | ||
3 | |||
4 | |||
5 | struct sscape_bootblock | ||
6 | { | ||
7 | unsigned char code[256]; | ||
8 | unsigned version; | ||
9 | }; | ||
10 | |||
11 | #define SSCAPE_MICROCODE_SIZE 65536 | ||
12 | |||
13 | struct sscape_microcode | ||
14 | { | ||
15 | unsigned char __user *code; | ||
16 | }; | ||
17 | |||
18 | #define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock) | ||
19 | #define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode) | ||
20 | |||
21 | #endif | ||
diff --git a/init/Kconfig b/init/Kconfig index f51586406d62..9e03ef8b311e 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -937,7 +937,7 @@ config PERF_EVENTS | |||
937 | Enable kernel support for various performance events provided | 937 | Enable kernel support for various performance events provided |
938 | by software and hardware. | 938 | by software and hardware. |
939 | 939 | ||
940 | Software events are supported either build-in or via the | 940 | Software events are supported either built-in or via the |
941 | use of generic tracepoints. | 941 | use of generic tracepoints. |
942 | 942 | ||
943 | Most modern CPUs support performance events via performance | 943 | Most modern CPUs support performance events via performance |
@@ -949,7 +949,7 @@ config PERF_EVENTS | |||
949 | used to profile the code that runs on that CPU. | 949 | used to profile the code that runs on that CPU. |
950 | 950 | ||
951 | The Linux Performance Event subsystem provides an abstraction of | 951 | The Linux Performance Event subsystem provides an abstraction of |
952 | these software and hardware cevent apabilities, available via a | 952 | these software and hardware event capabilities, available via a |
953 | system call and used by the "perf" utility in tools/perf/. It | 953 | system call and used by the "perf" utility in tools/perf/. It |
954 | provides per task and per CPU counters, and it provides event | 954 | provides per task and per CPU counters, and it provides event |
955 | capabilities on top of those. | 955 | capabilities on top of those. |
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index 114e704760fe..bd7273e6282e 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -121,7 +121,9 @@ static void poll_all_shared_irqs(void) | |||
121 | if (!(status & IRQ_SPURIOUS_DISABLED)) | 121 | if (!(status & IRQ_SPURIOUS_DISABLED)) |
122 | continue; | 122 | continue; |
123 | 123 | ||
124 | local_irq_disable(); | ||
124 | try_one_irq(i, desc); | 125 | try_one_irq(i, desc); |
126 | local_irq_enable(); | ||
125 | } | 127 | } |
126 | } | 128 | } |
127 | 129 | ||
diff --git a/kernel/kthread.c b/kernel/kthread.c index 5fe709982caa..ab7ae57773e1 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c | |||
@@ -150,29 +150,6 @@ struct task_struct *kthread_create(int (*threadfn)(void *data), | |||
150 | EXPORT_SYMBOL(kthread_create); | 150 | EXPORT_SYMBOL(kthread_create); |
151 | 151 | ||
152 | /** | 152 | /** |
153 | * kthread_bind - bind a just-created kthread to a cpu. | ||
154 | * @k: thread created by kthread_create(). | ||
155 | * @cpu: cpu (might not be online, must be possible) for @k to run on. | ||
156 | * | ||
157 | * Description: This function is equivalent to set_cpus_allowed(), | ||
158 | * except that @cpu doesn't need to be online, and the thread must be | ||
159 | * stopped (i.e., just returned from kthread_create()). | ||
160 | */ | ||
161 | void kthread_bind(struct task_struct *k, unsigned int cpu) | ||
162 | { | ||
163 | /* Must have done schedule() in kthread() before we set_task_cpu */ | ||
164 | if (!wait_task_inactive(k, TASK_UNINTERRUPTIBLE)) { | ||
165 | WARN_ON(1); | ||
166 | return; | ||
167 | } | ||
168 | set_task_cpu(k, cpu); | ||
169 | k->cpus_allowed = cpumask_of_cpu(cpu); | ||
170 | k->rt.nr_cpus_allowed = 1; | ||
171 | k->flags |= PF_THREAD_BOUND; | ||
172 | } | ||
173 | EXPORT_SYMBOL(kthread_bind); | ||
174 | |||
175 | /** | ||
176 | * kthread_stop - stop a thread created by kthread_create(). | 153 | * kthread_stop - stop a thread created by kthread_create(). |
177 | * @k: thread created by kthread_create(). | 154 | * @k: thread created by kthread_create(). |
178 | * | 155 | * |
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 0536125b0497..f3077c0ab181 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -59,7 +59,7 @@ | |||
59 | NUM_RCU_LVL_2, \ | 59 | NUM_RCU_LVL_2, \ |
60 | NUM_RCU_LVL_3, /* == MAX_RCU_LVLS */ \ | 60 | NUM_RCU_LVL_3, /* == MAX_RCU_LVLS */ \ |
61 | }, \ | 61 | }, \ |
62 | .signaled = RCU_SIGNAL_INIT, \ | 62 | .signaled = RCU_GP_IDLE, \ |
63 | .gpnum = -300, \ | 63 | .gpnum = -300, \ |
64 | .completed = -300, \ | 64 | .completed = -300, \ |
65 | .onofflock = __SPIN_LOCK_UNLOCKED(&name.onofflock), \ | 65 | .onofflock = __SPIN_LOCK_UNLOCKED(&name.onofflock), \ |
@@ -657,14 +657,17 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags) | |||
657 | * irqs disabled. | 657 | * irqs disabled. |
658 | */ | 658 | */ |
659 | rcu_for_each_node_breadth_first(rsp, rnp) { | 659 | rcu_for_each_node_breadth_first(rsp, rnp) { |
660 | spin_lock(&rnp->lock); /* irqs already disabled. */ | 660 | spin_lock(&rnp->lock); /* irqs already disabled. */ |
661 | rcu_preempt_check_blocked_tasks(rnp); | 661 | rcu_preempt_check_blocked_tasks(rnp); |
662 | rnp->qsmask = rnp->qsmaskinit; | 662 | rnp->qsmask = rnp->qsmaskinit; |
663 | rnp->gpnum = rsp->gpnum; | 663 | rnp->gpnum = rsp->gpnum; |
664 | spin_unlock(&rnp->lock); /* irqs already disabled. */ | 664 | spin_unlock(&rnp->lock); /* irqs remain disabled. */ |
665 | } | 665 | } |
666 | 666 | ||
667 | rnp = rcu_get_root(rsp); | ||
668 | spin_lock(&rnp->lock); /* irqs already disabled. */ | ||
667 | rsp->signaled = RCU_SIGNAL_INIT; /* force_quiescent_state now OK. */ | 669 | rsp->signaled = RCU_SIGNAL_INIT; /* force_quiescent_state now OK. */ |
670 | spin_unlock(&rnp->lock); /* irqs remain disabled. */ | ||
668 | spin_unlock_irqrestore(&rsp->onofflock, flags); | 671 | spin_unlock_irqrestore(&rsp->onofflock, flags); |
669 | } | 672 | } |
670 | 673 | ||
@@ -706,6 +709,7 @@ static void cpu_quiet_msk_finish(struct rcu_state *rsp, unsigned long flags) | |||
706 | { | 709 | { |
707 | WARN_ON_ONCE(!rcu_gp_in_progress(rsp)); | 710 | WARN_ON_ONCE(!rcu_gp_in_progress(rsp)); |
708 | rsp->completed = rsp->gpnum; | 711 | rsp->completed = rsp->gpnum; |
712 | rsp->signaled = RCU_GP_IDLE; | ||
709 | rcu_process_gp_end(rsp, rsp->rda[smp_processor_id()]); | 713 | rcu_process_gp_end(rsp, rsp->rda[smp_processor_id()]); |
710 | rcu_start_gp(rsp, flags); /* releases root node's rnp->lock. */ | 714 | rcu_start_gp(rsp, flags); /* releases root node's rnp->lock. */ |
711 | } | 715 | } |
@@ -1162,9 +1166,10 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed) | |||
1162 | } | 1166 | } |
1163 | spin_unlock(&rnp->lock); | 1167 | spin_unlock(&rnp->lock); |
1164 | switch (signaled) { | 1168 | switch (signaled) { |
1169 | case RCU_GP_IDLE: | ||
1165 | case RCU_GP_INIT: | 1170 | case RCU_GP_INIT: |
1166 | 1171 | ||
1167 | break; /* grace period still initializing, ignore. */ | 1172 | break; /* grace period idle or initializing, ignore. */ |
1168 | 1173 | ||
1169 | case RCU_SAVE_DYNTICK: | 1174 | case RCU_SAVE_DYNTICK: |
1170 | 1175 | ||
@@ -1178,7 +1183,8 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed) | |||
1178 | 1183 | ||
1179 | /* Update state, record completion counter. */ | 1184 | /* Update state, record completion counter. */ |
1180 | spin_lock(&rnp->lock); | 1185 | spin_lock(&rnp->lock); |
1181 | if (lastcomp == rsp->completed) { | 1186 | if (lastcomp == rsp->completed && |
1187 | rsp->signaled == RCU_SAVE_DYNTICK) { | ||
1182 | rsp->signaled = RCU_FORCE_QS; | 1188 | rsp->signaled = RCU_FORCE_QS; |
1183 | dyntick_record_completed(rsp, lastcomp); | 1189 | dyntick_record_completed(rsp, lastcomp); |
1184 | } | 1190 | } |
diff --git a/kernel/rcutree.h b/kernel/rcutree.h index 1823c6e20609..1899023b0962 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h | |||
@@ -201,9 +201,10 @@ struct rcu_data { | |||
201 | }; | 201 | }; |
202 | 202 | ||
203 | /* Values for signaled field in struct rcu_state. */ | 203 | /* Values for signaled field in struct rcu_state. */ |
204 | #define RCU_GP_INIT 0 /* Grace period being initialized. */ | 204 | #define RCU_GP_IDLE 0 /* No grace period in progress. */ |
205 | #define RCU_SAVE_DYNTICK 1 /* Need to scan dyntick state. */ | 205 | #define RCU_GP_INIT 1 /* Grace period being initialized. */ |
206 | #define RCU_FORCE_QS 2 /* Need to force quiescent state. */ | 206 | #define RCU_SAVE_DYNTICK 2 /* Need to scan dyntick state. */ |
207 | #define RCU_FORCE_QS 3 /* Need to force quiescent state. */ | ||
207 | #ifdef CONFIG_NO_HZ | 208 | #ifdef CONFIG_NO_HZ |
208 | #define RCU_SIGNAL_INIT RCU_SAVE_DYNTICK | 209 | #define RCU_SIGNAL_INIT RCU_SAVE_DYNTICK |
209 | #else /* #ifdef CONFIG_NO_HZ */ | 210 | #else /* #ifdef CONFIG_NO_HZ */ |
diff --git a/kernel/sched.c b/kernel/sched.c index a455dca884a6..3c11ae0a948d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -309,6 +309,8 @@ static DEFINE_PER_CPU_SHARED_ALIGNED(struct rt_rq, init_rt_rq); | |||
309 | */ | 309 | */ |
310 | static DEFINE_SPINLOCK(task_group_lock); | 310 | static DEFINE_SPINLOCK(task_group_lock); |
311 | 311 | ||
312 | #ifdef CONFIG_FAIR_GROUP_SCHED | ||
313 | |||
312 | #ifdef CONFIG_SMP | 314 | #ifdef CONFIG_SMP |
313 | static int root_task_group_empty(void) | 315 | static int root_task_group_empty(void) |
314 | { | 316 | { |
@@ -316,7 +318,6 @@ static int root_task_group_empty(void) | |||
316 | } | 318 | } |
317 | #endif | 319 | #endif |
318 | 320 | ||
319 | #ifdef CONFIG_FAIR_GROUP_SCHED | ||
320 | #ifdef CONFIG_USER_SCHED | 321 | #ifdef CONFIG_USER_SCHED |
321 | # define INIT_TASK_GROUP_LOAD (2*NICE_0_LOAD) | 322 | # define INIT_TASK_GROUP_LOAD (2*NICE_0_LOAD) |
322 | #else /* !CONFIG_USER_SCHED */ | 323 | #else /* !CONFIG_USER_SCHED */ |
@@ -1992,6 +1993,38 @@ static inline void check_class_changed(struct rq *rq, struct task_struct *p, | |||
1992 | p->sched_class->prio_changed(rq, p, oldprio, running); | 1993 | p->sched_class->prio_changed(rq, p, oldprio, running); |
1993 | } | 1994 | } |
1994 | 1995 | ||
1996 | /** | ||
1997 | * kthread_bind - bind a just-created kthread to a cpu. | ||
1998 | * @p: thread created by kthread_create(). | ||
1999 | * @cpu: cpu (might not be online, must be possible) for @k to run on. | ||
2000 | * | ||
2001 | * Description: This function is equivalent to set_cpus_allowed(), | ||
2002 | * except that @cpu doesn't need to be online, and the thread must be | ||
2003 | * stopped (i.e., just returned from kthread_create()). | ||
2004 | * | ||
2005 | * Function lives here instead of kthread.c because it messes with | ||
2006 | * scheduler internals which require locking. | ||
2007 | */ | ||
2008 | void kthread_bind(struct task_struct *p, unsigned int cpu) | ||
2009 | { | ||
2010 | struct rq *rq = cpu_rq(cpu); | ||
2011 | unsigned long flags; | ||
2012 | |||
2013 | /* Must have done schedule() in kthread() before we set_task_cpu */ | ||
2014 | if (!wait_task_inactive(p, TASK_UNINTERRUPTIBLE)) { | ||
2015 | WARN_ON(1); | ||
2016 | return; | ||
2017 | } | ||
2018 | |||
2019 | spin_lock_irqsave(&rq->lock, flags); | ||
2020 | set_task_cpu(p, cpu); | ||
2021 | p->cpus_allowed = cpumask_of_cpu(cpu); | ||
2022 | p->rt.nr_cpus_allowed = 1; | ||
2023 | p->flags |= PF_THREAD_BOUND; | ||
2024 | spin_unlock_irqrestore(&rq->lock, flags); | ||
2025 | } | ||
2026 | EXPORT_SYMBOL(kthread_bind); | ||
2027 | |||
1995 | #ifdef CONFIG_SMP | 2028 | #ifdef CONFIG_SMP |
1996 | /* | 2029 | /* |
1997 | * Is this task likely cache-hot: | 2030 | * Is this task likely cache-hot: |
@@ -2004,7 +2037,7 @@ task_hot(struct task_struct *p, u64 now, struct sched_domain *sd) | |||
2004 | /* | 2037 | /* |
2005 | * Buddy candidates are cache hot: | 2038 | * Buddy candidates are cache hot: |
2006 | */ | 2039 | */ |
2007 | if (sched_feat(CACHE_HOT_BUDDY) && | 2040 | if (sched_feat(CACHE_HOT_BUDDY) && this_rq()->nr_running && |
2008 | (&p->se == cfs_rq_of(&p->se)->next || | 2041 | (&p->se == cfs_rq_of(&p->se)->next || |
2009 | &p->se == cfs_rq_of(&p->se)->last)) | 2042 | &p->se == cfs_rq_of(&p->se)->last)) |
2010 | return 1; | 2043 | return 1; |
@@ -9532,13 +9565,13 @@ void __init sched_init(void) | |||
9532 | current->sched_class = &fair_sched_class; | 9565 | current->sched_class = &fair_sched_class; |
9533 | 9566 | ||
9534 | /* Allocate the nohz_cpu_mask if CONFIG_CPUMASK_OFFSTACK */ | 9567 | /* Allocate the nohz_cpu_mask if CONFIG_CPUMASK_OFFSTACK */ |
9535 | alloc_cpumask_var(&nohz_cpu_mask, GFP_NOWAIT); | 9568 | zalloc_cpumask_var(&nohz_cpu_mask, GFP_NOWAIT); |
9536 | #ifdef CONFIG_SMP | 9569 | #ifdef CONFIG_SMP |
9537 | #ifdef CONFIG_NO_HZ | 9570 | #ifdef CONFIG_NO_HZ |
9538 | alloc_cpumask_var(&nohz.cpu_mask, GFP_NOWAIT); | 9571 | zalloc_cpumask_var(&nohz.cpu_mask, GFP_NOWAIT); |
9539 | alloc_cpumask_var(&nohz.ilb_grp_nohz_mask, GFP_NOWAIT); | 9572 | alloc_cpumask_var(&nohz.ilb_grp_nohz_mask, GFP_NOWAIT); |
9540 | #endif | 9573 | #endif |
9541 | alloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT); | 9574 | zalloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT); |
9542 | #endif /* SMP */ | 9575 | #endif /* SMP */ |
9543 | 9576 | ||
9544 | perf_event_init(); | 9577 | perf_event_init(); |
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index c32c3e643daa..37087a7fac22 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -822,6 +822,26 @@ check_preempt_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr) | |||
822 | * re-elected due to buddy favours. | 822 | * re-elected due to buddy favours. |
823 | */ | 823 | */ |
824 | clear_buddies(cfs_rq, curr); | 824 | clear_buddies(cfs_rq, curr); |
825 | return; | ||
826 | } | ||
827 | |||
828 | /* | ||
829 | * Ensure that a task that missed wakeup preemption by a | ||
830 | * narrow margin doesn't have to wait for a full slice. | ||
831 | * This also mitigates buddy induced latencies under load. | ||
832 | */ | ||
833 | if (!sched_feat(WAKEUP_PREEMPT)) | ||
834 | return; | ||
835 | |||
836 | if (delta_exec < sysctl_sched_min_granularity) | ||
837 | return; | ||
838 | |||
839 | if (cfs_rq->nr_running > 1) { | ||
840 | struct sched_entity *se = __pick_next_entity(cfs_rq); | ||
841 | s64 delta = curr->vruntime - se->vruntime; | ||
842 | |||
843 | if (delta > ideal_runtime) | ||
844 | resched_task(rq_of(cfs_rq)->curr); | ||
825 | } | 845 | } |
826 | } | 846 | } |
827 | 847 | ||
@@ -861,21 +881,18 @@ wakeup_preempt_entity(struct sched_entity *curr, struct sched_entity *se); | |||
861 | static struct sched_entity *pick_next_entity(struct cfs_rq *cfs_rq) | 881 | static struct sched_entity *pick_next_entity(struct cfs_rq *cfs_rq) |
862 | { | 882 | { |
863 | struct sched_entity *se = __pick_next_entity(cfs_rq); | 883 | struct sched_entity *se = __pick_next_entity(cfs_rq); |
864 | struct sched_entity *buddy; | 884 | struct sched_entity *left = se; |
865 | 885 | ||
866 | if (cfs_rq->next) { | 886 | if (cfs_rq->next && wakeup_preempt_entity(cfs_rq->next, left) < 1) |
867 | buddy = cfs_rq->next; | 887 | se = cfs_rq->next; |
868 | cfs_rq->next = NULL; | ||
869 | if (wakeup_preempt_entity(buddy, se) < 1) | ||
870 | return buddy; | ||
871 | } | ||
872 | 888 | ||
873 | if (cfs_rq->last) { | 889 | /* |
874 | buddy = cfs_rq->last; | 890 | * Prefer last buddy, try to return the CPU to a preempted task. |
875 | cfs_rq->last = NULL; | 891 | */ |
876 | if (wakeup_preempt_entity(buddy, se) < 1) | 892 | if (cfs_rq->last && wakeup_preempt_entity(cfs_rq->last, left) < 1) |
877 | return buddy; | 893 | se = cfs_rq->last; |
878 | } | 894 | |
895 | clear_buddies(cfs_rq, se); | ||
879 | 896 | ||
880 | return se; | 897 | return se; |
881 | } | 898 | } |
@@ -1577,6 +1594,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_ | |||
1577 | struct sched_entity *se = &curr->se, *pse = &p->se; | 1594 | struct sched_entity *se = &curr->se, *pse = &p->se; |
1578 | struct cfs_rq *cfs_rq = task_cfs_rq(curr); | 1595 | struct cfs_rq *cfs_rq = task_cfs_rq(curr); |
1579 | int sync = wake_flags & WF_SYNC; | 1596 | int sync = wake_flags & WF_SYNC; |
1597 | int scale = cfs_rq->nr_running >= sched_nr_latency; | ||
1580 | 1598 | ||
1581 | update_curr(cfs_rq); | 1599 | update_curr(cfs_rq); |
1582 | 1600 | ||
@@ -1591,18 +1609,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_ | |||
1591 | if (unlikely(se == pse)) | 1609 | if (unlikely(se == pse)) |
1592 | return; | 1610 | return; |
1593 | 1611 | ||
1594 | /* | 1612 | if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) |
1595 | * Only set the backward buddy when the current task is still on the | ||
1596 | * rq. This can happen when a wakeup gets interleaved with schedule on | ||
1597 | * the ->pre_schedule() or idle_balance() point, either of which can | ||
1598 | * drop the rq lock. | ||
1599 | * | ||
1600 | * Also, during early boot the idle thread is in the fair class, for | ||
1601 | * obvious reasons its a bad idea to schedule back to the idle thread. | ||
1602 | */ | ||
1603 | if (sched_feat(LAST_BUDDY) && likely(se->on_rq && curr != rq->idle)) | ||
1604 | set_last_buddy(se); | ||
1605 | if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) | ||
1606 | set_next_buddy(pse); | 1613 | set_next_buddy(pse); |
1607 | 1614 | ||
1608 | /* | 1615 | /* |
@@ -1648,8 +1655,22 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_ | |||
1648 | 1655 | ||
1649 | BUG_ON(!pse); | 1656 | BUG_ON(!pse); |
1650 | 1657 | ||
1651 | if (wakeup_preempt_entity(se, pse) == 1) | 1658 | if (wakeup_preempt_entity(se, pse) == 1) { |
1652 | resched_task(curr); | 1659 | resched_task(curr); |
1660 | /* | ||
1661 | * Only set the backward buddy when the current task is still | ||
1662 | * on the rq. This can happen when a wakeup gets interleaved | ||
1663 | * with schedule on the ->pre_schedule() or idle_balance() | ||
1664 | * point, either of which can * drop the rq lock. | ||
1665 | * | ||
1666 | * Also, during early boot the idle thread is in the fair class, | ||
1667 | * for obvious reasons its a bad idea to schedule back to it. | ||
1668 | */ | ||
1669 | if (unlikely(!se->on_rq || curr == rq->idle)) | ||
1670 | return; | ||
1671 | if (sched_feat(LAST_BUDDY) && scale && entity_is_task(se)) | ||
1672 | set_last_buddy(se); | ||
1673 | } | ||
1653 | } | 1674 | } |
1654 | 1675 | ||
1655 | static struct task_struct *pick_next_task_fair(struct rq *rq) | 1676 | static struct task_struct *pick_next_task_fair(struct rq *rq) |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 9c451a1930b6..6dc4e5ef7a01 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -2222,15 +2222,15 @@ ftrace_regex_write(struct file *file, const char __user *ubuf, | |||
2222 | ret = ftrace_process_regex(parser->buffer, | 2222 | ret = ftrace_process_regex(parser->buffer, |
2223 | parser->idx, enable); | 2223 | parser->idx, enable); |
2224 | if (ret) | 2224 | if (ret) |
2225 | goto out; | 2225 | goto out_unlock; |
2226 | 2226 | ||
2227 | trace_parser_clear(parser); | 2227 | trace_parser_clear(parser); |
2228 | } | 2228 | } |
2229 | 2229 | ||
2230 | ret = read; | 2230 | ret = read; |
2231 | 2231 | out_unlock: | |
2232 | mutex_unlock(&ftrace_regex_lock); | 2232 | mutex_unlock(&ftrace_regex_lock); |
2233 | out: | 2233 | |
2234 | return ret; | 2234 | return ret; |
2235 | } | 2235 | } |
2236 | 2236 | ||
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 3ffa502fb243..5dd017fea6f5 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -1193,6 +1193,7 @@ rb_remove_pages(struct ring_buffer_per_cpu *cpu_buffer, unsigned nr_pages) | |||
1193 | atomic_inc(&cpu_buffer->record_disabled); | 1193 | atomic_inc(&cpu_buffer->record_disabled); |
1194 | synchronize_sched(); | 1194 | synchronize_sched(); |
1195 | 1195 | ||
1196 | spin_lock_irq(&cpu_buffer->reader_lock); | ||
1196 | rb_head_page_deactivate(cpu_buffer); | 1197 | rb_head_page_deactivate(cpu_buffer); |
1197 | 1198 | ||
1198 | for (i = 0; i < nr_pages; i++) { | 1199 | for (i = 0; i < nr_pages; i++) { |
@@ -1207,6 +1208,7 @@ rb_remove_pages(struct ring_buffer_per_cpu *cpu_buffer, unsigned nr_pages) | |||
1207 | return; | 1208 | return; |
1208 | 1209 | ||
1209 | rb_reset_cpu(cpu_buffer); | 1210 | rb_reset_cpu(cpu_buffer); |
1211 | spin_unlock_irq(&cpu_buffer->reader_lock); | ||
1210 | 1212 | ||
1211 | rb_check_pages(cpu_buffer); | 1213 | rb_check_pages(cpu_buffer); |
1212 | 1214 | ||
diff --git a/kernel/user.c b/kernel/user.c index 2c000e7132ac..46d0165ca70c 100644 --- a/kernel/user.c +++ b/kernel/user.c | |||
@@ -330,9 +330,9 @@ done: | |||
330 | */ | 330 | */ |
331 | static void free_user(struct user_struct *up, unsigned long flags) | 331 | static void free_user(struct user_struct *up, unsigned long flags) |
332 | { | 332 | { |
333 | spin_unlock_irqrestore(&uidhash_lock, flags); | ||
334 | INIT_DELAYED_WORK(&up->work, cleanup_user_struct); | 333 | INIT_DELAYED_WORK(&up->work, cleanup_user_struct); |
335 | schedule_delayed_work(&up->work, msecs_to_jiffies(1000)); | 334 | schedule_delayed_work(&up->work, msecs_to_jiffies(1000)); |
335 | spin_unlock_irqrestore(&uidhash_lock, flags); | ||
336 | } | 336 | } |
337 | 337 | ||
338 | #else /* CONFIG_USER_SCHED && CONFIG_SYSFS */ | 338 | #else /* CONFIG_USER_SCHED && CONFIG_SYSFS */ |
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 12328147132c..67e526b6ae81 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -692,31 +692,29 @@ int schedule_on_each_cpu(work_func_t func) | |||
692 | if (!works) | 692 | if (!works) |
693 | return -ENOMEM; | 693 | return -ENOMEM; |
694 | 694 | ||
695 | get_online_cpus(); | ||
696 | |||
695 | /* | 697 | /* |
696 | * when running in keventd don't schedule a work item on itself. | 698 | * When running in keventd don't schedule a work item on |
697 | * Can just call directly because the work queue is already bound. | 699 | * itself. Can just call directly because the work queue is |
698 | * This also is faster. | 700 | * already bound. This also is faster. |
699 | * Make this a generic parameter for other workqueues? | ||
700 | */ | 701 | */ |
701 | if (current_is_keventd()) { | 702 | if (current_is_keventd()) |
702 | orig = raw_smp_processor_id(); | 703 | orig = raw_smp_processor_id(); |
703 | INIT_WORK(per_cpu_ptr(works, orig), func); | ||
704 | func(per_cpu_ptr(works, orig)); | ||
705 | } | ||
706 | 704 | ||
707 | get_online_cpus(); | ||
708 | for_each_online_cpu(cpu) { | 705 | for_each_online_cpu(cpu) { |
709 | struct work_struct *work = per_cpu_ptr(works, cpu); | 706 | struct work_struct *work = per_cpu_ptr(works, cpu); |
710 | 707 | ||
711 | if (cpu == orig) | ||
712 | continue; | ||
713 | INIT_WORK(work, func); | 708 | INIT_WORK(work, func); |
714 | schedule_work_on(cpu, work); | ||
715 | } | ||
716 | for_each_online_cpu(cpu) { | ||
717 | if (cpu != orig) | 709 | if (cpu != orig) |
718 | flush_work(per_cpu_ptr(works, cpu)); | 710 | schedule_work_on(cpu, work); |
719 | } | 711 | } |
712 | if (orig >= 0) | ||
713 | func(per_cpu_ptr(works, orig)); | ||
714 | |||
715 | for_each_online_cpu(cpu) | ||
716 | flush_work(per_cpu_ptr(works, cpu)); | ||
717 | |||
720 | put_online_cpus(); | 718 | put_online_cpus(); |
721 | free_percpu(works); | 719 | free_percpu(works); |
722 | return 0; | 720 | return 0; |
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 58a9f9fc609a..ce6b7eabf674 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c | |||
@@ -819,9 +819,11 @@ static void check_unmap(struct dma_debug_entry *ref) | |||
819 | err_printk(ref->dev, entry, "DMA-API: device driver frees " | 819 | err_printk(ref->dev, entry, "DMA-API: device driver frees " |
820 | "DMA memory with different CPU address " | 820 | "DMA memory with different CPU address " |
821 | "[device address=0x%016llx] [size=%llu bytes] " | 821 | "[device address=0x%016llx] [size=%llu bytes] " |
822 | "[cpu alloc address=%p] [cpu free address=%p]", | 822 | "[cpu alloc address=0x%016llx] " |
823 | "[cpu free address=0x%016llx]", | ||
823 | ref->dev_addr, ref->size, | 824 | ref->dev_addr, ref->size, |
824 | (void *)entry->paddr, (void *)ref->paddr); | 825 | (unsigned long long)entry->paddr, |
826 | (unsigned long long)ref->paddr); | ||
825 | } | 827 | } |
826 | 828 | ||
827 | if (ref->sg_call_ents && ref->type == dma_debug_sg && | 829 | if (ref->sg_call_ents && ref->type == dma_debug_sg && |
diff --git a/lib/string.c b/lib/string.c index b19b87af65a3..e96421ab9a9a 100644 --- a/lib/string.c +++ b/lib/string.c | |||
@@ -246,13 +246,17 @@ EXPORT_SYMBOL(strlcat); | |||
246 | #undef strcmp | 246 | #undef strcmp |
247 | int strcmp(const char *cs, const char *ct) | 247 | int strcmp(const char *cs, const char *ct) |
248 | { | 248 | { |
249 | signed char __res; | 249 | unsigned char c1, c2; |
250 | 250 | ||
251 | while (1) { | 251 | while (1) { |
252 | if ((__res = *cs - *ct++) != 0 || !*cs++) | 252 | c1 = *cs++; |
253 | c2 = *ct++; | ||
254 | if (c1 != c2) | ||
255 | return c1 < c2 ? -1 : 1; | ||
256 | if (!c1) | ||
253 | break; | 257 | break; |
254 | } | 258 | } |
255 | return __res; | 259 | return 0; |
256 | } | 260 | } |
257 | EXPORT_SYMBOL(strcmp); | 261 | EXPORT_SYMBOL(strcmp); |
258 | #endif | 262 | #endif |
@@ -266,14 +270,18 @@ EXPORT_SYMBOL(strcmp); | |||
266 | */ | 270 | */ |
267 | int strncmp(const char *cs, const char *ct, size_t count) | 271 | int strncmp(const char *cs, const char *ct, size_t count) |
268 | { | 272 | { |
269 | signed char __res = 0; | 273 | unsigned char c1, c2; |
270 | 274 | ||
271 | while (count) { | 275 | while (count) { |
272 | if ((__res = *cs - *ct++) != 0 || !*cs++) | 276 | c1 = *cs++; |
277 | c2 = *ct++; | ||
278 | if (c1 != c2) | ||
279 | return c1 < c2 ? -1 : 1; | ||
280 | if (!c1) | ||
273 | break; | 281 | break; |
274 | count--; | 282 | count--; |
275 | } | 283 | } |
276 | return __res; | 284 | return 0; |
277 | } | 285 | } |
278 | EXPORT_SYMBOL(strncmp); | 286 | EXPORT_SYMBOL(strncmp); |
279 | #endif | 287 | #endif |
diff --git a/mm/Kconfig b/mm/Kconfig index fd3386242cf0..44cf6f0a3a6d 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -128,12 +128,9 @@ config SPARSEMEM_VMEMMAP | |||
128 | config MEMORY_HOTPLUG | 128 | config MEMORY_HOTPLUG |
129 | bool "Allow for memory hot-add" | 129 | bool "Allow for memory hot-add" |
130 | depends on SPARSEMEM || X86_64_ACPI_NUMA | 130 | depends on SPARSEMEM || X86_64_ACPI_NUMA |
131 | depends on HOTPLUG && !(HIBERNATION && !S390) && ARCH_ENABLE_MEMORY_HOTPLUG | 131 | depends on HOTPLUG && ARCH_ENABLE_MEMORY_HOTPLUG |
132 | depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390) | 132 | depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390) |
133 | 133 | ||
134 | comment "Memory hotplug is currently incompatible with Software Suspend" | ||
135 | depends on SPARSEMEM && HOTPLUG && HIBERNATION && !S390 | ||
136 | |||
137 | config MEMORY_HOTPLUG_SPARSE | 134 | config MEMORY_HOTPLUG_SPARSE |
138 | def_bool y | 135 | def_bool y |
139 | depends on SPARSEMEM && MEMORY_HOTPLUG | 136 | depends on SPARSEMEM && MEMORY_HOTPLUG |
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 1065b715ef64..11aee09dd2a6 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -628,6 +628,8 @@ static void bdi_prune_sb(struct backing_dev_info *bdi) | |||
628 | void bdi_unregister(struct backing_dev_info *bdi) | 628 | void bdi_unregister(struct backing_dev_info *bdi) |
629 | { | 629 | { |
630 | if (bdi->dev) { | 630 | if (bdi->dev) { |
631 | bdi_prune_sb(bdi); | ||
632 | |||
631 | if (!bdi_cap_flush_forker(bdi)) | 633 | if (!bdi_cap_flush_forker(bdi)) |
632 | bdi_wb_shutdown(bdi); | 634 | bdi_wb_shutdown(bdi); |
633 | bdi_debug_unregister(bdi); | 635 | bdi_debug_unregister(bdi); |
@@ -697,7 +699,6 @@ void bdi_destroy(struct backing_dev_info *bdi) | |||
697 | spin_unlock(&inode_lock); | 699 | spin_unlock(&inode_lock); |
698 | } | 700 | } |
699 | 701 | ||
700 | bdi_prune_sb(bdi); | ||
701 | bdi_unregister(bdi); | 702 | bdi_unregister(bdi); |
702 | 703 | ||
703 | for (i = 0; i < NR_BDI_STAT_ITEMS; i++) | 704 | for (i = 0; i < NR_BDI_STAT_ITEMS; i++) |
diff --git a/mm/highmem.c b/mm/highmem.c index 25878cc49daa..9c1e627f282e 100644 --- a/mm/highmem.c +++ b/mm/highmem.c | |||
@@ -426,16 +426,21 @@ void __init page_address_init(void) | |||
426 | 426 | ||
427 | void debug_kmap_atomic(enum km_type type) | 427 | void debug_kmap_atomic(enum km_type type) |
428 | { | 428 | { |
429 | static unsigned warn_count = 10; | 429 | static int warn_count = 10; |
430 | 430 | ||
431 | if (unlikely(warn_count == 0)) | 431 | if (unlikely(warn_count < 0)) |
432 | return; | 432 | return; |
433 | 433 | ||
434 | if (unlikely(in_interrupt())) { | 434 | if (unlikely(in_interrupt())) { |
435 | if (in_irq()) { | 435 | if (in_nmi()) { |
436 | if (type != KM_NMI && type != KM_NMI_PTE) { | ||
437 | WARN_ON(1); | ||
438 | warn_count--; | ||
439 | } | ||
440 | } else if (in_irq()) { | ||
436 | if (type != KM_IRQ0 && type != KM_IRQ1 && | 441 | if (type != KM_IRQ0 && type != KM_IRQ1 && |
437 | type != KM_BIO_SRC_IRQ && type != KM_BIO_DST_IRQ && | 442 | type != KM_BIO_SRC_IRQ && type != KM_BIO_DST_IRQ && |
438 | type != KM_BOUNCE_READ) { | 443 | type != KM_BOUNCE_READ && type != KM_IRQ_PTE) { |
439 | WARN_ON(1); | 444 | WARN_ON(1); |
440 | warn_count--; | 445 | warn_count--; |
441 | } | 446 | } |
@@ -452,7 +457,9 @@ void debug_kmap_atomic(enum km_type type) | |||
452 | } | 457 | } |
453 | 458 | ||
454 | if (type == KM_IRQ0 || type == KM_IRQ1 || type == KM_BOUNCE_READ || | 459 | if (type == KM_IRQ0 || type == KM_IRQ1 || type == KM_BOUNCE_READ || |
455 | type == KM_BIO_SRC_IRQ || type == KM_BIO_DST_IRQ) { | 460 | type == KM_BIO_SRC_IRQ || type == KM_BIO_DST_IRQ || |
461 | type == KM_IRQ_PTE || type == KM_NMI || | ||
462 | type == KM_NMI_PTE ) { | ||
456 | if (!irqs_disabled()) { | 463 | if (!irqs_disabled()) { |
457 | WARN_ON(1); | 464 | WARN_ON(1); |
458 | warn_count--; | 465 | warn_count--; |
@@ -1012,6 +1012,7 @@ static struct rmap_item *unstable_tree_search_insert(struct page *page, | |||
1012 | struct rmap_item *tree_rmap_item; | 1012 | struct rmap_item *tree_rmap_item; |
1013 | int ret; | 1013 | int ret; |
1014 | 1014 | ||
1015 | cond_resched(); | ||
1015 | tree_rmap_item = rb_entry(*new, struct rmap_item, node); | 1016 | tree_rmap_item = rb_entry(*new, struct rmap_item, node); |
1016 | page2[0] = get_mergeable_page(tree_rmap_item); | 1017 | page2[0] = get_mergeable_page(tree_rmap_item); |
1017 | if (!page2[0]) | 1018 | if (!page2[0]) |
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 821dee596377..2047465cd27c 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/migrate.h> | 26 | #include <linux/migrate.h> |
27 | #include <linux/page-isolation.h> | 27 | #include <linux/page-isolation.h> |
28 | #include <linux/pfn.h> | 28 | #include <linux/pfn.h> |
29 | #include <linux/suspend.h> | ||
29 | 30 | ||
30 | #include <asm/tlbflush.h> | 31 | #include <asm/tlbflush.h> |
31 | 32 | ||
@@ -447,7 +448,8 @@ int online_pages(unsigned long pfn, unsigned long nr_pages) | |||
447 | } | 448 | } |
448 | #endif /* CONFIG_MEMORY_HOTPLUG_SPARSE */ | 449 | #endif /* CONFIG_MEMORY_HOTPLUG_SPARSE */ |
449 | 450 | ||
450 | static pg_data_t *hotadd_new_pgdat(int nid, u64 start) | 451 | /* we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG */ |
452 | static pg_data_t __ref *hotadd_new_pgdat(int nid, u64 start) | ||
451 | { | 453 | { |
452 | struct pglist_data *pgdat; | 454 | struct pglist_data *pgdat; |
453 | unsigned long zones_size[MAX_NR_ZONES] = {0}; | 455 | unsigned long zones_size[MAX_NR_ZONES] = {0}; |
@@ -484,14 +486,18 @@ int __ref add_memory(int nid, u64 start, u64 size) | |||
484 | struct resource *res; | 486 | struct resource *res; |
485 | int ret; | 487 | int ret; |
486 | 488 | ||
489 | lock_system_sleep(); | ||
490 | |||
487 | res = register_memory_resource(start, size); | 491 | res = register_memory_resource(start, size); |
492 | ret = -EEXIST; | ||
488 | if (!res) | 493 | if (!res) |
489 | return -EEXIST; | 494 | goto out; |
490 | 495 | ||
491 | if (!node_online(nid)) { | 496 | if (!node_online(nid)) { |
492 | pgdat = hotadd_new_pgdat(nid, start); | 497 | pgdat = hotadd_new_pgdat(nid, start); |
498 | ret = -ENOMEM; | ||
493 | if (!pgdat) | 499 | if (!pgdat) |
494 | return -ENOMEM; | 500 | goto out; |
495 | new_pgdat = 1; | 501 | new_pgdat = 1; |
496 | } | 502 | } |
497 | 503 | ||
@@ -514,7 +520,8 @@ int __ref add_memory(int nid, u64 start, u64 size) | |||
514 | BUG_ON(ret); | 520 | BUG_ON(ret); |
515 | } | 521 | } |
516 | 522 | ||
517 | return ret; | 523 | goto out; |
524 | |||
518 | error: | 525 | error: |
519 | /* rollback pgdat allocation and others */ | 526 | /* rollback pgdat allocation and others */ |
520 | if (new_pgdat) | 527 | if (new_pgdat) |
@@ -522,6 +529,8 @@ error: | |||
522 | if (res) | 529 | if (res) |
523 | release_memory_resource(res); | 530 | release_memory_resource(res); |
524 | 531 | ||
532 | out: | ||
533 | unlock_system_sleep(); | ||
525 | return ret; | 534 | return ret; |
526 | } | 535 | } |
527 | EXPORT_SYMBOL_GPL(add_memory); | 536 | EXPORT_SYMBOL_GPL(add_memory); |
@@ -758,6 +767,8 @@ int offline_pages(unsigned long start_pfn, | |||
758 | if (!test_pages_in_a_zone(start_pfn, end_pfn)) | 767 | if (!test_pages_in_a_zone(start_pfn, end_pfn)) |
759 | return -EINVAL; | 768 | return -EINVAL; |
760 | 769 | ||
770 | lock_system_sleep(); | ||
771 | |||
761 | zone = page_zone(pfn_to_page(start_pfn)); | 772 | zone = page_zone(pfn_to_page(start_pfn)); |
762 | node = zone_to_nid(zone); | 773 | node = zone_to_nid(zone); |
763 | nr_pages = end_pfn - start_pfn; | 774 | nr_pages = end_pfn - start_pfn; |
@@ -765,7 +776,7 @@ int offline_pages(unsigned long start_pfn, | |||
765 | /* set above range as isolated */ | 776 | /* set above range as isolated */ |
766 | ret = start_isolate_page_range(start_pfn, end_pfn); | 777 | ret = start_isolate_page_range(start_pfn, end_pfn); |
767 | if (ret) | 778 | if (ret) |
768 | return ret; | 779 | goto out; |
769 | 780 | ||
770 | arg.start_pfn = start_pfn; | 781 | arg.start_pfn = start_pfn; |
771 | arg.nr_pages = nr_pages; | 782 | arg.nr_pages = nr_pages; |
@@ -843,6 +854,7 @@ repeat: | |||
843 | writeback_set_ratelimit(); | 854 | writeback_set_ratelimit(); |
844 | 855 | ||
845 | memory_notify(MEM_OFFLINE, &arg); | 856 | memory_notify(MEM_OFFLINE, &arg); |
857 | unlock_system_sleep(); | ||
846 | return 0; | 858 | return 0; |
847 | 859 | ||
848 | failed_removal: | 860 | failed_removal: |
@@ -852,6 +864,8 @@ failed_removal: | |||
852 | /* pushback to free area */ | 864 | /* pushback to free area */ |
853 | undo_isolate_page_range(start_pfn, end_pfn); | 865 | undo_isolate_page_range(start_pfn, end_pfn); |
854 | 866 | ||
867 | out: | ||
868 | unlock_system_sleep(); | ||
855 | return ret; | 869 | return ret; |
856 | } | 870 | } |
857 | 871 | ||
diff --git a/mm/migrate.c b/mm/migrate.c index 1a4bf4813780..7dbcb22316d2 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
@@ -602,7 +602,7 @@ static int unmap_and_move(new_page_t get_new_page, unsigned long private, | |||
602 | struct page *newpage = get_new_page(page, private, &result); | 602 | struct page *newpage = get_new_page(page, private, &result); |
603 | int rcu_locked = 0; | 603 | int rcu_locked = 0; |
604 | int charge = 0; | 604 | int charge = 0; |
605 | struct mem_cgroup *mem; | 605 | struct mem_cgroup *mem = NULL; |
606 | 606 | ||
607 | if (!newpage) | 607 | if (!newpage) |
608 | return -ENOMEM; | 608 | return -ENOMEM; |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index cdcedf661616..2bc2ac63f41e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1769,7 +1769,7 @@ gfp_to_alloc_flags(gfp_t gfp_mask) | |||
1769 | * See also cpuset_zone_allowed() comment in kernel/cpuset.c. | 1769 | * See also cpuset_zone_allowed() comment in kernel/cpuset.c. |
1770 | */ | 1770 | */ |
1771 | alloc_flags &= ~ALLOC_CPUSET; | 1771 | alloc_flags &= ~ALLOC_CPUSET; |
1772 | } else if (unlikely(rt_task(p))) | 1772 | } else if (unlikely(rt_task(p)) && !in_interrupt()) |
1773 | alloc_flags |= ALLOC_HARDER; | 1773 | alloc_flags |= ALLOC_HARDER; |
1774 | 1774 | ||
1775 | if (likely(!(gfp_mask & __GFP_NOMEMALLOC))) { | 1775 | if (likely(!(gfp_mask & __GFP_NOMEMALLOC))) { |
@@ -1817,9 +1817,9 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, | |||
1817 | if (NUMA_BUILD && (gfp_mask & GFP_THISNODE) == GFP_THISNODE) | 1817 | if (NUMA_BUILD && (gfp_mask & GFP_THISNODE) == GFP_THISNODE) |
1818 | goto nopage; | 1818 | goto nopage; |
1819 | 1819 | ||
1820 | restart: | ||
1820 | wake_all_kswapd(order, zonelist, high_zoneidx); | 1821 | wake_all_kswapd(order, zonelist, high_zoneidx); |
1821 | 1822 | ||
1822 | restart: | ||
1823 | /* | 1823 | /* |
1824 | * OK, we're below the kswapd watermark and have kicked background | 1824 | * OK, we're below the kswapd watermark and have kicked background |
1825 | * reclaim. Now things get more complex, so set up alloc_flags according | 1825 | * reclaim. Now things get more complex, so set up alloc_flags according |
diff --git a/mm/percpu.c b/mm/percpu.c index d90797160c2a..5adfc268b408 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -355,62 +355,86 @@ static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr) | |||
355 | } | 355 | } |
356 | 356 | ||
357 | /** | 357 | /** |
358 | * pcpu_extend_area_map - extend area map for allocation | 358 | * pcpu_need_to_extend - determine whether chunk area map needs to be extended |
359 | * @chunk: target chunk | 359 | * @chunk: chunk of interest |
360 | * | 360 | * |
361 | * Extend area map of @chunk so that it can accomodate an allocation. | 361 | * Determine whether area map of @chunk needs to be extended to |
362 | * A single allocation can split an area into three areas, so this | 362 | * accomodate a new allocation. |
363 | * function makes sure that @chunk->map has at least two extra slots. | ||
364 | * | 363 | * |
365 | * CONTEXT: | 364 | * CONTEXT: |
366 | * pcpu_alloc_mutex, pcpu_lock. pcpu_lock is released and reacquired | 365 | * pcpu_lock. |
367 | * if area map is extended. | ||
368 | * | 366 | * |
369 | * RETURNS: | 367 | * RETURNS: |
370 | * 0 if noop, 1 if successfully extended, -errno on failure. | 368 | * New target map allocation length if extension is necessary, 0 |
369 | * otherwise. | ||
371 | */ | 370 | */ |
372 | static int pcpu_extend_area_map(struct pcpu_chunk *chunk, unsigned long *flags) | 371 | static int pcpu_need_to_extend(struct pcpu_chunk *chunk) |
373 | { | 372 | { |
374 | int new_alloc; | 373 | int new_alloc; |
375 | int *new; | ||
376 | size_t size; | ||
377 | 374 | ||
378 | /* has enough? */ | ||
379 | if (chunk->map_alloc >= chunk->map_used + 2) | 375 | if (chunk->map_alloc >= chunk->map_used + 2) |
380 | return 0; | 376 | return 0; |
381 | 377 | ||
382 | spin_unlock_irqrestore(&pcpu_lock, *flags); | ||
383 | |||
384 | new_alloc = PCPU_DFL_MAP_ALLOC; | 378 | new_alloc = PCPU_DFL_MAP_ALLOC; |
385 | while (new_alloc < chunk->map_used + 2) | 379 | while (new_alloc < chunk->map_used + 2) |
386 | new_alloc *= 2; | 380 | new_alloc *= 2; |
387 | 381 | ||
388 | new = pcpu_mem_alloc(new_alloc * sizeof(new[0])); | 382 | return new_alloc; |
389 | if (!new) { | 383 | } |
390 | spin_lock_irqsave(&pcpu_lock, *flags); | 384 | |
385 | /** | ||
386 | * pcpu_extend_area_map - extend area map of a chunk | ||
387 | * @chunk: chunk of interest | ||
388 | * @new_alloc: new target allocation length of the area map | ||
389 | * | ||
390 | * Extend area map of @chunk to have @new_alloc entries. | ||
391 | * | ||
392 | * CONTEXT: | ||
393 | * Does GFP_KERNEL allocation. Grabs and releases pcpu_lock. | ||
394 | * | ||
395 | * RETURNS: | ||
396 | * 0 on success, -errno on failure. | ||
397 | */ | ||
398 | static int pcpu_extend_area_map(struct pcpu_chunk *chunk, int new_alloc) | ||
399 | { | ||
400 | int *old = NULL, *new = NULL; | ||
401 | size_t old_size = 0, new_size = new_alloc * sizeof(new[0]); | ||
402 | unsigned long flags; | ||
403 | |||
404 | new = pcpu_mem_alloc(new_size); | ||
405 | if (!new) | ||
391 | return -ENOMEM; | 406 | return -ENOMEM; |
392 | } | ||
393 | 407 | ||
394 | /* | 408 | /* acquire pcpu_lock and switch to new area map */ |
395 | * Acquire pcpu_lock and switch to new area map. Only free | 409 | spin_lock_irqsave(&pcpu_lock, flags); |
396 | * could have happened inbetween, so map_used couldn't have | 410 | |
397 | * grown. | 411 | if (new_alloc <= chunk->map_alloc) |
398 | */ | 412 | goto out_unlock; |
399 | spin_lock_irqsave(&pcpu_lock, *flags); | ||
400 | BUG_ON(new_alloc < chunk->map_used + 2); | ||
401 | 413 | ||
402 | size = chunk->map_alloc * sizeof(chunk->map[0]); | 414 | old_size = chunk->map_alloc * sizeof(chunk->map[0]); |
403 | memcpy(new, chunk->map, size); | 415 | memcpy(new, chunk->map, old_size); |
404 | 416 | ||
405 | /* | 417 | /* |
406 | * map_alloc < PCPU_DFL_MAP_ALLOC indicates that the chunk is | 418 | * map_alloc < PCPU_DFL_MAP_ALLOC indicates that the chunk is |
407 | * one of the first chunks and still using static map. | 419 | * one of the first chunks and still using static map. |
408 | */ | 420 | */ |
409 | if (chunk->map_alloc >= PCPU_DFL_MAP_ALLOC) | 421 | if (chunk->map_alloc >= PCPU_DFL_MAP_ALLOC) |
410 | pcpu_mem_free(chunk->map, size); | 422 | old = chunk->map; |
411 | 423 | ||
412 | chunk->map_alloc = new_alloc; | 424 | chunk->map_alloc = new_alloc; |
413 | chunk->map = new; | 425 | chunk->map = new; |
426 | new = NULL; | ||
427 | |||
428 | out_unlock: | ||
429 | spin_unlock_irqrestore(&pcpu_lock, flags); | ||
430 | |||
431 | /* | ||
432 | * pcpu_mem_free() might end up calling vfree() which uses | ||
433 | * IRQ-unsafe lock and thus can't be called under pcpu_lock. | ||
434 | */ | ||
435 | pcpu_mem_free(old, old_size); | ||
436 | pcpu_mem_free(new, new_size); | ||
437 | |||
414 | return 0; | 438 | return 0; |
415 | } | 439 | } |
416 | 440 | ||
@@ -1049,7 +1073,7 @@ static void *pcpu_alloc(size_t size, size_t align, bool reserved) | |||
1049 | static int warn_limit = 10; | 1073 | static int warn_limit = 10; |
1050 | struct pcpu_chunk *chunk; | 1074 | struct pcpu_chunk *chunk; |
1051 | const char *err; | 1075 | const char *err; |
1052 | int slot, off; | 1076 | int slot, off, new_alloc; |
1053 | unsigned long flags; | 1077 | unsigned long flags; |
1054 | 1078 | ||
1055 | if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE)) { | 1079 | if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE)) { |
@@ -1064,14 +1088,25 @@ static void *pcpu_alloc(size_t size, size_t align, bool reserved) | |||
1064 | /* serve reserved allocations from the reserved chunk if available */ | 1088 | /* serve reserved allocations from the reserved chunk if available */ |
1065 | if (reserved && pcpu_reserved_chunk) { | 1089 | if (reserved && pcpu_reserved_chunk) { |
1066 | chunk = pcpu_reserved_chunk; | 1090 | chunk = pcpu_reserved_chunk; |
1067 | if (size > chunk->contig_hint || | 1091 | |
1068 | pcpu_extend_area_map(chunk, &flags) < 0) { | 1092 | if (size > chunk->contig_hint) { |
1069 | err = "failed to extend area map of reserved chunk"; | 1093 | err = "alloc from reserved chunk failed"; |
1070 | goto fail_unlock; | 1094 | goto fail_unlock; |
1071 | } | 1095 | } |
1096 | |||
1097 | while ((new_alloc = pcpu_need_to_extend(chunk))) { | ||
1098 | spin_unlock_irqrestore(&pcpu_lock, flags); | ||
1099 | if (pcpu_extend_area_map(chunk, new_alloc) < 0) { | ||
1100 | err = "failed to extend area map of reserved chunk"; | ||
1101 | goto fail_unlock_mutex; | ||
1102 | } | ||
1103 | spin_lock_irqsave(&pcpu_lock, flags); | ||
1104 | } | ||
1105 | |||
1072 | off = pcpu_alloc_area(chunk, size, align); | 1106 | off = pcpu_alloc_area(chunk, size, align); |
1073 | if (off >= 0) | 1107 | if (off >= 0) |
1074 | goto area_found; | 1108 | goto area_found; |
1109 | |||
1075 | err = "alloc from reserved chunk failed"; | 1110 | err = "alloc from reserved chunk failed"; |
1076 | goto fail_unlock; | 1111 | goto fail_unlock; |
1077 | } | 1112 | } |
@@ -1083,14 +1118,20 @@ restart: | |||
1083 | if (size > chunk->contig_hint) | 1118 | if (size > chunk->contig_hint) |
1084 | continue; | 1119 | continue; |
1085 | 1120 | ||
1086 | switch (pcpu_extend_area_map(chunk, &flags)) { | 1121 | new_alloc = pcpu_need_to_extend(chunk); |
1087 | case 0: | 1122 | if (new_alloc) { |
1088 | break; | 1123 | spin_unlock_irqrestore(&pcpu_lock, flags); |
1089 | case 1: | 1124 | if (pcpu_extend_area_map(chunk, |
1090 | goto restart; /* pcpu_lock dropped, restart */ | 1125 | new_alloc) < 0) { |
1091 | default: | 1126 | err = "failed to extend area map"; |
1092 | err = "failed to extend area map"; | 1127 | goto fail_unlock_mutex; |
1093 | goto fail_unlock; | 1128 | } |
1129 | spin_lock_irqsave(&pcpu_lock, flags); | ||
1130 | /* | ||
1131 | * pcpu_lock has been dropped, need to | ||
1132 | * restart cpu_slot list walking. | ||
1133 | */ | ||
1134 | goto restart; | ||
1094 | } | 1135 | } |
1095 | 1136 | ||
1096 | off = pcpu_alloc_area(chunk, size, align); | 1137 | off = pcpu_alloc_area(chunk, size, align); |
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 8836575f9d79..a29c5ab5815c 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -281,8 +281,11 @@ out_uninit_applicant: | |||
281 | if (ngrp) | 281 | if (ngrp) |
282 | vlan_gvrp_uninit_applicant(real_dev); | 282 | vlan_gvrp_uninit_applicant(real_dev); |
283 | out_free_group: | 283 | out_free_group: |
284 | if (ngrp) | 284 | if (ngrp) { |
285 | vlan_group_free(ngrp); | 285 | hlist_del_rcu(&ngrp->hlist); |
286 | /* Free the group, after all cpu's are done. */ | ||
287 | call_rcu(&ngrp->rcu, vlan_rcu_free); | ||
288 | } | ||
286 | return err; | 289 | return err; |
287 | } | 290 | } |
288 | 291 | ||
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index a9750984f772..b7c4224f4e7d 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -211,6 +211,7 @@ struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst) | |||
211 | conn->type = type; | 211 | conn->type = type; |
212 | conn->mode = HCI_CM_ACTIVE; | 212 | conn->mode = HCI_CM_ACTIVE; |
213 | conn->state = BT_OPEN; | 213 | conn->state = BT_OPEN; |
214 | conn->auth_type = HCI_AT_GENERAL_BONDING; | ||
214 | 215 | ||
215 | conn->power_save = 1; | 216 | conn->power_save = 1; |
216 | conn->disc_timeout = HCI_DISCONN_TIMEOUT; | 217 | conn->disc_timeout = HCI_DISCONN_TIMEOUT; |
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 77e9fb130adb..947f8bbb4bb3 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -2205,7 +2205,7 @@ static int l2cap_build_conf_req(struct sock *sk, void *data) | |||
2205 | { | 2205 | { |
2206 | struct l2cap_pinfo *pi = l2cap_pi(sk); | 2206 | struct l2cap_pinfo *pi = l2cap_pi(sk); |
2207 | struct l2cap_conf_req *req = data; | 2207 | struct l2cap_conf_req *req = data; |
2208 | struct l2cap_conf_rfc rfc = { .mode = L2CAP_MODE_ERTM }; | 2208 | struct l2cap_conf_rfc rfc = { .mode = L2CAP_MODE_BASIC }; |
2209 | void *ptr = req->data; | 2209 | void *ptr = req->data; |
2210 | 2210 | ||
2211 | BT_DBG("sk %p", sk); | 2211 | BT_DBG("sk %p", sk); |
@@ -2394,6 +2394,10 @@ done: | |||
2394 | rfc.monitor_timeout = L2CAP_DEFAULT_MONITOR_TO; | 2394 | rfc.monitor_timeout = L2CAP_DEFAULT_MONITOR_TO; |
2395 | 2395 | ||
2396 | pi->conf_state |= L2CAP_CONF_MODE_DONE; | 2396 | pi->conf_state |= L2CAP_CONF_MODE_DONE; |
2397 | |||
2398 | l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, | ||
2399 | sizeof(rfc), (unsigned long) &rfc); | ||
2400 | |||
2397 | break; | 2401 | break; |
2398 | 2402 | ||
2399 | case L2CAP_MODE_STREAMING: | 2403 | case L2CAP_MODE_STREAMING: |
@@ -2401,6 +2405,10 @@ done: | |||
2401 | pi->max_pdu_size = rfc.max_pdu_size; | 2405 | pi->max_pdu_size = rfc.max_pdu_size; |
2402 | 2406 | ||
2403 | pi->conf_state |= L2CAP_CONF_MODE_DONE; | 2407 | pi->conf_state |= L2CAP_CONF_MODE_DONE; |
2408 | |||
2409 | l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, | ||
2410 | sizeof(rfc), (unsigned long) &rfc); | ||
2411 | |||
2404 | break; | 2412 | break; |
2405 | 2413 | ||
2406 | default: | 2414 | default: |
@@ -2410,9 +2418,6 @@ done: | |||
2410 | rfc.mode = pi->mode; | 2418 | rfc.mode = pi->mode; |
2411 | } | 2419 | } |
2412 | 2420 | ||
2413 | l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, | ||
2414 | sizeof(rfc), (unsigned long) &rfc); | ||
2415 | |||
2416 | if (result == L2CAP_CONF_SUCCESS) | 2421 | if (result == L2CAP_CONF_SUCCESS) |
2417 | pi->conf_state |= L2CAP_CONF_OUTPUT_DONE; | 2422 | pi->conf_state |= L2CAP_CONF_OUTPUT_DONE; |
2418 | } | 2423 | } |
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index b1b3b0fbf41c..4a9f52732655 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c | |||
@@ -377,12 +377,16 @@ int br_add_if(struct net_bridge *br, struct net_device *dev) | |||
377 | struct net_bridge_port *p; | 377 | struct net_bridge_port *p; |
378 | int err = 0; | 378 | int err = 0; |
379 | 379 | ||
380 | if (dev->flags & IFF_LOOPBACK || dev->type != ARPHRD_ETHER) | 380 | /* Don't allow bridging non-ethernet like devices */ |
381 | if ((dev->flags & IFF_LOOPBACK) || | ||
382 | dev->type != ARPHRD_ETHER || dev->addr_len != ETH_ALEN) | ||
381 | return -EINVAL; | 383 | return -EINVAL; |
382 | 384 | ||
385 | /* No bridging of bridges */ | ||
383 | if (dev->netdev_ops->ndo_start_xmit == br_dev_xmit) | 386 | if (dev->netdev_ops->ndo_start_xmit == br_dev_xmit) |
384 | return -ELOOP; | 387 | return -ELOOP; |
385 | 388 | ||
389 | /* Device is already being bridged */ | ||
386 | if (dev->br_port != NULL) | 390 | if (dev->br_port != NULL) |
387 | return -EBUSY; | 391 | return -EBUSY; |
388 | 392 | ||
diff --git a/net/can/bcm.c b/net/can/bcm.c index 597da4f8f888..e8d58f33fe09 100644 --- a/net/can/bcm.c +++ b/net/can/bcm.c | |||
@@ -132,23 +132,27 @@ static inline struct bcm_sock *bcm_sk(const struct sock *sk) | |||
132 | /* | 132 | /* |
133 | * procfs functions | 133 | * procfs functions |
134 | */ | 134 | */ |
135 | static char *bcm_proc_getifname(int ifindex) | 135 | static char *bcm_proc_getifname(char *result, int ifindex) |
136 | { | 136 | { |
137 | struct net_device *dev; | 137 | struct net_device *dev; |
138 | 138 | ||
139 | if (!ifindex) | 139 | if (!ifindex) |
140 | return "any"; | 140 | return "any"; |
141 | 141 | ||
142 | /* no usage counting */ | 142 | read_lock(&dev_base_lock); |
143 | dev = __dev_get_by_index(&init_net, ifindex); | 143 | dev = __dev_get_by_index(&init_net, ifindex); |
144 | if (dev) | 144 | if (dev) |
145 | return dev->name; | 145 | strcpy(result, dev->name); |
146 | else | ||
147 | strcpy(result, "???"); | ||
148 | read_unlock(&dev_base_lock); | ||
146 | 149 | ||
147 | return "???"; | 150 | return result; |
148 | } | 151 | } |
149 | 152 | ||
150 | static int bcm_proc_show(struct seq_file *m, void *v) | 153 | static int bcm_proc_show(struct seq_file *m, void *v) |
151 | { | 154 | { |
155 | char ifname[IFNAMSIZ]; | ||
152 | struct sock *sk = (struct sock *)m->private; | 156 | struct sock *sk = (struct sock *)m->private; |
153 | struct bcm_sock *bo = bcm_sk(sk); | 157 | struct bcm_sock *bo = bcm_sk(sk); |
154 | struct bcm_op *op; | 158 | struct bcm_op *op; |
@@ -157,7 +161,7 @@ static int bcm_proc_show(struct seq_file *m, void *v) | |||
157 | seq_printf(m, " / sk %p", sk); | 161 | seq_printf(m, " / sk %p", sk); |
158 | seq_printf(m, " / bo %p", bo); | 162 | seq_printf(m, " / bo %p", bo); |
159 | seq_printf(m, " / dropped %lu", bo->dropped_usr_msgs); | 163 | seq_printf(m, " / dropped %lu", bo->dropped_usr_msgs); |
160 | seq_printf(m, " / bound %s", bcm_proc_getifname(bo->ifindex)); | 164 | seq_printf(m, " / bound %s", bcm_proc_getifname(ifname, bo->ifindex)); |
161 | seq_printf(m, " <<<\n"); | 165 | seq_printf(m, " <<<\n"); |
162 | 166 | ||
163 | list_for_each_entry(op, &bo->rx_ops, list) { | 167 | list_for_each_entry(op, &bo->rx_ops, list) { |
@@ -169,7 +173,7 @@ static int bcm_proc_show(struct seq_file *m, void *v) | |||
169 | continue; | 173 | continue; |
170 | 174 | ||
171 | seq_printf(m, "rx_op: %03X %-5s ", | 175 | seq_printf(m, "rx_op: %03X %-5s ", |
172 | op->can_id, bcm_proc_getifname(op->ifindex)); | 176 | op->can_id, bcm_proc_getifname(ifname, op->ifindex)); |
173 | seq_printf(m, "[%d]%c ", op->nframes, | 177 | seq_printf(m, "[%d]%c ", op->nframes, |
174 | (op->flags & RX_CHECK_DLC)?'d':' '); | 178 | (op->flags & RX_CHECK_DLC)?'d':' '); |
175 | if (op->kt_ival1.tv64) | 179 | if (op->kt_ival1.tv64) |
@@ -194,7 +198,8 @@ static int bcm_proc_show(struct seq_file *m, void *v) | |||
194 | list_for_each_entry(op, &bo->tx_ops, list) { | 198 | list_for_each_entry(op, &bo->tx_ops, list) { |
195 | 199 | ||
196 | seq_printf(m, "tx_op: %03X %s [%d] ", | 200 | seq_printf(m, "tx_op: %03X %s [%d] ", |
197 | op->can_id, bcm_proc_getifname(op->ifindex), | 201 | op->can_id, |
202 | bcm_proc_getifname(ifname, op->ifindex), | ||
198 | op->nframes); | 203 | op->nframes); |
199 | 204 | ||
200 | if (op->kt_ival1.tv64) | 205 | if (op->kt_ival1.tv64) |
diff --git a/net/core/dev.c b/net/core/dev.c index b8f74cfb1bfd..fe10551d3671 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -942,14 +942,15 @@ rollback: | |||
942 | ret = notifier_to_errno(ret); | 942 | ret = notifier_to_errno(ret); |
943 | 943 | ||
944 | if (ret) { | 944 | if (ret) { |
945 | if (err) { | 945 | /* err >= 0 after dev_alloc_name() or stores the first errno */ |
946 | printk(KERN_ERR | 946 | if (err >= 0) { |
947 | "%s: name change rollback failed: %d.\n", | ||
948 | dev->name, ret); | ||
949 | } else { | ||
950 | err = ret; | 947 | err = ret; |
951 | memcpy(dev->name, oldname, IFNAMSIZ); | 948 | memcpy(dev->name, oldname, IFNAMSIZ); |
952 | goto rollback; | 949 | goto rollback; |
950 | } else { | ||
951 | printk(KERN_ERR | ||
952 | "%s: name change rollback failed: %d.\n", | ||
953 | dev->name, ret); | ||
953 | } | 954 | } |
954 | } | 955 | } |
955 | 956 | ||
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 80a96166df39..ec85681a7dd8 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -2701,7 +2701,8 @@ int skb_gro_receive(struct sk_buff **head, struct sk_buff *skb) | |||
2701 | 2701 | ||
2702 | NAPI_GRO_CB(skb)->free = 1; | 2702 | NAPI_GRO_CB(skb)->free = 1; |
2703 | goto done; | 2703 | goto done; |
2704 | } | 2704 | } else if (skb_gro_len(p) != pinfo->gso_size) |
2705 | return -E2BIG; | ||
2705 | 2706 | ||
2706 | headroom = skb_headroom(p); | 2707 | headroom = skb_headroom(p); |
2707 | nskb = netdev_alloc_skb(p->dev, headroom + skb_gro_offset(p)); | 2708 | nskb = netdev_alloc_skb(p->dev, headroom + skb_gro_offset(p)); |
diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c index 26b0ab1e9f56..2036568beea9 100644 --- a/net/decnet/sysctl_net_decnet.c +++ b/net/decnet/sysctl_net_decnet.c | |||
@@ -263,11 +263,10 @@ static int dn_def_dev_strategy(ctl_table *table, | |||
263 | return -ENODEV; | 263 | return -ENODEV; |
264 | 264 | ||
265 | rv = -ENODEV; | 265 | rv = -ENODEV; |
266 | if (dev->dn_ptr != NULL) { | 266 | if (dev->dn_ptr != NULL) |
267 | rv = dn_dev_set_default(dev, 1); | 267 | rv = dn_dev_set_default(dev, 1); |
268 | if (rv) | 268 | if (rv) |
269 | dev_put(dev); | 269 | dev_put(dev); |
270 | } | ||
271 | } | 270 | } |
272 | 271 | ||
273 | return rv; | 272 | return rv; |
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index 08ccd344de7a..ae40ed1ba560 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -438,25 +438,27 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) | |||
438 | goto tx_error; | 438 | goto tx_error; |
439 | } | 439 | } |
440 | 440 | ||
441 | if (tiph->frag_off) | 441 | df |= old_iph->frag_off & htons(IP_DF); |
442 | |||
443 | if (df) { | ||
442 | mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr); | 444 | mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr); |
443 | else | ||
444 | mtu = skb_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; | ||
445 | 445 | ||
446 | if (mtu < 68) { | 446 | if (mtu < 68) { |
447 | stats->collisions++; | 447 | stats->collisions++; |
448 | ip_rt_put(rt); | 448 | ip_rt_put(rt); |
449 | goto tx_error; | 449 | goto tx_error; |
450 | } | 450 | } |
451 | if (skb_dst(skb)) | ||
452 | skb_dst(skb)->ops->update_pmtu(skb_dst(skb), mtu); | ||
453 | 451 | ||
454 | df |= (old_iph->frag_off&htons(IP_DF)); | 452 | if (skb_dst(skb)) |
453 | skb_dst(skb)->ops->update_pmtu(skb_dst(skb), mtu); | ||
455 | 454 | ||
456 | if ((old_iph->frag_off&htons(IP_DF)) && mtu < ntohs(old_iph->tot_len)) { | 455 | if ((old_iph->frag_off & htons(IP_DF)) && |
457 | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu)); | 456 | mtu < ntohs(old_iph->tot_len)) { |
458 | ip_rt_put(rt); | 457 | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, |
459 | goto tx_error; | 458 | htonl(mtu)); |
459 | ip_rt_put(rt); | ||
460 | goto tx_error; | ||
461 | } | ||
460 | } | 462 | } |
461 | 463 | ||
462 | if (tunnel->err_count > 0) { | 464 | if (tunnel->err_count > 0) { |
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 630a56df7b47..99508d66a642 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -483,8 +483,10 @@ static int vif_add(struct net *net, struct vifctl *vifc, int mrtsock) | |||
483 | return -EINVAL; | 483 | return -EINVAL; |
484 | } | 484 | } |
485 | 485 | ||
486 | if ((in_dev = __in_dev_get_rtnl(dev)) == NULL) | 486 | if ((in_dev = __in_dev_get_rtnl(dev)) == NULL) { |
487 | dev_put(dev); | ||
487 | return -EADDRNOTAVAIL; | 488 | return -EADDRNOTAVAIL; |
489 | } | ||
488 | IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; | 490 | IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; |
489 | ip_rt_multicast_event(in_dev); | 491 | ip_rt_multicast_event(in_dev); |
490 | 492 | ||
diff --git a/net/ipv4/netfilter/nf_nat_core.c b/net/ipv4/netfilter/nf_nat_core.c index 68afc6ecd343..fe1a64479dd0 100644 --- a/net/ipv4/netfilter/nf_nat_core.c +++ b/net/ipv4/netfilter/nf_nat_core.c | |||
@@ -750,6 +750,8 @@ static int __init nf_nat_init(void) | |||
750 | BUG_ON(nfnetlink_parse_nat_setup_hook != NULL); | 750 | BUG_ON(nfnetlink_parse_nat_setup_hook != NULL); |
751 | rcu_assign_pointer(nfnetlink_parse_nat_setup_hook, | 751 | rcu_assign_pointer(nfnetlink_parse_nat_setup_hook, |
752 | nfnetlink_parse_nat_setup); | 752 | nfnetlink_parse_nat_setup); |
753 | BUG_ON(nf_ct_nat_offset != NULL); | ||
754 | rcu_assign_pointer(nf_ct_nat_offset, nf_nat_get_offset); | ||
753 | return 0; | 755 | return 0; |
754 | 756 | ||
755 | cleanup_extend: | 757 | cleanup_extend: |
@@ -764,6 +766,7 @@ static void __exit nf_nat_cleanup(void) | |||
764 | nf_ct_extend_unregister(&nat_extend); | 766 | nf_ct_extend_unregister(&nat_extend); |
765 | rcu_assign_pointer(nf_nat_seq_adjust_hook, NULL); | 767 | rcu_assign_pointer(nf_nat_seq_adjust_hook, NULL); |
766 | rcu_assign_pointer(nfnetlink_parse_nat_setup_hook, NULL); | 768 | rcu_assign_pointer(nfnetlink_parse_nat_setup_hook, NULL); |
769 | rcu_assign_pointer(nf_ct_nat_offset, NULL); | ||
767 | synchronize_net(); | 770 | synchronize_net(); |
768 | } | 771 | } |
769 | 772 | ||
diff --git a/net/ipv4/netfilter/nf_nat_helper.c b/net/ipv4/netfilter/nf_nat_helper.c index 09172a65d9b6..f9520fa3aba9 100644 --- a/net/ipv4/netfilter/nf_nat_helper.c +++ b/net/ipv4/netfilter/nf_nat_helper.c | |||
@@ -73,6 +73,28 @@ adjust_tcp_sequence(u32 seq, | |||
73 | DUMP_OFFSET(this_way); | 73 | DUMP_OFFSET(this_way); |
74 | } | 74 | } |
75 | 75 | ||
76 | /* Get the offset value, for conntrack */ | ||
77 | s16 nf_nat_get_offset(const struct nf_conn *ct, | ||
78 | enum ip_conntrack_dir dir, | ||
79 | u32 seq) | ||
80 | { | ||
81 | struct nf_conn_nat *nat = nfct_nat(ct); | ||
82 | struct nf_nat_seq *this_way; | ||
83 | s16 offset; | ||
84 | |||
85 | if (!nat) | ||
86 | return 0; | ||
87 | |||
88 | this_way = &nat->seq[dir]; | ||
89 | spin_lock_bh(&nf_nat_seqofs_lock); | ||
90 | offset = after(seq, this_way->correction_pos) | ||
91 | ? this_way->offset_after : this_way->offset_before; | ||
92 | spin_unlock_bh(&nf_nat_seqofs_lock); | ||
93 | |||
94 | return offset; | ||
95 | } | ||
96 | EXPORT_SYMBOL_GPL(nf_nat_get_offset); | ||
97 | |||
76 | /* Frobs data inside this packet, which is linear. */ | 98 | /* Frobs data inside this packet, which is linear. */ |
77 | static void mangle_contents(struct sk_buff *skb, | 99 | static void mangle_contents(struct sk_buff *skb, |
78 | unsigned int dataoff, | 100 | unsigned int dataoff, |
@@ -189,11 +211,6 @@ nf_nat_mangle_tcp_packet(struct sk_buff *skb, | |||
189 | adjust_tcp_sequence(ntohl(tcph->seq), | 211 | adjust_tcp_sequence(ntohl(tcph->seq), |
190 | (int)rep_len - (int)match_len, | 212 | (int)rep_len - (int)match_len, |
191 | ct, ctinfo); | 213 | ct, ctinfo); |
192 | /* Tell TCP window tracking about seq change */ | ||
193 | nf_conntrack_tcp_update(skb, ip_hdrlen(skb), | ||
194 | ct, CTINFO2DIR(ctinfo), | ||
195 | (int)rep_len - (int)match_len); | ||
196 | |||
197 | nf_conntrack_event_cache(IPCT_NATSEQADJ, ct); | 214 | nf_conntrack_event_cache(IPCT_NATSEQADJ, ct); |
198 | } | 215 | } |
199 | return 1; | 216 | return 1; |
@@ -415,12 +432,7 @@ nf_nat_seq_adjust(struct sk_buff *skb, | |||
415 | tcph->seq = newseq; | 432 | tcph->seq = newseq; |
416 | tcph->ack_seq = newack; | 433 | tcph->ack_seq = newack; |
417 | 434 | ||
418 | if (!nf_nat_sack_adjust(skb, tcph, ct, ctinfo)) | 435 | return nf_nat_sack_adjust(skb, tcph, ct, ctinfo); |
419 | return 0; | ||
420 | |||
421 | nf_conntrack_tcp_update(skb, ip_hdrlen(skb), ct, dir, seqoff); | ||
422 | |||
423 | return 1; | ||
424 | } | 436 | } |
425 | 437 | ||
426 | /* Setup NAT on this expected conntrack so it follows master. */ | 438 | /* Setup NAT on this expected conntrack so it follows master. */ |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 98440ad82558..f1813bc71088 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1183,7 +1183,9 @@ void tcp_cleanup_rbuf(struct sock *sk, int copied) | |||
1183 | #if TCP_DEBUG | 1183 | #if TCP_DEBUG |
1184 | struct sk_buff *skb = skb_peek(&sk->sk_receive_queue); | 1184 | struct sk_buff *skb = skb_peek(&sk->sk_receive_queue); |
1185 | 1185 | ||
1186 | WARN_ON(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq)); | 1186 | WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), |
1187 | KERN_INFO "cleanup rbuf bug: copied %X seq %X rcvnxt %X\n", | ||
1188 | tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); | ||
1187 | #endif | 1189 | #endif |
1188 | 1190 | ||
1189 | if (inet_csk_ack_scheduled(sk)) { | 1191 | if (inet_csk_ack_scheduled(sk)) { |
@@ -1430,11 +1432,13 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
1430 | /* Now that we have two receive queues this | 1432 | /* Now that we have two receive queues this |
1431 | * shouldn't happen. | 1433 | * shouldn't happen. |
1432 | */ | 1434 | */ |
1433 | if (before(*seq, TCP_SKB_CB(skb)->seq)) { | 1435 | if (WARN(before(*seq, TCP_SKB_CB(skb)->seq), |
1434 | printk(KERN_INFO "recvmsg bug: copied %X " | 1436 | KERN_INFO "recvmsg bug: copied %X " |
1435 | "seq %X\n", *seq, TCP_SKB_CB(skb)->seq); | 1437 | "seq %X rcvnxt %X fl %X\n", *seq, |
1438 | TCP_SKB_CB(skb)->seq, tp->rcv_nxt, | ||
1439 | flags)) | ||
1436 | break; | 1440 | break; |
1437 | } | 1441 | |
1438 | offset = *seq - TCP_SKB_CB(skb)->seq; | 1442 | offset = *seq - TCP_SKB_CB(skb)->seq; |
1439 | if (tcp_hdr(skb)->syn) | 1443 | if (tcp_hdr(skb)->syn) |
1440 | offset--; | 1444 | offset--; |
@@ -1443,8 +1447,9 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
1443 | if (tcp_hdr(skb)->fin) | 1447 | if (tcp_hdr(skb)->fin) |
1444 | goto found_fin_ok; | 1448 | goto found_fin_ok; |
1445 | WARN(!(flags & MSG_PEEK), KERN_INFO "recvmsg bug 2: " | 1449 | WARN(!(flags & MSG_PEEK), KERN_INFO "recvmsg bug 2: " |
1446 | "copied %X seq %X\n", *seq, | 1450 | "copied %X seq %X rcvnxt %X fl %X\n", |
1447 | TCP_SKB_CB(skb)->seq); | 1451 | *seq, TCP_SKB_CB(skb)->seq, |
1452 | tp->rcv_nxt, flags); | ||
1448 | } | 1453 | } |
1449 | 1454 | ||
1450 | /* Well, if we have backlog, try to process it now yet. */ | 1455 | /* Well, if we have backlog, try to process it now yet. */ |
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index ca6e68dcd8a8..b9168c1864ca 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c | |||
@@ -1351,6 +1351,11 @@ err_stat: | |||
1351 | return ret; | 1351 | return ret; |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | s16 (*nf_ct_nat_offset)(const struct nf_conn *ct, | ||
1355 | enum ip_conntrack_dir dir, | ||
1356 | u32 seq); | ||
1357 | EXPORT_SYMBOL_GPL(nf_ct_nat_offset); | ||
1358 | |||
1354 | int nf_conntrack_init(struct net *net) | 1359 | int nf_conntrack_init(struct net *net) |
1355 | { | 1360 | { |
1356 | int ret; | 1361 | int ret; |
@@ -1368,6 +1373,9 @@ int nf_conntrack_init(struct net *net) | |||
1368 | /* For use by REJECT target */ | 1373 | /* For use by REJECT target */ |
1369 | rcu_assign_pointer(ip_ct_attach, nf_conntrack_attach); | 1374 | rcu_assign_pointer(ip_ct_attach, nf_conntrack_attach); |
1370 | rcu_assign_pointer(nf_ct_destroy, destroy_conntrack); | 1375 | rcu_assign_pointer(nf_ct_destroy, destroy_conntrack); |
1376 | |||
1377 | /* Howto get NAT offsets */ | ||
1378 | rcu_assign_pointer(nf_ct_nat_offset, NULL); | ||
1371 | } | 1379 | } |
1372 | return 0; | 1380 | return 0; |
1373 | 1381 | ||
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c index 97a82ba75376..ba2b76937283 100644 --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c | |||
@@ -492,6 +492,21 @@ static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff, | |||
492 | } | 492 | } |
493 | } | 493 | } |
494 | 494 | ||
495 | #ifdef CONFIG_NF_NAT_NEEDED | ||
496 | static inline s16 nat_offset(const struct nf_conn *ct, | ||
497 | enum ip_conntrack_dir dir, | ||
498 | u32 seq) | ||
499 | { | ||
500 | typeof(nf_ct_nat_offset) get_offset = rcu_dereference(nf_ct_nat_offset); | ||
501 | |||
502 | return get_offset != NULL ? get_offset(ct, dir, seq) : 0; | ||
503 | } | ||
504 | #define NAT_OFFSET(pf, ct, dir, seq) \ | ||
505 | (pf == NFPROTO_IPV4 ? nat_offset(ct, dir, seq) : 0) | ||
506 | #else | ||
507 | #define NAT_OFFSET(pf, ct, dir, seq) 0 | ||
508 | #endif | ||
509 | |||
495 | static bool tcp_in_window(const struct nf_conn *ct, | 510 | static bool tcp_in_window(const struct nf_conn *ct, |
496 | struct ip_ct_tcp *state, | 511 | struct ip_ct_tcp *state, |
497 | enum ip_conntrack_dir dir, | 512 | enum ip_conntrack_dir dir, |
@@ -506,6 +521,7 @@ static bool tcp_in_window(const struct nf_conn *ct, | |||
506 | struct ip_ct_tcp_state *receiver = &state->seen[!dir]; | 521 | struct ip_ct_tcp_state *receiver = &state->seen[!dir]; |
507 | const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; | 522 | const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; |
508 | __u32 seq, ack, sack, end, win, swin; | 523 | __u32 seq, ack, sack, end, win, swin; |
524 | s16 receiver_offset; | ||
509 | bool res; | 525 | bool res; |
510 | 526 | ||
511 | /* | 527 | /* |
@@ -519,11 +535,16 @@ static bool tcp_in_window(const struct nf_conn *ct, | |||
519 | if (receiver->flags & IP_CT_TCP_FLAG_SACK_PERM) | 535 | if (receiver->flags & IP_CT_TCP_FLAG_SACK_PERM) |
520 | tcp_sack(skb, dataoff, tcph, &sack); | 536 | tcp_sack(skb, dataoff, tcph, &sack); |
521 | 537 | ||
538 | /* Take into account NAT sequence number mangling */ | ||
539 | receiver_offset = NAT_OFFSET(pf, ct, !dir, ack - 1); | ||
540 | ack -= receiver_offset; | ||
541 | sack -= receiver_offset; | ||
542 | |||
522 | pr_debug("tcp_in_window: START\n"); | 543 | pr_debug("tcp_in_window: START\n"); |
523 | pr_debug("tcp_in_window: "); | 544 | pr_debug("tcp_in_window: "); |
524 | nf_ct_dump_tuple(tuple); | 545 | nf_ct_dump_tuple(tuple); |
525 | pr_debug("seq=%u ack=%u sack=%u win=%u end=%u\n", | 546 | pr_debug("seq=%u ack=%u+(%d) sack=%u+(%d) win=%u end=%u\n", |
526 | seq, ack, sack, win, end); | 547 | seq, ack, receiver_offset, sack, receiver_offset, win, end); |
527 | pr_debug("tcp_in_window: sender end=%u maxend=%u maxwin=%u scale=%i " | 548 | pr_debug("tcp_in_window: sender end=%u maxend=%u maxwin=%u scale=%i " |
528 | "receiver end=%u maxend=%u maxwin=%u scale=%i\n", | 549 | "receiver end=%u maxend=%u maxwin=%u scale=%i\n", |
529 | sender->td_end, sender->td_maxend, sender->td_maxwin, | 550 | sender->td_end, sender->td_maxend, sender->td_maxwin, |
@@ -613,8 +634,8 @@ static bool tcp_in_window(const struct nf_conn *ct, | |||
613 | 634 | ||
614 | pr_debug("tcp_in_window: "); | 635 | pr_debug("tcp_in_window: "); |
615 | nf_ct_dump_tuple(tuple); | 636 | nf_ct_dump_tuple(tuple); |
616 | pr_debug("seq=%u ack=%u sack =%u win=%u end=%u\n", | 637 | pr_debug("seq=%u ack=%u+(%d) sack=%u+(%d) win=%u end=%u\n", |
617 | seq, ack, sack, win, end); | 638 | seq, ack, receiver_offset, sack, receiver_offset, win, end); |
618 | pr_debug("tcp_in_window: sender end=%u maxend=%u maxwin=%u scale=%i " | 639 | pr_debug("tcp_in_window: sender end=%u maxend=%u maxwin=%u scale=%i " |
619 | "receiver end=%u maxend=%u maxwin=%u scale=%i\n", | 640 | "receiver end=%u maxend=%u maxwin=%u scale=%i\n", |
620 | sender->td_end, sender->td_maxend, sender->td_maxwin, | 641 | sender->td_end, sender->td_maxend, sender->td_maxwin, |
@@ -700,7 +721,7 @@ static bool tcp_in_window(const struct nf_conn *ct, | |||
700 | before(seq, sender->td_maxend + 1) ? | 721 | before(seq, sender->td_maxend + 1) ? |
701 | after(end, sender->td_end - receiver->td_maxwin - 1) ? | 722 | after(end, sender->td_end - receiver->td_maxwin - 1) ? |
702 | before(sack, receiver->td_end + 1) ? | 723 | before(sack, receiver->td_end + 1) ? |
703 | after(ack, receiver->td_end - MAXACKWINDOW(sender)) ? "BUG" | 724 | after(sack, receiver->td_end - MAXACKWINDOW(sender) - 1) ? "BUG" |
704 | : "ACK is under the lower bound (possible overly delayed ACK)" | 725 | : "ACK is under the lower bound (possible overly delayed ACK)" |
705 | : "ACK is over the upper bound (ACKed data not seen yet)" | 726 | : "ACK is over the upper bound (ACKed data not seen yet)" |
706 | : "SEQ is under the lower bound (already ACKed data retransmitted)" | 727 | : "SEQ is under the lower bound (already ACKed data retransmitted)" |
@@ -715,39 +736,6 @@ static bool tcp_in_window(const struct nf_conn *ct, | |||
715 | return res; | 736 | return res; |
716 | } | 737 | } |
717 | 738 | ||
718 | #ifdef CONFIG_NF_NAT_NEEDED | ||
719 | /* Update sender->td_end after NAT successfully mangled the packet */ | ||
720 | /* Caller must linearize skb at tcp header. */ | ||
721 | void nf_conntrack_tcp_update(const struct sk_buff *skb, | ||
722 | unsigned int dataoff, | ||
723 | struct nf_conn *ct, int dir, | ||
724 | s16 offset) | ||
725 | { | ||
726 | const struct tcphdr *tcph = (const void *)skb->data + dataoff; | ||
727 | const struct ip_ct_tcp_state *sender = &ct->proto.tcp.seen[dir]; | ||
728 | const struct ip_ct_tcp_state *receiver = &ct->proto.tcp.seen[!dir]; | ||
729 | __u32 end; | ||
730 | |||
731 | end = segment_seq_plus_len(ntohl(tcph->seq), skb->len, dataoff, tcph); | ||
732 | |||
733 | spin_lock_bh(&ct->lock); | ||
734 | /* | ||
735 | * We have to worry for the ack in the reply packet only... | ||
736 | */ | ||
737 | if (ct->proto.tcp.seen[dir].td_end + offset == end) | ||
738 | ct->proto.tcp.seen[dir].td_end = end; | ||
739 | ct->proto.tcp.last_end = end; | ||
740 | spin_unlock_bh(&ct->lock); | ||
741 | pr_debug("tcp_update: sender end=%u maxend=%u maxwin=%u scale=%i " | ||
742 | "receiver end=%u maxend=%u maxwin=%u scale=%i\n", | ||
743 | sender->td_end, sender->td_maxend, sender->td_maxwin, | ||
744 | sender->td_scale, | ||
745 | receiver->td_end, receiver->td_maxend, receiver->td_maxwin, | ||
746 | receiver->td_scale); | ||
747 | } | ||
748 | EXPORT_SYMBOL_GPL(nf_conntrack_tcp_update); | ||
749 | #endif | ||
750 | |||
751 | #define TH_FIN 0x01 | 739 | #define TH_FIN 0x01 |
752 | #define TH_SYN 0x02 | 740 | #define TH_SYN 0x02 |
753 | #define TH_RST 0x04 | 741 | #define TH_RST 0x04 |
diff --git a/net/netfilter/xt_connlimit.c b/net/netfilter/xt_connlimit.c index 680980954395..38f03f75a636 100644 --- a/net/netfilter/xt_connlimit.c +++ b/net/netfilter/xt_connlimit.c | |||
@@ -103,7 +103,7 @@ static int count_them(struct xt_connlimit_data *data, | |||
103 | const struct nf_conntrack_tuple *tuple, | 103 | const struct nf_conntrack_tuple *tuple, |
104 | const union nf_inet_addr *addr, | 104 | const union nf_inet_addr *addr, |
105 | const union nf_inet_addr *mask, | 105 | const union nf_inet_addr *mask, |
106 | const struct xt_match *match) | 106 | u_int8_t family) |
107 | { | 107 | { |
108 | const struct nf_conntrack_tuple_hash *found; | 108 | const struct nf_conntrack_tuple_hash *found; |
109 | struct xt_connlimit_conn *conn; | 109 | struct xt_connlimit_conn *conn; |
@@ -113,8 +113,7 @@ static int count_them(struct xt_connlimit_data *data, | |||
113 | bool addit = true; | 113 | bool addit = true; |
114 | int matches = 0; | 114 | int matches = 0; |
115 | 115 | ||
116 | 116 | if (family == NFPROTO_IPV6) | |
117 | if (match->family == NFPROTO_IPV6) | ||
118 | hash = &data->iphash[connlimit_iphash6(addr, mask)]; | 117 | hash = &data->iphash[connlimit_iphash6(addr, mask)]; |
119 | else | 118 | else |
120 | hash = &data->iphash[connlimit_iphash(addr->ip & mask->ip)]; | 119 | hash = &data->iphash[connlimit_iphash(addr->ip & mask->ip)]; |
@@ -157,8 +156,7 @@ static int count_them(struct xt_connlimit_data *data, | |||
157 | continue; | 156 | continue; |
158 | } | 157 | } |
159 | 158 | ||
160 | if (same_source_net(addr, mask, &conn->tuple.src.u3, | 159 | if (same_source_net(addr, mask, &conn->tuple.src.u3, family)) |
161 | match->family)) | ||
162 | /* same source network -> be counted! */ | 160 | /* same source network -> be counted! */ |
163 | ++matches; | 161 | ++matches; |
164 | nf_ct_put(found_ct); | 162 | nf_ct_put(found_ct); |
@@ -207,7 +205,7 @@ connlimit_mt(const struct sk_buff *skb, const struct xt_match_param *par) | |||
207 | 205 | ||
208 | spin_lock_bh(&info->data->lock); | 206 | spin_lock_bh(&info->data->lock); |
209 | connections = count_them(info->data, tuple_ptr, &addr, | 207 | connections = count_them(info->data, tuple_ptr, &addr, |
210 | &info->mask, par->match); | 208 | &info->mask, par->family); |
211 | spin_unlock_bh(&info->data->lock); | 209 | spin_unlock_bh(&info->data->lock); |
212 | 210 | ||
213 | if (connections < 0) { | 211 | if (connections < 0) { |
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 9478d9b3d977..f3e21989b88c 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c | |||
@@ -578,18 +578,18 @@ static int rose_clear_routes(void) | |||
578 | 578 | ||
579 | /* | 579 | /* |
580 | * Check that the device given is a valid AX.25 interface that is "up". | 580 | * Check that the device given is a valid AX.25 interface that is "up". |
581 | * called whith RTNL | ||
581 | */ | 582 | */ |
582 | static struct net_device *rose_ax25_dev_get(char *devname) | 583 | static struct net_device *rose_ax25_dev_find(char *devname) |
583 | { | 584 | { |
584 | struct net_device *dev; | 585 | struct net_device *dev; |
585 | 586 | ||
586 | if ((dev = dev_get_by_name(&init_net, devname)) == NULL) | 587 | if ((dev = __dev_get_by_name(&init_net, devname)) == NULL) |
587 | return NULL; | 588 | return NULL; |
588 | 589 | ||
589 | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25) | 590 | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25) |
590 | return dev; | 591 | return dev; |
591 | 592 | ||
592 | dev_put(dev); | ||
593 | return NULL; | 593 | return NULL; |
594 | } | 594 | } |
595 | 595 | ||
@@ -720,27 +720,23 @@ int rose_rt_ioctl(unsigned int cmd, void __user *arg) | |||
720 | case SIOCADDRT: | 720 | case SIOCADDRT: |
721 | if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct))) | 721 | if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct))) |
722 | return -EFAULT; | 722 | return -EFAULT; |
723 | if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL) | 723 | if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL) |
724 | return -EINVAL; | 724 | return -EINVAL; |
725 | if (rose_dev_exists(&rose_route.address)) { /* Can't add routes to ourself */ | 725 | if (rose_dev_exists(&rose_route.address)) /* Can't add routes to ourself */ |
726 | dev_put(dev); | ||
727 | return -EINVAL; | 726 | return -EINVAL; |
728 | } | ||
729 | if (rose_route.mask > 10) /* Mask can't be more than 10 digits */ | 727 | if (rose_route.mask > 10) /* Mask can't be more than 10 digits */ |
730 | return -EINVAL; | 728 | return -EINVAL; |
731 | if (rose_route.ndigis > AX25_MAX_DIGIS) | 729 | if (rose_route.ndigis > AX25_MAX_DIGIS) |
732 | return -EINVAL; | 730 | return -EINVAL; |
733 | err = rose_add_node(&rose_route, dev); | 731 | err = rose_add_node(&rose_route, dev); |
734 | dev_put(dev); | ||
735 | return err; | 732 | return err; |
736 | 733 | ||
737 | case SIOCDELRT: | 734 | case SIOCDELRT: |
738 | if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct))) | 735 | if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct))) |
739 | return -EFAULT; | 736 | return -EFAULT; |
740 | if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL) | 737 | if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL) |
741 | return -EINVAL; | 738 | return -EINVAL; |
742 | err = rose_del_node(&rose_route, dev); | 739 | err = rose_del_node(&rose_route, dev); |
743 | dev_put(dev); | ||
744 | return err; | 740 | return err; |
745 | 741 | ||
746 | case SIOCRSCLRRT: | 742 | case SIOCRSCLRRT: |
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 8450960df24f..7eed77a39d0d 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -1485,15 +1485,13 @@ void sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned len) | |||
1485 | * local endpoint and the remote peer. | 1485 | * local endpoint and the remote peer. |
1486 | */ | 1486 | */ |
1487 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *asoc, | 1487 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *asoc, |
1488 | gfp_t gfp) | 1488 | sctp_scope_t scope, gfp_t gfp) |
1489 | { | 1489 | { |
1490 | sctp_scope_t scope; | ||
1491 | int flags; | 1490 | int flags; |
1492 | 1491 | ||
1493 | /* Use scoping rules to determine the subset of addresses from | 1492 | /* Use scoping rules to determine the subset of addresses from |
1494 | * the endpoint. | 1493 | * the endpoint. |
1495 | */ | 1494 | */ |
1496 | scope = sctp_scope(&asoc->peer.active_path->ipaddr); | ||
1497 | flags = (PF_INET6 == asoc->base.sk->sk_family) ? SCTP_ADDR6_ALLOWED : 0; | 1495 | flags = (PF_INET6 == asoc->base.sk->sk_family) ? SCTP_ADDR6_ALLOWED : 0; |
1498 | if (asoc->peer.ipv4_address) | 1496 | if (asoc->peer.ipv4_address) |
1499 | flags |= SCTP_ADDR4_PEERSUPP; | 1497 | flags |= SCTP_ADDR4_PEERSUPP; |
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index c8fae1983dd1..d4df45022ffa 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -384,6 +384,11 @@ sctp_disposition_t sctp_sf_do_5_1B_init(const struct sctp_endpoint *ep, | |||
384 | if (!new_asoc) | 384 | if (!new_asoc) |
385 | goto nomem; | 385 | goto nomem; |
386 | 386 | ||
387 | if (sctp_assoc_set_bind_addr_from_ep(new_asoc, | ||
388 | sctp_scope(sctp_source(chunk)), | ||
389 | GFP_ATOMIC) < 0) | ||
390 | goto nomem_init; | ||
391 | |||
387 | /* The call, sctp_process_init(), can fail on memory allocation. */ | 392 | /* The call, sctp_process_init(), can fail on memory allocation. */ |
388 | if (!sctp_process_init(new_asoc, chunk->chunk_hdr->type, | 393 | if (!sctp_process_init(new_asoc, chunk->chunk_hdr->type, |
389 | sctp_source(chunk), | 394 | sctp_source(chunk), |
@@ -401,9 +406,6 @@ sctp_disposition_t sctp_sf_do_5_1B_init(const struct sctp_endpoint *ep, | |||
401 | len = ntohs(err_chunk->chunk_hdr->length) - | 406 | len = ntohs(err_chunk->chunk_hdr->length) - |
402 | sizeof(sctp_chunkhdr_t); | 407 | sizeof(sctp_chunkhdr_t); |
403 | 408 | ||
404 | if (sctp_assoc_set_bind_addr_from_ep(new_asoc, GFP_ATOMIC) < 0) | ||
405 | goto nomem_init; | ||
406 | |||
407 | repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); | 409 | repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); |
408 | if (!repl) | 410 | if (!repl) |
409 | goto nomem_init; | 411 | goto nomem_init; |
@@ -1452,6 +1454,10 @@ static sctp_disposition_t sctp_sf_do_unexpected_init( | |||
1452 | if (!new_asoc) | 1454 | if (!new_asoc) |
1453 | goto nomem; | 1455 | goto nomem; |
1454 | 1456 | ||
1457 | if (sctp_assoc_set_bind_addr_from_ep(new_asoc, | ||
1458 | sctp_scope(sctp_source(chunk)), GFP_ATOMIC) < 0) | ||
1459 | goto nomem; | ||
1460 | |||
1455 | /* In the outbound INIT ACK the endpoint MUST copy its current | 1461 | /* In the outbound INIT ACK the endpoint MUST copy its current |
1456 | * Verification Tag and Peers Verification tag into a reserved | 1462 | * Verification Tag and Peers Verification tag into a reserved |
1457 | * place (local tie-tag and per tie-tag) within the state cookie. | 1463 | * place (local tie-tag and per tie-tag) within the state cookie. |
@@ -1488,9 +1494,6 @@ static sctp_disposition_t sctp_sf_do_unexpected_init( | |||
1488 | sizeof(sctp_chunkhdr_t); | 1494 | sizeof(sctp_chunkhdr_t); |
1489 | } | 1495 | } |
1490 | 1496 | ||
1491 | if (sctp_assoc_set_bind_addr_from_ep(new_asoc, GFP_ATOMIC) < 0) | ||
1492 | goto nomem; | ||
1493 | |||
1494 | repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); | 1497 | repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); |
1495 | if (!repl) | 1498 | if (!repl) |
1496 | goto nomem; | 1499 | goto nomem; |
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index c8d05758661d..3a95fcb17a9e 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -1080,6 +1080,13 @@ static int __sctp_connect(struct sock* sk, | |||
1080 | err = -ENOMEM; | 1080 | err = -ENOMEM; |
1081 | goto out_free; | 1081 | goto out_free; |
1082 | } | 1082 | } |
1083 | |||
1084 | err = sctp_assoc_set_bind_addr_from_ep(asoc, scope, | ||
1085 | GFP_KERNEL); | ||
1086 | if (err < 0) { | ||
1087 | goto out_free; | ||
1088 | } | ||
1089 | |||
1083 | } | 1090 | } |
1084 | 1091 | ||
1085 | /* Prime the peer's transport structures. */ | 1092 | /* Prime the peer's transport structures. */ |
@@ -1095,11 +1102,6 @@ static int __sctp_connect(struct sock* sk, | |||
1095 | walk_size += af->sockaddr_len; | 1102 | walk_size += af->sockaddr_len; |
1096 | } | 1103 | } |
1097 | 1104 | ||
1098 | err = sctp_assoc_set_bind_addr_from_ep(asoc, GFP_KERNEL); | ||
1099 | if (err < 0) { | ||
1100 | goto out_free; | ||
1101 | } | ||
1102 | |||
1103 | /* In case the user of sctp_connectx() wants an association | 1105 | /* In case the user of sctp_connectx() wants an association |
1104 | * id back, assign one now. | 1106 | * id back, assign one now. |
1105 | */ | 1107 | */ |
@@ -1274,22 +1276,30 @@ SCTP_STATIC int sctp_setsockopt_connectx(struct sock* sk, | |||
1274 | } | 1276 | } |
1275 | 1277 | ||
1276 | /* | 1278 | /* |
1277 | * New (hopefully final) interface for the API. The option buffer is used | 1279 | * New (hopefully final) interface for the API. |
1278 | * both for the returned association id and the addresses. | 1280 | * We use the sctp_getaddrs_old structure so that use-space library |
1281 | * can avoid any unnecessary allocations. The only defferent part | ||
1282 | * is that we store the actual length of the address buffer into the | ||
1283 | * addrs_num structure member. That way we can re-use the existing | ||
1284 | * code. | ||
1279 | */ | 1285 | */ |
1280 | SCTP_STATIC int sctp_getsockopt_connectx3(struct sock* sk, int len, | 1286 | SCTP_STATIC int sctp_getsockopt_connectx3(struct sock* sk, int len, |
1281 | char __user *optval, | 1287 | char __user *optval, |
1282 | int __user *optlen) | 1288 | int __user *optlen) |
1283 | { | 1289 | { |
1290 | struct sctp_getaddrs_old param; | ||
1284 | sctp_assoc_t assoc_id = 0; | 1291 | sctp_assoc_t assoc_id = 0; |
1285 | int err = 0; | 1292 | int err = 0; |
1286 | 1293 | ||
1287 | if (len < sizeof(assoc_id)) | 1294 | if (len < sizeof(param)) |
1288 | return -EINVAL; | 1295 | return -EINVAL; |
1289 | 1296 | ||
1297 | if (copy_from_user(¶m, optval, sizeof(param))) | ||
1298 | return -EFAULT; | ||
1299 | |||
1290 | err = __sctp_setsockopt_connectx(sk, | 1300 | err = __sctp_setsockopt_connectx(sk, |
1291 | (struct sockaddr __user *)(optval + sizeof(assoc_id)), | 1301 | (struct sockaddr __user *)param.addrs, |
1292 | len - sizeof(assoc_id), &assoc_id); | 1302 | param.addr_num, &assoc_id); |
1293 | 1303 | ||
1294 | if (err == 0 || err == -EINPROGRESS) { | 1304 | if (err == 0 || err == -EINPROGRESS) { |
1295 | if (copy_to_user(optval, &assoc_id, sizeof(assoc_id))) | 1305 | if (copy_to_user(optval, &assoc_id, sizeof(assoc_id))) |
@@ -1689,6 +1699,11 @@ SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
1689 | goto out_unlock; | 1699 | goto out_unlock; |
1690 | } | 1700 | } |
1691 | asoc = new_asoc; | 1701 | asoc = new_asoc; |
1702 | err = sctp_assoc_set_bind_addr_from_ep(asoc, scope, GFP_KERNEL); | ||
1703 | if (err < 0) { | ||
1704 | err = -ENOMEM; | ||
1705 | goto out_free; | ||
1706 | } | ||
1692 | 1707 | ||
1693 | /* If the SCTP_INIT ancillary data is specified, set all | 1708 | /* If the SCTP_INIT ancillary data is specified, set all |
1694 | * the association init values accordingly. | 1709 | * the association init values accordingly. |
@@ -1718,11 +1733,6 @@ SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
1718 | err = -ENOMEM; | 1733 | err = -ENOMEM; |
1719 | goto out_free; | 1734 | goto out_free; |
1720 | } | 1735 | } |
1721 | err = sctp_assoc_set_bind_addr_from_ep(asoc, GFP_KERNEL); | ||
1722 | if (err < 0) { | ||
1723 | err = -ENOMEM; | ||
1724 | goto out_free; | ||
1725 | } | ||
1726 | } | 1736 | } |
1727 | 1737 | ||
1728 | /* ASSERT: we have a valid association at this point. */ | 1738 | /* ASSERT: we have a valid association at this point. */ |
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index c256e4839316..3b141bb32faf 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -308,7 +308,8 @@ void sctp_transport_route(struct sctp_transport *transport, | |||
308 | /* Initialize sk->sk_rcv_saddr, if the transport is the | 308 | /* Initialize sk->sk_rcv_saddr, if the transport is the |
309 | * association's active path for getsockname(). | 309 | * association's active path for getsockname(). |
310 | */ | 310 | */ |
311 | if (asoc && (transport == asoc->peer.active_path)) | 311 | if (asoc && (!asoc->peer.primary_path || |
312 | (transport == asoc->peer.active_path))) | ||
312 | opt->pf->af->to_sk_saddr(&transport->saddr, | 313 | opt->pf->af->to_sk_saddr(&transport->saddr, |
313 | asoc->base.sk); | 314 | asoc->base.sk); |
314 | } else | 315 | } else |
diff --git a/net/sunrpc/addr.c b/net/sunrpc/addr.c index 22e8fd89477f..c7450c8f0a7c 100644 --- a/net/sunrpc/addr.c +++ b/net/sunrpc/addr.c | |||
@@ -306,24 +306,25 @@ EXPORT_SYMBOL_GPL(rpc_sockaddr2uaddr); | |||
306 | * @sap: buffer into which to plant socket address | 306 | * @sap: buffer into which to plant socket address |
307 | * @salen: size of buffer | 307 | * @salen: size of buffer |
308 | * | 308 | * |
309 | * @uaddr does not have to be '\0'-terminated, but strict_strtoul() and | ||
310 | * rpc_pton() require proper string termination to be successful. | ||
311 | * | ||
309 | * Returns the size of the socket address if successful; otherwise | 312 | * Returns the size of the socket address if successful; otherwise |
310 | * zero is returned. | 313 | * zero is returned. |
311 | */ | 314 | */ |
312 | size_t rpc_uaddr2sockaddr(const char *uaddr, const size_t uaddr_len, | 315 | size_t rpc_uaddr2sockaddr(const char *uaddr, const size_t uaddr_len, |
313 | struct sockaddr *sap, const size_t salen) | 316 | struct sockaddr *sap, const size_t salen) |
314 | { | 317 | { |
315 | char *c, buf[RPCBIND_MAXUADDRLEN]; | 318 | char *c, buf[RPCBIND_MAXUADDRLEN + sizeof('\0')]; |
316 | unsigned long portlo, porthi; | 319 | unsigned long portlo, porthi; |
317 | unsigned short port; | 320 | unsigned short port; |
318 | 321 | ||
319 | if (uaddr_len > sizeof(buf)) | 322 | if (uaddr_len > RPCBIND_MAXUADDRLEN) |
320 | return 0; | 323 | return 0; |
321 | 324 | ||
322 | memcpy(buf, uaddr, uaddr_len); | 325 | memcpy(buf, uaddr, uaddr_len); |
323 | 326 | ||
324 | buf[uaddr_len] = '\n'; | 327 | buf[uaddr_len] = '\0'; |
325 | buf[uaddr_len + 1] = '\0'; | ||
326 | |||
327 | c = strrchr(buf, '.'); | 328 | c = strrchr(buf, '.'); |
328 | if (unlikely(c == NULL)) | 329 | if (unlikely(c == NULL)) |
329 | return 0; | 330 | return 0; |
@@ -332,9 +333,7 @@ size_t rpc_uaddr2sockaddr(const char *uaddr, const size_t uaddr_len, | |||
332 | if (unlikely(portlo > 255)) | 333 | if (unlikely(portlo > 255)) |
333 | return 0; | 334 | return 0; |
334 | 335 | ||
335 | c[0] = '\n'; | 336 | *c = '\0'; |
336 | c[1] = '\0'; | ||
337 | |||
338 | c = strrchr(buf, '.'); | 337 | c = strrchr(buf, '.'); |
339 | if (unlikely(c == NULL)) | 338 | if (unlikely(c == NULL)) |
340 | return 0; | 339 | return 0; |
@@ -345,8 +344,7 @@ size_t rpc_uaddr2sockaddr(const char *uaddr, const size_t uaddr_len, | |||
345 | 344 | ||
346 | port = (unsigned short)((porthi << 8) | portlo); | 345 | port = (unsigned short)((porthi << 8) | portlo); |
347 | 346 | ||
348 | c[0] = '\0'; | 347 | *c = '\0'; |
349 | |||
350 | if (rpc_pton(buf, strlen(buf), sap, salen) == 0) | 348 | if (rpc_pton(buf, strlen(buf), sap, salen) == 0) |
351 | return 0; | 349 | return 0; |
352 | 350 | ||
diff --git a/scripts/dtc/data.c b/scripts/dtc/data.c index dd2e3d39d4c1..fe555e819bf8 100644 --- a/scripts/dtc/data.c +++ b/scripts/dtc/data.c | |||
@@ -217,7 +217,7 @@ struct data data_insert_at_marker(struct data d, struct marker *m, | |||
217 | return d; | 217 | return d; |
218 | } | 218 | } |
219 | 219 | ||
220 | struct data data_append_markers(struct data d, struct marker *m) | 220 | static struct data data_append_markers(struct data d, struct marker *m) |
221 | { | 221 | { |
222 | struct marker **mp = &d.markers; | 222 | struct marker **mp = &d.markers; |
223 | 223 | ||
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index 44dbfd3f0976..a627bbee91d4 100644 --- a/scripts/dtc/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l | |||
@@ -18,7 +18,7 @@ | |||
18 | * USA | 18 | * USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | %option noyywrap nounput yylineno | 21 | %option noyywrap noinput nounput yylineno |
22 | 22 | ||
23 | %x INCLUDE | 23 | %x INCLUDE |
24 | %x BYTESTRING | 24 | %x BYTESTRING |
diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped index ac392cb040f6..e27cc636e326 100644 --- a/scripts/dtc/dtc-lexer.lex.c_shipped +++ b/scripts/dtc/dtc-lexer.lex.c_shipped | |||
@@ -9,7 +9,7 @@ | |||
9 | #define FLEX_SCANNER | 9 | #define FLEX_SCANNER |
10 | #define YY_FLEX_MAJOR_VERSION 2 | 10 | #define YY_FLEX_MAJOR_VERSION 2 |
11 | #define YY_FLEX_MINOR_VERSION 5 | 11 | #define YY_FLEX_MINOR_VERSION 5 |
12 | #define YY_FLEX_SUBMINOR_VERSION 34 | 12 | #define YY_FLEX_SUBMINOR_VERSION 35 |
13 | #if YY_FLEX_SUBMINOR_VERSION > 0 | 13 | #if YY_FLEX_SUBMINOR_VERSION > 0 |
14 | #define FLEX_BETA | 14 | #define FLEX_BETA |
15 | #endif | 15 | #endif |
@@ -54,7 +54,6 @@ typedef int flex_int32_t; | |||
54 | typedef unsigned char flex_uint8_t; | 54 | typedef unsigned char flex_uint8_t; |
55 | typedef unsigned short int flex_uint16_t; | 55 | typedef unsigned short int flex_uint16_t; |
56 | typedef unsigned int flex_uint32_t; | 56 | typedef unsigned int flex_uint32_t; |
57 | #endif /* ! C99 */ | ||
58 | 57 | ||
59 | /* Limits of integral types. */ | 58 | /* Limits of integral types. */ |
60 | #ifndef INT8_MIN | 59 | #ifndef INT8_MIN |
@@ -85,6 +84,8 @@ typedef unsigned int flex_uint32_t; | |||
85 | #define UINT32_MAX (4294967295U) | 84 | #define UINT32_MAX (4294967295U) |
86 | #endif | 85 | #endif |
87 | 86 | ||
87 | #endif /* ! C99 */ | ||
88 | |||
88 | #endif /* ! FLEXINT_H */ | 89 | #endif /* ! FLEXINT_H */ |
89 | 90 | ||
90 | #ifdef __cplusplus | 91 | #ifdef __cplusplus |
@@ -141,7 +142,15 @@ typedef unsigned int flex_uint32_t; | |||
141 | 142 | ||
142 | /* Size of default input buffer. */ | 143 | /* Size of default input buffer. */ |
143 | #ifndef YY_BUF_SIZE | 144 | #ifndef YY_BUF_SIZE |
145 | #ifdef __ia64__ | ||
146 | /* On IA-64, the buffer size is 16k, not 8k. | ||
147 | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | ||
148 | * Ditto for the __ia64__ case accordingly. | ||
149 | */ | ||
150 | #define YY_BUF_SIZE 32768 | ||
151 | #else | ||
144 | #define YY_BUF_SIZE 16384 | 152 | #define YY_BUF_SIZE 16384 |
153 | #endif /* __ia64__ */ | ||
145 | #endif | 154 | #endif |
146 | 155 | ||
147 | /* The state buf must be large enough to hold one state per character in the main buffer. | 156 | /* The state buf must be large enough to hold one state per character in the main buffer. |
@@ -192,13 +201,6 @@ extern FILE *yyin, *yyout; | |||
192 | 201 | ||
193 | #define unput(c) yyunput( c, (yytext_ptr) ) | 202 | #define unput(c) yyunput( c, (yytext_ptr) ) |
194 | 203 | ||
195 | /* The following is because we cannot portably get our hands on size_t | ||
196 | * (without autoconf's help, which isn't available because we want | ||
197 | * flex-generated scanners to compile on their own). | ||
198 | * Given that the standard has decreed that size_t exists since 1989, | ||
199 | * I guess we can afford to depend on it. Manoj. | ||
200 | */ | ||
201 | |||
202 | #ifndef YY_TYPEDEF_YY_SIZE_T | 204 | #ifndef YY_TYPEDEF_YY_SIZE_T |
203 | #define YY_TYPEDEF_YY_SIZE_T | 205 | #define YY_TYPEDEF_YY_SIZE_T |
204 | typedef size_t yy_size_t; | 206 | typedef size_t yy_size_t; |
@@ -604,6 +606,7 @@ char *yytext; | |||
604 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | 606 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
605 | * USA | 607 | * USA |
606 | */ | 608 | */ |
609 | #define YY_NO_INPUT 1 | ||
607 | 610 | ||
608 | 611 | ||
609 | 612 | ||
@@ -634,7 +637,7 @@ static int dts_version; /* = 0 */ | |||
634 | 637 | ||
635 | static void push_input_file(const char *filename); | 638 | static void push_input_file(const char *filename); |
636 | static int pop_input_file(void); | 639 | static int pop_input_file(void); |
637 | #line 638 "dtc-lexer.lex.c" | 640 | #line 641 "dtc-lexer.lex.c" |
638 | 641 | ||
639 | #define INITIAL 0 | 642 | #define INITIAL 0 |
640 | #define INCLUDE 1 | 643 | #define INCLUDE 1 |
@@ -656,6 +659,35 @@ static int pop_input_file(void); | |||
656 | 659 | ||
657 | static int yy_init_globals (void ); | 660 | static int yy_init_globals (void ); |
658 | 661 | ||
662 | /* Accessor methods to globals. | ||
663 | These are made visible to non-reentrant scanners for convenience. */ | ||
664 | |||
665 | int yylex_destroy (void ); | ||
666 | |||
667 | int yyget_debug (void ); | ||
668 | |||
669 | void yyset_debug (int debug_flag ); | ||
670 | |||
671 | YY_EXTRA_TYPE yyget_extra (void ); | ||
672 | |||
673 | void yyset_extra (YY_EXTRA_TYPE user_defined ); | ||
674 | |||
675 | FILE *yyget_in (void ); | ||
676 | |||
677 | void yyset_in (FILE * in_str ); | ||
678 | |||
679 | FILE *yyget_out (void ); | ||
680 | |||
681 | void yyset_out (FILE * out_str ); | ||
682 | |||
683 | int yyget_leng (void ); | ||
684 | |||
685 | char *yyget_text (void ); | ||
686 | |||
687 | int yyget_lineno (void ); | ||
688 | |||
689 | void yyset_lineno (int line_number ); | ||
690 | |||
659 | /* Macros after this point can all be overridden by user definitions in | 691 | /* Macros after this point can all be overridden by user definitions in |
660 | * section 1. | 692 | * section 1. |
661 | */ | 693 | */ |
@@ -688,7 +720,12 @@ static int input (void ); | |||
688 | 720 | ||
689 | /* Amount of stuff to slurp up with each read. */ | 721 | /* Amount of stuff to slurp up with each read. */ |
690 | #ifndef YY_READ_BUF_SIZE | 722 | #ifndef YY_READ_BUF_SIZE |
723 | #ifdef __ia64__ | ||
724 | /* On IA-64, the buffer size is 16k, not 8k */ | ||
725 | #define YY_READ_BUF_SIZE 16384 | ||
726 | #else | ||
691 | #define YY_READ_BUF_SIZE 8192 | 727 | #define YY_READ_BUF_SIZE 8192 |
728 | #endif /* __ia64__ */ | ||
692 | #endif | 729 | #endif |
693 | 730 | ||
694 | /* Copy whatever the last rule matched to the standard output. */ | 731 | /* Copy whatever the last rule matched to the standard output. */ |
@@ -696,7 +733,7 @@ static int input (void ); | |||
696 | /* This used to be an fputs(), but since the string might contain NUL's, | 733 | /* This used to be an fputs(), but since the string might contain NUL's, |
697 | * we now use fwrite(). | 734 | * we now use fwrite(). |
698 | */ | 735 | */ |
699 | #define ECHO fwrite( yytext, yyleng, 1, yyout ) | 736 | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) |
700 | #endif | 737 | #endif |
701 | 738 | ||
702 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | 739 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
@@ -707,7 +744,7 @@ static int input (void ); | |||
707 | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | 744 | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
708 | { \ | 745 | { \ |
709 | int c = '*'; \ | 746 | int c = '*'; \ |
710 | int n; \ | 747 | size_t n; \ |
711 | for ( n = 0; n < max_size && \ | 748 | for ( n = 0; n < max_size && \ |
712 | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | 749 | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
713 | buf[n] = (char) c; \ | 750 | buf[n] = (char) c; \ |
@@ -791,7 +828,7 @@ YY_DECL | |||
791 | 828 | ||
792 | #line 64 "dtc-lexer.l" | 829 | #line 64 "dtc-lexer.l" |
793 | 830 | ||
794 | #line 795 "dtc-lexer.lex.c" | 831 | #line 832 "dtc-lexer.lex.c" |
795 | 832 | ||
796 | if ( !(yy_init) ) | 833 | if ( !(yy_init) ) |
797 | { | 834 | { |
@@ -1116,7 +1153,7 @@ YY_RULE_SETUP | |||
1116 | #line 222 "dtc-lexer.l" | 1153 | #line 222 "dtc-lexer.l" |
1117 | ECHO; | 1154 | ECHO; |
1118 | YY_BREAK | 1155 | YY_BREAK |
1119 | #line 1120 "dtc-lexer.lex.c" | 1156 | #line 1157 "dtc-lexer.lex.c" |
1120 | 1157 | ||
1121 | case YY_END_OF_BUFFER: | 1158 | case YY_END_OF_BUFFER: |
1122 | { | 1159 | { |
@@ -1840,8 +1877,8 @@ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | |||
1840 | 1877 | ||
1841 | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | 1878 | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
1842 | * scan from a @e copy of @a bytes. | 1879 | * scan from a @e copy of @a bytes. |
1843 | * @param bytes the byte buffer to scan | 1880 | * @param yybytes the byte buffer to scan |
1844 | * @param len the number of bytes in the buffer pointed to by @a bytes. | 1881 | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. |
1845 | * | 1882 | * |
1846 | * @return the newly allocated buffer state object. | 1883 | * @return the newly allocated buffer state object. |
1847 | */ | 1884 | */ |
diff --git a/scripts/dtc/libfdt/fdt_ro.c b/scripts/dtc/libfdt/fdt_ro.c index fbbba44fcd0d..22e692919ff9 100644 --- a/scripts/dtc/libfdt/fdt_ro.c +++ b/scripts/dtc/libfdt/fdt_ro.c | |||
@@ -411,7 +411,7 @@ int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) | |||
411 | &phandle, sizeof(phandle)); | 411 | &phandle, sizeof(phandle)); |
412 | } | 412 | } |
413 | 413 | ||
414 | int _stringlist_contains(const char *strlist, int listlen, const char *str) | 414 | static int _stringlist_contains(const char *strlist, int listlen, const char *str) |
415 | { | 415 | { |
416 | int len = strlen(str); | 416 | int len = strlen(str); |
417 | const char *p; | 417 | const char *p; |
diff --git a/scripts/dtc/treesource.c b/scripts/dtc/treesource.c index ebeb6eb27907..1521ff11bb97 100644 --- a/scripts/dtc/treesource.c +++ b/scripts/dtc/treesource.c | |||
@@ -52,7 +52,7 @@ static void write_prefix(FILE *f, int level) | |||
52 | fputc('\t', f); | 52 | fputc('\t', f); |
53 | } | 53 | } |
54 | 54 | ||
55 | int isstring(char c) | 55 | static int isstring(char c) |
56 | { | 56 | { |
57 | return (isprint(c) | 57 | return (isprint(c) |
58 | || (c == '\0') | 58 | || (c == '\0') |
diff --git a/scripts/genksyms/keywords.c_shipped b/scripts/genksyms/keywords.c_shipped index 971e0113ae7a..287467a2e8c7 100644 --- a/scripts/genksyms/keywords.c_shipped +++ b/scripts/genksyms/keywords.c_shipped | |||
@@ -1,4 +1,4 @@ | |||
1 | /* ANSI-C code produced by gperf version 3.0.2 */ | 1 | /* ANSI-C code produced by gperf version 3.0.3 */ |
2 | /* Command-line: gperf -L ANSI-C -a -C -E -g -H is_reserved_hash -k '1,3,$' -N is_reserved_word -p -t scripts/genksyms/keywords.gperf */ | 2 | /* Command-line: gperf -L ANSI-C -a -C -E -g -H is_reserved_hash -k '1,3,$' -N is_reserved_word -p -t scripts/genksyms/keywords.gperf */ |
3 | 3 | ||
4 | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ | 4 | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ |
@@ -30,7 +30,9 @@ | |||
30 | 30 | ||
31 | #line 1 "scripts/genksyms/keywords.gperf" | 31 | #line 1 "scripts/genksyms/keywords.gperf" |
32 | 32 | ||
33 | #line 3 "scripts/genksyms/keywords.gperf" | 33 | struct resword; |
34 | static const struct resword *is_reserved_word(register const char *str, register unsigned int len); | ||
35 | #line 5 "scripts/genksyms/keywords.gperf" | ||
34 | struct resword { const char *name; int token; }; | 36 | struct resword { const char *name; int token; }; |
35 | /* maximum key range = 62, duplicates = 0 */ | 37 | /* maximum key range = 62, duplicates = 0 */ |
36 | 38 | ||
@@ -78,6 +80,9 @@ is_reserved_hash (register const char *str, register unsigned int len) | |||
78 | 80 | ||
79 | #ifdef __GNUC__ | 81 | #ifdef __GNUC__ |
80 | __inline | 82 | __inline |
83 | #ifdef __GNUC_STDC_INLINE__ | ||
84 | __attribute__ ((__gnu_inline__)) | ||
85 | #endif | ||
81 | #endif | 86 | #endif |
82 | const struct resword * | 87 | const struct resword * |
83 | is_reserved_word (register const char *str, register unsigned int len) | 88 | is_reserved_word (register const char *str, register unsigned int len) |
@@ -94,105 +99,105 @@ is_reserved_word (register const char *str, register unsigned int len) | |||
94 | static const struct resword wordlist[] = | 99 | static const struct resword wordlist[] = |
95 | { | 100 | { |
96 | {""}, {""}, {""}, | 101 | {""}, {""}, {""}, |
97 | #line 26 "scripts/genksyms/keywords.gperf" | 102 | #line 28 "scripts/genksyms/keywords.gperf" |
98 | {"asm", ASM_KEYW}, | 103 | {"asm", ASM_KEYW}, |
99 | {""}, | 104 | {""}, |
100 | #line 8 "scripts/genksyms/keywords.gperf" | 105 | #line 10 "scripts/genksyms/keywords.gperf" |
101 | {"__asm", ASM_KEYW}, | 106 | {"__asm", ASM_KEYW}, |
102 | {""}, | 107 | {""}, |
103 | #line 9 "scripts/genksyms/keywords.gperf" | 108 | #line 11 "scripts/genksyms/keywords.gperf" |
104 | {"__asm__", ASM_KEYW}, | 109 | {"__asm__", ASM_KEYW}, |
105 | {""}, {""}, | 110 | {""}, {""}, |
106 | #line 52 "scripts/genksyms/keywords.gperf" | 111 | #line 54 "scripts/genksyms/keywords.gperf" |
107 | {"__typeof__", TYPEOF_KEYW}, | 112 | {"__typeof__", TYPEOF_KEYW}, |
108 | {""}, | 113 | {""}, |
109 | #line 12 "scripts/genksyms/keywords.gperf" | 114 | #line 14 "scripts/genksyms/keywords.gperf" |
110 | {"__const", CONST_KEYW}, | 115 | {"__const", CONST_KEYW}, |
111 | #line 11 "scripts/genksyms/keywords.gperf" | ||
112 | {"__attribute__", ATTRIBUTE_KEYW}, | ||
113 | #line 13 "scripts/genksyms/keywords.gperf" | 116 | #line 13 "scripts/genksyms/keywords.gperf" |
117 | {"__attribute__", ATTRIBUTE_KEYW}, | ||
118 | #line 15 "scripts/genksyms/keywords.gperf" | ||
114 | {"__const__", CONST_KEYW}, | 119 | {"__const__", CONST_KEYW}, |
115 | #line 18 "scripts/genksyms/keywords.gperf" | 120 | #line 20 "scripts/genksyms/keywords.gperf" |
116 | {"__signed__", SIGNED_KEYW}, | 121 | {"__signed__", SIGNED_KEYW}, |
117 | #line 44 "scripts/genksyms/keywords.gperf" | 122 | #line 46 "scripts/genksyms/keywords.gperf" |
118 | {"static", STATIC_KEYW}, | 123 | {"static", STATIC_KEYW}, |
119 | #line 20 "scripts/genksyms/keywords.gperf" | 124 | #line 22 "scripts/genksyms/keywords.gperf" |
120 | {"__volatile__", VOLATILE_KEYW}, | 125 | {"__volatile__", VOLATILE_KEYW}, |
121 | #line 39 "scripts/genksyms/keywords.gperf" | 126 | #line 41 "scripts/genksyms/keywords.gperf" |
122 | {"int", INT_KEYW}, | 127 | {"int", INT_KEYW}, |
123 | #line 32 "scripts/genksyms/keywords.gperf" | 128 | #line 34 "scripts/genksyms/keywords.gperf" |
124 | {"char", CHAR_KEYW}, | 129 | {"char", CHAR_KEYW}, |
125 | #line 33 "scripts/genksyms/keywords.gperf" | 130 | #line 35 "scripts/genksyms/keywords.gperf" |
126 | {"const", CONST_KEYW}, | 131 | {"const", CONST_KEYW}, |
127 | #line 45 "scripts/genksyms/keywords.gperf" | 132 | #line 47 "scripts/genksyms/keywords.gperf" |
128 | {"struct", STRUCT_KEYW}, | 133 | {"struct", STRUCT_KEYW}, |
129 | #line 24 "scripts/genksyms/keywords.gperf" | 134 | #line 26 "scripts/genksyms/keywords.gperf" |
130 | {"__restrict__", RESTRICT_KEYW}, | 135 | {"__restrict__", RESTRICT_KEYW}, |
131 | #line 25 "scripts/genksyms/keywords.gperf" | 136 | #line 27 "scripts/genksyms/keywords.gperf" |
132 | {"restrict", RESTRICT_KEYW}, | 137 | {"restrict", RESTRICT_KEYW}, |
133 | #line 23 "scripts/genksyms/keywords.gperf" | 138 | #line 25 "scripts/genksyms/keywords.gperf" |
134 | {"_restrict", RESTRICT_KEYW}, | 139 | {"_restrict", RESTRICT_KEYW}, |
135 | #line 16 "scripts/genksyms/keywords.gperf" | 140 | #line 18 "scripts/genksyms/keywords.gperf" |
136 | {"__inline__", INLINE_KEYW}, | 141 | {"__inline__", INLINE_KEYW}, |
137 | #line 10 "scripts/genksyms/keywords.gperf" | 142 | #line 12 "scripts/genksyms/keywords.gperf" |
138 | {"__attribute", ATTRIBUTE_KEYW}, | 143 | {"__attribute", ATTRIBUTE_KEYW}, |
139 | {""}, | 144 | {""}, |
140 | #line 14 "scripts/genksyms/keywords.gperf" | 145 | #line 16 "scripts/genksyms/keywords.gperf" |
141 | {"__extension__", EXTENSION_KEYW}, | 146 | {"__extension__", EXTENSION_KEYW}, |
142 | #line 35 "scripts/genksyms/keywords.gperf" | 147 | #line 37 "scripts/genksyms/keywords.gperf" |
143 | {"enum", ENUM_KEYW}, | 148 | {"enum", ENUM_KEYW}, |
144 | #line 19 "scripts/genksyms/keywords.gperf" | 149 | #line 21 "scripts/genksyms/keywords.gperf" |
145 | {"__volatile", VOLATILE_KEYW}, | 150 | {"__volatile", VOLATILE_KEYW}, |
146 | #line 36 "scripts/genksyms/keywords.gperf" | 151 | #line 38 "scripts/genksyms/keywords.gperf" |
147 | {"extern", EXTERN_KEYW}, | 152 | {"extern", EXTERN_KEYW}, |
148 | {""}, | 153 | {""}, |
149 | #line 17 "scripts/genksyms/keywords.gperf" | 154 | #line 19 "scripts/genksyms/keywords.gperf" |
150 | {"__signed", SIGNED_KEYW}, | 155 | {"__signed", SIGNED_KEYW}, |
151 | #line 7 "scripts/genksyms/keywords.gperf" | 156 | #line 9 "scripts/genksyms/keywords.gperf" |
152 | {"EXPORT_SYMBOL_GPL_FUTURE", EXPORT_SYMBOL_KEYW}, | 157 | {"EXPORT_SYMBOL_GPL_FUTURE", EXPORT_SYMBOL_KEYW}, |
153 | {""}, | 158 | {""}, |
154 | #line 51 "scripts/genksyms/keywords.gperf" | 159 | #line 53 "scripts/genksyms/keywords.gperf" |
155 | {"typeof", TYPEOF_KEYW}, | 160 | {"typeof", TYPEOF_KEYW}, |
156 | #line 46 "scripts/genksyms/keywords.gperf" | 161 | #line 48 "scripts/genksyms/keywords.gperf" |
157 | {"typedef", TYPEDEF_KEYW}, | 162 | {"typedef", TYPEDEF_KEYW}, |
158 | #line 15 "scripts/genksyms/keywords.gperf" | 163 | #line 17 "scripts/genksyms/keywords.gperf" |
159 | {"__inline", INLINE_KEYW}, | 164 | {"__inline", INLINE_KEYW}, |
160 | #line 31 "scripts/genksyms/keywords.gperf" | 165 | #line 33 "scripts/genksyms/keywords.gperf" |
161 | {"auto", AUTO_KEYW}, | 166 | {"auto", AUTO_KEYW}, |
162 | #line 47 "scripts/genksyms/keywords.gperf" | 167 | #line 49 "scripts/genksyms/keywords.gperf" |
163 | {"union", UNION_KEYW}, | 168 | {"union", UNION_KEYW}, |
164 | {""}, {""}, | 169 | {""}, {""}, |
165 | #line 48 "scripts/genksyms/keywords.gperf" | 170 | #line 50 "scripts/genksyms/keywords.gperf" |
166 | {"unsigned", UNSIGNED_KEYW}, | 171 | {"unsigned", UNSIGNED_KEYW}, |
167 | #line 49 "scripts/genksyms/keywords.gperf" | 172 | #line 51 "scripts/genksyms/keywords.gperf" |
168 | {"void", VOID_KEYW}, | 173 | {"void", VOID_KEYW}, |
169 | #line 42 "scripts/genksyms/keywords.gperf" | 174 | #line 44 "scripts/genksyms/keywords.gperf" |
170 | {"short", SHORT_KEYW}, | 175 | {"short", SHORT_KEYW}, |
171 | {""}, {""}, | 176 | {""}, {""}, |
172 | #line 50 "scripts/genksyms/keywords.gperf" | 177 | #line 52 "scripts/genksyms/keywords.gperf" |
173 | {"volatile", VOLATILE_KEYW}, | 178 | {"volatile", VOLATILE_KEYW}, |
174 | {""}, | 179 | {""}, |
175 | #line 37 "scripts/genksyms/keywords.gperf" | 180 | #line 39 "scripts/genksyms/keywords.gperf" |
176 | {"float", FLOAT_KEYW}, | 181 | {"float", FLOAT_KEYW}, |
177 | #line 34 "scripts/genksyms/keywords.gperf" | 182 | #line 36 "scripts/genksyms/keywords.gperf" |
178 | {"double", DOUBLE_KEYW}, | 183 | {"double", DOUBLE_KEYW}, |
179 | {""}, | 184 | {""}, |
180 | #line 5 "scripts/genksyms/keywords.gperf" | 185 | #line 7 "scripts/genksyms/keywords.gperf" |
181 | {"EXPORT_SYMBOL", EXPORT_SYMBOL_KEYW}, | 186 | {"EXPORT_SYMBOL", EXPORT_SYMBOL_KEYW}, |
182 | {""}, {""}, | 187 | {""}, {""}, |
183 | #line 38 "scripts/genksyms/keywords.gperf" | 188 | #line 40 "scripts/genksyms/keywords.gperf" |
184 | {"inline", INLINE_KEYW}, | 189 | {"inline", INLINE_KEYW}, |
185 | #line 6 "scripts/genksyms/keywords.gperf" | 190 | #line 8 "scripts/genksyms/keywords.gperf" |
186 | {"EXPORT_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, | 191 | {"EXPORT_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, |
187 | #line 41 "scripts/genksyms/keywords.gperf" | 192 | #line 43 "scripts/genksyms/keywords.gperf" |
188 | {"register", REGISTER_KEYW}, | 193 | {"register", REGISTER_KEYW}, |
189 | {""}, | 194 | {""}, |
190 | #line 22 "scripts/genksyms/keywords.gperf" | 195 | #line 24 "scripts/genksyms/keywords.gperf" |
191 | {"_Bool", BOOL_KEYW}, | 196 | {"_Bool", BOOL_KEYW}, |
192 | #line 43 "scripts/genksyms/keywords.gperf" | 197 | #line 45 "scripts/genksyms/keywords.gperf" |
193 | {"signed", SIGNED_KEYW}, | 198 | {"signed", SIGNED_KEYW}, |
194 | {""}, {""}, | 199 | {""}, {""}, |
195 | #line 40 "scripts/genksyms/keywords.gperf" | 200 | #line 42 "scripts/genksyms/keywords.gperf" |
196 | {"long", LONG_KEYW} | 201 | {"long", LONG_KEYW} |
197 | }; | 202 | }; |
198 | 203 | ||
diff --git a/scripts/genksyms/keywords.gperf b/scripts/genksyms/keywords.gperf index 5ef3733225fb..8fe977a4d57b 100644 --- a/scripts/genksyms/keywords.gperf +++ b/scripts/genksyms/keywords.gperf | |||
@@ -1,4 +1,6 @@ | |||
1 | %{ | 1 | %{ |
2 | struct resword; | ||
3 | static const struct resword *is_reserved_word(register const char *str, register unsigned int len); | ||
2 | %} | 4 | %} |
3 | struct resword { const char *name; int token; } | 5 | struct resword { const char *name; int token; } |
4 | %% | 6 | %% |
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 102b76608f35..81a67a458e78 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl | |||
@@ -5,8 +5,8 @@ | |||
5 | # Print selected MAINTAINERS information for | 5 | # Print selected MAINTAINERS information for |
6 | # the files modified in a patch or for a file | 6 | # the files modified in a patch or for a file |
7 | # | 7 | # |
8 | # usage: perl scripts/get_maintainers.pl [OPTIONS] <patch> | 8 | # usage: perl scripts/get_maintainer.pl [OPTIONS] <patch> |
9 | # perl scripts/get_maintainers.pl [OPTIONS] -f <file> | 9 | # perl scripts/get_maintainer.pl [OPTIONS] -f <file> |
10 | # | 10 | # |
11 | # Licensed under the terms of the GNU GPL License version 2 | 11 | # Licensed under the terms of the GNU GPL License version 2 |
12 | 12 | ||
diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped index dc3e81807d13..fdc7113b08d1 100644 --- a/scripts/kconfig/lex.zconf.c_shipped +++ b/scripts/kconfig/lex.zconf.c_shipped | |||
@@ -160,7 +160,15 @@ typedef unsigned int flex_uint32_t; | |||
160 | 160 | ||
161 | /* Size of default input buffer. */ | 161 | /* Size of default input buffer. */ |
162 | #ifndef YY_BUF_SIZE | 162 | #ifndef YY_BUF_SIZE |
163 | #ifdef __ia64__ | ||
164 | /* On IA-64, the buffer size is 16k, not 8k. | ||
165 | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | ||
166 | * Ditto for the __ia64__ case accordingly. | ||
167 | */ | ||
168 | #define YY_BUF_SIZE 32768 | ||
169 | #else | ||
163 | #define YY_BUF_SIZE 16384 | 170 | #define YY_BUF_SIZE 16384 |
171 | #endif /* __ia64__ */ | ||
164 | #endif | 172 | #endif |
165 | 173 | ||
166 | /* The state buf must be large enough to hold one state per character in the main buffer. | 174 | /* The state buf must be large enough to hold one state per character in the main buffer. |
@@ -802,7 +810,7 @@ static int last_ts, first_ts; | |||
802 | static void zconf_endhelp(void); | 810 | static void zconf_endhelp(void); |
803 | static void zconf_endfile(void); | 811 | static void zconf_endfile(void); |
804 | 812 | ||
805 | void new_string(void) | 813 | static void new_string(void) |
806 | { | 814 | { |
807 | text = malloc(START_STRSIZE); | 815 | text = malloc(START_STRSIZE); |
808 | text_asize = START_STRSIZE; | 816 | text_asize = START_STRSIZE; |
@@ -810,7 +818,7 @@ void new_string(void) | |||
810 | *text = 0; | 818 | *text = 0; |
811 | } | 819 | } |
812 | 820 | ||
813 | void append_string(const char *str, int size) | 821 | static void append_string(const char *str, int size) |
814 | { | 822 | { |
815 | int new_size = text_size + size + 1; | 823 | int new_size = text_size + size + 1; |
816 | if (new_size > text_asize) { | 824 | if (new_size > text_asize) { |
@@ -824,7 +832,7 @@ void append_string(const char *str, int size) | |||
824 | text[text_size] = 0; | 832 | text[text_size] = 0; |
825 | } | 833 | } |
826 | 834 | ||
827 | void alloc_string(const char *str, int size) | 835 | static void alloc_string(const char *str, int size) |
828 | { | 836 | { |
829 | text = malloc(size + 1); | 837 | text = malloc(size + 1); |
830 | memcpy(text, str, size); | 838 | memcpy(text, str, size); |
@@ -914,7 +922,12 @@ static int input (void ); | |||
914 | 922 | ||
915 | /* Amount of stuff to slurp up with each read. */ | 923 | /* Amount of stuff to slurp up with each read. */ |
916 | #ifndef YY_READ_BUF_SIZE | 924 | #ifndef YY_READ_BUF_SIZE |
925 | #ifdef __ia64__ | ||
926 | /* On IA-64, the buffer size is 16k, not 8k */ | ||
927 | #define YY_READ_BUF_SIZE 16384 | ||
928 | #else | ||
917 | #define YY_READ_BUF_SIZE 8192 | 929 | #define YY_READ_BUF_SIZE 8192 |
930 | #endif /* __ia64__ */ | ||
918 | #endif | 931 | #endif |
919 | 932 | ||
920 | /* Copy whatever the last rule matched to the standard output. */ | 933 | /* Copy whatever the last rule matched to the standard output. */ |
@@ -922,7 +935,7 @@ static int input (void ); | |||
922 | /* This used to be an fputs(), but since the string might contain NUL's, | 935 | /* This used to be an fputs(), but since the string might contain NUL's, |
923 | * we now use fwrite(). | 936 | * we now use fwrite(). |
924 | */ | 937 | */ |
925 | #define ECHO fwrite( zconftext, zconfleng, 1, zconfout ) | 938 | #define ECHO do { if (fwrite( zconftext, zconfleng, 1, zconfout )) {} } while (0) |
926 | #endif | 939 | #endif |
927 | 940 | ||
928 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | 941 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
@@ -2060,8 +2073,8 @@ YY_BUFFER_STATE zconf_scan_string (yyconst char * yystr ) | |||
2060 | 2073 | ||
2061 | /** Setup the input buffer state to scan the given bytes. The next call to zconflex() will | 2074 | /** Setup the input buffer state to scan the given bytes. The next call to zconflex() will |
2062 | * scan from a @e copy of @a bytes. | 2075 | * scan from a @e copy of @a bytes. |
2063 | * @param bytes the byte buffer to scan | 2076 | * @param yybytes the byte buffer to scan |
2064 | * @param len the number of bytes in the buffer pointed to by @a bytes. | 2077 | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. |
2065 | * | 2078 | * |
2066 | * @return the newly allocated buffer state object. | 2079 | * @return the newly allocated buffer state object. |
2067 | */ | 2080 | */ |
diff --git a/scripts/kconfig/zconf.gperf b/scripts/kconfig/zconf.gperf index 25ef5d01c0af..d8bc74249622 100644 --- a/scripts/kconfig/zconf.gperf +++ b/scripts/kconfig/zconf.gperf | |||
@@ -9,6 +9,8 @@ | |||
9 | 9 | ||
10 | struct kconf_id; | 10 | struct kconf_id; |
11 | 11 | ||
12 | static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ||
13 | |||
12 | %% | 14 | %% |
13 | mainmenu, T_MAINMENU, TF_COMMAND | 15 | mainmenu, T_MAINMENU, TF_COMMAND |
14 | menu, T_MENU, TF_COMMAND | 16 | menu, T_MENU, TF_COMMAND |
diff --git a/scripts/kconfig/zconf.hash.c_shipped b/scripts/kconfig/zconf.hash.c_shipped index 5c73d51339d8..c1748faf4634 100644 --- a/scripts/kconfig/zconf.hash.c_shipped +++ b/scripts/kconfig/zconf.hash.c_shipped | |||
@@ -30,6 +30,8 @@ | |||
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | struct kconf_id; | 32 | struct kconf_id; |
33 | |||
34 | static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ||
33 | /* maximum key range = 47, duplicates = 0 */ | 35 | /* maximum key range = 47, duplicates = 0 */ |
34 | 36 | ||
35 | #ifdef __GNUC__ | 37 | #ifdef __GNUC__ |
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index 21ff69c9ad4e..d8f7236cb0a3 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l | |||
@@ -39,7 +39,7 @@ static int last_ts, first_ts; | |||
39 | static void zconf_endhelp(void); | 39 | static void zconf_endhelp(void); |
40 | static void zconf_endfile(void); | 40 | static void zconf_endfile(void); |
41 | 41 | ||
42 | void new_string(void) | 42 | static void new_string(void) |
43 | { | 43 | { |
44 | text = malloc(START_STRSIZE); | 44 | text = malloc(START_STRSIZE); |
45 | text_asize = START_STRSIZE; | 45 | text_asize = START_STRSIZE; |
@@ -47,7 +47,7 @@ void new_string(void) | |||
47 | *text = 0; | 47 | *text = 0; |
48 | } | 48 | } |
49 | 49 | ||
50 | void append_string(const char *str, int size) | 50 | static void append_string(const char *str, int size) |
51 | { | 51 | { |
52 | int new_size = text_size + size + 1; | 52 | int new_size = text_size + size + 1; |
53 | if (new_size > text_asize) { | 53 | if (new_size > text_asize) { |
@@ -61,7 +61,7 @@ void append_string(const char *str, int size) | |||
61 | text[text_size] = 0; | 61 | text[text_size] = 0; |
62 | } | 62 | } |
63 | 63 | ||
64 | void alloc_string(const char *str, int size) | 64 | static void alloc_string(const char *str, int size) |
65 | { | 65 | { |
66 | text = malloc(size + 1); | 66 | text = malloc(size + 1); |
67 | memcpy(text, str, size); | 67 | memcpy(text, str, size); |
diff --git a/scripts/kconfig/zconf.tab.c_shipped b/scripts/kconfig/zconf.tab.c_shipped index 95df833b5a9d..6e9dcd59aa87 100644 --- a/scripts/kconfig/zconf.tab.c_shipped +++ b/scripts/kconfig/zconf.tab.c_shipped | |||
@@ -1,24 +1,23 @@ | |||
1 | /* A Bison parser, made by GNU Bison 2.3. */ | ||
2 | 1 | ||
3 | /* Skeleton implementation for Bison's Yacc-like parsers in C | 2 | /* A Bison parser, made by GNU Bison 2.4.1. */ |
4 | 3 | ||
5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 4 | /* Skeleton implementation for Bison's Yacc-like parsers in C |
5 | |||
6 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | ||
6 | Free Software Foundation, Inc. | 7 | Free Software Foundation, Inc. |
7 | 8 | ||
8 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software: you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
10 | the Free Software Foundation; either version 2, or (at your option) | 11 | the Free Software Foundation, either version 3 of the License, or |
11 | any later version. | 12 | (at your option) any later version. |
12 | 13 | ||
13 | This program is distributed in the hope that it will be useful, | 14 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. | 17 | GNU General Public License for more details. |
17 | 18 | ||
18 | You should have received a copy of the GNU General Public License | 19 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software | 20 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
21 | Boston, MA 02110-1301, USA. */ | ||
22 | 21 | ||
23 | /* As a special exception, you may create a larger work that contains | 22 | /* As a special exception, you may create a larger work that contains |
24 | part or all of the Bison parser skeleton and distribute that work | 23 | part or all of the Bison parser skeleton and distribute that work |
@@ -29,7 +28,7 @@ | |||
29 | special exception, which will cause the skeleton and the resulting | 28 | special exception, which will cause the skeleton and the resulting |
30 | Bison output files to be licensed under the GNU General Public | 29 | Bison output files to be licensed under the GNU General Public |
31 | License without this special exception. | 30 | License without this special exception. |
32 | 31 | ||
33 | This special exception was added by the Free Software Foundation in | 32 | This special exception was added by the Free Software Foundation in |
34 | version 2.2 of Bison. */ | 33 | version 2.2 of Bison. */ |
35 | 34 | ||
@@ -47,7 +46,7 @@ | |||
47 | #define YYBISON 1 | 46 | #define YYBISON 1 |
48 | 47 | ||
49 | /* Bison version. */ | 48 | /* Bison version. */ |
50 | #define YYBISON_VERSION "2.3" | 49 | #define YYBISON_VERSION "2.4.1" |
51 | 50 | ||
52 | /* Skeleton name. */ | 51 | /* Skeleton name. */ |
53 | #define YYSKELETON_NAME "yacc.c" | 52 | #define YYSKELETON_NAME "yacc.c" |
@@ -55,94 +54,23 @@ | |||
55 | /* Pure parsers. */ | 54 | /* Pure parsers. */ |
56 | #define YYPURE 0 | 55 | #define YYPURE 0 |
57 | 56 | ||
57 | /* Push parsers. */ | ||
58 | #define YYPUSH 0 | ||
59 | |||
60 | /* Pull parsers. */ | ||
61 | #define YYPULL 1 | ||
62 | |||
58 | /* Using locations. */ | 63 | /* Using locations. */ |
59 | #define YYLSP_NEEDED 0 | 64 | #define YYLSP_NEEDED 0 |
60 | 65 | ||
61 | /* Substitute the variable and function names. */ | 66 | /* Substitute the variable and function names. */ |
62 | #define yyparse zconfparse | 67 | #define yyparse zconfparse |
63 | #define yylex zconflex | 68 | #define yylex zconflex |
64 | #define yyerror zconferror | 69 | #define yyerror zconferror |
65 | #define yylval zconflval | 70 | #define yylval zconflval |
66 | #define yychar zconfchar | 71 | #define yychar zconfchar |
67 | #define yydebug zconfdebug | 72 | #define yydebug zconfdebug |
68 | #define yynerrs zconfnerrs | 73 | #define yynerrs zconfnerrs |
69 | |||
70 | |||
71 | /* Tokens. */ | ||
72 | #ifndef YYTOKENTYPE | ||
73 | # define YYTOKENTYPE | ||
74 | /* Put the tokens into the symbol table, so that GDB and other debuggers | ||
75 | know about them. */ | ||
76 | enum yytokentype { | ||
77 | T_MAINMENU = 258, | ||
78 | T_MENU = 259, | ||
79 | T_ENDMENU = 260, | ||
80 | T_SOURCE = 261, | ||
81 | T_CHOICE = 262, | ||
82 | T_ENDCHOICE = 263, | ||
83 | T_COMMENT = 264, | ||
84 | T_CONFIG = 265, | ||
85 | T_MENUCONFIG = 266, | ||
86 | T_HELP = 267, | ||
87 | T_HELPTEXT = 268, | ||
88 | T_IF = 269, | ||
89 | T_ENDIF = 270, | ||
90 | T_DEPENDS = 271, | ||
91 | T_OPTIONAL = 272, | ||
92 | T_PROMPT = 273, | ||
93 | T_TYPE = 274, | ||
94 | T_DEFAULT = 275, | ||
95 | T_SELECT = 276, | ||
96 | T_RANGE = 277, | ||
97 | T_OPTION = 278, | ||
98 | T_ON = 279, | ||
99 | T_WORD = 280, | ||
100 | T_WORD_QUOTE = 281, | ||
101 | T_UNEQUAL = 282, | ||
102 | T_CLOSE_PAREN = 283, | ||
103 | T_OPEN_PAREN = 284, | ||
104 | T_EOL = 285, | ||
105 | T_OR = 286, | ||
106 | T_AND = 287, | ||
107 | T_EQUAL = 288, | ||
108 | T_NOT = 289 | ||
109 | }; | ||
110 | #endif | ||
111 | /* Tokens. */ | ||
112 | #define T_MAINMENU 258 | ||
113 | #define T_MENU 259 | ||
114 | #define T_ENDMENU 260 | ||
115 | #define T_SOURCE 261 | ||
116 | #define T_CHOICE 262 | ||
117 | #define T_ENDCHOICE 263 | ||
118 | #define T_COMMENT 264 | ||
119 | #define T_CONFIG 265 | ||
120 | #define T_MENUCONFIG 266 | ||
121 | #define T_HELP 267 | ||
122 | #define T_HELPTEXT 268 | ||
123 | #define T_IF 269 | ||
124 | #define T_ENDIF 270 | ||
125 | #define T_DEPENDS 271 | ||
126 | #define T_OPTIONAL 272 | ||
127 | #define T_PROMPT 273 | ||
128 | #define T_TYPE 274 | ||
129 | #define T_DEFAULT 275 | ||
130 | #define T_SELECT 276 | ||
131 | #define T_RANGE 277 | ||
132 | #define T_OPTION 278 | ||
133 | #define T_ON 279 | ||
134 | #define T_WORD 280 | ||
135 | #define T_WORD_QUOTE 281 | ||
136 | #define T_UNEQUAL 282 | ||
137 | #define T_CLOSE_PAREN 283 | ||
138 | #define T_OPEN_PAREN 284 | ||
139 | #define T_EOL 285 | ||
140 | #define T_OR 286 | ||
141 | #define T_AND 287 | ||
142 | #define T_EQUAL 288 | ||
143 | #define T_NOT 289 | ||
144 | |||
145 | |||
146 | 74 | ||
147 | 75 | ||
148 | /* Copy the first part of user declarations. */ | 76 | /* Copy the first part of user declarations. */ |
@@ -163,8 +91,6 @@ | |||
163 | #define LKC_DIRECT_LINK | 91 | #define LKC_DIRECT_LINK |
164 | #include "lkc.h" | 92 | #include "lkc.h" |
165 | 93 | ||
166 | #include "zconf.hash.c" | ||
167 | |||
168 | #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) | 94 | #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) |
169 | 95 | ||
170 | #define PRINTD 0x0001 | 96 | #define PRINTD 0x0001 |
@@ -188,6 +114,7 @@ static struct menu *current_menu, *current_entry; | |||
188 | #endif | 114 | #endif |
189 | 115 | ||
190 | 116 | ||
117 | |||
191 | /* Enabling traces. */ | 118 | /* Enabling traces. */ |
192 | #ifndef YYDEBUG | 119 | #ifndef YYDEBUG |
193 | # define YYDEBUG 0 | 120 | # define YYDEBUG 0 |
@@ -206,31 +133,77 @@ static struct menu *current_menu, *current_entry; | |||
206 | # define YYTOKEN_TABLE 0 | 133 | # define YYTOKEN_TABLE 0 |
207 | #endif | 134 | #endif |
208 | 135 | ||
136 | |||
137 | /* Tokens. */ | ||
138 | #ifndef YYTOKENTYPE | ||
139 | # define YYTOKENTYPE | ||
140 | /* Put the tokens into the symbol table, so that GDB and other debuggers | ||
141 | know about them. */ | ||
142 | enum yytokentype { | ||
143 | T_MAINMENU = 258, | ||
144 | T_MENU = 259, | ||
145 | T_ENDMENU = 260, | ||
146 | T_SOURCE = 261, | ||
147 | T_CHOICE = 262, | ||
148 | T_ENDCHOICE = 263, | ||
149 | T_COMMENT = 264, | ||
150 | T_CONFIG = 265, | ||
151 | T_MENUCONFIG = 266, | ||
152 | T_HELP = 267, | ||
153 | T_HELPTEXT = 268, | ||
154 | T_IF = 269, | ||
155 | T_ENDIF = 270, | ||
156 | T_DEPENDS = 271, | ||
157 | T_OPTIONAL = 272, | ||
158 | T_PROMPT = 273, | ||
159 | T_TYPE = 274, | ||
160 | T_DEFAULT = 275, | ||
161 | T_SELECT = 276, | ||
162 | T_RANGE = 277, | ||
163 | T_OPTION = 278, | ||
164 | T_ON = 279, | ||
165 | T_WORD = 280, | ||
166 | T_WORD_QUOTE = 281, | ||
167 | T_UNEQUAL = 282, | ||
168 | T_CLOSE_PAREN = 283, | ||
169 | T_OPEN_PAREN = 284, | ||
170 | T_EOL = 285, | ||
171 | T_OR = 286, | ||
172 | T_AND = 287, | ||
173 | T_EQUAL = 288, | ||
174 | T_NOT = 289 | ||
175 | }; | ||
176 | #endif | ||
177 | |||
178 | |||
179 | |||
209 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | 180 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
210 | typedef union YYSTYPE | 181 | typedef union YYSTYPE |
211 | |||
212 | { | 182 | { |
183 | |||
184 | |||
213 | char *string; | 185 | char *string; |
214 | struct file *file; | 186 | struct file *file; |
215 | struct symbol *symbol; | 187 | struct symbol *symbol; |
216 | struct expr *expr; | 188 | struct expr *expr; |
217 | struct menu *menu; | 189 | struct menu *menu; |
218 | struct kconf_id *id; | 190 | struct kconf_id *id; |
219 | } | ||
220 | /* Line 187 of yacc.c. */ | ||
221 | 191 | ||
222 | YYSTYPE; | 192 | |
193 | |||
194 | } YYSTYPE; | ||
195 | # define YYSTYPE_IS_TRIVIAL 1 | ||
223 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | 196 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
224 | # define YYSTYPE_IS_DECLARED 1 | 197 | # define YYSTYPE_IS_DECLARED 1 |
225 | # define YYSTYPE_IS_TRIVIAL 1 | ||
226 | #endif | 198 | #endif |
227 | 199 | ||
228 | 200 | ||
229 | |||
230 | /* Copy the second part of user declarations. */ | 201 | /* Copy the second part of user declarations. */ |
231 | 202 | ||
232 | 203 | ||
233 | /* Line 216 of yacc.c. */ | 204 | /* Include zconf.hash.c here so it can see the token constants. */ |
205 | #include "zconf.hash.c" | ||
206 | |||
234 | 207 | ||
235 | 208 | ||
236 | #ifdef short | 209 | #ifdef short |
@@ -306,14 +279,14 @@ typedef short int yytype_int16; | |||
306 | #if (defined __STDC__ || defined __C99__FUNC__ \ | 279 | #if (defined __STDC__ || defined __C99__FUNC__ \ |
307 | || defined __cplusplus || defined _MSC_VER) | 280 | || defined __cplusplus || defined _MSC_VER) |
308 | static int | 281 | static int |
309 | YYID (int i) | 282 | YYID (int yyi) |
310 | #else | 283 | #else |
311 | static int | 284 | static int |
312 | YYID (i) | 285 | YYID (yyi) |
313 | int i; | 286 | int yyi; |
314 | #endif | 287 | #endif |
315 | { | 288 | { |
316 | return i; | 289 | return yyi; |
317 | } | 290 | } |
318 | #endif | 291 | #endif |
319 | 292 | ||
@@ -394,9 +367,9 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ | |||
394 | /* A type that is properly aligned for any stack member. */ | 367 | /* A type that is properly aligned for any stack member. */ |
395 | union yyalloc | 368 | union yyalloc |
396 | { | 369 | { |
397 | yytype_int16 yyss; | 370 | yytype_int16 yyss_alloc; |
398 | YYSTYPE yyvs; | 371 | YYSTYPE yyvs_alloc; |
399 | }; | 372 | }; |
400 | 373 | ||
401 | /* The size of the maximum gap between one aligned stack and the next. */ | 374 | /* The size of the maximum gap between one aligned stack and the next. */ |
402 | # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) | 375 | # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
@@ -430,12 +403,12 @@ union yyalloc | |||
430 | elements in the stack, and YYPTR gives the new location of the | 403 | elements in the stack, and YYPTR gives the new location of the |
431 | stack. Advance YYPTR to a properly aligned location for the next | 404 | stack. Advance YYPTR to a properly aligned location for the next |
432 | stack. */ | 405 | stack. */ |
433 | # define YYSTACK_RELOCATE(Stack) \ | 406 | # define YYSTACK_RELOCATE(Stack_alloc, Stack) \ |
434 | do \ | 407 | do \ |
435 | { \ | 408 | { \ |
436 | YYSIZE_T yynewbytes; \ | 409 | YYSIZE_T yynewbytes; \ |
437 | YYCOPY (&yyptr->Stack, Stack, yysize); \ | 410 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ |
438 | Stack = &yyptr->Stack; \ | 411 | Stack = &yyptr->Stack_alloc; \ |
439 | yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ | 412 | yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ |
440 | yyptr += yynewbytes / sizeof (*yyptr); \ | 413 | yyptr += yynewbytes / sizeof (*yyptr); \ |
441 | } \ | 414 | } \ |
@@ -558,18 +531,18 @@ static const yytype_int8 yyrhs[] = | |||
558 | /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ | 531 | /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ |
559 | static const yytype_uint16 yyrline[] = | 532 | static const yytype_uint16 yyrline[] = |
560 | { | 533 | { |
561 | 0, 104, 104, 106, 108, 109, 110, 111, 112, 113, | 534 | 0, 107, 107, 109, 111, 112, 113, 114, 115, 116, |
562 | 114, 118, 122, 122, 122, 122, 122, 122, 122, 126, | 535 | 117, 121, 125, 125, 125, 125, 125, 125, 125, 129, |
563 | 127, 128, 129, 130, 131, 135, 136, 142, 150, 156, | 536 | 130, 131, 132, 133, 134, 138, 139, 145, 153, 159, |
564 | 164, 174, 176, 177, 178, 179, 180, 181, 184, 192, | 537 | 167, 177, 179, 180, 181, 182, 183, 184, 187, 195, |
565 | 198, 208, 214, 220, 223, 225, 236, 237, 242, 251, | 538 | 201, 211, 217, 223, 226, 228, 239, 240, 245, 254, |
566 | 256, 264, 267, 269, 270, 271, 272, 273, 276, 282, | 539 | 259, 267, 270, 272, 273, 274, 275, 276, 279, 285, |
567 | 293, 299, 309, 311, 316, 324, 332, 335, 337, 338, | 540 | 296, 302, 312, 314, 319, 327, 335, 338, 340, 341, |
568 | 339, 344, 351, 356, 364, 367, 369, 370, 371, 374, | 541 | 342, 347, 354, 359, 367, 370, 372, 373, 374, 377, |
569 | 382, 389, 396, 402, 409, 411, 412, 413, 416, 424, | 542 | 385, 392, 399, 405, 412, 414, 415, 416, 419, 427, |
570 | 426, 431, 432, 435, 436, 437, 441, 442, 445, 446, | 543 | 429, 434, 435, 438, 439, 440, 444, 445, 448, 449, |
571 | 449, 450, 451, 452, 453, 454, 455, 458, 459, 462, | 544 | 452, 453, 454, 455, 456, 457, 458, 461, 462, 465, |
572 | 463 | 545 | 466 |
573 | }; | 546 | }; |
574 | #endif | 547 | #endif |
575 | 548 | ||
@@ -985,17 +958,20 @@ yy_symbol_print (yyoutput, yytype, yyvaluep) | |||
985 | #if (defined __STDC__ || defined __C99__FUNC__ \ | 958 | #if (defined __STDC__ || defined __C99__FUNC__ \ |
986 | || defined __cplusplus || defined _MSC_VER) | 959 | || defined __cplusplus || defined _MSC_VER) |
987 | static void | 960 | static void |
988 | yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) | 961 | yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) |
989 | #else | 962 | #else |
990 | static void | 963 | static void |
991 | yy_stack_print (bottom, top) | 964 | yy_stack_print (yybottom, yytop) |
992 | yytype_int16 *bottom; | 965 | yytype_int16 *yybottom; |
993 | yytype_int16 *top; | 966 | yytype_int16 *yytop; |
994 | #endif | 967 | #endif |
995 | { | 968 | { |
996 | YYFPRINTF (stderr, "Stack now"); | 969 | YYFPRINTF (stderr, "Stack now"); |
997 | for (; bottom <= top; ++bottom) | 970 | for (; yybottom <= yytop; yybottom++) |
998 | YYFPRINTF (stderr, " %d", *bottom); | 971 | { |
972 | int yybot = *yybottom; | ||
973 | YYFPRINTF (stderr, " %d", yybot); | ||
974 | } | ||
999 | YYFPRINTF (stderr, "\n"); | 975 | YYFPRINTF (stderr, "\n"); |
1000 | } | 976 | } |
1001 | 977 | ||
@@ -1029,11 +1005,11 @@ yy_reduce_print (yyvsp, yyrule) | |||
1029 | /* The symbols being reduced. */ | 1005 | /* The symbols being reduced. */ |
1030 | for (yyi = 0; yyi < yynrhs; yyi++) | 1006 | for (yyi = 0; yyi < yynrhs; yyi++) |
1031 | { | 1007 | { |
1032 | fprintf (stderr, " $%d = ", yyi + 1); | 1008 | YYFPRINTF (stderr, " $%d = ", yyi + 1); |
1033 | yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], | 1009 | yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], |
1034 | &(yyvsp[(yyi + 1) - (yynrhs)]) | 1010 | &(yyvsp[(yyi + 1) - (yynrhs)]) |
1035 | ); | 1011 | ); |
1036 | fprintf (stderr, "\n"); | 1012 | YYFPRINTF (stderr, "\n"); |
1037 | } | 1013 | } |
1038 | } | 1014 | } |
1039 | 1015 | ||
@@ -1343,10 +1319,8 @@ yydestruct (yymsg, yytype, yyvaluep) | |||
1343 | break; | 1319 | break; |
1344 | } | 1320 | } |
1345 | } | 1321 | } |
1346 | |||
1347 | 1322 | ||
1348 | /* Prevent warnings from -Wmissing-prototypes. */ | 1323 | /* Prevent warnings from -Wmissing-prototypes. */ |
1349 | |||
1350 | #ifdef YYPARSE_PARAM | 1324 | #ifdef YYPARSE_PARAM |
1351 | #if defined __STDC__ || defined __cplusplus | 1325 | #if defined __STDC__ || defined __cplusplus |
1352 | int yyparse (void *YYPARSE_PARAM); | 1326 | int yyparse (void *YYPARSE_PARAM); |
@@ -1362,11 +1336,10 @@ int yyparse (); | |||
1362 | #endif /* ! YYPARSE_PARAM */ | 1336 | #endif /* ! YYPARSE_PARAM */ |
1363 | 1337 | ||
1364 | 1338 | ||
1365 | 1339 | /* The lookahead symbol. */ | |
1366 | /* The look-ahead symbol. */ | ||
1367 | int yychar; | 1340 | int yychar; |
1368 | 1341 | ||
1369 | /* The semantic value of the look-ahead symbol. */ | 1342 | /* The semantic value of the lookahead symbol. */ |
1370 | YYSTYPE yylval; | 1343 | YYSTYPE yylval; |
1371 | 1344 | ||
1372 | /* Number of syntax errors so far. */ | 1345 | /* Number of syntax errors so far. */ |
@@ -1374,9 +1347,9 @@ int yynerrs; | |||
1374 | 1347 | ||
1375 | 1348 | ||
1376 | 1349 | ||
1377 | /*----------. | 1350 | /*-------------------------. |
1378 | | yyparse. | | 1351 | | yyparse or yypush_parse. | |
1379 | `----------*/ | 1352 | `-------------------------*/ |
1380 | 1353 | ||
1381 | #ifdef YYPARSE_PARAM | 1354 | #ifdef YYPARSE_PARAM |
1382 | #if (defined __STDC__ || defined __C99__FUNC__ \ | 1355 | #if (defined __STDC__ || defined __C99__FUNC__ \ |
@@ -1400,66 +1373,68 @@ yyparse () | |||
1400 | #endif | 1373 | #endif |
1401 | #endif | 1374 | #endif |
1402 | { | 1375 | { |
1403 | |||
1404 | int yystate; | ||
1405 | int yyn; | ||
1406 | int yyresult; | ||
1407 | /* Number of tokens to shift before error messages enabled. */ | ||
1408 | int yyerrstatus; | ||
1409 | /* Look-ahead token as an internal (translated) token number. */ | ||
1410 | int yytoken = 0; | ||
1411 | #if YYERROR_VERBOSE | ||
1412 | /* Buffer for error messages, and its allocated size. */ | ||
1413 | char yymsgbuf[128]; | ||
1414 | char *yymsg = yymsgbuf; | ||
1415 | YYSIZE_T yymsg_alloc = sizeof yymsgbuf; | ||
1416 | #endif | ||
1417 | |||
1418 | /* Three stacks and their tools: | ||
1419 | `yyss': related to states, | ||
1420 | `yyvs': related to semantic values, | ||
1421 | `yyls': related to locations. | ||
1422 | 1376 | ||
1423 | Refer to the stacks thru separate pointers, to allow yyoverflow | ||
1424 | to reallocate them elsewhere. */ | ||
1425 | 1377 | ||
1426 | /* The state stack. */ | 1378 | int yystate; |
1427 | yytype_int16 yyssa[YYINITDEPTH]; | 1379 | /* Number of tokens to shift before error messages enabled. */ |
1428 | yytype_int16 *yyss = yyssa; | 1380 | int yyerrstatus; |
1429 | yytype_int16 *yyssp; | ||
1430 | 1381 | ||
1431 | /* The semantic value stack. */ | 1382 | /* The stacks and their tools: |
1432 | YYSTYPE yyvsa[YYINITDEPTH]; | 1383 | `yyss': related to states. |
1433 | YYSTYPE *yyvs = yyvsa; | 1384 | `yyvs': related to semantic values. |
1434 | YYSTYPE *yyvsp; | ||
1435 | 1385 | ||
1386 | Refer to the stacks thru separate pointers, to allow yyoverflow | ||
1387 | to reallocate them elsewhere. */ | ||
1436 | 1388 | ||
1389 | /* The state stack. */ | ||
1390 | yytype_int16 yyssa[YYINITDEPTH]; | ||
1391 | yytype_int16 *yyss; | ||
1392 | yytype_int16 *yyssp; | ||
1437 | 1393 | ||
1438 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | 1394 | /* The semantic value stack. */ |
1395 | YYSTYPE yyvsa[YYINITDEPTH]; | ||
1396 | YYSTYPE *yyvs; | ||
1397 | YYSTYPE *yyvsp; | ||
1439 | 1398 | ||
1440 | YYSIZE_T yystacksize = YYINITDEPTH; | 1399 | YYSIZE_T yystacksize; |
1441 | 1400 | ||
1401 | int yyn; | ||
1402 | int yyresult; | ||
1403 | /* Lookahead token as an internal (translated) token number. */ | ||
1404 | int yytoken; | ||
1442 | /* The variables used to return semantic value and location from the | 1405 | /* The variables used to return semantic value and location from the |
1443 | action routines. */ | 1406 | action routines. */ |
1444 | YYSTYPE yyval; | 1407 | YYSTYPE yyval; |
1445 | 1408 | ||
1409 | #if YYERROR_VERBOSE | ||
1410 | /* Buffer for error messages, and its allocated size. */ | ||
1411 | char yymsgbuf[128]; | ||
1412 | char *yymsg = yymsgbuf; | ||
1413 | YYSIZE_T yymsg_alloc = sizeof yymsgbuf; | ||
1414 | #endif | ||
1415 | |||
1416 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ||
1446 | 1417 | ||
1447 | /* The number of symbols on the RHS of the reduced rule. | 1418 | /* The number of symbols on the RHS of the reduced rule. |
1448 | Keep to zero when no symbol should be popped. */ | 1419 | Keep to zero when no symbol should be popped. */ |
1449 | int yylen = 0; | 1420 | int yylen = 0; |
1450 | 1421 | ||
1422 | yytoken = 0; | ||
1423 | yyss = yyssa; | ||
1424 | yyvs = yyvsa; | ||
1425 | yystacksize = YYINITDEPTH; | ||
1426 | |||
1451 | YYDPRINTF ((stderr, "Starting parse\n")); | 1427 | YYDPRINTF ((stderr, "Starting parse\n")); |
1452 | 1428 | ||
1453 | yystate = 0; | 1429 | yystate = 0; |
1454 | yyerrstatus = 0; | 1430 | yyerrstatus = 0; |
1455 | yynerrs = 0; | 1431 | yynerrs = 0; |
1456 | yychar = YYEMPTY; /* Cause a token to be read. */ | 1432 | yychar = YYEMPTY; /* Cause a token to be read. */ |
1457 | 1433 | ||
1458 | /* Initialize stack pointers. | 1434 | /* Initialize stack pointers. |
1459 | Waste one element of value and location stack | 1435 | Waste one element of value and location stack |
1460 | so that they stay on the same level as the state stack. | 1436 | so that they stay on the same level as the state stack. |
1461 | The wasted elements are never initialized. */ | 1437 | The wasted elements are never initialized. */ |
1462 | |||
1463 | yyssp = yyss; | 1438 | yyssp = yyss; |
1464 | yyvsp = yyvs; | 1439 | yyvsp = yyvs; |
1465 | 1440 | ||
@@ -1489,7 +1464,6 @@ yyparse () | |||
1489 | YYSTYPE *yyvs1 = yyvs; | 1464 | YYSTYPE *yyvs1 = yyvs; |
1490 | yytype_int16 *yyss1 = yyss; | 1465 | yytype_int16 *yyss1 = yyss; |
1491 | 1466 | ||
1492 | |||
1493 | /* Each stack pointer address is followed by the size of the | 1467 | /* Each stack pointer address is followed by the size of the |
1494 | data in use in that stack, in bytes. This used to be a | 1468 | data in use in that stack, in bytes. This used to be a |
1495 | conditional around just the two extra args, but that might | 1469 | conditional around just the two extra args, but that might |
@@ -1497,7 +1471,6 @@ yyparse () | |||
1497 | yyoverflow (YY_("memory exhausted"), | 1471 | yyoverflow (YY_("memory exhausted"), |
1498 | &yyss1, yysize * sizeof (*yyssp), | 1472 | &yyss1, yysize * sizeof (*yyssp), |
1499 | &yyvs1, yysize * sizeof (*yyvsp), | 1473 | &yyvs1, yysize * sizeof (*yyvsp), |
1500 | |||
1501 | &yystacksize); | 1474 | &yystacksize); |
1502 | 1475 | ||
1503 | yyss = yyss1; | 1476 | yyss = yyss1; |
@@ -1520,9 +1493,8 @@ yyparse () | |||
1520 | (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); | 1493 | (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); |
1521 | if (! yyptr) | 1494 | if (! yyptr) |
1522 | goto yyexhaustedlab; | 1495 | goto yyexhaustedlab; |
1523 | YYSTACK_RELOCATE (yyss); | 1496 | YYSTACK_RELOCATE (yyss_alloc, yyss); |
1524 | YYSTACK_RELOCATE (yyvs); | 1497 | YYSTACK_RELOCATE (yyvs_alloc, yyvs); |
1525 | |||
1526 | # undef YYSTACK_RELOCATE | 1498 | # undef YYSTACK_RELOCATE |
1527 | if (yyss1 != yyssa) | 1499 | if (yyss1 != yyssa) |
1528 | YYSTACK_FREE (yyss1); | 1500 | YYSTACK_FREE (yyss1); |
@@ -1533,7 +1505,6 @@ yyparse () | |||
1533 | yyssp = yyss + yysize - 1; | 1505 | yyssp = yyss + yysize - 1; |
1534 | yyvsp = yyvs + yysize - 1; | 1506 | yyvsp = yyvs + yysize - 1; |
1535 | 1507 | ||
1536 | |||
1537 | YYDPRINTF ((stderr, "Stack size increased to %lu\n", | 1508 | YYDPRINTF ((stderr, "Stack size increased to %lu\n", |
1538 | (unsigned long int) yystacksize)); | 1509 | (unsigned long int) yystacksize)); |
1539 | 1510 | ||
@@ -1543,6 +1514,9 @@ yyparse () | |||
1543 | 1514 | ||
1544 | YYDPRINTF ((stderr, "Entering state %d\n", yystate)); | 1515 | YYDPRINTF ((stderr, "Entering state %d\n", yystate)); |
1545 | 1516 | ||
1517 | if (yystate == YYFINAL) | ||
1518 | YYACCEPT; | ||
1519 | |||
1546 | goto yybackup; | 1520 | goto yybackup; |
1547 | 1521 | ||
1548 | /*-----------. | 1522 | /*-----------. |
@@ -1551,16 +1525,16 @@ yyparse () | |||
1551 | yybackup: | 1525 | yybackup: |
1552 | 1526 | ||
1553 | /* Do appropriate processing given the current state. Read a | 1527 | /* Do appropriate processing given the current state. Read a |
1554 | look-ahead token if we need one and don't already have one. */ | 1528 | lookahead token if we need one and don't already have one. */ |
1555 | 1529 | ||
1556 | /* First try to decide what to do without reference to look-ahead token. */ | 1530 | /* First try to decide what to do without reference to lookahead token. */ |
1557 | yyn = yypact[yystate]; | 1531 | yyn = yypact[yystate]; |
1558 | if (yyn == YYPACT_NINF) | 1532 | if (yyn == YYPACT_NINF) |
1559 | goto yydefault; | 1533 | goto yydefault; |
1560 | 1534 | ||
1561 | /* Not known => get a look-ahead token if don't already have one. */ | 1535 | /* Not known => get a lookahead token if don't already have one. */ |
1562 | 1536 | ||
1563 | /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ | 1537 | /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ |
1564 | if (yychar == YYEMPTY) | 1538 | if (yychar == YYEMPTY) |
1565 | { | 1539 | { |
1566 | YYDPRINTF ((stderr, "Reading a token: ")); | 1540 | YYDPRINTF ((stderr, "Reading a token: ")); |
@@ -1592,20 +1566,16 @@ yybackup: | |||
1592 | goto yyreduce; | 1566 | goto yyreduce; |
1593 | } | 1567 | } |
1594 | 1568 | ||
1595 | if (yyn == YYFINAL) | ||
1596 | YYACCEPT; | ||
1597 | |||
1598 | /* Count tokens shifted since error; after three, turn off error | 1569 | /* Count tokens shifted since error; after three, turn off error |
1599 | status. */ | 1570 | status. */ |
1600 | if (yyerrstatus) | 1571 | if (yyerrstatus) |
1601 | yyerrstatus--; | 1572 | yyerrstatus--; |
1602 | 1573 | ||
1603 | /* Shift the look-ahead token. */ | 1574 | /* Shift the lookahead token. */ |
1604 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | 1575 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); |
1605 | 1576 | ||
1606 | /* Discard the shifted token unless it is eof. */ | 1577 | /* Discard the shifted token. */ |
1607 | if (yychar != YYEOF) | 1578 | yychar = YYEMPTY; |
1608 | yychar = YYEMPTY; | ||
1609 | 1579 | ||
1610 | yystate = yyn; | 1580 | yystate = yyn; |
1611 | *++yyvsp = yylval; | 1581 | *++yyvsp = yylval; |
@@ -2029,7 +1999,6 @@ yyreduce: | |||
2029 | break; | 1999 | break; |
2030 | 2000 | ||
2031 | 2001 | ||
2032 | /* Line 1267 of yacc.c. */ | ||
2033 | 2002 | ||
2034 | default: break; | 2003 | default: break; |
2035 | } | 2004 | } |
@@ -2041,7 +2010,6 @@ yyreduce: | |||
2041 | 2010 | ||
2042 | *++yyvsp = yyval; | 2011 | *++yyvsp = yyval; |
2043 | 2012 | ||
2044 | |||
2045 | /* Now `shift' the result of the reduction. Determine what state | 2013 | /* Now `shift' the result of the reduction. Determine what state |
2046 | that goes to, based on the state we popped back to and the rule | 2014 | that goes to, based on the state we popped back to and the rule |
2047 | number reduced by. */ | 2015 | number reduced by. */ |
@@ -2106,7 +2074,7 @@ yyerrlab: | |||
2106 | 2074 | ||
2107 | if (yyerrstatus == 3) | 2075 | if (yyerrstatus == 3) |
2108 | { | 2076 | { |
2109 | /* If just tried and failed to reuse look-ahead token after an | 2077 | /* If just tried and failed to reuse lookahead token after an |
2110 | error, discard it. */ | 2078 | error, discard it. */ |
2111 | 2079 | ||
2112 | if (yychar <= YYEOF) | 2080 | if (yychar <= YYEOF) |
@@ -2123,7 +2091,7 @@ yyerrlab: | |||
2123 | } | 2091 | } |
2124 | } | 2092 | } |
2125 | 2093 | ||
2126 | /* Else will try to reuse look-ahead token after shifting the error | 2094 | /* Else will try to reuse lookahead token after shifting the error |
2127 | token. */ | 2095 | token. */ |
2128 | goto yyerrlab1; | 2096 | goto yyerrlab1; |
2129 | 2097 | ||
@@ -2180,9 +2148,6 @@ yyerrlab1: | |||
2180 | YY_STACK_PRINT (yyss, yyssp); | 2148 | YY_STACK_PRINT (yyss, yyssp); |
2181 | } | 2149 | } |
2182 | 2150 | ||
2183 | if (yyn == YYFINAL) | ||
2184 | YYACCEPT; | ||
2185 | |||
2186 | *++yyvsp = yylval; | 2151 | *++yyvsp = yylval; |
2187 | 2152 | ||
2188 | 2153 | ||
@@ -2207,7 +2172,7 @@ yyabortlab: | |||
2207 | yyresult = 1; | 2172 | yyresult = 1; |
2208 | goto yyreturn; | 2173 | goto yyreturn; |
2209 | 2174 | ||
2210 | #ifndef yyoverflow | 2175 | #if !defined(yyoverflow) || YYERROR_VERBOSE |
2211 | /*-------------------------------------------------. | 2176 | /*-------------------------------------------------. |
2212 | | yyexhaustedlab -- memory exhaustion comes here. | | 2177 | | yyexhaustedlab -- memory exhaustion comes here. | |
2213 | `-------------------------------------------------*/ | 2178 | `-------------------------------------------------*/ |
@@ -2218,7 +2183,7 @@ yyexhaustedlab: | |||
2218 | #endif | 2183 | #endif |
2219 | 2184 | ||
2220 | yyreturn: | 2185 | yyreturn: |
2221 | if (yychar != YYEOF && yychar != YYEMPTY) | 2186 | if (yychar != YYEMPTY) |
2222 | yydestruct ("Cleanup: discarding lookahead", | 2187 | yydestruct ("Cleanup: discarding lookahead", |
2223 | yytoken, &yylval); | 2188 | yytoken, &yylval); |
2224 | /* Do not reclaim the symbols of the rule which action triggered | 2189 | /* Do not reclaim the symbols of the rule which action triggered |
@@ -2284,7 +2249,7 @@ void conf_parse(const char *name) | |||
2284 | sym_set_change_count(1); | 2249 | sym_set_change_count(1); |
2285 | } | 2250 | } |
2286 | 2251 | ||
2287 | const char *zconf_tokenname(int token) | 2252 | static const char *zconf_tokenname(int token) |
2288 | { | 2253 | { |
2289 | switch (token) { | 2254 | switch (token) { |
2290 | case T_MENU: return "menu"; | 2255 | case T_MENU: return "menu"; |
@@ -2348,7 +2313,7 @@ static void zconferror(const char *err) | |||
2348 | #endif | 2313 | #endif |
2349 | } | 2314 | } |
2350 | 2315 | ||
2351 | void print_quoted_string(FILE *out, const char *str) | 2316 | static void print_quoted_string(FILE *out, const char *str) |
2352 | { | 2317 | { |
2353 | const char *p; | 2318 | const char *p; |
2354 | int len; | 2319 | int len; |
@@ -2365,7 +2330,7 @@ void print_quoted_string(FILE *out, const char *str) | |||
2365 | putc('"', out); | 2330 | putc('"', out); |
2366 | } | 2331 | } |
2367 | 2332 | ||
2368 | void print_symbol(FILE *out, struct menu *menu) | 2333 | static void print_symbol(FILE *out, struct menu *menu) |
2369 | { | 2334 | { |
2370 | struct symbol *sym = menu->sym; | 2335 | struct symbol *sym = menu->sym; |
2371 | struct property *prop; | 2336 | struct property *prop; |
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 9710b82466f2..8c43491f8cc9 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -14,8 +14,6 @@ | |||
14 | #define LKC_DIRECT_LINK | 14 | #define LKC_DIRECT_LINK |
15 | #include "lkc.h" | 15 | #include "lkc.h" |
16 | 16 | ||
17 | #include "zconf.hash.c" | ||
18 | |||
19 | #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) | 17 | #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) |
20 | 18 | ||
21 | #define PRINTD 0x0001 | 19 | #define PRINTD 0x0001 |
@@ -100,6 +98,11 @@ static struct menu *current_menu, *current_entry; | |||
100 | menu_end_menu(); | 98 | menu_end_menu(); |
101 | } if_entry menu_entry choice_entry | 99 | } if_entry menu_entry choice_entry |
102 | 100 | ||
101 | %{ | ||
102 | /* Include zconf.hash.c here so it can see the token constants. */ | ||
103 | #include "zconf.hash.c" | ||
104 | %} | ||
105 | |||
103 | %% | 106 | %% |
104 | input: stmt_list; | 107 | input: stmt_list; |
105 | 108 | ||
@@ -501,7 +504,7 @@ void conf_parse(const char *name) | |||
501 | sym_set_change_count(1); | 504 | sym_set_change_count(1); |
502 | } | 505 | } |
503 | 506 | ||
504 | const char *zconf_tokenname(int token) | 507 | static const char *zconf_tokenname(int token) |
505 | { | 508 | { |
506 | switch (token) { | 509 | switch (token) { |
507 | case T_MENU: return "menu"; | 510 | case T_MENU: return "menu"; |
@@ -565,7 +568,7 @@ static void zconferror(const char *err) | |||
565 | #endif | 568 | #endif |
566 | } | 569 | } |
567 | 570 | ||
568 | void print_quoted_string(FILE *out, const char *str) | 571 | static void print_quoted_string(FILE *out, const char *str) |
569 | { | 572 | { |
570 | const char *p; | 573 | const char *p; |
571 | int len; | 574 | int len; |
@@ -582,7 +585,7 @@ void print_quoted_string(FILE *out, const char *str) | |||
582 | putc('"', out); | 585 | putc('"', out); |
583 | } | 586 | } |
584 | 587 | ||
585 | void print_symbol(FILE *out, struct menu *menu) | 588 | static void print_symbol(FILE *out, struct menu *menu) |
586 | { | 589 | { |
587 | struct symbol *sym = menu->sym; | 590 | struct symbol *sym = menu->sym; |
588 | struct property *prop; | 591 | struct property *prop; |
diff --git a/security/integrity/ima/ima_iint.c b/security/integrity/ima/ima_iint.c index b8dd693f8790..a4e2b1dac943 100644 --- a/security/integrity/ima/ima_iint.c +++ b/security/integrity/ima/ima_iint.c | |||
@@ -58,11 +58,11 @@ struct ima_iint_cache *ima_iint_insert(struct inode *inode) | |||
58 | 58 | ||
59 | if (!ima_initialized) | 59 | if (!ima_initialized) |
60 | return iint; | 60 | return iint; |
61 | iint = kmem_cache_alloc(iint_cache, GFP_KERNEL); | 61 | iint = kmem_cache_alloc(iint_cache, GFP_NOFS); |
62 | if (!iint) | 62 | if (!iint) |
63 | return iint; | 63 | return iint; |
64 | 64 | ||
65 | rc = radix_tree_preload(GFP_KERNEL); | 65 | rc = radix_tree_preload(GFP_NOFS); |
66 | if (rc < 0) | 66 | if (rc < 0) |
67 | goto out; | 67 | goto out; |
68 | 68 | ||
diff --git a/sound/arm/Makefile b/sound/arm/Makefile index 5a549ed6c8aa..8c0c851d4641 100644 --- a/sound/arm/Makefile +++ b/sound/arm/Makefile | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o | 5 | obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o |
6 | snd-aaci-objs := aaci.o devdma.o | 6 | snd-aaci-objs := aaci.o |
7 | 7 | ||
8 | obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o | 8 | obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o |
9 | snd-pxa2xx-pcm-objs := pxa2xx-pcm.o | 9 | snd-pxa2xx-pcm-objs := pxa2xx-pcm.o |
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 6c160a038b23..1534f3d88bce 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <sound/pcm_params.h> | 30 | #include <sound/pcm_params.h> |
31 | 31 | ||
32 | #include "aaci.h" | 32 | #include "aaci.h" |
33 | #include "devdma.h" | ||
34 | 33 | ||
35 | #define DRIVER_NAME "aaci-pl041" | 34 | #define DRIVER_NAME "aaci-pl041" |
36 | 35 | ||
@@ -492,7 +491,7 @@ static int aaci_pcm_hw_free(struct snd_pcm_substream *substream) | |||
492 | /* | 491 | /* |
493 | * Clear out the DMA and any allocated buffers. | 492 | * Clear out the DMA and any allocated buffers. |
494 | */ | 493 | */ |
495 | devdma_hw_free(NULL, substream); | 494 | snd_pcm_lib_free_pages(substream); |
496 | 495 | ||
497 | return 0; | 496 | return 0; |
498 | } | 497 | } |
@@ -509,8 +508,8 @@ static int aaci_pcm_hw_params(struct snd_pcm_substream *substream, | |||
509 | aacirun->pcm_open = 0; | 508 | aacirun->pcm_open = 0; |
510 | } | 509 | } |
511 | 510 | ||
512 | err = devdma_hw_alloc(NULL, substream, | 511 | err = snd_pcm_lib_malloc_pages(substream, |
513 | params_buffer_bytes(params)); | 512 | params_buffer_bytes(params)); |
514 | if (err < 0) | 513 | if (err < 0) |
515 | goto out; | 514 | goto out; |
516 | 515 | ||
@@ -555,11 +554,6 @@ static snd_pcm_uframes_t aaci_pcm_pointer(struct snd_pcm_substream *substream) | |||
555 | return bytes_to_frames(runtime, bytes); | 554 | return bytes_to_frames(runtime, bytes); |
556 | } | 555 | } |
557 | 556 | ||
558 | static int aaci_pcm_mmap(struct snd_pcm_substream *substream, struct vm_area_struct *vma) | ||
559 | { | ||
560 | return devdma_mmap(NULL, substream, vma); | ||
561 | } | ||
562 | |||
563 | 557 | ||
564 | /* | 558 | /* |
565 | * Playback specific ALSA stuff | 559 | * Playback specific ALSA stuff |
@@ -726,7 +720,6 @@ static struct snd_pcm_ops aaci_playback_ops = { | |||
726 | .prepare = aaci_pcm_prepare, | 720 | .prepare = aaci_pcm_prepare, |
727 | .trigger = aaci_pcm_playback_trigger, | 721 | .trigger = aaci_pcm_playback_trigger, |
728 | .pointer = aaci_pcm_pointer, | 722 | .pointer = aaci_pcm_pointer, |
729 | .mmap = aaci_pcm_mmap, | ||
730 | }; | 723 | }; |
731 | 724 | ||
732 | static int aaci_pcm_capture_hw_params(struct snd_pcm_substream *substream, | 725 | static int aaci_pcm_capture_hw_params(struct snd_pcm_substream *substream, |
@@ -854,7 +847,6 @@ static struct snd_pcm_ops aaci_capture_ops = { | |||
854 | .prepare = aaci_pcm_capture_prepare, | 847 | .prepare = aaci_pcm_capture_prepare, |
855 | .trigger = aaci_pcm_capture_trigger, | 848 | .trigger = aaci_pcm_capture_trigger, |
856 | .pointer = aaci_pcm_pointer, | 849 | .pointer = aaci_pcm_pointer, |
857 | .mmap = aaci_pcm_mmap, | ||
858 | }; | 850 | }; |
859 | 851 | ||
860 | /* | 852 | /* |
@@ -1044,6 +1036,8 @@ static int __devinit aaci_init_pcm(struct aaci *aaci) | |||
1044 | 1036 | ||
1045 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &aaci_playback_ops); | 1037 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &aaci_playback_ops); |
1046 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &aaci_capture_ops); | 1038 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &aaci_capture_ops); |
1039 | snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, | ||
1040 | NULL, 0, 64 * 104); | ||
1047 | } | 1041 | } |
1048 | 1042 | ||
1049 | return ret; | 1043 | return ret; |
diff --git a/sound/arm/devdma.c b/sound/arm/devdma.c deleted file mode 100644 index 9d1e6665b546..000000000000 --- a/sound/arm/devdma.c +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | /* | ||
2 | * linux/sound/arm/devdma.c | ||
3 | * | ||
4 | * Copyright (C) 2003-2004 Russell King, All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * ARM DMA shim for ALSA. | ||
11 | */ | ||
12 | #include <linux/device.h> | ||
13 | #include <linux/dma-mapping.h> | ||
14 | |||
15 | #include <sound/core.h> | ||
16 | #include <sound/pcm.h> | ||
17 | |||
18 | #include "devdma.h" | ||
19 | |||
20 | void devdma_hw_free(struct device *dev, struct snd_pcm_substream *substream) | ||
21 | { | ||
22 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
23 | struct snd_dma_buffer *buf = runtime->dma_buffer_p; | ||
24 | |||
25 | if (runtime->dma_area == NULL) | ||
26 | return; | ||
27 | |||
28 | if (buf != &substream->dma_buffer) { | ||
29 | dma_free_coherent(buf->dev.dev, buf->bytes, buf->area, buf->addr); | ||
30 | kfree(runtime->dma_buffer_p); | ||
31 | } | ||
32 | |||
33 | snd_pcm_set_runtime_buffer(substream, NULL); | ||
34 | } | ||
35 | |||
36 | int devdma_hw_alloc(struct device *dev, struct snd_pcm_substream *substream, size_t size) | ||
37 | { | ||
38 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
39 | struct snd_dma_buffer *buf = runtime->dma_buffer_p; | ||
40 | int ret = 0; | ||
41 | |||
42 | if (buf) { | ||
43 | if (buf->bytes >= size) | ||
44 | goto out; | ||
45 | devdma_hw_free(dev, substream); | ||
46 | } | ||
47 | |||
48 | if (substream->dma_buffer.area != NULL && substream->dma_buffer.bytes >= size) { | ||
49 | buf = &substream->dma_buffer; | ||
50 | } else { | ||
51 | buf = kmalloc(sizeof(struct snd_dma_buffer), GFP_KERNEL); | ||
52 | if (!buf) | ||
53 | goto nomem; | ||
54 | |||
55 | buf->dev.type = SNDRV_DMA_TYPE_DEV; | ||
56 | buf->dev.dev = dev; | ||
57 | buf->area = dma_alloc_coherent(dev, size, &buf->addr, GFP_KERNEL); | ||
58 | buf->bytes = size; | ||
59 | buf->private_data = NULL; | ||
60 | |||
61 | if (!buf->area) | ||
62 | goto free; | ||
63 | } | ||
64 | snd_pcm_set_runtime_buffer(substream, buf); | ||
65 | ret = 1; | ||
66 | out: | ||
67 | runtime->dma_bytes = size; | ||
68 | return ret; | ||
69 | |||
70 | free: | ||
71 | kfree(buf); | ||
72 | nomem: | ||
73 | return -ENOMEM; | ||
74 | } | ||
75 | |||
76 | int devdma_mmap(struct device *dev, struct snd_pcm_substream *substream, struct vm_area_struct *vma) | ||
77 | { | ||
78 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
79 | return dma_mmap_coherent(dev, vma, runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); | ||
80 | } | ||
diff --git a/sound/arm/devdma.h b/sound/arm/devdma.h deleted file mode 100644 index d025329c8a0f..000000000000 --- a/sound/arm/devdma.h +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | void devdma_hw_free(struct device *dev, struct snd_pcm_substream *substream); | ||
2 | int devdma_hw_alloc(struct device *dev, struct snd_pcm_substream *substream, size_t size); | ||
3 | int devdma_mmap(struct device *dev, struct snd_pcm_substream *substream, struct vm_area_struct *vma); | ||
diff --git a/sound/core/control.c b/sound/core/control.c index a8b7fabe645e..73dc10ac33f6 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -75,7 +75,7 @@ static int snd_ctl_open(struct inode *inode, struct file *file) | |||
75 | ctl->card = card; | 75 | ctl->card = card; |
76 | ctl->prefer_pcm_subdevice = -1; | 76 | ctl->prefer_pcm_subdevice = -1; |
77 | ctl->prefer_rawmidi_subdevice = -1; | 77 | ctl->prefer_rawmidi_subdevice = -1; |
78 | ctl->pid = current->pid; | 78 | ctl->pid = get_pid(task_pid(current)); |
79 | file->private_data = ctl; | 79 | file->private_data = ctl; |
80 | write_lock_irqsave(&card->ctl_files_rwlock, flags); | 80 | write_lock_irqsave(&card->ctl_files_rwlock, flags); |
81 | list_add_tail(&ctl->list, &card->ctl_files); | 81 | list_add_tail(&ctl->list, &card->ctl_files); |
@@ -125,6 +125,7 @@ static int snd_ctl_release(struct inode *inode, struct file *file) | |||
125 | control->vd[idx].owner = NULL; | 125 | control->vd[idx].owner = NULL; |
126 | up_write(&card->controls_rwsem); | 126 | up_write(&card->controls_rwsem); |
127 | snd_ctl_empty_read_queue(ctl); | 127 | snd_ctl_empty_read_queue(ctl); |
128 | put_pid(ctl->pid); | ||
128 | kfree(ctl); | 129 | kfree(ctl); |
129 | module_put(card->module); | 130 | module_put(card->module); |
130 | snd_card_file_remove(card, file); | 131 | snd_card_file_remove(card, file); |
@@ -672,7 +673,7 @@ static int snd_ctl_elem_info(struct snd_ctl_file *ctl, | |||
672 | info->access |= SNDRV_CTL_ELEM_ACCESS_LOCK; | 673 | info->access |= SNDRV_CTL_ELEM_ACCESS_LOCK; |
673 | if (vd->owner == ctl) | 674 | if (vd->owner == ctl) |
674 | info->access |= SNDRV_CTL_ELEM_ACCESS_OWNER; | 675 | info->access |= SNDRV_CTL_ELEM_ACCESS_OWNER; |
675 | info->owner = vd->owner_pid; | 676 | info->owner = pid_vnr(vd->owner->pid); |
676 | } else { | 677 | } else { |
677 | info->owner = -1; | 678 | info->owner = -1; |
678 | } | 679 | } |
@@ -827,7 +828,6 @@ static int snd_ctl_elem_lock(struct snd_ctl_file *file, | |||
827 | result = -EBUSY; | 828 | result = -EBUSY; |
828 | else { | 829 | else { |
829 | vd->owner = file; | 830 | vd->owner = file; |
830 | vd->owner_pid = current->pid; | ||
831 | result = 0; | 831 | result = 0; |
832 | } | 832 | } |
833 | } | 833 | } |
@@ -858,7 +858,6 @@ static int snd_ctl_elem_unlock(struct snd_ctl_file *file, | |||
858 | result = -EPERM; | 858 | result = -EPERM; |
859 | else { | 859 | else { |
860 | vd->owner = NULL; | 860 | vd->owner = NULL; |
861 | vd->owner_pid = 0; | ||
862 | result = 0; | 861 | result = 0; |
863 | } | 862 | } |
864 | } | 863 | } |
diff --git a/sound/core/isadma.c b/sound/core/isadma.c index 79f0f16af339..950e19ba91fc 100644 --- a/sound/core/isadma.c +++ b/sound/core/isadma.c | |||
@@ -85,16 +85,24 @@ EXPORT_SYMBOL(snd_dma_disable); | |||
85 | unsigned int snd_dma_pointer(unsigned long dma, unsigned int size) | 85 | unsigned int snd_dma_pointer(unsigned long dma, unsigned int size) |
86 | { | 86 | { |
87 | unsigned long flags; | 87 | unsigned long flags; |
88 | unsigned int result; | 88 | unsigned int result, result1; |
89 | 89 | ||
90 | flags = claim_dma_lock(); | 90 | flags = claim_dma_lock(); |
91 | clear_dma_ff(dma); | 91 | clear_dma_ff(dma); |
92 | if (!isa_dma_bridge_buggy) | 92 | if (!isa_dma_bridge_buggy) |
93 | disable_dma(dma); | 93 | disable_dma(dma); |
94 | result = get_dma_residue(dma); | 94 | result = get_dma_residue(dma); |
95 | /* | ||
96 | * HACK - read the counter again and choose higher value in order to | ||
97 | * avoid reading during counter lower byte roll over if the | ||
98 | * isa_dma_bridge_buggy is set. | ||
99 | */ | ||
100 | result1 = get_dma_residue(dma); | ||
95 | if (!isa_dma_bridge_buggy) | 101 | if (!isa_dma_bridge_buggy) |
96 | enable_dma(dma); | 102 | enable_dma(dma); |
97 | release_dma_lock(flags); | 103 | release_dma_lock(flags); |
104 | if (unlikely(result < result1)) | ||
105 | result = result1; | ||
98 | #ifdef CONFIG_SND_DEBUG | 106 | #ifdef CONFIG_SND_DEBUG |
99 | if (result > size) | 107 | if (result > size) |
100 | snd_printk(KERN_ERR "pointer (0x%x) for DMA #%ld is greater than transfer size (0x%x)\n", result, dma, size); | 108 | snd_printk(KERN_ERR "pointer (0x%x) for DMA #%ld is greater than transfer size (0x%x)\n", result, dma, size); |
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index 772423889eb3..54e2eb56e4c2 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c | |||
@@ -1251,7 +1251,9 @@ static void snd_mixer_oss_build(struct snd_mixer_oss *mixer) | |||
1251 | { SOUND_MIXER_SYNTH, "FM", 0 }, /* fallback */ | 1251 | { SOUND_MIXER_SYNTH, "FM", 0 }, /* fallback */ |
1252 | { SOUND_MIXER_SYNTH, "Music", 0 }, /* fallback */ | 1252 | { SOUND_MIXER_SYNTH, "Music", 0 }, /* fallback */ |
1253 | { SOUND_MIXER_PCM, "PCM", 0 }, | 1253 | { SOUND_MIXER_PCM, "PCM", 0 }, |
1254 | { SOUND_MIXER_SPEAKER, "PC Speaker", 0 }, | 1254 | { SOUND_MIXER_SPEAKER, "Beep", 0 }, |
1255 | { SOUND_MIXER_SPEAKER, "PC Speaker", 0 }, /* fallback */ | ||
1256 | { SOUND_MIXER_SPEAKER, "Speaker", 0 }, /* fallback */ | ||
1255 | { SOUND_MIXER_LINE, "Line", 0 }, | 1257 | { SOUND_MIXER_LINE, "Line", 0 }, |
1256 | { SOUND_MIXER_MIC, "Mic", 0 }, | 1258 | { SOUND_MIXER_MIC, "Mic", 0 }, |
1257 | { SOUND_MIXER_CD, "CD", 0 }, | 1259 | { SOUND_MIXER_CD, "CD", 0 }, |
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index c69c60b2a48a..6884ae031f6f 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c | |||
@@ -435,6 +435,7 @@ static void snd_pcm_substream_proc_status_read(struct snd_info_entry *entry, | |||
435 | return; | 435 | return; |
436 | } | 436 | } |
437 | snd_iprintf(buffer, "state: %s\n", snd_pcm_state_name(status.state)); | 437 | snd_iprintf(buffer, "state: %s\n", snd_pcm_state_name(status.state)); |
438 | snd_iprintf(buffer, "owner_pid : %d\n", pid_vnr(substream->pid)); | ||
438 | snd_iprintf(buffer, "trigger_time: %ld.%09ld\n", | 439 | snd_iprintf(buffer, "trigger_time: %ld.%09ld\n", |
439 | status.trigger_tstamp.tv_sec, status.trigger_tstamp.tv_nsec); | 440 | status.trigger_tstamp.tv_sec, status.trigger_tstamp.tv_nsec); |
440 | snd_iprintf(buffer, "tstamp : %ld.%09ld\n", | 441 | snd_iprintf(buffer, "tstamp : %ld.%09ld\n", |
@@ -809,7 +810,7 @@ int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, | |||
809 | card = pcm->card; | 810 | card = pcm->card; |
810 | read_lock(&card->ctl_files_rwlock); | 811 | read_lock(&card->ctl_files_rwlock); |
811 | list_for_each_entry(kctl, &card->ctl_files, list) { | 812 | list_for_each_entry(kctl, &card->ctl_files, list) { |
812 | if (kctl->pid == current->pid) { | 813 | if (kctl->pid == task_pid(current)) { |
813 | prefer_subdevice = kctl->prefer_pcm_subdevice; | 814 | prefer_subdevice = kctl->prefer_pcm_subdevice; |
814 | if (prefer_subdevice != -1) | 815 | if (prefer_subdevice != -1) |
815 | break; | 816 | break; |
@@ -900,6 +901,7 @@ int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, | |||
900 | substream->private_data = pcm->private_data; | 901 | substream->private_data = pcm->private_data; |
901 | substream->ref_count = 1; | 902 | substream->ref_count = 1; |
902 | substream->f_flags = file->f_flags; | 903 | substream->f_flags = file->f_flags; |
904 | substream->pid = get_pid(task_pid(current)); | ||
903 | pstr->substream_opened++; | 905 | pstr->substream_opened++; |
904 | *rsubstream = substream; | 906 | *rsubstream = substream; |
905 | return 0; | 907 | return 0; |
@@ -921,6 +923,8 @@ void snd_pcm_detach_substream(struct snd_pcm_substream *substream) | |||
921 | kfree(runtime->hw_constraints.rules); | 923 | kfree(runtime->hw_constraints.rules); |
922 | kfree(runtime); | 924 | kfree(runtime); |
923 | substream->runtime = NULL; | 925 | substream->runtime = NULL; |
926 | put_pid(substream->pid); | ||
927 | substream->pid = NULL; | ||
924 | substream->pstr->substream_opened--; | 928 | substream->pstr->substream_opened--; |
925 | } | 929 | } |
926 | 930 | ||
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index ab73edf2c89a..29ab46a12e11 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/time.h> | 26 | #include <linux/time.h> |
27 | #include <linux/pm_qos_params.h> | 27 | #include <linux/pm_qos_params.h> |
28 | #include <linux/uio.h> | 28 | #include <linux/uio.h> |
29 | #include <linux/dma-mapping.h> | ||
29 | #include <sound/core.h> | 30 | #include <sound/core.h> |
30 | #include <sound/control.h> | 31 | #include <sound/control.h> |
31 | #include <sound/info.h> | 32 | #include <sound/info.h> |
@@ -3061,6 +3062,27 @@ static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file | |||
3061 | } | 3062 | } |
3062 | #endif /* coherent mmap */ | 3063 | #endif /* coherent mmap */ |
3063 | 3064 | ||
3065 | static inline struct page * | ||
3066 | snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) | ||
3067 | { | ||
3068 | void *vaddr = substream->runtime->dma_area + ofs; | ||
3069 | #if defined(CONFIG_MIPS) && defined(CONFIG_DMA_NONCOHERENT) | ||
3070 | if (substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV) | ||
3071 | return virt_to_page(CAC_ADDR(vaddr)); | ||
3072 | #endif | ||
3073 | #if defined(CONFIG_PPC32) && defined(CONFIG_NOT_COHERENT_CACHE) | ||
3074 | if (substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV) { | ||
3075 | dma_addr_t addr = substream->runtime->dma_addr + ofs; | ||
3076 | addr -= get_dma_offset(substream->dma_buffer.dev.dev); | ||
3077 | /* assume dma_handle set via pfn_to_phys() in | ||
3078 | * mm/dma-noncoherent.c | ||
3079 | */ | ||
3080 | return pfn_to_page(addr >> PAGE_SHIFT); | ||
3081 | } | ||
3082 | #endif | ||
3083 | return virt_to_page(vaddr); | ||
3084 | } | ||
3085 | |||
3064 | /* | 3086 | /* |
3065 | * fault callback for mmapping a RAM page | 3087 | * fault callback for mmapping a RAM page |
3066 | */ | 3088 | */ |
@@ -3071,7 +3093,6 @@ static int snd_pcm_mmap_data_fault(struct vm_area_struct *area, | |||
3071 | struct snd_pcm_runtime *runtime; | 3093 | struct snd_pcm_runtime *runtime; |
3072 | unsigned long offset; | 3094 | unsigned long offset; |
3073 | struct page * page; | 3095 | struct page * page; |
3074 | void *vaddr; | ||
3075 | size_t dma_bytes; | 3096 | size_t dma_bytes; |
3076 | 3097 | ||
3077 | if (substream == NULL) | 3098 | if (substream == NULL) |
@@ -3081,36 +3102,53 @@ static int snd_pcm_mmap_data_fault(struct vm_area_struct *area, | |||
3081 | dma_bytes = PAGE_ALIGN(runtime->dma_bytes); | 3102 | dma_bytes = PAGE_ALIGN(runtime->dma_bytes); |
3082 | if (offset > dma_bytes - PAGE_SIZE) | 3103 | if (offset > dma_bytes - PAGE_SIZE) |
3083 | return VM_FAULT_SIGBUS; | 3104 | return VM_FAULT_SIGBUS; |
3084 | if (substream->ops->page) { | 3105 | if (substream->ops->page) |
3085 | page = substream->ops->page(substream, offset); | 3106 | page = substream->ops->page(substream, offset); |
3086 | if (!page) | 3107 | else |
3087 | return VM_FAULT_SIGBUS; | 3108 | page = snd_pcm_default_page_ops(substream, offset); |
3088 | } else { | 3109 | if (!page) |
3089 | vaddr = runtime->dma_area + offset; | 3110 | return VM_FAULT_SIGBUS; |
3090 | page = virt_to_page(vaddr); | ||
3091 | } | ||
3092 | get_page(page); | 3111 | get_page(page); |
3093 | vmf->page = page; | 3112 | vmf->page = page; |
3094 | return 0; | 3113 | return 0; |
3095 | } | 3114 | } |
3096 | 3115 | ||
3097 | static const struct vm_operations_struct snd_pcm_vm_ops_data = | 3116 | static const struct vm_operations_struct snd_pcm_vm_ops_data = { |
3098 | { | 3117 | .open = snd_pcm_mmap_data_open, |
3118 | .close = snd_pcm_mmap_data_close, | ||
3119 | }; | ||
3120 | |||
3121 | static const struct vm_operations_struct snd_pcm_vm_ops_data_fault = { | ||
3099 | .open = snd_pcm_mmap_data_open, | 3122 | .open = snd_pcm_mmap_data_open, |
3100 | .close = snd_pcm_mmap_data_close, | 3123 | .close = snd_pcm_mmap_data_close, |
3101 | .fault = snd_pcm_mmap_data_fault, | 3124 | .fault = snd_pcm_mmap_data_fault, |
3102 | }; | 3125 | }; |
3103 | 3126 | ||
3127 | #ifndef ARCH_HAS_DMA_MMAP_COHERENT | ||
3128 | /* This should be defined / handled globally! */ | ||
3129 | #ifdef CONFIG_ARM | ||
3130 | #define ARCH_HAS_DMA_MMAP_COHERENT | ||
3131 | #endif | ||
3132 | #endif | ||
3133 | |||
3104 | /* | 3134 | /* |
3105 | * mmap the DMA buffer on RAM | 3135 | * mmap the DMA buffer on RAM |
3106 | */ | 3136 | */ |
3107 | static int snd_pcm_default_mmap(struct snd_pcm_substream *substream, | 3137 | static int snd_pcm_default_mmap(struct snd_pcm_substream *substream, |
3108 | struct vm_area_struct *area) | 3138 | struct vm_area_struct *area) |
3109 | { | 3139 | { |
3110 | area->vm_ops = &snd_pcm_vm_ops_data; | ||
3111 | area->vm_private_data = substream; | ||
3112 | area->vm_flags |= VM_RESERVED; | 3140 | area->vm_flags |= VM_RESERVED; |
3113 | atomic_inc(&substream->mmap_count); | 3141 | #ifdef ARCH_HAS_DMA_MMAP_COHERENT |
3142 | if (!substream->ops->page && | ||
3143 | substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV) | ||
3144 | return dma_mmap_coherent(substream->dma_buffer.dev.dev, | ||
3145 | area, | ||
3146 | substream->runtime->dma_area, | ||
3147 | substream->runtime->dma_addr, | ||
3148 | area->vm_end - area->vm_start); | ||
3149 | #endif /* ARCH_HAS_DMA_MMAP_COHERENT */ | ||
3150 | /* mmap with fault handler */ | ||
3151 | area->vm_ops = &snd_pcm_vm_ops_data_fault; | ||
3114 | return 0; | 3152 | return 0; |
3115 | } | 3153 | } |
3116 | 3154 | ||
@@ -3118,12 +3156,6 @@ static int snd_pcm_default_mmap(struct snd_pcm_substream *substream, | |||
3118 | * mmap the DMA buffer on I/O memory area | 3156 | * mmap the DMA buffer on I/O memory area |
3119 | */ | 3157 | */ |
3120 | #if SNDRV_PCM_INFO_MMAP_IOMEM | 3158 | #if SNDRV_PCM_INFO_MMAP_IOMEM |
3121 | static const struct vm_operations_struct snd_pcm_vm_ops_data_mmio = | ||
3122 | { | ||
3123 | .open = snd_pcm_mmap_data_open, | ||
3124 | .close = snd_pcm_mmap_data_close, | ||
3125 | }; | ||
3126 | |||
3127 | int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, | 3159 | int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, |
3128 | struct vm_area_struct *area) | 3160 | struct vm_area_struct *area) |
3129 | { | 3161 | { |
@@ -3133,8 +3165,6 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, | |||
3133 | #ifdef pgprot_noncached | 3165 | #ifdef pgprot_noncached |
3134 | area->vm_page_prot = pgprot_noncached(area->vm_page_prot); | 3166 | area->vm_page_prot = pgprot_noncached(area->vm_page_prot); |
3135 | #endif | 3167 | #endif |
3136 | area->vm_ops = &snd_pcm_vm_ops_data_mmio; | ||
3137 | area->vm_private_data = substream; | ||
3138 | area->vm_flags |= VM_IO; | 3168 | area->vm_flags |= VM_IO; |
3139 | size = area->vm_end - area->vm_start; | 3169 | size = area->vm_end - area->vm_start; |
3140 | offset = area->vm_pgoff << PAGE_SHIFT; | 3170 | offset = area->vm_pgoff << PAGE_SHIFT; |
@@ -3142,7 +3172,6 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, | |||
3142 | (substream->runtime->dma_addr + offset) >> PAGE_SHIFT, | 3172 | (substream->runtime->dma_addr + offset) >> PAGE_SHIFT, |
3143 | size, area->vm_page_prot)) | 3173 | size, area->vm_page_prot)) |
3144 | return -EAGAIN; | 3174 | return -EAGAIN; |
3145 | atomic_inc(&substream->mmap_count); | ||
3146 | return 0; | 3175 | return 0; |
3147 | } | 3176 | } |
3148 | 3177 | ||
@@ -3159,6 +3188,7 @@ int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, | |||
3159 | long size; | 3188 | long size; |
3160 | unsigned long offset; | 3189 | unsigned long offset; |
3161 | size_t dma_bytes; | 3190 | size_t dma_bytes; |
3191 | int err; | ||
3162 | 3192 | ||
3163 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { | 3193 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { |
3164 | if (!(area->vm_flags & (VM_WRITE|VM_READ))) | 3194 | if (!(area->vm_flags & (VM_WRITE|VM_READ))) |
@@ -3183,10 +3213,15 @@ int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, | |||
3183 | if (offset > dma_bytes - size) | 3213 | if (offset > dma_bytes - size) |
3184 | return -EINVAL; | 3214 | return -EINVAL; |
3185 | 3215 | ||
3216 | area->vm_ops = &snd_pcm_vm_ops_data; | ||
3217 | area->vm_private_data = substream; | ||
3186 | if (substream->ops->mmap) | 3218 | if (substream->ops->mmap) |
3187 | return substream->ops->mmap(substream, area); | 3219 | err = substream->ops->mmap(substream, area); |
3188 | else | 3220 | else |
3189 | return snd_pcm_default_mmap(substream, area); | 3221 | err = snd_pcm_default_mmap(substream, area); |
3222 | if (!err) | ||
3223 | atomic_inc(&substream->mmap_count); | ||
3224 | return err; | ||
3190 | } | 3225 | } |
3191 | 3226 | ||
3192 | EXPORT_SYMBOL(snd_pcm_mmap_data); | 3227 | EXPORT_SYMBOL(snd_pcm_mmap_data); |
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 70d6f25ba526..2f766123b158 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c | |||
@@ -242,8 +242,6 @@ static int assign_substream(struct snd_rawmidi *rmidi, int subdevice, | |||
242 | return -ENXIO; | 242 | return -ENXIO; |
243 | if (subdevice >= 0 && subdevice >= s->substream_count) | 243 | if (subdevice >= 0 && subdevice >= s->substream_count) |
244 | return -ENODEV; | 244 | return -ENODEV; |
245 | if (s->substream_opened >= s->substream_count) | ||
246 | return -EAGAIN; | ||
247 | 245 | ||
248 | list_for_each_entry(substream, &s->substreams, list) { | 246 | list_for_each_entry(substream, &s->substreams, list) { |
249 | if (substream->opened) { | 247 | if (substream->opened) { |
@@ -280,9 +278,10 @@ static int open_substream(struct snd_rawmidi *rmidi, | |||
280 | substream->active_sensing = 0; | 278 | substream->active_sensing = 0; |
281 | if (mode & SNDRV_RAWMIDI_LFLG_APPEND) | 279 | if (mode & SNDRV_RAWMIDI_LFLG_APPEND) |
282 | substream->append = 1; | 280 | substream->append = 1; |
281 | substream->pid = get_pid(task_pid(current)); | ||
282 | rmidi->streams[substream->stream].substream_opened++; | ||
283 | } | 283 | } |
284 | substream->use_count++; | 284 | substream->use_count++; |
285 | rmidi->streams[substream->stream].substream_opened++; | ||
286 | return 0; | 285 | return 0; |
287 | } | 286 | } |
288 | 287 | ||
@@ -413,7 +412,7 @@ static int snd_rawmidi_open(struct inode *inode, struct file *file) | |||
413 | subdevice = -1; | 412 | subdevice = -1; |
414 | read_lock(&card->ctl_files_rwlock); | 413 | read_lock(&card->ctl_files_rwlock); |
415 | list_for_each_entry(kctl, &card->ctl_files, list) { | 414 | list_for_each_entry(kctl, &card->ctl_files, list) { |
416 | if (kctl->pid == current->pid) { | 415 | if (kctl->pid == task_pid(current)) { |
417 | subdevice = kctl->prefer_rawmidi_subdevice; | 416 | subdevice = kctl->prefer_rawmidi_subdevice; |
418 | if (subdevice != -1) | 417 | if (subdevice != -1) |
419 | break; | 418 | break; |
@@ -466,7 +465,6 @@ static void close_substream(struct snd_rawmidi *rmidi, | |||
466 | struct snd_rawmidi_substream *substream, | 465 | struct snd_rawmidi_substream *substream, |
467 | int cleanup) | 466 | int cleanup) |
468 | { | 467 | { |
469 | rmidi->streams[substream->stream].substream_opened--; | ||
470 | if (--substream->use_count) | 468 | if (--substream->use_count) |
471 | return; | 469 | return; |
472 | 470 | ||
@@ -491,6 +489,9 @@ static void close_substream(struct snd_rawmidi *rmidi, | |||
491 | snd_rawmidi_runtime_free(substream); | 489 | snd_rawmidi_runtime_free(substream); |
492 | substream->opened = 0; | 490 | substream->opened = 0; |
493 | substream->append = 0; | 491 | substream->append = 0; |
492 | put_pid(substream->pid); | ||
493 | substream->pid = NULL; | ||
494 | rmidi->streams[substream->stream].substream_opened--; | ||
494 | } | 495 | } |
495 | 496 | ||
496 | static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) | 497 | static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) |
@@ -1338,6 +1339,9 @@ static void snd_rawmidi_proc_info_read(struct snd_info_entry *entry, | |||
1338 | substream->number, | 1339 | substream->number, |
1339 | (unsigned long) substream->bytes); | 1340 | (unsigned long) substream->bytes); |
1340 | if (substream->opened) { | 1341 | if (substream->opened) { |
1342 | snd_iprintf(buffer, | ||
1343 | " Owner PID : %d\n", | ||
1344 | pid_vnr(substream->pid)); | ||
1341 | runtime = substream->runtime; | 1345 | runtime = substream->runtime; |
1342 | snd_iprintf(buffer, | 1346 | snd_iprintf(buffer, |
1343 | " Mode : %s\n" | 1347 | " Mode : %s\n" |
@@ -1359,6 +1363,9 @@ static void snd_rawmidi_proc_info_read(struct snd_info_entry *entry, | |||
1359 | substream->number, | 1363 | substream->number, |
1360 | (unsigned long) substream->bytes); | 1364 | (unsigned long) substream->bytes); |
1361 | if (substream->opened) { | 1365 | if (substream->opened) { |
1366 | snd_iprintf(buffer, | ||
1367 | " Owner PID : %d\n", | ||
1368 | pid_vnr(substream->pid)); | ||
1362 | runtime = substream->runtime; | 1369 | runtime = substream->runtime; |
1363 | snd_iprintf(buffer, | 1370 | snd_iprintf(buffer, |
1364 | " Buffer size : %lu\n" | 1371 | " Buffer size : %lu\n" |
diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index b60cef257b58..f165c77d6273 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c | |||
@@ -26,6 +26,7 @@ MODULE_ALIAS("platform:pcspkr"); | |||
26 | static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ | 26 | static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ |
27 | static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ | 27 | static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ |
28 | static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ | 28 | static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ |
29 | static int nopcm; /* Disable PCM capability of the driver */ | ||
29 | 30 | ||
30 | module_param(index, int, 0444); | 31 | module_param(index, int, 0444); |
31 | MODULE_PARM_DESC(index, "Index value for pcsp soundcard."); | 32 | MODULE_PARM_DESC(index, "Index value for pcsp soundcard."); |
@@ -33,6 +34,8 @@ module_param(id, charp, 0444); | |||
33 | MODULE_PARM_DESC(id, "ID string for pcsp soundcard."); | 34 | MODULE_PARM_DESC(id, "ID string for pcsp soundcard."); |
34 | module_param(enable, bool, 0444); | 35 | module_param(enable, bool, 0444); |
35 | MODULE_PARM_DESC(enable, "Enable PC-Speaker sound."); | 36 | MODULE_PARM_DESC(enable, "Enable PC-Speaker sound."); |
37 | module_param(nopcm, bool, 0444); | ||
38 | MODULE_PARM_DESC(nopcm, "Disable PC-Speaker PCM sound. Only beeps remain."); | ||
36 | 39 | ||
37 | struct snd_pcsp pcsp_chip; | 40 | struct snd_pcsp pcsp_chip; |
38 | 41 | ||
@@ -43,13 +46,16 @@ static int __devinit snd_pcsp_create(struct snd_card *card) | |||
43 | int err; | 46 | int err; |
44 | int div, min_div, order; | 47 | int div, min_div, order; |
45 | 48 | ||
46 | hrtimer_get_res(CLOCK_MONOTONIC, &tp); | 49 | if (!nopcm) { |
47 | if (tp.tv_sec || tp.tv_nsec > PCSP_MAX_PERIOD_NS) { | 50 | hrtimer_get_res(CLOCK_MONOTONIC, &tp); |
48 | printk(KERN_ERR "PCSP: Timer resolution is not sufficient " | 51 | if (tp.tv_sec || tp.tv_nsec > PCSP_MAX_PERIOD_NS) { |
49 | "(%linS)\n", tp.tv_nsec); | 52 | printk(KERN_ERR "PCSP: Timer resolution is not sufficient " |
50 | printk(KERN_ERR "PCSP: Make sure you have HPET and ACPI " | 53 | "(%linS)\n", tp.tv_nsec); |
51 | "enabled.\n"); | 54 | printk(KERN_ERR "PCSP: Make sure you have HPET and ACPI " |
52 | return -EIO; | 55 | "enabled.\n"); |
56 | printk(KERN_ERR "PCSP: Turned into nopcm mode.\n"); | ||
57 | nopcm = 1; | ||
58 | } | ||
53 | } | 59 | } |
54 | 60 | ||
55 | if (loops_per_jiffy >= PCSP_MIN_LPJ && tp.tv_nsec <= PCSP_MIN_PERIOD_NS) | 61 | if (loops_per_jiffy >= PCSP_MIN_LPJ && tp.tv_nsec <= PCSP_MIN_PERIOD_NS) |
@@ -107,12 +113,14 @@ static int __devinit snd_card_pcsp_probe(int devnum, struct device *dev) | |||
107 | snd_card_free(card); | 113 | snd_card_free(card); |
108 | return err; | 114 | return err; |
109 | } | 115 | } |
110 | err = snd_pcsp_new_pcm(&pcsp_chip); | 116 | if (!nopcm) { |
111 | if (err < 0) { | 117 | err = snd_pcsp_new_pcm(&pcsp_chip); |
112 | snd_card_free(card); | 118 | if (err < 0) { |
113 | return err; | 119 | snd_card_free(card); |
120 | return err; | ||
121 | } | ||
114 | } | 122 | } |
115 | err = snd_pcsp_new_mixer(&pcsp_chip); | 123 | err = snd_pcsp_new_mixer(&pcsp_chip, nopcm); |
116 | if (err < 0) { | 124 | if (err < 0) { |
117 | snd_card_free(card); | 125 | snd_card_free(card); |
118 | return err; | 126 | return err; |
diff --git a/sound/drivers/pcsp/pcsp.h b/sound/drivers/pcsp/pcsp.h index 174dd2ff0f22..1e123077923d 100644 --- a/sound/drivers/pcsp/pcsp.h +++ b/sound/drivers/pcsp/pcsp.h | |||
@@ -83,6 +83,6 @@ extern enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle); | |||
83 | extern void pcsp_sync_stop(struct snd_pcsp *chip); | 83 | extern void pcsp_sync_stop(struct snd_pcsp *chip); |
84 | 84 | ||
85 | extern int snd_pcsp_new_pcm(struct snd_pcsp *chip); | 85 | extern int snd_pcsp_new_pcm(struct snd_pcsp *chip); |
86 | extern int snd_pcsp_new_mixer(struct snd_pcsp *chip); | 86 | extern int snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm); |
87 | 87 | ||
88 | #endif | 88 | #endif |
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c index 903bc846763f..6f633f4f3b96 100644 --- a/sound/drivers/pcsp/pcsp_mixer.c +++ b/sound/drivers/pcsp/pcsp_mixer.c | |||
@@ -119,24 +119,43 @@ static int pcsp_pcspkr_put(struct snd_kcontrol *kcontrol, | |||
119 | .put = pcsp_##ctl_type##_put, \ | 119 | .put = pcsp_##ctl_type##_put, \ |
120 | } | 120 | } |
121 | 121 | ||
122 | static struct snd_kcontrol_new __devinitdata snd_pcsp_controls[] = { | 122 | static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_pcm[] = { |
123 | PCSP_MIXER_CONTROL(enable, "Master Playback Switch"), | 123 | PCSP_MIXER_CONTROL(enable, "Master Playback Switch"), |
124 | PCSP_MIXER_CONTROL(treble, "BaseFRQ Playback Volume"), | 124 | PCSP_MIXER_CONTROL(treble, "BaseFRQ Playback Volume"), |
125 | PCSP_MIXER_CONTROL(pcspkr, "PC Speaker Playback Switch"), | ||
126 | }; | 125 | }; |
127 | 126 | ||
128 | int __devinit snd_pcsp_new_mixer(struct snd_pcsp *chip) | 127 | static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_spkr[] = { |
128 | PCSP_MIXER_CONTROL(pcspkr, "Beep Playback Switch"), | ||
129 | }; | ||
130 | |||
131 | static int __devinit snd_pcsp_ctls_add(struct snd_pcsp *chip, | ||
132 | struct snd_kcontrol_new *ctls, int num) | ||
129 | { | 133 | { |
130 | struct snd_card *card = chip->card; | ||
131 | int i, err; | 134 | int i, err; |
135 | struct snd_card *card = chip->card; | ||
136 | for (i = 0; i < num; i++) { | ||
137 | err = snd_ctl_add(card, snd_ctl_new1(ctls + i, chip)); | ||
138 | if (err < 0) | ||
139 | return err; | ||
140 | } | ||
141 | return 0; | ||
142 | } | ||
143 | |||
144 | int __devinit snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm) | ||
145 | { | ||
146 | int err; | ||
147 | struct snd_card *card = chip->card; | ||
132 | 148 | ||
133 | for (i = 0; i < ARRAY_SIZE(snd_pcsp_controls); i++) { | 149 | if (!nopcm) { |
134 | err = snd_ctl_add(card, | 150 | err = snd_pcsp_ctls_add(chip, snd_pcsp_controls_pcm, |
135 | snd_ctl_new1(snd_pcsp_controls + i, | 151 | ARRAY_SIZE(snd_pcsp_controls_pcm)); |
136 | chip)); | ||
137 | if (err < 0) | 152 | if (err < 0) |
138 | return err; | 153 | return err; |
139 | } | 154 | } |
155 | err = snd_pcsp_ctls_add(chip, snd_pcsp_controls_spkr, | ||
156 | ARRAY_SIZE(snd_pcsp_controls_spkr)); | ||
157 | if (err < 0) | ||
158 | return err; | ||
140 | 159 | ||
141 | strcpy(card->mixername, "PC-Speaker"); | 160 | strcpy(card->mixername, "PC-Speaker"); |
142 | 161 | ||
diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig index 51a7e3777e17..02fe81ca88fd 100644 --- a/sound/isa/Kconfig +++ b/sound/isa/Kconfig | |||
@@ -372,15 +372,21 @@ config SND_SGALAXY | |||
372 | 372 | ||
373 | config SND_SSCAPE | 373 | config SND_SSCAPE |
374 | tristate "Ensoniq SoundScape driver" | 374 | tristate "Ensoniq SoundScape driver" |
375 | select SND_HWDEP | ||
376 | select SND_MPU401_UART | 375 | select SND_MPU401_UART |
377 | select SND_WSS_LIB | 376 | select SND_WSS_LIB |
377 | select FW_LOADER | ||
378 | help | 378 | help |
379 | Say Y here to include support for Ensoniq SoundScape | 379 | Say Y here to include support for Ensoniq SoundScape |
380 | soundcards. | 380 | and Ensoniq OEM soundcards. |
381 | 381 | ||
382 | The PCM audio is supported on SoundScape Classic, Elite, PnP | 382 | The PCM audio is supported on SoundScape Classic, Elite, PnP |
383 | and VIVO cards. The MIDI support is very experimental. | 383 | and VIVO cards. The supported OEM cards are SPEA Media FX and |
384 | Reveal SC-600. | ||
385 | The MIDI support is very experimental and requires binary | ||
386 | firmware files called "scope.cod" and "sndscape.co?" where the | ||
387 | ? is digit 0, 1, 2, 3 or 4. The firmware files can be found | ||
388 | in DOS or Windows driver packages. One has to put the firmware | ||
389 | files into the /lib/firmware directory. | ||
384 | 390 | ||
385 | To compile this driver as a module, choose M here: the module | 391 | To compile this driver as a module, choose M here: the module |
386 | will be called snd-sscape. | 392 | will be called snd-sscape. |
diff --git a/sound/isa/cmi8330.c b/sound/isa/cmi8330.c index 02f79d252718..8246aae32ab4 100644 --- a/sound/isa/cmi8330.c +++ b/sound/isa/cmi8330.c | |||
@@ -237,7 +237,7 @@ WSS_DOUBLE("Wavetable Capture Volume", 0, | |||
237 | CMI8330_WAVGAIN, CMI8330_WAVGAIN, 4, 0, 15, 0), | 237 | CMI8330_WAVGAIN, CMI8330_WAVGAIN, 4, 0, 15, 0), |
238 | WSS_SINGLE("3D Control - Switch", 0, | 238 | WSS_SINGLE("3D Control - Switch", 0, |
239 | CMI8330_RMUX3D, 5, 1, 1), | 239 | CMI8330_RMUX3D, 5, 1, 1), |
240 | WSS_SINGLE("PC Speaker Playback Volume", 0, | 240 | WSS_SINGLE("Beep Playback Volume", 0, |
241 | CMI8330_OUTPUTVOL, 3, 3, 0), | 241 | CMI8330_OUTPUTVOL, 3, 3, 0), |
242 | WSS_DOUBLE("FM Playback Switch", 0, | 242 | WSS_DOUBLE("FM Playback Switch", 0, |
243 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 7, 7, 1, 1), | 243 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 7, 7, 1, 1), |
@@ -262,7 +262,7 @@ SB_DOUBLE("SB Line Playback Switch", SB_DSP4_OUTPUT_SW, SB_DSP4_OUTPUT_SW, 4, 3, | |||
262 | SB_DOUBLE("SB Line Playback Volume", SB_DSP4_LINE_DEV, (SB_DSP4_LINE_DEV + 1), 3, 3, 31), | 262 | SB_DOUBLE("SB Line Playback Volume", SB_DSP4_LINE_DEV, (SB_DSP4_LINE_DEV + 1), 3, 3, 31), |
263 | SB_SINGLE("SB Mic Playback Switch", SB_DSP4_OUTPUT_SW, 0, 1), | 263 | SB_SINGLE("SB Mic Playback Switch", SB_DSP4_OUTPUT_SW, 0, 1), |
264 | SB_SINGLE("SB Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31), | 264 | SB_SINGLE("SB Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31), |
265 | SB_SINGLE("SB PC Speaker Volume", SB_DSP4_SPEAKER_DEV, 6, 3), | 265 | SB_SINGLE("SB Beep Volume", SB_DSP4_SPEAKER_DEV, 6, 3), |
266 | SB_DOUBLE("SB Capture Volume", SB_DSP4_IGAIN_DEV, (SB_DSP4_IGAIN_DEV + 1), 6, 6, 3), | 266 | SB_DOUBLE("SB Capture Volume", SB_DSP4_IGAIN_DEV, (SB_DSP4_IGAIN_DEV + 1), 6, 6, 3), |
267 | SB_DOUBLE("SB Playback Volume", SB_DSP4_OGAIN_DEV, (SB_DSP4_OGAIN_DEV + 1), 6, 6, 3), | 267 | SB_DOUBLE("SB Playback Volume", SB_DSP4_OGAIN_DEV, (SB_DSP4_OGAIN_DEV + 1), 6, 6, 3), |
268 | SB_SINGLE("SB Mic Auto Gain", SB_DSP4_MIC_AGC, 0, 1), | 268 | SB_SINGLE("SB Mic Auto Gain", SB_DSP4_MIC_AGC, 0, 1), |
diff --git a/sound/isa/es1688/es1688_lib.c b/sound/isa/es1688/es1688_lib.c index 4c6e14f87f2d..c76bb00c9d15 100644 --- a/sound/isa/es1688/es1688_lib.c +++ b/sound/isa/es1688/es1688_lib.c | |||
@@ -982,7 +982,7 @@ ES1688_DOUBLE("CD Playback Volume", 0, ES1688_CD_DEV, ES1688_CD_DEV, 4, 0, 15, 0 | |||
982 | ES1688_DOUBLE("FM Playback Volume", 0, ES1688_FM_DEV, ES1688_FM_DEV, 4, 0, 15, 0), | 982 | ES1688_DOUBLE("FM Playback Volume", 0, ES1688_FM_DEV, ES1688_FM_DEV, 4, 0, 15, 0), |
983 | ES1688_DOUBLE("Mic Playback Volume", 0, ES1688_MIC_DEV, ES1688_MIC_DEV, 4, 0, 15, 0), | 983 | ES1688_DOUBLE("Mic Playback Volume", 0, ES1688_MIC_DEV, ES1688_MIC_DEV, 4, 0, 15, 0), |
984 | ES1688_DOUBLE("Aux Playback Volume", 0, ES1688_AUX_DEV, ES1688_AUX_DEV, 4, 0, 15, 0), | 984 | ES1688_DOUBLE("Aux Playback Volume", 0, ES1688_AUX_DEV, ES1688_AUX_DEV, 4, 0, 15, 0), |
985 | ES1688_SINGLE("PC Speaker Playback Volume", 0, ES1688_SPEAKER_DEV, 0, 7, 0), | 985 | ES1688_SINGLE("Beep Playback Volume", 0, ES1688_SPEAKER_DEV, 0, 7, 0), |
986 | ES1688_DOUBLE("Capture Volume", 0, ES1688_RECLEV_DEV, ES1688_RECLEV_DEV, 4, 0, 15, 0), | 986 | ES1688_DOUBLE("Capture Volume", 0, ES1688_RECLEV_DEV, ES1688_RECLEV_DEV, 4, 0, 15, 0), |
987 | ES1688_SINGLE("Capture Switch", 0, ES1688_REC_DEV, 4, 1, 1), | 987 | ES1688_SINGLE("Capture Switch", 0, ES1688_REC_DEV, 4, 1, 1), |
988 | { | 988 | { |
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index 8cfbff73a835..e5bf3355d2ca 100644 --- a/sound/isa/es18xx.c +++ b/sound/isa/es18xx.c | |||
@@ -121,7 +121,6 @@ struct snd_es18xx { | |||
121 | unsigned int dma1_shift; | 121 | unsigned int dma1_shift; |
122 | unsigned int dma2_shift; | 122 | unsigned int dma2_shift; |
123 | 123 | ||
124 | struct snd_card *card; | ||
125 | struct snd_pcm *pcm; | 124 | struct snd_pcm *pcm; |
126 | struct snd_pcm_substream *playback_a_substream; | 125 | struct snd_pcm_substream *playback_a_substream; |
127 | struct snd_pcm_substream *capture_a_substream; | 126 | struct snd_pcm_substream *capture_a_substream; |
@@ -140,10 +139,6 @@ struct snd_es18xx { | |||
140 | #ifdef CONFIG_PM | 139 | #ifdef CONFIG_PM |
141 | unsigned char pm_reg; | 140 | unsigned char pm_reg; |
142 | #endif | 141 | #endif |
143 | }; | ||
144 | |||
145 | struct snd_audiodrive { | ||
146 | struct snd_es18xx *chip; | ||
147 | #ifdef CONFIG_PNP | 142 | #ifdef CONFIG_PNP |
148 | struct pnp_dev *dev; | 143 | struct pnp_dev *dev; |
149 | struct pnp_dev *devc; | 144 | struct pnp_dev *devc; |
@@ -755,7 +750,8 @@ static int snd_es18xx_playback_trigger(struct snd_pcm_substream *substream, | |||
755 | 750 | ||
756 | static irqreturn_t snd_es18xx_interrupt(int irq, void *dev_id) | 751 | static irqreturn_t snd_es18xx_interrupt(int irq, void *dev_id) |
757 | { | 752 | { |
758 | struct snd_es18xx *chip = dev_id; | 753 | struct snd_card *card = dev_id; |
754 | struct snd_es18xx *chip = card->private_data; | ||
759 | unsigned char status; | 755 | unsigned char status; |
760 | 756 | ||
761 | if (chip->caps & ES18XX_CONTROL) { | 757 | if (chip->caps & ES18XX_CONTROL) { |
@@ -805,12 +801,16 @@ static irqreturn_t snd_es18xx_interrupt(int irq, void *dev_id) | |||
805 | int split = 0; | 801 | int split = 0; |
806 | if (chip->caps & ES18XX_HWV) { | 802 | if (chip->caps & ES18XX_HWV) { |
807 | split = snd_es18xx_mixer_read(chip, 0x64) & 0x80; | 803 | split = snd_es18xx_mixer_read(chip, 0x64) & 0x80; |
808 | snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_VALUE, &chip->hw_switch->id); | 804 | snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, |
809 | snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_VALUE, &chip->hw_volume->id); | 805 | &chip->hw_switch->id); |
806 | snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, | ||
807 | &chip->hw_volume->id); | ||
810 | } | 808 | } |
811 | if (!split) { | 809 | if (!split) { |
812 | snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_VALUE, &chip->master_switch->id); | 810 | snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, |
813 | snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_VALUE, &chip->master_volume->id); | 811 | &chip->master_switch->id); |
812 | snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, | ||
813 | &chip->master_volume->id); | ||
814 | } | 814 | } |
815 | /* ack interrupt */ | 815 | /* ack interrupt */ |
816 | snd_es18xx_mixer_write(chip, 0x66, 0x00); | 816 | snd_es18xx_mixer_write(chip, 0x66, 0x00); |
@@ -1313,7 +1313,7 @@ ES18XX_DOUBLE("Aux Capture Volume", 0, 0x6c, 0x6c, 4, 0, 15, 0) | |||
1313 | * The chipset specific mixer controls | 1313 | * The chipset specific mixer controls |
1314 | */ | 1314 | */ |
1315 | static struct snd_kcontrol_new snd_es18xx_opt_speaker = | 1315 | static struct snd_kcontrol_new snd_es18xx_opt_speaker = |
1316 | ES18XX_SINGLE("PC Speaker Playback Volume", 0, 0x3c, 0, 7, 0); | 1316 | ES18XX_SINGLE("Beep Playback Volume", 0, 0x3c, 0, 7, 0); |
1317 | 1317 | ||
1318 | static struct snd_kcontrol_new snd_es18xx_opt_1869[] = { | 1318 | static struct snd_kcontrol_new snd_es18xx_opt_1869[] = { |
1319 | ES18XX_SINGLE("Capture Switch", 0, 0x1c, 4, 1, 1), | 1319 | ES18XX_SINGLE("Capture Switch", 0, 0x1c, 4, 1, 1), |
@@ -1691,8 +1691,10 @@ static struct snd_pcm_ops snd_es18xx_capture_ops = { | |||
1691 | .pointer = snd_es18xx_capture_pointer, | 1691 | .pointer = snd_es18xx_capture_pointer, |
1692 | }; | 1692 | }; |
1693 | 1693 | ||
1694 | static int __devinit snd_es18xx_pcm(struct snd_es18xx *chip, int device, struct snd_pcm ** rpcm) | 1694 | static int __devinit snd_es18xx_pcm(struct snd_card *card, int device, |
1695 | struct snd_pcm **rpcm) | ||
1695 | { | 1696 | { |
1697 | struct snd_es18xx *chip = card->private_data; | ||
1696 | struct snd_pcm *pcm; | 1698 | struct snd_pcm *pcm; |
1697 | char str[16]; | 1699 | char str[16]; |
1698 | int err; | 1700 | int err; |
@@ -1701,9 +1703,9 @@ static int __devinit snd_es18xx_pcm(struct snd_es18xx *chip, int device, struct | |||
1701 | *rpcm = NULL; | 1703 | *rpcm = NULL; |
1702 | sprintf(str, "ES%x", chip->version); | 1704 | sprintf(str, "ES%x", chip->version); |
1703 | if (chip->caps & ES18XX_PCM2) | 1705 | if (chip->caps & ES18XX_PCM2) |
1704 | err = snd_pcm_new(chip->card, str, device, 2, 1, &pcm); | 1706 | err = snd_pcm_new(card, str, device, 2, 1, &pcm); |
1705 | else | 1707 | else |
1706 | err = snd_pcm_new(chip->card, str, device, 1, 1, &pcm); | 1708 | err = snd_pcm_new(card, str, device, 1, 1, &pcm); |
1707 | if (err < 0) | 1709 | if (err < 0) |
1708 | return err; | 1710 | return err; |
1709 | 1711 | ||
@@ -1734,10 +1736,9 @@ static int __devinit snd_es18xx_pcm(struct snd_es18xx *chip, int device, struct | |||
1734 | #ifdef CONFIG_PM | 1736 | #ifdef CONFIG_PM |
1735 | static int snd_es18xx_suspend(struct snd_card *card, pm_message_t state) | 1737 | static int snd_es18xx_suspend(struct snd_card *card, pm_message_t state) |
1736 | { | 1738 | { |
1737 | struct snd_audiodrive *acard = card->private_data; | 1739 | struct snd_es18xx *chip = card->private_data; |
1738 | struct snd_es18xx *chip = acard->chip; | ||
1739 | 1740 | ||
1740 | snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); | 1741 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
1741 | 1742 | ||
1742 | snd_pcm_suspend_all(chip->pcm); | 1743 | snd_pcm_suspend_all(chip->pcm); |
1743 | 1744 | ||
@@ -1752,24 +1753,25 @@ static int snd_es18xx_suspend(struct snd_card *card, pm_message_t state) | |||
1752 | 1753 | ||
1753 | static int snd_es18xx_resume(struct snd_card *card) | 1754 | static int snd_es18xx_resume(struct snd_card *card) |
1754 | { | 1755 | { |
1755 | struct snd_audiodrive *acard = card->private_data; | 1756 | struct snd_es18xx *chip = card->private_data; |
1756 | struct snd_es18xx *chip = acard->chip; | ||
1757 | 1757 | ||
1758 | /* restore PM register, we won't wake till (not 0x07) i/o activity though */ | 1758 | /* restore PM register, we won't wake till (not 0x07) i/o activity though */ |
1759 | snd_es18xx_write(chip, ES18XX_PM, chip->pm_reg ^= ES18XX_PM_FM); | 1759 | snd_es18xx_write(chip, ES18XX_PM, chip->pm_reg ^= ES18XX_PM_FM); |
1760 | 1760 | ||
1761 | snd_power_change_state(chip->card, SNDRV_CTL_POWER_D0); | 1761 | snd_power_change_state(card, SNDRV_CTL_POWER_D0); |
1762 | return 0; | 1762 | return 0; |
1763 | } | 1763 | } |
1764 | #endif /* CONFIG_PM */ | 1764 | #endif /* CONFIG_PM */ |
1765 | 1765 | ||
1766 | static int snd_es18xx_free(struct snd_es18xx *chip) | 1766 | static int snd_es18xx_free(struct snd_card *card) |
1767 | { | 1767 | { |
1768 | struct snd_es18xx *chip = card->private_data; | ||
1769 | |||
1768 | release_and_free_resource(chip->res_port); | 1770 | release_and_free_resource(chip->res_port); |
1769 | release_and_free_resource(chip->res_ctrl_port); | 1771 | release_and_free_resource(chip->res_ctrl_port); |
1770 | release_and_free_resource(chip->res_mpu_port); | 1772 | release_and_free_resource(chip->res_mpu_port); |
1771 | if (chip->irq >= 0) | 1773 | if (chip->irq >= 0) |
1772 | free_irq(chip->irq, (void *) chip); | 1774 | free_irq(chip->irq, (void *) card); |
1773 | if (chip->dma1 >= 0) { | 1775 | if (chip->dma1 >= 0) { |
1774 | disable_dma(chip->dma1); | 1776 | disable_dma(chip->dma1); |
1775 | free_dma(chip->dma1); | 1777 | free_dma(chip->dma1); |
@@ -1778,37 +1780,29 @@ static int snd_es18xx_free(struct snd_es18xx *chip) | |||
1778 | disable_dma(chip->dma2); | 1780 | disable_dma(chip->dma2); |
1779 | free_dma(chip->dma2); | 1781 | free_dma(chip->dma2); |
1780 | } | 1782 | } |
1781 | kfree(chip); | ||
1782 | return 0; | 1783 | return 0; |
1783 | } | 1784 | } |
1784 | 1785 | ||
1785 | static int snd_es18xx_dev_free(struct snd_device *device) | 1786 | static int snd_es18xx_dev_free(struct snd_device *device) |
1786 | { | 1787 | { |
1787 | struct snd_es18xx *chip = device->device_data; | 1788 | return snd_es18xx_free(device->card); |
1788 | return snd_es18xx_free(chip); | ||
1789 | } | 1789 | } |
1790 | 1790 | ||
1791 | static int __devinit snd_es18xx_new_device(struct snd_card *card, | 1791 | static int __devinit snd_es18xx_new_device(struct snd_card *card, |
1792 | unsigned long port, | 1792 | unsigned long port, |
1793 | unsigned long mpu_port, | 1793 | unsigned long mpu_port, |
1794 | unsigned long fm_port, | 1794 | unsigned long fm_port, |
1795 | int irq, int dma1, int dma2, | 1795 | int irq, int dma1, int dma2) |
1796 | struct snd_es18xx ** rchip) | ||
1797 | { | 1796 | { |
1798 | struct snd_es18xx *chip; | 1797 | struct snd_es18xx *chip = card->private_data; |
1799 | static struct snd_device_ops ops = { | 1798 | static struct snd_device_ops ops = { |
1800 | .dev_free = snd_es18xx_dev_free, | 1799 | .dev_free = snd_es18xx_dev_free, |
1801 | }; | 1800 | }; |
1802 | int err; | 1801 | int err; |
1803 | 1802 | ||
1804 | *rchip = NULL; | ||
1805 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); | ||
1806 | if (chip == NULL) | ||
1807 | return -ENOMEM; | ||
1808 | spin_lock_init(&chip->reg_lock); | 1803 | spin_lock_init(&chip->reg_lock); |
1809 | spin_lock_init(&chip->mixer_lock); | 1804 | spin_lock_init(&chip->mixer_lock); |
1810 | spin_lock_init(&chip->ctrl_lock); | 1805 | spin_lock_init(&chip->ctrl_lock); |
1811 | chip->card = card; | ||
1812 | chip->port = port; | 1806 | chip->port = port; |
1813 | chip->mpu_port = mpu_port; | 1807 | chip->mpu_port = mpu_port; |
1814 | chip->fm_port = fm_port; | 1808 | chip->fm_port = fm_port; |
@@ -1818,53 +1812,53 @@ static int __devinit snd_es18xx_new_device(struct snd_card *card, | |||
1818 | chip->audio2_vol = 0x00; | 1812 | chip->audio2_vol = 0x00; |
1819 | chip->active = 0; | 1813 | chip->active = 0; |
1820 | 1814 | ||
1821 | if ((chip->res_port = request_region(port, 16, "ES18xx")) == NULL) { | 1815 | chip->res_port = request_region(port, 16, "ES18xx"); |
1822 | snd_es18xx_free(chip); | 1816 | if (chip->res_port == NULL) { |
1817 | snd_es18xx_free(card); | ||
1823 | snd_printk(KERN_ERR PFX "unable to grap ports 0x%lx-0x%lx\n", port, port + 16 - 1); | 1818 | snd_printk(KERN_ERR PFX "unable to grap ports 0x%lx-0x%lx\n", port, port + 16 - 1); |
1824 | return -EBUSY; | 1819 | return -EBUSY; |
1825 | } | 1820 | } |
1826 | 1821 | ||
1827 | if (request_irq(irq, snd_es18xx_interrupt, IRQF_DISABLED, "ES18xx", (void *) chip)) { | 1822 | if (request_irq(irq, snd_es18xx_interrupt, IRQF_DISABLED, "ES18xx", |
1828 | snd_es18xx_free(chip); | 1823 | (void *) card)) { |
1824 | snd_es18xx_free(card); | ||
1829 | snd_printk(KERN_ERR PFX "unable to grap IRQ %d\n", irq); | 1825 | snd_printk(KERN_ERR PFX "unable to grap IRQ %d\n", irq); |
1830 | return -EBUSY; | 1826 | return -EBUSY; |
1831 | } | 1827 | } |
1832 | chip->irq = irq; | 1828 | chip->irq = irq; |
1833 | 1829 | ||
1834 | if (request_dma(dma1, "ES18xx DMA 1")) { | 1830 | if (request_dma(dma1, "ES18xx DMA 1")) { |
1835 | snd_es18xx_free(chip); | 1831 | snd_es18xx_free(card); |
1836 | snd_printk(KERN_ERR PFX "unable to grap DMA1 %d\n", dma1); | 1832 | snd_printk(KERN_ERR PFX "unable to grap DMA1 %d\n", dma1); |
1837 | return -EBUSY; | 1833 | return -EBUSY; |
1838 | } | 1834 | } |
1839 | chip->dma1 = dma1; | 1835 | chip->dma1 = dma1; |
1840 | 1836 | ||
1841 | if (dma2 != dma1 && request_dma(dma2, "ES18xx DMA 2")) { | 1837 | if (dma2 != dma1 && request_dma(dma2, "ES18xx DMA 2")) { |
1842 | snd_es18xx_free(chip); | 1838 | snd_es18xx_free(card); |
1843 | snd_printk(KERN_ERR PFX "unable to grap DMA2 %d\n", dma2); | 1839 | snd_printk(KERN_ERR PFX "unable to grap DMA2 %d\n", dma2); |
1844 | return -EBUSY; | 1840 | return -EBUSY; |
1845 | } | 1841 | } |
1846 | chip->dma2 = dma2; | 1842 | chip->dma2 = dma2; |
1847 | 1843 | ||
1848 | if (snd_es18xx_probe(chip) < 0) { | 1844 | if (snd_es18xx_probe(chip) < 0) { |
1849 | snd_es18xx_free(chip); | 1845 | snd_es18xx_free(card); |
1850 | return -ENODEV; | 1846 | return -ENODEV; |
1851 | } | 1847 | } |
1852 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { | 1848 | err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, NULL, &ops); |
1853 | snd_es18xx_free(chip); | 1849 | if (err < 0) { |
1850 | snd_es18xx_free(card); | ||
1854 | return err; | 1851 | return err; |
1855 | } | 1852 | } |
1856 | *rchip = chip; | ||
1857 | return 0; | 1853 | return 0; |
1858 | } | 1854 | } |
1859 | 1855 | ||
1860 | static int __devinit snd_es18xx_mixer(struct snd_es18xx *chip) | 1856 | static int __devinit snd_es18xx_mixer(struct snd_card *card) |
1861 | { | 1857 | { |
1862 | struct snd_card *card; | 1858 | struct snd_es18xx *chip = card->private_data; |
1863 | int err; | 1859 | int err; |
1864 | unsigned int idx; | 1860 | unsigned int idx; |
1865 | 1861 | ||
1866 | card = chip->card; | ||
1867 | |||
1868 | strcpy(card->mixername, chip->pcm->name); | 1862 | strcpy(card->mixername, chip->pcm->name); |
1869 | 1863 | ||
1870 | for (idx = 0; idx < ARRAY_SIZE(snd_es18xx_base_controls); idx++) { | 1864 | for (idx = 0; idx < ARRAY_SIZE(snd_es18xx_base_controls); idx++) { |
@@ -2063,11 +2057,11 @@ static int __devinit snd_audiodrive_pnp_init_main(int dev, struct pnp_dev *pdev) | |||
2063 | return 0; | 2057 | return 0; |
2064 | } | 2058 | } |
2065 | 2059 | ||
2066 | static int __devinit snd_audiodrive_pnp(int dev, struct snd_audiodrive *acard, | 2060 | static int __devinit snd_audiodrive_pnp(int dev, struct snd_es18xx *chip, |
2067 | struct pnp_dev *pdev) | 2061 | struct pnp_dev *pdev) |
2068 | { | 2062 | { |
2069 | acard->dev = pdev; | 2063 | chip->dev = pdev; |
2070 | if (snd_audiodrive_pnp_init_main(dev, acard->dev) < 0) | 2064 | if (snd_audiodrive_pnp_init_main(dev, chip->dev) < 0) |
2071 | return -EBUSY; | 2065 | return -EBUSY; |
2072 | return 0; | 2066 | return 0; |
2073 | } | 2067 | } |
@@ -2093,26 +2087,26 @@ static struct pnp_card_device_id snd_audiodrive_pnpids[] = { | |||
2093 | 2087 | ||
2094 | MODULE_DEVICE_TABLE(pnp_card, snd_audiodrive_pnpids); | 2088 | MODULE_DEVICE_TABLE(pnp_card, snd_audiodrive_pnpids); |
2095 | 2089 | ||
2096 | static int __devinit snd_audiodrive_pnpc(int dev, struct snd_audiodrive *acard, | 2090 | static int __devinit snd_audiodrive_pnpc(int dev, struct snd_es18xx *chip, |
2097 | struct pnp_card_link *card, | 2091 | struct pnp_card_link *card, |
2098 | const struct pnp_card_device_id *id) | 2092 | const struct pnp_card_device_id *id) |
2099 | { | 2093 | { |
2100 | acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); | 2094 | chip->dev = pnp_request_card_device(card, id->devs[0].id, NULL); |
2101 | if (acard->dev == NULL) | 2095 | if (chip->dev == NULL) |
2102 | return -EBUSY; | 2096 | return -EBUSY; |
2103 | 2097 | ||
2104 | acard->devc = pnp_request_card_device(card, id->devs[1].id, NULL); | 2098 | chip->devc = pnp_request_card_device(card, id->devs[1].id, NULL); |
2105 | if (acard->devc == NULL) | 2099 | if (chip->devc == NULL) |
2106 | return -EBUSY; | 2100 | return -EBUSY; |
2107 | 2101 | ||
2108 | /* Control port initialization */ | 2102 | /* Control port initialization */ |
2109 | if (pnp_activate_dev(acard->devc) < 0) { | 2103 | if (pnp_activate_dev(chip->devc) < 0) { |
2110 | snd_printk(KERN_ERR PFX "PnP control configure failure (out of resources?)\n"); | 2104 | snd_printk(KERN_ERR PFX "PnP control configure failure (out of resources?)\n"); |
2111 | return -EAGAIN; | 2105 | return -EAGAIN; |
2112 | } | 2106 | } |
2113 | snd_printdd("pnp: port=0x%llx\n", | 2107 | snd_printdd("pnp: port=0x%llx\n", |
2114 | (unsigned long long)pnp_port_start(acard->devc, 0)); | 2108 | (unsigned long long)pnp_port_start(chip->devc, 0)); |
2115 | if (snd_audiodrive_pnp_init_main(dev, acard->dev) < 0) | 2109 | if (snd_audiodrive_pnp_init_main(dev, chip->dev) < 0) |
2116 | return -EBUSY; | 2110 | return -EBUSY; |
2117 | 2111 | ||
2118 | return 0; | 2112 | return 0; |
@@ -2128,24 +2122,20 @@ static int __devinit snd_audiodrive_pnpc(int dev, struct snd_audiodrive *acard, | |||
2128 | static int snd_es18xx_card_new(int dev, struct snd_card **cardp) | 2122 | static int snd_es18xx_card_new(int dev, struct snd_card **cardp) |
2129 | { | 2123 | { |
2130 | return snd_card_create(index[dev], id[dev], THIS_MODULE, | 2124 | return snd_card_create(index[dev], id[dev], THIS_MODULE, |
2131 | sizeof(struct snd_audiodrive), cardp); | 2125 | sizeof(struct snd_es18xx), cardp); |
2132 | } | 2126 | } |
2133 | 2127 | ||
2134 | static int __devinit snd_audiodrive_probe(struct snd_card *card, int dev) | 2128 | static int __devinit snd_audiodrive_probe(struct snd_card *card, int dev) |
2135 | { | 2129 | { |
2136 | struct snd_audiodrive *acard = card->private_data; | 2130 | struct snd_es18xx *chip = card->private_data; |
2137 | struct snd_es18xx *chip; | ||
2138 | struct snd_opl3 *opl3; | 2131 | struct snd_opl3 *opl3; |
2139 | int err; | 2132 | int err; |
2140 | 2133 | ||
2141 | if ((err = snd_es18xx_new_device(card, | 2134 | err = snd_es18xx_new_device(card, |
2142 | port[dev], | 2135 | port[dev], mpu_port[dev], fm_port[dev], |
2143 | mpu_port[dev], | 2136 | irq[dev], dma1[dev], dma2[dev]); |
2144 | fm_port[dev], | 2137 | if (err < 0) |
2145 | irq[dev], dma1[dev], dma2[dev], | ||
2146 | &chip)) < 0) | ||
2147 | return err; | 2138 | return err; |
2148 | acard->chip = chip; | ||
2149 | 2139 | ||
2150 | sprintf(card->driver, "ES%x", chip->version); | 2140 | sprintf(card->driver, "ES%x", chip->version); |
2151 | 2141 | ||
@@ -2161,10 +2151,12 @@ static int __devinit snd_audiodrive_probe(struct snd_card *card, int dev) | |||
2161 | chip->port, | 2151 | chip->port, |
2162 | irq[dev], dma1[dev]); | 2152 | irq[dev], dma1[dev]); |
2163 | 2153 | ||
2164 | if ((err = snd_es18xx_pcm(chip, 0, NULL)) < 0) | 2154 | err = snd_es18xx_pcm(card, 0, NULL); |
2155 | if (err < 0) | ||
2165 | return err; | 2156 | return err; |
2166 | 2157 | ||
2167 | if ((err = snd_es18xx_mixer(chip)) < 0) | 2158 | err = snd_es18xx_mixer(card); |
2159 | if (err < 0) | ||
2168 | return err; | 2160 | return err; |
2169 | 2161 | ||
2170 | if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { | 2162 | if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { |
diff --git a/sound/isa/sb/sb_mixer.c b/sound/isa/sb/sb_mixer.c index 475220bbcc96..318ff0c823e7 100644 --- a/sound/isa/sb/sb_mixer.c +++ b/sound/isa/sb/sb_mixer.c | |||
@@ -631,7 +631,7 @@ static struct sbmix_elem snd_sb16_ctl_mic_play_switch = | |||
631 | static struct sbmix_elem snd_sb16_ctl_mic_play_vol = | 631 | static struct sbmix_elem snd_sb16_ctl_mic_play_vol = |
632 | SB_SINGLE("Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31); | 632 | SB_SINGLE("Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31); |
633 | static struct sbmix_elem snd_sb16_ctl_pc_speaker_vol = | 633 | static struct sbmix_elem snd_sb16_ctl_pc_speaker_vol = |
634 | SB_SINGLE("PC Speaker Volume", SB_DSP4_SPEAKER_DEV, 6, 3); | 634 | SB_SINGLE("Beep Volume", SB_DSP4_SPEAKER_DEV, 6, 3); |
635 | static struct sbmix_elem snd_sb16_ctl_capture_vol = | 635 | static struct sbmix_elem snd_sb16_ctl_capture_vol = |
636 | SB_DOUBLE("Capture Volume", SB_DSP4_IGAIN_DEV, (SB_DSP4_IGAIN_DEV + 1), 6, 6, 3); | 636 | SB_DOUBLE("Capture Volume", SB_DSP4_IGAIN_DEV, (SB_DSP4_IGAIN_DEV + 1), 6, 6, 3); |
637 | static struct sbmix_elem snd_sb16_ctl_play_vol = | 637 | static struct sbmix_elem snd_sb16_ctl_play_vol = |
@@ -689,7 +689,7 @@ static struct sbmix_elem snd_dt019x_ctl_cd_play_vol = | |||
689 | static struct sbmix_elem snd_dt019x_ctl_mic_play_vol = | 689 | static struct sbmix_elem snd_dt019x_ctl_mic_play_vol = |
690 | SB_SINGLE("Mic Playback Volume", SB_DT019X_MIC_DEV, 4, 7); | 690 | SB_SINGLE("Mic Playback Volume", SB_DT019X_MIC_DEV, 4, 7); |
691 | static struct sbmix_elem snd_dt019x_ctl_pc_speaker_vol = | 691 | static struct sbmix_elem snd_dt019x_ctl_pc_speaker_vol = |
692 | SB_SINGLE("PC Speaker Volume", SB_DT019X_SPKR_DEV, 0, 7); | 692 | SB_SINGLE("Beep Volume", SB_DT019X_SPKR_DEV, 0, 7); |
693 | static struct sbmix_elem snd_dt019x_ctl_line_play_vol = | 693 | static struct sbmix_elem snd_dt019x_ctl_line_play_vol = |
694 | SB_DOUBLE("Line Playback Volume", SB_DT019X_LINE_DEV, SB_DT019X_LINE_DEV, 4,0, 15); | 694 | SB_DOUBLE("Line Playback Volume", SB_DT019X_LINE_DEV, SB_DT019X_LINE_DEV, 4,0, 15); |
695 | static struct sbmix_elem snd_dt019x_ctl_pcm_play_switch = | 695 | static struct sbmix_elem snd_dt019x_ctl_pcm_play_switch = |
diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 66187122377c..e2d5d2d3ed96 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Low-level ALSA driver for the ENSONIQ SoundScape PnP | 2 | * Low-level ALSA driver for the ENSONIQ SoundScape |
3 | * Copyright (c) by Chris Rankin | 3 | * Copyright (c) by Chris Rankin |
4 | * | 4 | * |
5 | * This driver was written in part using information obtained from | 5 | * This driver was written in part using information obtained from |
@@ -25,31 +25,36 @@ | |||
25 | #include <linux/err.h> | 25 | #include <linux/err.h> |
26 | #include <linux/isa.h> | 26 | #include <linux/isa.h> |
27 | #include <linux/delay.h> | 27 | #include <linux/delay.h> |
28 | #include <linux/firmware.h> | ||
28 | #include <linux/pnp.h> | 29 | #include <linux/pnp.h> |
29 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
30 | #include <linux/moduleparam.h> | 31 | #include <linux/moduleparam.h> |
31 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
32 | #include <sound/core.h> | 33 | #include <sound/core.h> |
33 | #include <sound/hwdep.h> | ||
34 | #include <sound/wss.h> | 34 | #include <sound/wss.h> |
35 | #include <sound/mpu401.h> | 35 | #include <sound/mpu401.h> |
36 | #include <sound/initval.h> | 36 | #include <sound/initval.h> |
37 | 37 | ||
38 | #include <sound/sscape_ioctl.h> | ||
39 | |||
40 | 38 | ||
41 | MODULE_AUTHOR("Chris Rankin"); | 39 | MODULE_AUTHOR("Chris Rankin"); |
42 | MODULE_DESCRIPTION("ENSONIQ SoundScape PnP driver"); | 40 | MODULE_DESCRIPTION("ENSONIQ SoundScape driver"); |
43 | MODULE_LICENSE("GPL"); | 41 | MODULE_LICENSE("GPL"); |
44 | 42 | MODULE_FIRMWARE("sndscape.co0"); | |
45 | static int index[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IDX; | 43 | MODULE_FIRMWARE("sndscape.co1"); |
46 | static char* id[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_STR; | 44 | MODULE_FIRMWARE("sndscape.co2"); |
47 | static long port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT; | 45 | MODULE_FIRMWARE("sndscape.co3"); |
48 | static long wss_port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT; | 46 | MODULE_FIRMWARE("sndscape.co4"); |
49 | static int irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ; | 47 | MODULE_FIRMWARE("scope.cod"); |
50 | static int mpu_irq[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_IRQ; | 48 | |
51 | static int dma[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA; | 49 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; |
52 | static int dma2[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_DMA; | 50 | static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
51 | static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; | ||
52 | static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; | ||
53 | static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; | ||
54 | static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; | ||
55 | static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; | ||
56 | static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; | ||
57 | static bool joystick[SNDRV_CARDS]; | ||
53 | 58 | ||
54 | module_param_array(index, int, NULL, 0444); | 59 | module_param_array(index, int, NULL, 0444); |
55 | MODULE_PARM_DESC(index, "Index number for SoundScape soundcard"); | 60 | MODULE_PARM_DESC(index, "Index number for SoundScape soundcard"); |
@@ -75,6 +80,9 @@ MODULE_PARM_DESC(dma, "DMA # for SoundScape driver."); | |||
75 | module_param_array(dma2, int, NULL, 0444); | 80 | module_param_array(dma2, int, NULL, 0444); |
76 | MODULE_PARM_DESC(dma2, "DMA2 # for SoundScape driver."); | 81 | MODULE_PARM_DESC(dma2, "DMA2 # for SoundScape driver."); |
77 | 82 | ||
83 | module_param_array(joystick, bool, NULL, 0444); | ||
84 | MODULE_PARM_DESC(joystick, "Enable gameport."); | ||
85 | |||
78 | #ifdef CONFIG_PNP | 86 | #ifdef CONFIG_PNP |
79 | static int isa_registered; | 87 | static int isa_registered; |
80 | static int pnp_registered; | 88 | static int pnp_registered; |
@@ -101,14 +109,14 @@ MODULE_DEVICE_TABLE(pnp_card, sscape_pnpids); | |||
101 | #define RX_READY 0x01 | 109 | #define RX_READY 0x01 |
102 | #define TX_READY 0x02 | 110 | #define TX_READY 0x02 |
103 | 111 | ||
104 | #define CMD_ACK 0x80 | 112 | #define CMD_ACK 0x80 |
105 | #define CMD_SET_MIDI_VOL 0x84 | 113 | #define CMD_SET_MIDI_VOL 0x84 |
106 | #define CMD_GET_MIDI_VOL 0x85 | 114 | #define CMD_GET_MIDI_VOL 0x85 |
107 | #define CMD_XXX_MIDI_VOL 0x86 | 115 | #define CMD_XXX_MIDI_VOL 0x86 |
108 | #define CMD_SET_EXTMIDI 0x8a | 116 | #define CMD_SET_EXTMIDI 0x8a |
109 | #define CMD_GET_EXTMIDI 0x8b | 117 | #define CMD_GET_EXTMIDI 0x8b |
110 | #define CMD_SET_MT32 0x8c | 118 | #define CMD_SET_MT32 0x8c |
111 | #define CMD_GET_MT32 0x8d | 119 | #define CMD_GET_MT32 0x8d |
112 | 120 | ||
113 | enum GA_REG { | 121 | enum GA_REG { |
114 | GA_INTSTAT_REG = 0, | 122 | GA_INTSTAT_REG = 0, |
@@ -127,7 +135,8 @@ enum GA_REG { | |||
127 | 135 | ||
128 | 136 | ||
129 | enum card_type { | 137 | enum card_type { |
130 | SSCAPE, | 138 | MEDIA_FX, /* Sequoia S-1000 */ |
139 | SSCAPE, /* Sequoia S-2000 */ | ||
131 | SSCAPE_PNP, | 140 | SSCAPE_PNP, |
132 | SSCAPE_VIVO, | 141 | SSCAPE_VIVO, |
133 | }; | 142 | }; |
@@ -140,16 +149,7 @@ struct soundscape { | |||
140 | struct resource *io_res; | 149 | struct resource *io_res; |
141 | struct resource *wss_res; | 150 | struct resource *wss_res; |
142 | struct snd_wss *chip; | 151 | struct snd_wss *chip; |
143 | struct snd_mpu401 *mpu; | ||
144 | struct snd_hwdep *hw; | ||
145 | 152 | ||
146 | /* | ||
147 | * The MIDI device won't work until we've loaded | ||
148 | * its firmware via a hardware-dependent device IOCTL | ||
149 | */ | ||
150 | spinlock_t fwlock; | ||
151 | int hw_in_use; | ||
152 | unsigned long midi_usage; | ||
153 | unsigned char midi_vol; | 153 | unsigned char midi_vol; |
154 | }; | 154 | }; |
155 | 155 | ||
@@ -161,28 +161,21 @@ static inline struct soundscape *get_card_soundscape(struct snd_card *c) | |||
161 | return (struct soundscape *) (c->private_data); | 161 | return (struct soundscape *) (c->private_data); |
162 | } | 162 | } |
163 | 163 | ||
164 | static inline struct soundscape *get_mpu401_soundscape(struct snd_mpu401 * mpu) | ||
165 | { | ||
166 | return (struct soundscape *) (mpu->private_data); | ||
167 | } | ||
168 | |||
169 | static inline struct soundscape *get_hwdep_soundscape(struct snd_hwdep * hw) | ||
170 | { | ||
171 | return (struct soundscape *) (hw->private_data); | ||
172 | } | ||
173 | |||
174 | |||
175 | /* | 164 | /* |
176 | * Allocates some kernel memory that we can use for DMA. | 165 | * Allocates some kernel memory that we can use for DMA. |
177 | * I think this means that the memory has to map to | 166 | * I think this means that the memory has to map to |
178 | * contiguous pages of physical memory. | 167 | * contiguous pages of physical memory. |
179 | */ | 168 | */ |
180 | static struct snd_dma_buffer *get_dmabuf(struct snd_dma_buffer *buf, unsigned long size) | 169 | static struct snd_dma_buffer *get_dmabuf(struct snd_dma_buffer *buf, |
170 | unsigned long size) | ||
181 | { | 171 | { |
182 | if (buf) { | 172 | if (buf) { |
183 | if (snd_dma_alloc_pages_fallback(SNDRV_DMA_TYPE_DEV, snd_dma_isa_data(), | 173 | if (snd_dma_alloc_pages_fallback(SNDRV_DMA_TYPE_DEV, |
174 | snd_dma_isa_data(), | ||
184 | size, buf) < 0) { | 175 | size, buf) < 0) { |
185 | snd_printk(KERN_ERR "sscape: Failed to allocate %lu bytes for DMA\n", size); | 176 | snd_printk(KERN_ERR "sscape: Failed to allocate " |
177 | "%lu bytes for DMA\n", | ||
178 | size); | ||
186 | return NULL; | 179 | return NULL; |
187 | } | 180 | } |
188 | } | 181 | } |
@@ -199,13 +192,13 @@ static void free_dmabuf(struct snd_dma_buffer *buf) | |||
199 | snd_dma_free_pages(buf); | 192 | snd_dma_free_pages(buf); |
200 | } | 193 | } |
201 | 194 | ||
202 | |||
203 | /* | 195 | /* |
204 | * This function writes to the SoundScape's control registers, | 196 | * This function writes to the SoundScape's control registers, |
205 | * but doesn't do any locking. It's up to the caller to do that. | 197 | * but doesn't do any locking. It's up to the caller to do that. |
206 | * This is why this function is "unsafe" ... | 198 | * This is why this function is "unsafe" ... |
207 | */ | 199 | */ |
208 | static inline void sscape_write_unsafe(unsigned io_base, enum GA_REG reg, unsigned char val) | 200 | static inline void sscape_write_unsafe(unsigned io_base, enum GA_REG reg, |
201 | unsigned char val) | ||
209 | { | 202 | { |
210 | outb(reg, ODIE_ADDR_IO(io_base)); | 203 | outb(reg, ODIE_ADDR_IO(io_base)); |
211 | outb(val, ODIE_DATA_IO(io_base)); | 204 | outb(val, ODIE_DATA_IO(io_base)); |
@@ -215,7 +208,8 @@ static inline void sscape_write_unsafe(unsigned io_base, enum GA_REG reg, unsign | |||
215 | * Write to the SoundScape's control registers, and do the | 208 | * Write to the SoundScape's control registers, and do the |
216 | * necessary locking ... | 209 | * necessary locking ... |
217 | */ | 210 | */ |
218 | static void sscape_write(struct soundscape *s, enum GA_REG reg, unsigned char val) | 211 | static void sscape_write(struct soundscape *s, enum GA_REG reg, |
212 | unsigned char val) | ||
219 | { | 213 | { |
220 | unsigned long flags; | 214 | unsigned long flags; |
221 | 215 | ||
@@ -228,7 +222,8 @@ static void sscape_write(struct soundscape *s, enum GA_REG reg, unsigned char va | |||
228 | * Read from the SoundScape's control registers, but leave any | 222 | * Read from the SoundScape's control registers, but leave any |
229 | * locking to the caller. This is why the function is "unsafe" ... | 223 | * locking to the caller. This is why the function is "unsafe" ... |
230 | */ | 224 | */ |
231 | static inline unsigned char sscape_read_unsafe(unsigned io_base, enum GA_REG reg) | 225 | static inline unsigned char sscape_read_unsafe(unsigned io_base, |
226 | enum GA_REG reg) | ||
232 | { | 227 | { |
233 | outb(reg, ODIE_ADDR_IO(io_base)); | 228 | outb(reg, ODIE_ADDR_IO(io_base)); |
234 | return inb(ODIE_DATA_IO(io_base)); | 229 | return inb(ODIE_DATA_IO(io_base)); |
@@ -257,9 +252,8 @@ static inline void set_midi_mode_unsafe(unsigned io_base) | |||
257 | static inline int host_read_unsafe(unsigned io_base) | 252 | static inline int host_read_unsafe(unsigned io_base) |
258 | { | 253 | { |
259 | int data = -1; | 254 | int data = -1; |
260 | if ((inb(HOST_CTRL_IO(io_base)) & RX_READY) != 0) { | 255 | if ((inb(HOST_CTRL_IO(io_base)) & RX_READY) != 0) |
261 | data = inb(HOST_DATA_IO(io_base)); | 256 | data = inb(HOST_DATA_IO(io_base)); |
262 | } | ||
263 | 257 | ||
264 | return data; | 258 | return data; |
265 | } | 259 | } |
@@ -301,7 +295,7 @@ static inline int host_write_unsafe(unsigned io_base, unsigned char data) | |||
301 | * Also leaves all locking-issues to the caller ... | 295 | * Also leaves all locking-issues to the caller ... |
302 | */ | 296 | */ |
303 | static int host_write_ctrl_unsafe(unsigned io_base, unsigned char data, | 297 | static int host_write_ctrl_unsafe(unsigned io_base, unsigned char data, |
304 | unsigned timeout) | 298 | unsigned timeout) |
305 | { | 299 | { |
306 | int err; | 300 | int err; |
307 | 301 | ||
@@ -320,7 +314,7 @@ static int host_write_ctrl_unsafe(unsigned io_base, unsigned char data, | |||
320 | * | 314 | * |
321 | * NOTE: This check is based upon observation, not documentation. | 315 | * NOTE: This check is based upon observation, not documentation. |
322 | */ | 316 | */ |
323 | static inline int verify_mpu401(const struct snd_mpu401 * mpu) | 317 | static inline int verify_mpu401(const struct snd_mpu401 *mpu) |
324 | { | 318 | { |
325 | return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); | 319 | return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); |
326 | } | 320 | } |
@@ -328,7 +322,7 @@ static inline int verify_mpu401(const struct snd_mpu401 * mpu) | |||
328 | /* | 322 | /* |
329 | * This is apparently the standard way to initailise an MPU-401 | 323 | * This is apparently the standard way to initailise an MPU-401 |
330 | */ | 324 | */ |
331 | static inline void initialise_mpu401(const struct snd_mpu401 * mpu) | 325 | static inline void initialise_mpu401(const struct snd_mpu401 *mpu) |
332 | { | 326 | { |
333 | outb(0, MPU401D(mpu)); | 327 | outb(0, MPU401D(mpu)); |
334 | } | 328 | } |
@@ -338,9 +332,10 @@ static inline void initialise_mpu401(const struct snd_mpu401 * mpu) | |||
338 | * The AD1845 detection fails if we *don't* do this, so I | 332 | * The AD1845 detection fails if we *don't* do this, so I |
339 | * think that this is a good idea ... | 333 | * think that this is a good idea ... |
340 | */ | 334 | */ |
341 | static inline void activate_ad1845_unsafe(unsigned io_base) | 335 | static void activate_ad1845_unsafe(unsigned io_base) |
342 | { | 336 | { |
343 | sscape_write_unsafe(io_base, GA_HMCTL_REG, (sscape_read_unsafe(io_base, GA_HMCTL_REG) & 0xcf) | 0x10); | 337 | unsigned char val = sscape_read_unsafe(io_base, GA_HMCTL_REG); |
338 | sscape_write_unsafe(io_base, GA_HMCTL_REG, (val & 0xcf) | 0x10); | ||
344 | sscape_write_unsafe(io_base, GA_CDCFG_REG, 0x80); | 339 | sscape_write_unsafe(io_base, GA_CDCFG_REG, 0x80); |
345 | } | 340 | } |
346 | 341 | ||
@@ -359,24 +354,27 @@ static void soundscape_free(struct snd_card *c) | |||
359 | * Tell the SoundScape to begin a DMA tranfer using the given channel. | 354 | * Tell the SoundScape to begin a DMA tranfer using the given channel. |
360 | * All locking issues are left to the caller. | 355 | * All locking issues are left to the caller. |
361 | */ | 356 | */ |
362 | static inline void sscape_start_dma_unsafe(unsigned io_base, enum GA_REG reg) | 357 | static void sscape_start_dma_unsafe(unsigned io_base, enum GA_REG reg) |
363 | { | 358 | { |
364 | sscape_write_unsafe(io_base, reg, sscape_read_unsafe(io_base, reg) | 0x01); | 359 | sscape_write_unsafe(io_base, reg, |
365 | sscape_write_unsafe(io_base, reg, sscape_read_unsafe(io_base, reg) & 0xfe); | 360 | sscape_read_unsafe(io_base, reg) | 0x01); |
361 | sscape_write_unsafe(io_base, reg, | ||
362 | sscape_read_unsafe(io_base, reg) & 0xfe); | ||
366 | } | 363 | } |
367 | 364 | ||
368 | /* | 365 | /* |
369 | * Wait for a DMA transfer to complete. This is a "limited busy-wait", | 366 | * Wait for a DMA transfer to complete. This is a "limited busy-wait", |
370 | * and all locking issues are left to the caller. | 367 | * and all locking issues are left to the caller. |
371 | */ | 368 | */ |
372 | static int sscape_wait_dma_unsafe(unsigned io_base, enum GA_REG reg, unsigned timeout) | 369 | static int sscape_wait_dma_unsafe(unsigned io_base, enum GA_REG reg, |
370 | unsigned timeout) | ||
373 | { | 371 | { |
374 | while (!(sscape_read_unsafe(io_base, reg) & 0x01) && (timeout != 0)) { | 372 | while (!(sscape_read_unsafe(io_base, reg) & 0x01) && (timeout != 0)) { |
375 | udelay(100); | 373 | udelay(100); |
376 | --timeout; | 374 | --timeout; |
377 | } /* while */ | 375 | } /* while */ |
378 | 376 | ||
379 | return (sscape_read_unsafe(io_base, reg) & 0x01); | 377 | return sscape_read_unsafe(io_base, reg) & 0x01; |
380 | } | 378 | } |
381 | 379 | ||
382 | /* | 380 | /* |
@@ -392,12 +390,12 @@ static int obp_startup_ack(struct soundscape *s, unsigned timeout) | |||
392 | 390 | ||
393 | do { | 391 | do { |
394 | unsigned long flags; | 392 | unsigned long flags; |
395 | unsigned char x; | 393 | int x; |
396 | 394 | ||
397 | spin_lock_irqsave(&s->lock, flags); | 395 | spin_lock_irqsave(&s->lock, flags); |
398 | x = inb(HOST_DATA_IO(s->io_base)); | 396 | x = host_read_unsafe(s->io_base); |
399 | spin_unlock_irqrestore(&s->lock, flags); | 397 | spin_unlock_irqrestore(&s->lock, flags); |
400 | if ((x & 0xfe) == 0xfe) | 398 | if (x == 0xfe || x == 0xff) |
401 | return 1; | 399 | return 1; |
402 | 400 | ||
403 | msleep(10); | 401 | msleep(10); |
@@ -419,10 +417,10 @@ static int host_startup_ack(struct soundscape *s, unsigned timeout) | |||
419 | 417 | ||
420 | do { | 418 | do { |
421 | unsigned long flags; | 419 | unsigned long flags; |
422 | unsigned char x; | 420 | int x; |
423 | 421 | ||
424 | spin_lock_irqsave(&s->lock, flags); | 422 | spin_lock_irqsave(&s->lock, flags); |
425 | x = inb(HOST_DATA_IO(s->io_base)); | 423 | x = host_read_unsafe(s->io_base); |
426 | spin_unlock_irqrestore(&s->lock, flags); | 424 | spin_unlock_irqrestore(&s->lock, flags); |
427 | if (x == 0xfe) | 425 | if (x == 0xfe) |
428 | return 1; | 426 | return 1; |
@@ -436,15 +434,15 @@ static int host_startup_ack(struct soundscape *s, unsigned timeout) | |||
436 | /* | 434 | /* |
437 | * Upload a byte-stream into the SoundScape using DMA channel A. | 435 | * Upload a byte-stream into the SoundScape using DMA channel A. |
438 | */ | 436 | */ |
439 | static int upload_dma_data(struct soundscape *s, | 437 | static int upload_dma_data(struct soundscape *s, const unsigned char *data, |
440 | const unsigned char __user *data, | 438 | size_t size) |
441 | size_t size) | ||
442 | { | 439 | { |
443 | unsigned long flags; | 440 | unsigned long flags; |
444 | struct snd_dma_buffer dma; | 441 | struct snd_dma_buffer dma; |
445 | int ret; | 442 | int ret; |
443 | unsigned char val; | ||
446 | 444 | ||
447 | if (!get_dmabuf(&dma, PAGE_ALIGN(size))) | 445 | if (!get_dmabuf(&dma, PAGE_ALIGN(32 * 1024))) |
448 | return -ENOMEM; | 446 | return -ENOMEM; |
449 | 447 | ||
450 | spin_lock_irqsave(&s->lock, flags); | 448 | spin_lock_irqsave(&s->lock, flags); |
@@ -452,70 +450,57 @@ static int upload_dma_data(struct soundscape *s, | |||
452 | /* | 450 | /* |
453 | * Reset the board ... | 451 | * Reset the board ... |
454 | */ | 452 | */ |
455 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, sscape_read_unsafe(s->io_base, GA_HMCTL_REG) & 0x3f); | 453 | val = sscape_read_unsafe(s->io_base, GA_HMCTL_REG); |
454 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, val & 0x3f); | ||
456 | 455 | ||
457 | /* | 456 | /* |
458 | * Enable the DMA channels and configure them ... | 457 | * Enable the DMA channels and configure them ... |
459 | */ | 458 | */ |
460 | sscape_write_unsafe(s->io_base, GA_DMACFG_REG, 0x50); | 459 | val = (s->chip->dma1 << 4) | DMA_8BIT; |
461 | sscape_write_unsafe(s->io_base, GA_DMAA_REG, (s->chip->dma1 << 4) | DMA_8BIT); | 460 | sscape_write_unsafe(s->io_base, GA_DMAA_REG, val); |
462 | sscape_write_unsafe(s->io_base, GA_DMAB_REG, 0x20); | 461 | sscape_write_unsafe(s->io_base, GA_DMAB_REG, 0x20); |
463 | 462 | ||
464 | /* | 463 | /* |
465 | * Take the board out of reset ... | 464 | * Take the board out of reset ... |
466 | */ | 465 | */ |
467 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, sscape_read_unsafe(s->io_base, GA_HMCTL_REG) | 0x80); | 466 | val = sscape_read_unsafe(s->io_base, GA_HMCTL_REG); |
467 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, val | 0x80); | ||
468 | 468 | ||
469 | /* | 469 | /* |
470 | * Upload the user's data (firmware?) to the SoundScape | 470 | * Upload the firmware to the SoundScape |
471 | * board through the DMA channel ... | 471 | * board through the DMA channel ... |
472 | */ | 472 | */ |
473 | while (size != 0) { | 473 | while (size != 0) { |
474 | unsigned long len; | 474 | unsigned long len; |
475 | 475 | ||
476 | /* | ||
477 | * Apparently, copying to/from userspace can sleep. | ||
478 | * We are therefore forbidden from holding any | ||
479 | * spinlocks while we copy ... | ||
480 | */ | ||
481 | spin_unlock_irqrestore(&s->lock, flags); | ||
482 | |||
483 | /* | ||
484 | * Remember that the data that we want to DMA | ||
485 | * comes from USERSPACE. We have already verified | ||
486 | * the userspace pointer ... | ||
487 | */ | ||
488 | len = min(size, dma.bytes); | 476 | len = min(size, dma.bytes); |
489 | len -= __copy_from_user(dma.area, data, len); | 477 | memcpy(dma.area, data, len); |
490 | data += len; | 478 | data += len; |
491 | size -= len; | 479 | size -= len; |
492 | 480 | ||
493 | /* | ||
494 | * Grab that spinlock again, now that we've | ||
495 | * finished copying! | ||
496 | */ | ||
497 | spin_lock_irqsave(&s->lock, flags); | ||
498 | |||
499 | snd_dma_program(s->chip->dma1, dma.addr, len, DMA_MODE_WRITE); | 481 | snd_dma_program(s->chip->dma1, dma.addr, len, DMA_MODE_WRITE); |
500 | sscape_start_dma_unsafe(s->io_base, GA_DMAA_REG); | 482 | sscape_start_dma_unsafe(s->io_base, GA_DMAA_REG); |
501 | if (!sscape_wait_dma_unsafe(s->io_base, GA_DMAA_REG, 5000)) { | 483 | if (!sscape_wait_dma_unsafe(s->io_base, GA_DMAA_REG, 5000)) { |
502 | /* | 484 | /* |
503 | * Don't forget to release this spinlock we're holding ... | 485 | * Don't forget to release this spinlock we're holding |
504 | */ | 486 | */ |
505 | spin_unlock_irqrestore(&s->lock, flags); | 487 | spin_unlock_irqrestore(&s->lock, flags); |
506 | 488 | ||
507 | snd_printk(KERN_ERR "sscape: DMA upload has timed out\n"); | 489 | snd_printk(KERN_ERR |
490 | "sscape: DMA upload has timed out\n"); | ||
508 | ret = -EAGAIN; | 491 | ret = -EAGAIN; |
509 | goto _release_dma; | 492 | goto _release_dma; |
510 | } | 493 | } |
511 | } /* while */ | 494 | } /* while */ |
512 | 495 | ||
513 | set_host_mode_unsafe(s->io_base); | 496 | set_host_mode_unsafe(s->io_base); |
497 | outb(0x0, s->io_base); | ||
514 | 498 | ||
515 | /* | 499 | /* |
516 | * Boot the board ... (I think) | 500 | * Boot the board ... (I think) |
517 | */ | 501 | */ |
518 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, sscape_read_unsafe(s->io_base, GA_HMCTL_REG) | 0x40); | 502 | val = sscape_read_unsafe(s->io_base, GA_HMCTL_REG); |
503 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, val | 0x40); | ||
519 | spin_unlock_irqrestore(&s->lock, flags); | 504 | spin_unlock_irqrestore(&s->lock, flags); |
520 | 505 | ||
521 | /* | 506 | /* |
@@ -525,10 +510,12 @@ static int upload_dma_data(struct soundscape *s, | |||
525 | */ | 510 | */ |
526 | ret = 0; | 511 | ret = 0; |
527 | if (!obp_startup_ack(s, 5000)) { | 512 | if (!obp_startup_ack(s, 5000)) { |
528 | snd_printk(KERN_ERR "sscape: No response from on-board processor after upload\n"); | 513 | snd_printk(KERN_ERR "sscape: No response " |
514 | "from on-board processor after upload\n"); | ||
529 | ret = -EAGAIN; | 515 | ret = -EAGAIN; |
530 | } else if (!host_startup_ack(s, 5000)) { | 516 | } else if (!host_startup_ack(s, 5000)) { |
531 | snd_printk(KERN_ERR "sscape: SoundScape failed to initialise\n"); | 517 | snd_printk(KERN_ERR |
518 | "sscape: SoundScape failed to initialise\n"); | ||
532 | ret = -EAGAIN; | 519 | ret = -EAGAIN; |
533 | } | 520 | } |
534 | 521 | ||
@@ -536,7 +523,7 @@ _release_dma: | |||
536 | /* | 523 | /* |
537 | * NOTE!!! We are NOT holding any spinlocks at this point !!! | 524 | * NOTE!!! We are NOT holding any spinlocks at this point !!! |
538 | */ | 525 | */ |
539 | sscape_write(s, GA_DMAA_REG, (s->ic_type == IC_ODIE ? 0x70 : 0x40)); | 526 | sscape_write(s, GA_DMAA_REG, (s->ic_type == IC_OPUS ? 0x40 : 0x70)); |
540 | free_dmabuf(&dma); | 527 | free_dmabuf(&dma); |
541 | 528 | ||
542 | return ret; | 529 | return ret; |
@@ -546,167 +533,76 @@ _release_dma: | |||
546 | * Upload the bootblock(?) into the SoundScape. The only | 533 | * Upload the bootblock(?) into the SoundScape. The only |
547 | * purpose of this block of code seems to be to tell | 534 | * purpose of this block of code seems to be to tell |
548 | * us which version of the microcode we should be using. | 535 | * us which version of the microcode we should be using. |
549 | * | ||
550 | * NOTE: The boot-block data resides in USER-SPACE!!! | ||
551 | * However, we have already verified its memory | ||
552 | * addresses by the time we get here. | ||
553 | */ | 536 | */ |
554 | static int sscape_upload_bootblock(struct soundscape *sscape, struct sscape_bootblock __user *bb) | 537 | static int sscape_upload_bootblock(struct snd_card *card) |
555 | { | 538 | { |
539 | struct soundscape *sscape = get_card_soundscape(card); | ||
556 | unsigned long flags; | 540 | unsigned long flags; |
541 | const struct firmware *init_fw = NULL; | ||
557 | int data = 0; | 542 | int data = 0; |
558 | int ret; | 543 | int ret; |
559 | 544 | ||
560 | ret = upload_dma_data(sscape, bb->code, sizeof(bb->code)); | 545 | ret = request_firmware(&init_fw, "scope.cod", card->dev); |
561 | 546 | if (ret < 0) { | |
562 | spin_lock_irqsave(&sscape->lock, flags); | 547 | snd_printk(KERN_ERR "sscape: Error loading scope.cod"); |
563 | if (ret == 0) { | 548 | return ret; |
564 | data = host_read_ctrl_unsafe(sscape->io_base, 100); | ||
565 | } | ||
566 | set_midi_mode_unsafe(sscape->io_base); | ||
567 | spin_unlock_irqrestore(&sscape->lock, flags); | ||
568 | |||
569 | if (ret == 0) { | ||
570 | if (data < 0) { | ||
571 | snd_printk(KERN_ERR "sscape: timeout reading firmware version\n"); | ||
572 | ret = -EAGAIN; | ||
573 | } | ||
574 | else if (__copy_to_user(&bb->version, &data, sizeof(bb->version))) { | ||
575 | ret = -EFAULT; | ||
576 | } | ||
577 | } | 549 | } |
550 | ret = upload_dma_data(sscape, init_fw->data, init_fw->size); | ||
578 | 551 | ||
579 | return ret; | 552 | release_firmware(init_fw); |
580 | } | ||
581 | |||
582 | /* | ||
583 | * Upload the microcode into the SoundScape. The | ||
584 | * microcode is 64K of data, and if we try to copy | ||
585 | * it into a local variable then we will SMASH THE | ||
586 | * KERNEL'S STACK! We therefore leave it in USER | ||
587 | * SPACE, and save ourselves from copying it at all. | ||
588 | */ | ||
589 | static int sscape_upload_microcode(struct soundscape *sscape, | ||
590 | const struct sscape_microcode __user *mc) | ||
591 | { | ||
592 | unsigned long flags; | ||
593 | char __user *code; | ||
594 | int err; | ||
595 | 553 | ||
596 | /* | 554 | spin_lock_irqsave(&sscape->lock, flags); |
597 | * We are going to have to copy this data into a special | 555 | if (ret == 0) |
598 | * DMA-able buffer before we can upload it. We shall therefore | 556 | data = host_read_ctrl_unsafe(sscape->io_base, 100); |
599 | * just check that the data pointer is valid for now. | ||
600 | * | ||
601 | * NOTE: This buffer is 64K long! That's WAY too big to | ||
602 | * copy into a stack-temporary anyway. | ||
603 | */ | ||
604 | if ( get_user(code, &mc->code) || | ||
605 | !access_ok(VERIFY_READ, code, SSCAPE_MICROCODE_SIZE) ) | ||
606 | return -EFAULT; | ||
607 | 557 | ||
608 | if ((err = upload_dma_data(sscape, code, SSCAPE_MICROCODE_SIZE)) == 0) { | 558 | if (data & 0x10) |
609 | snd_printk(KERN_INFO "sscape: MIDI firmware loaded\n"); | 559 | sscape_write_unsafe(sscape->io_base, GA_SMCFGA_REG, 0x2f); |
610 | } | ||
611 | 560 | ||
612 | spin_lock_irqsave(&sscape->lock, flags); | ||
613 | set_midi_mode_unsafe(sscape->io_base); | ||
614 | spin_unlock_irqrestore(&sscape->lock, flags); | 561 | spin_unlock_irqrestore(&sscape->lock, flags); |
615 | 562 | ||
616 | initialise_mpu401(sscape->mpu); | 563 | data &= 0xf; |
564 | if (ret == 0 && data > 7) { | ||
565 | snd_printk(KERN_ERR | ||
566 | "sscape: timeout reading firmware version\n"); | ||
567 | ret = -EAGAIN; | ||
568 | } | ||
617 | 569 | ||
618 | return err; | 570 | return (ret == 0) ? data : ret; |
619 | } | 571 | } |
620 | 572 | ||
621 | /* | 573 | /* |
622 | * Hardware-specific device functions, to implement special | 574 | * Upload the microcode into the SoundScape. |
623 | * IOCTLs for the SoundScape card. This is how we upload | ||
624 | * the microcode into the card, for example, and so we | ||
625 | * must ensure that no two processes can open this device | ||
626 | * simultaneously, and that we can't open it at all if | ||
627 | * someone is using the MIDI device. | ||
628 | */ | 575 | */ |
629 | static int sscape_hw_open(struct snd_hwdep * hw, struct file *file) | 576 | static int sscape_upload_microcode(struct snd_card *card, int version) |
630 | { | 577 | { |
631 | register struct soundscape *sscape = get_hwdep_soundscape(hw); | 578 | struct soundscape *sscape = get_card_soundscape(card); |
632 | unsigned long flags; | 579 | const struct firmware *init_fw = NULL; |
580 | char name[14]; | ||
633 | int err; | 581 | int err; |
634 | 582 | ||
635 | spin_lock_irqsave(&sscape->fwlock, flags); | 583 | snprintf(name, sizeof(name), "sndscape.co%d", version); |
636 | 584 | ||
637 | if ((sscape->midi_usage != 0) || sscape->hw_in_use) { | 585 | err = request_firmware(&init_fw, name, card->dev); |
638 | err = -EBUSY; | 586 | if (err < 0) { |
639 | } else { | 587 | snd_printk(KERN_ERR "sscape: Error loading sndscape.co%d", |
640 | sscape->hw_in_use = 1; | 588 | version); |
641 | err = 0; | 589 | return err; |
642 | } | 590 | } |
591 | err = upload_dma_data(sscape, init_fw->data, init_fw->size); | ||
592 | if (err == 0) | ||
593 | snd_printk(KERN_INFO "sscape: MIDI firmware loaded %d KBs\n", | ||
594 | init_fw->size >> 10); | ||
643 | 595 | ||
644 | spin_unlock_irqrestore(&sscape->fwlock, flags); | 596 | release_firmware(init_fw); |
645 | return err; | ||
646 | } | ||
647 | |||
648 | static int sscape_hw_release(struct snd_hwdep * hw, struct file *file) | ||
649 | { | ||
650 | register struct soundscape *sscape = get_hwdep_soundscape(hw); | ||
651 | unsigned long flags; | ||
652 | |||
653 | spin_lock_irqsave(&sscape->fwlock, flags); | ||
654 | sscape->hw_in_use = 0; | ||
655 | spin_unlock_irqrestore(&sscape->fwlock, flags); | ||
656 | return 0; | ||
657 | } | ||
658 | |||
659 | static int sscape_hw_ioctl(struct snd_hwdep * hw, struct file *file, | ||
660 | unsigned int cmd, unsigned long arg) | ||
661 | { | ||
662 | struct soundscape *sscape = get_hwdep_soundscape(hw); | ||
663 | int err = -EBUSY; | ||
664 | |||
665 | switch (cmd) { | ||
666 | case SND_SSCAPE_LOAD_BOOTB: | ||
667 | { | ||
668 | register struct sscape_bootblock __user *bb = (struct sscape_bootblock __user *) arg; | ||
669 | |||
670 | /* | ||
671 | * We are going to have to copy this data into a special | ||
672 | * DMA-able buffer before we can upload it. We shall therefore | ||
673 | * just check that the data pointer is valid for now ... | ||
674 | */ | ||
675 | if ( !access_ok(VERIFY_READ, bb->code, sizeof(bb->code)) ) | ||
676 | return -EFAULT; | ||
677 | |||
678 | /* | ||
679 | * Now check that we can write the firmware version number too... | ||
680 | */ | ||
681 | if ( !access_ok(VERIFY_WRITE, &bb->version, sizeof(bb->version)) ) | ||
682 | return -EFAULT; | ||
683 | |||
684 | err = sscape_upload_bootblock(sscape, bb); | ||
685 | } | ||
686 | break; | ||
687 | |||
688 | case SND_SSCAPE_LOAD_MCODE: | ||
689 | { | ||
690 | register const struct sscape_microcode __user *mc = (const struct sscape_microcode __user *) arg; | ||
691 | |||
692 | err = sscape_upload_microcode(sscape, mc); | ||
693 | } | ||
694 | break; | ||
695 | |||
696 | default: | ||
697 | err = -EINVAL; | ||
698 | break; | ||
699 | } /* switch */ | ||
700 | 597 | ||
701 | return err; | 598 | return err; |
702 | } | 599 | } |
703 | 600 | ||
704 | |||
705 | /* | 601 | /* |
706 | * Mixer control for the SoundScape's MIDI device. | 602 | * Mixer control for the SoundScape's MIDI device. |
707 | */ | 603 | */ |
708 | static int sscape_midi_info(struct snd_kcontrol *ctl, | 604 | static int sscape_midi_info(struct snd_kcontrol *ctl, |
709 | struct snd_ctl_elem_info *uinfo) | 605 | struct snd_ctl_elem_info *uinfo) |
710 | { | 606 | { |
711 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; | 607 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; |
712 | uinfo->count = 1; | 608 | uinfo->count = 1; |
@@ -716,7 +612,7 @@ static int sscape_midi_info(struct snd_kcontrol *ctl, | |||
716 | } | 612 | } |
717 | 613 | ||
718 | static int sscape_midi_get(struct snd_kcontrol *kctl, | 614 | static int sscape_midi_get(struct snd_kcontrol *kctl, |
719 | struct snd_ctl_elem_value *uctl) | 615 | struct snd_ctl_elem_value *uctl) |
720 | { | 616 | { |
721 | struct snd_wss *chip = snd_kcontrol_chip(kctl); | 617 | struct snd_wss *chip = snd_kcontrol_chip(kctl); |
722 | struct snd_card *card = chip->card; | 618 | struct snd_card *card = chip->card; |
@@ -730,16 +626,18 @@ static int sscape_midi_get(struct snd_kcontrol *kctl, | |||
730 | } | 626 | } |
731 | 627 | ||
732 | static int sscape_midi_put(struct snd_kcontrol *kctl, | 628 | static int sscape_midi_put(struct snd_kcontrol *kctl, |
733 | struct snd_ctl_elem_value *uctl) | 629 | struct snd_ctl_elem_value *uctl) |
734 | { | 630 | { |
735 | struct snd_wss *chip = snd_kcontrol_chip(kctl); | 631 | struct snd_wss *chip = snd_kcontrol_chip(kctl); |
736 | struct snd_card *card = chip->card; | 632 | struct snd_card *card = chip->card; |
737 | register struct soundscape *s = get_card_soundscape(card); | 633 | struct soundscape *s = get_card_soundscape(card); |
738 | unsigned long flags; | 634 | unsigned long flags; |
739 | int change; | 635 | int change; |
636 | unsigned char new_val; | ||
740 | 637 | ||
741 | spin_lock_irqsave(&s->lock, flags); | 638 | spin_lock_irqsave(&s->lock, flags); |
742 | 639 | ||
640 | new_val = uctl->value.integer.value[0] & 127; | ||
743 | /* | 641 | /* |
744 | * We need to put the board into HOST mode before we | 642 | * We need to put the board into HOST mode before we |
745 | * can send any volume-changing HOST commands ... | 643 | * can send any volume-changing HOST commands ... |
@@ -752,15 +650,16 @@ static int sscape_midi_put(struct snd_kcontrol *kctl, | |||
752 | * and then perform another volume-related command. Perhaps the | 650 | * and then perform another volume-related command. Perhaps the |
753 | * first command is an "open" and the second command is a "close"? | 651 | * first command is an "open" and the second command is a "close"? |
754 | */ | 652 | */ |
755 | if (s->midi_vol == ((unsigned char) uctl->value.integer. value[0] & 127)) { | 653 | if (s->midi_vol == new_val) { |
756 | change = 0; | 654 | change = 0; |
757 | goto __skip_change; | 655 | goto __skip_change; |
758 | } | 656 | } |
759 | change = (host_write_ctrl_unsafe(s->io_base, CMD_SET_MIDI_VOL, 100) | 657 | change = host_write_ctrl_unsafe(s->io_base, CMD_SET_MIDI_VOL, 100) |
760 | && host_write_ctrl_unsafe(s->io_base, ((unsigned char) uctl->value.integer. value[0]) & 127, 100) | 658 | && host_write_ctrl_unsafe(s->io_base, new_val, 100) |
761 | && host_write_ctrl_unsafe(s->io_base, CMD_XXX_MIDI_VOL, 100)); | 659 | && host_write_ctrl_unsafe(s->io_base, CMD_XXX_MIDI_VOL, 100) |
762 | s->midi_vol = (unsigned char) uctl->value.integer.value[0] & 127; | 660 | && host_write_ctrl_unsafe(s->io_base, new_val, 100); |
763 | __skip_change: | 661 | s->midi_vol = new_val; |
662 | __skip_change: | ||
764 | 663 | ||
765 | /* | 664 | /* |
766 | * Take the board out of HOST mode and back into MIDI mode ... | 665 | * Take the board out of HOST mode and back into MIDI mode ... |
@@ -784,20 +683,25 @@ static struct snd_kcontrol_new midi_mixer_ctl = { | |||
784 | * These IRQs are encoded as bit patterns so that they can be | 683 | * These IRQs are encoded as bit patterns so that they can be |
785 | * written to the control registers. | 684 | * written to the control registers. |
786 | */ | 685 | */ |
787 | static unsigned __devinit get_irq_config(int irq) | 686 | static unsigned __devinit get_irq_config(int sscape_type, int irq) |
788 | { | 687 | { |
789 | static const int valid_irq[] = { 9, 5, 7, 10 }; | 688 | static const int valid_irq[] = { 9, 5, 7, 10 }; |
689 | static const int old_irq[] = { 9, 7, 5, 15 }; | ||
790 | unsigned cfg; | 690 | unsigned cfg; |
791 | 691 | ||
792 | for (cfg = 0; cfg < ARRAY_SIZE(valid_irq); ++cfg) { | 692 | if (sscape_type == MEDIA_FX) { |
793 | if (irq == valid_irq[cfg]) | 693 | for (cfg = 0; cfg < ARRAY_SIZE(old_irq); ++cfg) |
794 | return cfg; | 694 | if (irq == old_irq[cfg]) |
795 | } /* for */ | 695 | return cfg; |
696 | } else { | ||
697 | for (cfg = 0; cfg < ARRAY_SIZE(valid_irq); ++cfg) | ||
698 | if (irq == valid_irq[cfg]) | ||
699 | return cfg; | ||
700 | } | ||
796 | 701 | ||
797 | return INVALID_IRQ; | 702 | return INVALID_IRQ; |
798 | } | 703 | } |
799 | 704 | ||
800 | |||
801 | /* | 705 | /* |
802 | * Perform certain arcane port-checks to see whether there | 706 | * Perform certain arcane port-checks to see whether there |
803 | * is a SoundScape board lurking behind the given ports. | 707 | * is a SoundScape board lurking behind the given ports. |
@@ -842,11 +746,38 @@ static int __devinit detect_sscape(struct soundscape *s, long wss_io) | |||
842 | if (s->type != SSCAPE_VIVO && (d & 0x9f) != 0x0e) | 746 | if (s->type != SSCAPE_VIVO && (d & 0x9f) != 0x0e) |
843 | goto _done; | 747 | goto _done; |
844 | 748 | ||
845 | d = sscape_read_unsafe(s->io_base, GA_HMCTL_REG) & 0x3f; | 749 | if (s->ic_type == IC_OPUS) |
846 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, d | 0xc0); | 750 | activate_ad1845_unsafe(s->io_base); |
847 | 751 | ||
848 | if (s->type == SSCAPE_VIVO) | 752 | if (s->type == SSCAPE_VIVO) |
849 | wss_io += 4; | 753 | wss_io += 4; |
754 | |||
755 | d = sscape_read_unsafe(s->io_base, GA_HMCTL_REG); | ||
756 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, d | 0xc0); | ||
757 | |||
758 | /* wait for WSS codec */ | ||
759 | for (d = 0; d < 500; d++) { | ||
760 | if ((inb(wss_io) & 0x80) == 0) | ||
761 | break; | ||
762 | spin_unlock_irqrestore(&s->lock, flags); | ||
763 | msleep(1); | ||
764 | spin_lock_irqsave(&s->lock, flags); | ||
765 | } | ||
766 | |||
767 | if ((inb(wss_io) & 0x80) != 0) | ||
768 | goto _done; | ||
769 | |||
770 | if (inb(wss_io + 2) == 0xff) | ||
771 | goto _done; | ||
772 | |||
773 | d = sscape_read_unsafe(s->io_base, GA_HMCTL_REG) & 0x3f; | ||
774 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, d); | ||
775 | |||
776 | if ((inb(wss_io) & 0x80) != 0) | ||
777 | s->type = MEDIA_FX; | ||
778 | |||
779 | d = sscape_read_unsafe(s->io_base, GA_HMCTL_REG); | ||
780 | sscape_write_unsafe(s->io_base, GA_HMCTL_REG, d | 0xc0); | ||
850 | /* wait for WSS codec */ | 781 | /* wait for WSS codec */ |
851 | for (d = 0; d < 500; d++) { | 782 | for (d = 0; d < 500; d++) { |
852 | if ((inb(wss_io) & 0x80) == 0) | 783 | if ((inb(wss_io) & 0x80) == 0) |
@@ -855,14 +786,13 @@ static int __devinit detect_sscape(struct soundscape *s, long wss_io) | |||
855 | msleep(1); | 786 | msleep(1); |
856 | spin_lock_irqsave(&s->lock, flags); | 787 | spin_lock_irqsave(&s->lock, flags); |
857 | } | 788 | } |
858 | snd_printd(KERN_INFO "init delay = %d ms\n", d); | ||
859 | 789 | ||
860 | /* | 790 | /* |
861 | * SoundScape successfully detected! | 791 | * SoundScape successfully detected! |
862 | */ | 792 | */ |
863 | retval = 1; | 793 | retval = 1; |
864 | 794 | ||
865 | _done: | 795 | _done: |
866 | spin_unlock_irqrestore(&s->lock, flags); | 796 | spin_unlock_irqrestore(&s->lock, flags); |
867 | return retval; | 797 | return retval; |
868 | } | 798 | } |
@@ -873,63 +803,35 @@ static int __devinit detect_sscape(struct soundscape *s, long wss_io) | |||
873 | * to crash the machine. Also check that someone isn't using the hardware | 803 | * to crash the machine. Also check that someone isn't using the hardware |
874 | * IOCTL device. | 804 | * IOCTL device. |
875 | */ | 805 | */ |
876 | static int mpu401_open(struct snd_mpu401 * mpu) | 806 | static int mpu401_open(struct snd_mpu401 *mpu) |
877 | { | 807 | { |
878 | int err; | ||
879 | |||
880 | if (!verify_mpu401(mpu)) { | 808 | if (!verify_mpu401(mpu)) { |
881 | snd_printk(KERN_ERR "sscape: MIDI disabled, please load firmware\n"); | 809 | snd_printk(KERN_ERR "sscape: MIDI disabled, " |
882 | err = -ENODEV; | 810 | "please load firmware\n"); |
883 | } else { | 811 | return -ENODEV; |
884 | register struct soundscape *sscape = get_mpu401_soundscape(mpu); | ||
885 | unsigned long flags; | ||
886 | |||
887 | spin_lock_irqsave(&sscape->fwlock, flags); | ||
888 | |||
889 | if (sscape->hw_in_use || (sscape->midi_usage == ULONG_MAX)) { | ||
890 | err = -EBUSY; | ||
891 | } else { | ||
892 | ++(sscape->midi_usage); | ||
893 | err = 0; | ||
894 | } | ||
895 | |||
896 | spin_unlock_irqrestore(&sscape->fwlock, flags); | ||
897 | } | 812 | } |
898 | 813 | ||
899 | return err; | 814 | return 0; |
900 | } | ||
901 | |||
902 | static void mpu401_close(struct snd_mpu401 * mpu) | ||
903 | { | ||
904 | register struct soundscape *sscape = get_mpu401_soundscape(mpu); | ||
905 | unsigned long flags; | ||
906 | |||
907 | spin_lock_irqsave(&sscape->fwlock, flags); | ||
908 | --(sscape->midi_usage); | ||
909 | spin_unlock_irqrestore(&sscape->fwlock, flags); | ||
910 | } | 815 | } |
911 | 816 | ||
912 | /* | 817 | /* |
913 | * Initialse an MPU-401 subdevice for MIDI support on the SoundScape. | 818 | * Initialse an MPU-401 subdevice for MIDI support on the SoundScape. |
914 | */ | 819 | */ |
915 | static int __devinit create_mpu401(struct snd_card *card, int devnum, unsigned long port, int irq) | 820 | static int __devinit create_mpu401(struct snd_card *card, int devnum, |
821 | unsigned long port, int irq) | ||
916 | { | 822 | { |
917 | struct soundscape *sscape = get_card_soundscape(card); | 823 | struct soundscape *sscape = get_card_soundscape(card); |
918 | struct snd_rawmidi *rawmidi; | 824 | struct snd_rawmidi *rawmidi; |
919 | int err; | 825 | int err; |
920 | 826 | ||
921 | if ((err = snd_mpu401_uart_new(card, devnum, | 827 | err = snd_mpu401_uart_new(card, devnum, MPU401_HW_MPU401, port, |
922 | MPU401_HW_MPU401, | 828 | MPU401_INFO_INTEGRATED, irq, IRQF_DISABLED, |
923 | port, MPU401_INFO_INTEGRATED, | 829 | &rawmidi); |
924 | irq, IRQF_DISABLED, | 830 | if (err == 0) { |
925 | &rawmidi)) == 0) { | 831 | struct snd_mpu401 *mpu = rawmidi->private_data; |
926 | struct snd_mpu401 *mpu = (struct snd_mpu401 *) rawmidi->private_data; | ||
927 | mpu->open_input = mpu401_open; | 832 | mpu->open_input = mpu401_open; |
928 | mpu->open_output = mpu401_open; | 833 | mpu->open_output = mpu401_open; |
929 | mpu->close_input = mpu401_close; | ||
930 | mpu->close_output = mpu401_close; | ||
931 | mpu->private_data = sscape; | 834 | mpu->private_data = sscape; |
932 | sscape->mpu = mpu; | ||
933 | 835 | ||
934 | initialise_mpu401(mpu); | 836 | initialise_mpu401(mpu); |
935 | } | 837 | } |
@@ -950,32 +852,34 @@ static int __devinit create_ad1845(struct snd_card *card, unsigned port, | |||
950 | register struct soundscape *sscape = get_card_soundscape(card); | 852 | register struct soundscape *sscape = get_card_soundscape(card); |
951 | struct snd_wss *chip; | 853 | struct snd_wss *chip; |
952 | int err; | 854 | int err; |
855 | int codec_type = WSS_HW_DETECT; | ||
953 | 856 | ||
954 | if (sscape->type == SSCAPE_VIVO) | 857 | switch (sscape->type) { |
955 | port += 4; | 858 | case MEDIA_FX: |
859 | case SSCAPE: | ||
860 | /* | ||
861 | * There are some freak examples of early Soundscape cards | ||
862 | * with CS4231 instead of AD1848/CS4248. Unfortunately, the | ||
863 | * CS4231 works only in CS4248 compatibility mode on | ||
864 | * these cards so force it. | ||
865 | */ | ||
866 | if (sscape->ic_type != IC_OPUS) | ||
867 | codec_type = WSS_HW_AD1848; | ||
868 | break; | ||
956 | 869 | ||
957 | if (dma1 == dma2) | 870 | case SSCAPE_VIVO: |
958 | dma2 = -1; | 871 | port += 4; |
872 | break; | ||
873 | default: | ||
874 | break; | ||
875 | } | ||
959 | 876 | ||
960 | err = snd_wss_create(card, port, -1, irq, dma1, dma2, | 877 | err = snd_wss_create(card, port, -1, irq, dma1, dma2, |
961 | WSS_HW_DETECT, WSS_HWSHARE_DMA1, &chip); | 878 | codec_type, WSS_HWSHARE_DMA1, &chip); |
962 | if (!err) { | 879 | if (!err) { |
963 | unsigned long flags; | 880 | unsigned long flags; |
964 | struct snd_pcm *pcm; | 881 | struct snd_pcm *pcm; |
965 | 882 | ||
966 | /* | ||
967 | * It turns out that the PLAYBACK_ENABLE bit is set | ||
968 | * by the lowlevel driver ... | ||
969 | * | ||
970 | #define AD1845_IFACE_CONFIG \ | ||
971 | (CS4231_AUTOCALIB | CS4231_RECORD_ENABLE | CS4231_PLAYBACK_ENABLE) | ||
972 | snd_wss_mce_up(chip); | ||
973 | spin_lock_irqsave(&chip->reg_lock, flags); | ||
974 | snd_wss_out(chip, CS4231_IFACE_CTRL, AD1845_IFACE_CONFIG); | ||
975 | spin_unlock_irqrestore(&chip->reg_lock, flags); | ||
976 | snd_wss_mce_down(chip); | ||
977 | */ | ||
978 | |||
979 | if (sscape->type != SSCAPE_VIVO) { | 883 | if (sscape->type != SSCAPE_VIVO) { |
980 | /* | 884 | /* |
981 | * The input clock frequency on the SoundScape must | 885 | * The input clock frequency on the SoundScape must |
@@ -1022,17 +926,10 @@ static int __devinit create_ad1845(struct snd_card *card, unsigned port, | |||
1022 | } | 926 | } |
1023 | } | 927 | } |
1024 | 928 | ||
1025 | strcpy(card->driver, "SoundScape"); | ||
1026 | strcpy(card->shortname, pcm->name); | ||
1027 | snprintf(card->longname, sizeof(card->longname), | ||
1028 | "%s at 0x%lx, IRQ %d, DMA1 %d, DMA2 %d\n", | ||
1029 | pcm->name, chip->port, chip->irq, | ||
1030 | chip->dma1, chip->dma2); | ||
1031 | |||
1032 | sscape->chip = chip; | 929 | sscape->chip = chip; |
1033 | } | 930 | } |
1034 | 931 | ||
1035 | _error: | 932 | _error: |
1036 | return err; | 933 | return err; |
1037 | } | 934 | } |
1038 | 935 | ||
@@ -1051,21 +948,8 @@ static int __devinit create_sscape(int dev, struct snd_card *card) | |||
1051 | struct resource *wss_res; | 948 | struct resource *wss_res; |
1052 | unsigned long flags; | 949 | unsigned long flags; |
1053 | int err; | 950 | int err; |
1054 | 951 | int val; | |
1055 | /* | 952 | const char *name; |
1056 | * Check that the user didn't pass us garbage data ... | ||
1057 | */ | ||
1058 | irq_cfg = get_irq_config(irq[dev]); | ||
1059 | if (irq_cfg == INVALID_IRQ) { | ||
1060 | snd_printk(KERN_ERR "sscape: Invalid IRQ %d\n", irq[dev]); | ||
1061 | return -ENXIO; | ||
1062 | } | ||
1063 | |||
1064 | mpu_irq_cfg = get_irq_config(mpu_irq[dev]); | ||
1065 | if (mpu_irq_cfg == INVALID_IRQ) { | ||
1066 | printk(KERN_ERR "sscape: Invalid IRQ %d\n", mpu_irq[dev]); | ||
1067 | return -ENXIO; | ||
1068 | } | ||
1069 | 953 | ||
1070 | /* | 954 | /* |
1071 | * Grab IO ports that we will need to probe so that we | 955 | * Grab IO ports that we will need to probe so that we |
@@ -1098,41 +982,51 @@ static int __devinit create_sscape(int dev, struct snd_card *card) | |||
1098 | } | 982 | } |
1099 | 983 | ||
1100 | spin_lock_init(&sscape->lock); | 984 | spin_lock_init(&sscape->lock); |
1101 | spin_lock_init(&sscape->fwlock); | ||
1102 | sscape->io_res = io_res; | 985 | sscape->io_res = io_res; |
1103 | sscape->wss_res = wss_res; | 986 | sscape->wss_res = wss_res; |
1104 | sscape->io_base = port[dev]; | 987 | sscape->io_base = port[dev]; |
1105 | 988 | ||
1106 | if (!detect_sscape(sscape, wss_port[dev])) { | 989 | if (!detect_sscape(sscape, wss_port[dev])) { |
1107 | printk(KERN_ERR "sscape: hardware not detected at 0x%x\n", sscape->io_base); | 990 | printk(KERN_ERR "sscape: hardware not detected at 0x%x\n", |
991 | sscape->io_base); | ||
1108 | err = -ENODEV; | 992 | err = -ENODEV; |
1109 | goto _release_dma; | 993 | goto _release_dma; |
1110 | } | 994 | } |
1111 | 995 | ||
1112 | printk(KERN_INFO "sscape: hardware detected at 0x%x, using IRQ %d, DMA %d\n", | 996 | switch (sscape->type) { |
1113 | sscape->io_base, irq[dev], dma[dev]); | 997 | case MEDIA_FX: |
998 | name = "MediaFX/SoundFX"; | ||
999 | break; | ||
1000 | case SSCAPE: | ||
1001 | name = "Soundscape"; | ||
1002 | break; | ||
1003 | case SSCAPE_PNP: | ||
1004 | name = "Soundscape PnP"; | ||
1005 | break; | ||
1006 | case SSCAPE_VIVO: | ||
1007 | name = "Soundscape VIVO"; | ||
1008 | break; | ||
1009 | default: | ||
1010 | name = "unknown Soundscape"; | ||
1011 | break; | ||
1012 | } | ||
1114 | 1013 | ||
1115 | if (sscape->type != SSCAPE_VIVO) { | 1014 | printk(KERN_INFO "sscape: %s card detected at 0x%x, using IRQ %d, DMA %d\n", |
1116 | /* | 1015 | name, sscape->io_base, irq[dev], dma[dev]); |
1117 | * Now create the hardware-specific device so that we can | 1016 | |
1118 | * load the microcode into the on-board processor. | 1017 | /* |
1119 | * We cannot use the MPU-401 MIDI system until this firmware | 1018 | * Check that the user didn't pass us garbage data ... |
1120 | * has been loaded into the card. | 1019 | */ |
1121 | */ | 1020 | irq_cfg = get_irq_config(sscape->type, irq[dev]); |
1122 | err = snd_hwdep_new(card, "MC68EC000", 0, &(sscape->hw)); | 1021 | if (irq_cfg == INVALID_IRQ) { |
1123 | if (err < 0) { | 1022 | snd_printk(KERN_ERR "sscape: Invalid IRQ %d\n", irq[dev]); |
1124 | printk(KERN_ERR "sscape: Failed to create " | 1023 | return -ENXIO; |
1125 | "firmware device\n"); | 1024 | } |
1126 | goto _release_dma; | 1025 | |
1127 | } | 1026 | mpu_irq_cfg = get_irq_config(sscape->type, mpu_irq[dev]); |
1128 | strlcpy(sscape->hw->name, "SoundScape M68K", | 1027 | if (mpu_irq_cfg == INVALID_IRQ) { |
1129 | sizeof(sscape->hw->name)); | 1028 | snd_printk(KERN_ERR "sscape: Invalid IRQ %d\n", mpu_irq[dev]); |
1130 | sscape->hw->name[sizeof(sscape->hw->name) - 1] = '\0'; | 1029 | return -ENXIO; |
1131 | sscape->hw->iface = SNDRV_HWDEP_IFACE_SSCAPE; | ||
1132 | sscape->hw->ops.open = sscape_hw_open; | ||
1133 | sscape->hw->ops.release = sscape_hw_release; | ||
1134 | sscape->hw->ops.ioctl = sscape_hw_ioctl; | ||
1135 | sscape->hw->private_data = sscape; | ||
1136 | } | 1030 | } |
1137 | 1031 | ||
1138 | /* | 1032 | /* |
@@ -1141,9 +1035,6 @@ static int __devinit create_sscape(int dev, struct snd_card *card) | |||
1141 | */ | 1035 | */ |
1142 | spin_lock_irqsave(&sscape->lock, flags); | 1036 | spin_lock_irqsave(&sscape->lock, flags); |
1143 | 1037 | ||
1144 | activate_ad1845_unsafe(sscape->io_base); | ||
1145 | |||
1146 | sscape_write_unsafe(sscape->io_base, GA_INTENA_REG, 0x00); /* disable */ | ||
1147 | sscape_write_unsafe(sscape->io_base, GA_SMCFGA_REG, 0x2e); | 1038 | sscape_write_unsafe(sscape->io_base, GA_SMCFGA_REG, 0x2e); |
1148 | sscape_write_unsafe(sscape->io_base, GA_SMCFGB_REG, 0x00); | 1039 | sscape_write_unsafe(sscape->io_base, GA_SMCFGB_REG, 0x00); |
1149 | 1040 | ||
@@ -1151,15 +1042,23 @@ static int __devinit create_sscape(int dev, struct snd_card *card) | |||
1151 | * Enable and configure the DMA channels ... | 1042 | * Enable and configure the DMA channels ... |
1152 | */ | 1043 | */ |
1153 | sscape_write_unsafe(sscape->io_base, GA_DMACFG_REG, 0x50); | 1044 | sscape_write_unsafe(sscape->io_base, GA_DMACFG_REG, 0x50); |
1154 | dma_cfg = (sscape->ic_type == IC_ODIE ? 0x70 : 0x40); | 1045 | dma_cfg = (sscape->ic_type == IC_OPUS ? 0x40 : 0x70); |
1155 | sscape_write_unsafe(sscape->io_base, GA_DMAA_REG, dma_cfg); | 1046 | sscape_write_unsafe(sscape->io_base, GA_DMAA_REG, dma_cfg); |
1156 | sscape_write_unsafe(sscape->io_base, GA_DMAB_REG, 0x20); | 1047 | sscape_write_unsafe(sscape->io_base, GA_DMAB_REG, 0x20); |
1157 | 1048 | ||
1158 | sscape_write_unsafe(sscape->io_base, | 1049 | mpu_irq_cfg |= mpu_irq_cfg << 2; |
1159 | GA_INTCFG_REG, 0xf0 | (mpu_irq_cfg << 2) | mpu_irq_cfg); | 1050 | val = sscape_read_unsafe(sscape->io_base, GA_HMCTL_REG) & 0xF7; |
1051 | if (joystick[dev]) | ||
1052 | val |= 8; | ||
1053 | sscape_write_unsafe(sscape->io_base, GA_HMCTL_REG, val | 0x10); | ||
1054 | sscape_write_unsafe(sscape->io_base, GA_INTCFG_REG, 0xf0 | mpu_irq_cfg); | ||
1160 | sscape_write_unsafe(sscape->io_base, | 1055 | sscape_write_unsafe(sscape->io_base, |
1161 | GA_CDCFG_REG, 0x09 | DMA_8BIT | 1056 | GA_CDCFG_REG, 0x09 | DMA_8BIT |
1162 | | (dma[dev] << 4) | (irq_cfg << 1)); | 1057 | | (dma[dev] << 4) | (irq_cfg << 1)); |
1058 | /* | ||
1059 | * Enable the master IRQ ... | ||
1060 | */ | ||
1061 | sscape_write_unsafe(sscape->io_base, GA_INTENA_REG, 0x80); | ||
1163 | 1062 | ||
1164 | spin_unlock_irqrestore(&sscape->lock, flags); | 1063 | spin_unlock_irqrestore(&sscape->lock, flags); |
1165 | 1064 | ||
@@ -1170,32 +1069,56 @@ static int __devinit create_sscape(int dev, struct snd_card *card) | |||
1170 | err = create_ad1845(card, wss_port[dev], irq[dev], | 1069 | err = create_ad1845(card, wss_port[dev], irq[dev], |
1171 | dma[dev], dma2[dev]); | 1070 | dma[dev], dma2[dev]); |
1172 | if (err < 0) { | 1071 | if (err < 0) { |
1173 | printk(KERN_ERR "sscape: No AD1845 device at 0x%lx, IRQ %d\n", | 1072 | snd_printk(KERN_ERR |
1174 | wss_port[dev], irq[dev]); | 1073 | "sscape: No AD1845 device at 0x%lx, IRQ %d\n", |
1074 | wss_port[dev], irq[dev]); | ||
1175 | goto _release_dma; | 1075 | goto _release_dma; |
1176 | } | 1076 | } |
1077 | strcpy(card->driver, "SoundScape"); | ||
1078 | strcpy(card->shortname, name); | ||
1079 | snprintf(card->longname, sizeof(card->longname), | ||
1080 | "%s at 0x%lx, IRQ %d, DMA1 %d, DMA2 %d\n", | ||
1081 | name, sscape->chip->port, sscape->chip->irq, | ||
1082 | sscape->chip->dma1, sscape->chip->dma2); | ||
1083 | |||
1177 | #define MIDI_DEVNUM 0 | 1084 | #define MIDI_DEVNUM 0 |
1178 | if (sscape->type != SSCAPE_VIVO) { | 1085 | if (sscape->type != SSCAPE_VIVO) { |
1179 | err = create_mpu401(card, MIDI_DEVNUM, port[dev], mpu_irq[dev]); | 1086 | err = sscape_upload_bootblock(card); |
1180 | if (err < 0) { | 1087 | if (err >= 0) |
1181 | printk(KERN_ERR "sscape: Failed to create " | 1088 | err = sscape_upload_microcode(card, err); |
1182 | "MPU-401 device at 0x%lx\n", | ||
1183 | port[dev]); | ||
1184 | goto _release_dma; | ||
1185 | } | ||
1186 | 1089 | ||
1187 | /* | 1090 | if (err == 0) { |
1188 | * Enable the master IRQ ... | 1091 | err = create_mpu401(card, MIDI_DEVNUM, port[dev], |
1189 | */ | 1092 | mpu_irq[dev]); |
1190 | sscape_write(sscape, GA_INTENA_REG, 0x80); | 1093 | if (err < 0) { |
1094 | snd_printk(KERN_ERR "sscape: Failed to create " | ||
1095 | "MPU-401 device at 0x%lx\n", | ||
1096 | port[dev]); | ||
1097 | goto _release_dma; | ||
1098 | } | ||
1191 | 1099 | ||
1192 | /* | 1100 | /* |
1193 | * Initialize mixer | 1101 | * Initialize mixer |
1194 | */ | 1102 | */ |
1195 | sscape->midi_vol = 0; | 1103 | spin_lock_irqsave(&sscape->lock, flags); |
1196 | host_write_ctrl_unsafe(sscape->io_base, CMD_SET_MIDI_VOL, 100); | 1104 | sscape->midi_vol = 0; |
1197 | host_write_ctrl_unsafe(sscape->io_base, 0, 100); | 1105 | host_write_ctrl_unsafe(sscape->io_base, |
1198 | host_write_ctrl_unsafe(sscape->io_base, CMD_XXX_MIDI_VOL, 100); | 1106 | CMD_SET_MIDI_VOL, 100); |
1107 | host_write_ctrl_unsafe(sscape->io_base, | ||
1108 | sscape->midi_vol, 100); | ||
1109 | host_write_ctrl_unsafe(sscape->io_base, | ||
1110 | CMD_XXX_MIDI_VOL, 100); | ||
1111 | host_write_ctrl_unsafe(sscape->io_base, | ||
1112 | sscape->midi_vol, 100); | ||
1113 | host_write_ctrl_unsafe(sscape->io_base, | ||
1114 | CMD_SET_EXTMIDI, 100); | ||
1115 | host_write_ctrl_unsafe(sscape->io_base, | ||
1116 | 0, 100); | ||
1117 | host_write_ctrl_unsafe(sscape->io_base, CMD_ACK, 100); | ||
1118 | |||
1119 | set_midi_mode_unsafe(sscape->io_base); | ||
1120 | spin_unlock_irqrestore(&sscape->lock, flags); | ||
1121 | } | ||
1199 | } | 1122 | } |
1200 | 1123 | ||
1201 | /* | 1124 | /* |
@@ -1231,7 +1154,8 @@ static int __devinit snd_sscape_match(struct device *pdev, unsigned int i) | |||
1231 | mpu_irq[i] == SNDRV_AUTO_IRQ || | 1154 | mpu_irq[i] == SNDRV_AUTO_IRQ || |
1232 | dma[i] == SNDRV_AUTO_DMA) { | 1155 | dma[i] == SNDRV_AUTO_DMA) { |
1233 | printk(KERN_INFO | 1156 | printk(KERN_INFO |
1234 | "sscape: insufficient parameters, need IO, IRQ, MPU-IRQ and DMA\n"); | 1157 | "sscape: insufficient parameters, " |
1158 | "need IO, IRQ, MPU-IRQ and DMA\n"); | ||
1235 | return 0; | 1159 | return 0; |
1236 | } | 1160 | } |
1237 | 1161 | ||
@@ -1253,13 +1177,15 @@ static int __devinit snd_sscape_probe(struct device *pdev, unsigned int dev) | |||
1253 | sscape->type = SSCAPE; | 1177 | sscape->type = SSCAPE; |
1254 | 1178 | ||
1255 | dma[dev] &= 0x03; | 1179 | dma[dev] &= 0x03; |
1180 | snd_card_set_dev(card, pdev); | ||
1181 | |||
1256 | ret = create_sscape(dev, card); | 1182 | ret = create_sscape(dev, card); |
1257 | if (ret < 0) | 1183 | if (ret < 0) |
1258 | goto _release_card; | 1184 | goto _release_card; |
1259 | 1185 | ||
1260 | snd_card_set_dev(card, pdev); | 1186 | ret = snd_card_register(card); |
1261 | if ((ret = snd_card_register(card)) < 0) { | 1187 | if (ret < 0) { |
1262 | printk(KERN_ERR "sscape: Failed to register sound card\n"); | 1188 | snd_printk(KERN_ERR "sscape: Failed to register sound card\n"); |
1263 | goto _release_card; | 1189 | goto _release_card; |
1264 | } | 1190 | } |
1265 | dev_set_drvdata(pdev, card); | 1191 | dev_set_drvdata(pdev, card); |
@@ -1311,36 +1237,20 @@ static int __devinit sscape_pnp_detect(struct pnp_card_link *pcard, | |||
1311 | * Allow this function to fail *quietly* if all the ISA PnP | 1237 | * Allow this function to fail *quietly* if all the ISA PnP |
1312 | * devices were configured using module parameters instead. | 1238 | * devices were configured using module parameters instead. |
1313 | */ | 1239 | */ |
1314 | if ((idx = get_next_autoindex(idx)) >= SNDRV_CARDS) | 1240 | idx = get_next_autoindex(idx); |
1241 | if (idx >= SNDRV_CARDS) | ||
1315 | return -ENOSPC; | 1242 | return -ENOSPC; |
1316 | 1243 | ||
1317 | /* | 1244 | /* |
1318 | * We have found a candidate ISA PnP card. Now we | ||
1319 | * have to check that it has the devices that we | ||
1320 | * expect it to have. | ||
1321 | * | ||
1322 | * We will NOT try and autoconfigure all of the resources | ||
1323 | * needed and then activate the card as we are assuming that | ||
1324 | * has already been done at boot-time using /proc/isapnp. | ||
1325 | * We shall simply try to give each active card the resources | ||
1326 | * that it wants. This is a sensible strategy for a modular | ||
1327 | * system where unused modules are unloaded regularly. | ||
1328 | * | ||
1329 | * This strategy is utterly useless if we compile the driver | ||
1330 | * into the kernel, of course. | ||
1331 | */ | ||
1332 | // printk(KERN_INFO "sscape: %s\n", card->name); | ||
1333 | |||
1334 | /* | ||
1335 | * Check that we still have room for another sound card ... | 1245 | * Check that we still have room for another sound card ... |
1336 | */ | 1246 | */ |
1337 | dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); | 1247 | dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); |
1338 | if (! dev) | 1248 | if (!dev) |
1339 | return -ENODEV; | 1249 | return -ENODEV; |
1340 | 1250 | ||
1341 | if (!pnp_is_active(dev)) { | 1251 | if (!pnp_is_active(dev)) { |
1342 | if (pnp_activate_dev(dev) < 0) { | 1252 | if (pnp_activate_dev(dev) < 0) { |
1343 | printk(KERN_INFO "sscape: device is inactive\n"); | 1253 | snd_printk(KERN_INFO "sscape: device is inactive\n"); |
1344 | return -EBUSY; | 1254 | return -EBUSY; |
1345 | } | 1255 | } |
1346 | } | 1256 | } |
@@ -1378,14 +1288,15 @@ static int __devinit sscape_pnp_detect(struct pnp_card_link *pcard, | |||
1378 | wss_port[idx] = pnp_port_start(dev, 1); | 1288 | wss_port[idx] = pnp_port_start(dev, 1); |
1379 | dma2[idx] = pnp_dma(dev, 1); | 1289 | dma2[idx] = pnp_dma(dev, 1); |
1380 | } | 1290 | } |
1291 | snd_card_set_dev(card, &pcard->card->dev); | ||
1381 | 1292 | ||
1382 | ret = create_sscape(idx, card); | 1293 | ret = create_sscape(idx, card); |
1383 | if (ret < 0) | 1294 | if (ret < 0) |
1384 | goto _release_card; | 1295 | goto _release_card; |
1385 | 1296 | ||
1386 | snd_card_set_dev(card, &pcard->card->dev); | 1297 | ret = snd_card_register(card); |
1387 | if ((ret = snd_card_register(card)) < 0) { | 1298 | if (ret < 0) { |
1388 | printk(KERN_ERR "sscape: Failed to register sound card\n"); | 1299 | snd_printk(KERN_ERR "sscape: Failed to register sound card\n"); |
1389 | goto _release_card; | 1300 | goto _release_card; |
1390 | } | 1301 | } |
1391 | 1302 | ||
diff --git a/sound/isa/wss/wss_lib.c b/sound/isa/wss/wss_lib.c index 5d2ba1b749ab..2ba18978b419 100644 --- a/sound/isa/wss/wss_lib.c +++ b/sound/isa/wss/wss_lib.c | |||
@@ -2198,84 +2198,61 @@ EXPORT_SYMBOL(snd_wss_put_double); | |||
2198 | static const DECLARE_TLV_DB_SCALE(db_scale_6bit, -9450, 150, 0); | 2198 | static const DECLARE_TLV_DB_SCALE(db_scale_6bit, -9450, 150, 0); |
2199 | static const DECLARE_TLV_DB_SCALE(db_scale_5bit_12db_max, -3450, 150, 0); | 2199 | static const DECLARE_TLV_DB_SCALE(db_scale_5bit_12db_max, -3450, 150, 0); |
2200 | static const DECLARE_TLV_DB_SCALE(db_scale_rec_gain, 0, 150, 0); | 2200 | static const DECLARE_TLV_DB_SCALE(db_scale_rec_gain, 0, 150, 0); |
2201 | static const DECLARE_TLV_DB_SCALE(db_scale_4bit, -4500, 300, 0); | ||
2201 | 2202 | ||
2202 | static struct snd_kcontrol_new snd_ad1848_controls[] = { | 2203 | static struct snd_kcontrol_new snd_wss_controls[] = { |
2203 | WSS_DOUBLE("PCM Playback Switch", 0, CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, | 2204 | WSS_DOUBLE("PCM Playback Switch", 0, |
2204 | 7, 7, 1, 1), | 2205 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), |
2205 | WSS_DOUBLE_TLV("PCM Playback Volume", 0, | 2206 | WSS_DOUBLE_TLV("PCM Playback Volume", 0, |
2206 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 0, 0, 63, 1, | 2207 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 0, 0, 63, 1, |
2207 | db_scale_6bit), | 2208 | db_scale_6bit), |
2208 | WSS_DOUBLE("Aux Playback Switch", 0, | 2209 | WSS_DOUBLE("Aux Playback Switch", 0, |
2209 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 7, 7, 1, 1), | 2210 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 7, 7, 1, 1), |
2210 | WSS_DOUBLE_TLV("Aux Playback Volume", 0, | 2211 | WSS_DOUBLE_TLV("Aux Playback Volume", 0, |
2211 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 0, 0, 31, 1, | 2212 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 0, 0, 31, 1, |
2212 | db_scale_5bit_12db_max), | 2213 | db_scale_5bit_12db_max), |
2213 | WSS_DOUBLE("Aux Playback Switch", 1, | 2214 | WSS_DOUBLE("Aux Playback Switch", 1, |
2214 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 7, 7, 1, 1), | 2215 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 7, 7, 1, 1), |
2215 | WSS_DOUBLE_TLV("Aux Playback Volume", 1, | 2216 | WSS_DOUBLE_TLV("Aux Playback Volume", 1, |
2216 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 0, 0, 31, 1, | 2217 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 0, 0, 31, 1, |
2217 | db_scale_5bit_12db_max), | 2218 | db_scale_5bit_12db_max), |
2218 | WSS_DOUBLE_TLV("Capture Volume", 0, CS4231_LEFT_INPUT, CS4231_RIGHT_INPUT, | 2219 | WSS_DOUBLE_TLV("Capture Volume", 0, CS4231_LEFT_INPUT, CS4231_RIGHT_INPUT, |
2219 | 0, 0, 15, 0, db_scale_rec_gain), | 2220 | 0, 0, 15, 0, db_scale_rec_gain), |
2220 | { | 2221 | { |
2221 | .name = "Capture Source", | ||
2222 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 2222 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
2223 | .name = "Capture Source", | ||
2223 | .info = snd_wss_info_mux, | 2224 | .info = snd_wss_info_mux, |
2224 | .get = snd_wss_get_mux, | 2225 | .get = snd_wss_get_mux, |
2225 | .put = snd_wss_put_mux, | 2226 | .put = snd_wss_put_mux, |
2226 | }, | 2227 | }, |
2227 | WSS_SINGLE("Loopback Capture Switch", 0, CS4231_LOOPBACK, 0, 1, 0), | 2228 | WSS_DOUBLE("Mic Boost", 0, |
2228 | WSS_SINGLE_TLV("Loopback Capture Volume", 0, CS4231_LOOPBACK, 1, 63, 0, | 2229 | CS4231_LEFT_INPUT, CS4231_RIGHT_INPUT, 5, 5, 1, 0), |
2229 | db_scale_6bit), | 2230 | WSS_SINGLE("Loopback Capture Switch", 0, |
2230 | }; | 2231 | CS4231_LOOPBACK, 0, 1, 0), |
2231 | 2232 | WSS_SINGLE_TLV("Loopback Capture Volume", 0, CS4231_LOOPBACK, 2, 63, 1, | |
2232 | static struct snd_kcontrol_new snd_wss_controls[] = { | 2233 | db_scale_6bit), |
2233 | WSS_DOUBLE("PCM Playback Switch", 0, | ||
2234 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), | ||
2235 | WSS_DOUBLE("PCM Playback Volume", 0, | ||
2236 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 0, 0, 63, 1), | ||
2237 | WSS_DOUBLE("Line Playback Switch", 0, | 2234 | WSS_DOUBLE("Line Playback Switch", 0, |
2238 | CS4231_LEFT_LINE_IN, CS4231_RIGHT_LINE_IN, 7, 7, 1, 1), | 2235 | CS4231_LEFT_LINE_IN, CS4231_RIGHT_LINE_IN, 7, 7, 1, 1), |
2239 | WSS_DOUBLE("Line Playback Volume", 0, | 2236 | WSS_DOUBLE_TLV("Line Playback Volume", 0, |
2240 | CS4231_LEFT_LINE_IN, CS4231_RIGHT_LINE_IN, 0, 0, 31, 1), | 2237 | CS4231_LEFT_LINE_IN, CS4231_RIGHT_LINE_IN, 0, 0, 31, 1, |
2241 | WSS_DOUBLE("Aux Playback Switch", 0, | 2238 | db_scale_5bit_12db_max), |
2242 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 7, 7, 1, 1), | ||
2243 | WSS_DOUBLE("Aux Playback Volume", 0, | ||
2244 | CS4231_AUX1_LEFT_INPUT, CS4231_AUX1_RIGHT_INPUT, 0, 0, 31, 1), | ||
2245 | WSS_DOUBLE("Aux Playback Switch", 1, | ||
2246 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 7, 7, 1, 1), | ||
2247 | WSS_DOUBLE("Aux Playback Volume", 1, | ||
2248 | CS4231_AUX2_LEFT_INPUT, CS4231_AUX2_RIGHT_INPUT, 0, 0, 31, 1), | ||
2249 | WSS_SINGLE("Mono Playback Switch", 0, | 2239 | WSS_SINGLE("Mono Playback Switch", 0, |
2250 | CS4231_MONO_CTRL, 7, 1, 1), | 2240 | CS4231_MONO_CTRL, 7, 1, 1), |
2251 | WSS_SINGLE("Mono Playback Volume", 0, | 2241 | WSS_SINGLE_TLV("Mono Playback Volume", 0, |
2252 | CS4231_MONO_CTRL, 0, 15, 1), | 2242 | CS4231_MONO_CTRL, 0, 15, 1, |
2243 | db_scale_4bit), | ||
2253 | WSS_SINGLE("Mono Output Playback Switch", 0, | 2244 | WSS_SINGLE("Mono Output Playback Switch", 0, |
2254 | CS4231_MONO_CTRL, 6, 1, 1), | 2245 | CS4231_MONO_CTRL, 6, 1, 1), |
2255 | WSS_SINGLE("Mono Output Playback Bypass", 0, | 2246 | WSS_SINGLE("Mono Output Playback Bypass", 0, |
2256 | CS4231_MONO_CTRL, 5, 1, 0), | 2247 | CS4231_MONO_CTRL, 5, 1, 0), |
2257 | WSS_DOUBLE("Capture Volume", 0, | ||
2258 | CS4231_LEFT_INPUT, CS4231_RIGHT_INPUT, 0, 0, 15, 0), | ||
2259 | { | ||
2260 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | ||
2261 | .name = "Capture Source", | ||
2262 | .info = snd_wss_info_mux, | ||
2263 | .get = snd_wss_get_mux, | ||
2264 | .put = snd_wss_put_mux, | ||
2265 | }, | ||
2266 | WSS_DOUBLE("Mic Boost", 0, | ||
2267 | CS4231_LEFT_INPUT, CS4231_RIGHT_INPUT, 5, 5, 1, 0), | ||
2268 | WSS_SINGLE("Loopback Capture Switch", 0, | ||
2269 | CS4231_LOOPBACK, 0, 1, 0), | ||
2270 | WSS_SINGLE("Loopback Capture Volume", 0, | ||
2271 | CS4231_LOOPBACK, 2, 63, 1) | ||
2272 | }; | 2248 | }; |
2273 | 2249 | ||
2274 | static struct snd_kcontrol_new snd_opti93x_controls[] = { | 2250 | static struct snd_kcontrol_new snd_opti93x_controls[] = { |
2275 | WSS_DOUBLE("Master Playback Switch", 0, | 2251 | WSS_DOUBLE("Master Playback Switch", 0, |
2276 | OPTi93X_OUT_LEFT, OPTi93X_OUT_RIGHT, 7, 7, 1, 1), | 2252 | OPTi93X_OUT_LEFT, OPTi93X_OUT_RIGHT, 7, 7, 1, 1), |
2277 | WSS_DOUBLE("Master Playback Volume", 0, | 2253 | WSS_DOUBLE_TLV("Master Playback Volume", 0, |
2278 | OPTi93X_OUT_LEFT, OPTi93X_OUT_RIGHT, 1, 1, 31, 1), | 2254 | OPTi93X_OUT_LEFT, OPTi93X_OUT_RIGHT, 1, 1, 31, 1, |
2255 | db_scale_6bit), | ||
2279 | WSS_DOUBLE("PCM Playback Switch", 0, | 2256 | WSS_DOUBLE("PCM Playback Switch", 0, |
2280 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), | 2257 | CS4231_LEFT_OUTPUT, CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), |
2281 | WSS_DOUBLE("PCM Playback Volume", 0, | 2258 | WSS_DOUBLE("PCM Playback Volume", 0, |
@@ -2334,22 +2311,21 @@ int snd_wss_mixer(struct snd_wss *chip) | |||
2334 | if (err < 0) | 2311 | if (err < 0) |
2335 | return err; | 2312 | return err; |
2336 | } | 2313 | } |
2337 | else if (chip->hardware & WSS_HW_AD1848_MASK) | 2314 | else { |
2338 | for (idx = 0; idx < ARRAY_SIZE(snd_ad1848_controls); idx++) { | 2315 | int count = ARRAY_SIZE(snd_wss_controls); |
2339 | err = snd_ctl_add(card, | 2316 | |
2340 | snd_ctl_new1(&snd_ad1848_controls[idx], | 2317 | /* Use only the first 11 entries on AD1848 */ |
2341 | chip)); | 2318 | if (chip->hardware & WSS_HW_AD1848_MASK) |
2342 | if (err < 0) | 2319 | count = 11; |
2343 | return err; | 2320 | |
2344 | } | 2321 | for (idx = 0; idx < count; idx++) { |
2345 | else | ||
2346 | for (idx = 0; idx < ARRAY_SIZE(snd_wss_controls); idx++) { | ||
2347 | err = snd_ctl_add(card, | 2322 | err = snd_ctl_add(card, |
2348 | snd_ctl_new1(&snd_wss_controls[idx], | 2323 | snd_ctl_new1(&snd_wss_controls[idx], |
2349 | chip)); | 2324 | chip)); |
2350 | if (err < 0) | 2325 | if (err < 0) |
2351 | return err; | 2326 | return err; |
2352 | } | 2327 | } |
2328 | } | ||
2353 | return 0; | 2329 | return 0; |
2354 | } | 2330 | } |
2355 | EXPORT_SYMBOL(snd_wss_mixer); | 2331 | EXPORT_SYMBOL(snd_wss_mixer); |
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig index bcf2a0698d54..135a2b77cc4a 100644 --- a/sound/oss/Kconfig +++ b/sound/oss/Kconfig | |||
@@ -287,18 +287,6 @@ config SOUND_DMAP | |||
287 | 287 | ||
288 | Say Y unless you have 16MB or more RAM or a PCI sound card. | 288 | Say Y unless you have 16MB or more RAM or a PCI sound card. |
289 | 289 | ||
290 | config SOUND_SSCAPE | ||
291 | tristate "Ensoniq SoundScape support" | ||
292 | help | ||
293 | Answer Y if you have a sound card based on the Ensoniq SoundScape | ||
294 | chipset. Such cards are being manufactured at least by Ensoniq, Spea | ||
295 | and Reveal (Reveal makes also other cards). | ||
296 | |||
297 | If you compile the driver into the kernel, you have to add | ||
298 | "sscape=<io>,<irq>,<dma>,<mpuio>,<mpuirq>" to the kernel command | ||
299 | line. | ||
300 | |||
301 | |||
302 | config SOUND_VMIDI | 290 | config SOUND_VMIDI |
303 | tristate "Loopback MIDI device support" | 291 | tristate "Loopback MIDI device support" |
304 | help | 292 | help |
diff --git a/sound/oss/Makefile b/sound/oss/Makefile index e0ae4d4d6a5c..567b8a74178a 100644 --- a/sound/oss/Makefile +++ b/sound/oss/Makefile | |||
@@ -13,7 +13,6 @@ obj-$(CONFIG_SOUND_SH_DAC_AUDIO) += sh_dac_audio.o | |||
13 | obj-$(CONFIG_SOUND_AEDSP16) += aedsp16.o | 13 | obj-$(CONFIG_SOUND_AEDSP16) += aedsp16.o |
14 | obj-$(CONFIG_SOUND_PSS) += pss.o ad1848.o mpu401.o | 14 | obj-$(CONFIG_SOUND_PSS) += pss.o ad1848.o mpu401.o |
15 | obj-$(CONFIG_SOUND_TRIX) += trix.o ad1848.o sb_lib.o uart401.o | 15 | obj-$(CONFIG_SOUND_TRIX) += trix.o ad1848.o sb_lib.o uart401.o |
16 | obj-$(CONFIG_SOUND_SSCAPE) += sscape.o ad1848.o mpu401.o | ||
17 | obj-$(CONFIG_SOUND_MSS) += ad1848.o | 16 | obj-$(CONFIG_SOUND_MSS) += ad1848.o |
18 | obj-$(CONFIG_SOUND_PAS) += pas2.o sb.o sb_lib.o uart401.o | 17 | obj-$(CONFIG_SOUND_PAS) += pas2.o sb.o sb_lib.o uart401.o |
19 | obj-$(CONFIG_SOUND_SB) += sb.o sb_lib.o uart401.o | 18 | obj-$(CONFIG_SOUND_SB) += sb.o sb_lib.o uart401.o |
diff --git a/sound/oss/hex2hex.c b/sound/oss/hex2hex.c index 5460faae98c9..041ef5c52bc2 100644 --- a/sound/oss/hex2hex.c +++ b/sound/oss/hex2hex.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #define MAX_SIZE (256*1024) | 12 | #define MAX_SIZE (256*1024) |
13 | unsigned char buf[MAX_SIZE]; | 13 | unsigned char buf[MAX_SIZE]; |
14 | 14 | ||
15 | int loadhex(FILE *inf, unsigned char *buf) | 15 | static int loadhex(FILE *inf, unsigned char *buf) |
16 | { | 16 | { |
17 | int l=0, c, i; | 17 | int l=0, c, i; |
18 | 18 | ||
diff --git a/sound/oss/sh_dac_audio.c b/sound/oss/sh_dac_audio.c index b2ed8757542a..4153752507e3 100644 --- a/sound/oss/sh_dac_audio.c +++ b/sound/oss/sh_dac_audio.c | |||
@@ -164,9 +164,6 @@ static ssize_t dac_audio_write(struct file *file, const char *buf, size_t count, | |||
164 | int free; | 164 | int free; |
165 | int nbytes; | 165 | int nbytes; |
166 | 166 | ||
167 | if (count < 0) | ||
168 | return -EINVAL; | ||
169 | |||
170 | if (!count) { | 167 | if (!count) { |
171 | dac_audio_sync(); | 168 | dac_audio_sync(); |
172 | return 0; | 169 | return 0; |
diff --git a/sound/oss/sscape.c b/sound/oss/sscape.c deleted file mode 100644 index 30c36d1f35d7..000000000000 --- a/sound/oss/sscape.c +++ /dev/null | |||
@@ -1,1480 +0,0 @@ | |||
1 | /* | ||
2 | * sound/oss/sscape.c | ||
3 | * | ||
4 | * Low level driver for Ensoniq SoundScape | ||
5 | * | ||
6 | * | ||
7 | * Copyright (C) by Hannu Savolainen 1993-1997 | ||
8 | * | ||
9 | * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) | ||
10 | * Version 2 (June 1991). See the "COPYING" file distributed with this software | ||
11 | * for more info. | ||
12 | * | ||
13 | * | ||
14 | * Thomas Sailer : ioctl code reworked (vmalloc/vfree removed) | ||
15 | * Sergey Smitienko : ensoniq p'n'p support | ||
16 | * Christoph Hellwig : adapted to module_init/module_exit | ||
17 | * Bartlomiej Zolnierkiewicz : added __init to attach_sscape() | ||
18 | * Chris Rankin : Specify that this module owns the coprocessor | ||
19 | * Arnaldo C. de Melo : added missing restore_flags in sscape_pnp_upload_file | ||
20 | */ | ||
21 | |||
22 | #include <linux/init.h> | ||
23 | #include <linux/module.h> | ||
24 | |||
25 | #include "sound_config.h" | ||
26 | #include "sound_firmware.h" | ||
27 | |||
28 | #include <linux/types.h> | ||
29 | #include <linux/errno.h> | ||
30 | #include <linux/signal.h> | ||
31 | #include <linux/fcntl.h> | ||
32 | #include <linux/ctype.h> | ||
33 | #include <linux/stddef.h> | ||
34 | #include <linux/kmod.h> | ||
35 | #include <asm/dma.h> | ||
36 | #include <asm/io.h> | ||
37 | #include <linux/wait.h> | ||
38 | #include <linux/slab.h> | ||
39 | #include <linux/ioport.h> | ||
40 | #include <linux/delay.h> | ||
41 | #include <linux/proc_fs.h> | ||
42 | #include <linux/mm.h> | ||
43 | #include <linux/spinlock.h> | ||
44 | |||
45 | #include "coproc.h" | ||
46 | |||
47 | #include "ad1848.h" | ||
48 | #include "mpu401.h" | ||
49 | |||
50 | /* | ||
51 | * I/O ports | ||
52 | */ | ||
53 | #define MIDI_DATA 0 | ||
54 | #define MIDI_CTRL 1 | ||
55 | #define HOST_CTRL 2 | ||
56 | #define TX_READY 0x02 | ||
57 | #define RX_READY 0x01 | ||
58 | #define HOST_DATA 3 | ||
59 | #define ODIE_ADDR 4 | ||
60 | #define ODIE_DATA 5 | ||
61 | |||
62 | /* | ||
63 | * Indirect registers | ||
64 | */ | ||
65 | |||
66 | #define GA_INTSTAT_REG 0 | ||
67 | #define GA_INTENA_REG 1 | ||
68 | #define GA_DMAA_REG 2 | ||
69 | #define GA_DMAB_REG 3 | ||
70 | #define GA_INTCFG_REG 4 | ||
71 | #define GA_DMACFG_REG 5 | ||
72 | #define GA_CDCFG_REG 6 | ||
73 | #define GA_SMCFGA_REG 7 | ||
74 | #define GA_SMCFGB_REG 8 | ||
75 | #define GA_HMCTL_REG 9 | ||
76 | |||
77 | /* | ||
78 | * DMA channel identifiers (A and B) | ||
79 | */ | ||
80 | |||
81 | #define SSCAPE_DMA_A 0 | ||
82 | #define SSCAPE_DMA_B 1 | ||
83 | |||
84 | #define PORT(name) (devc->base+name) | ||
85 | |||
86 | /* | ||
87 | * Host commands recognized by the OBP microcode | ||
88 | */ | ||
89 | |||
90 | #define CMD_GEN_HOST_ACK 0x80 | ||
91 | #define CMD_GEN_MPU_ACK 0x81 | ||
92 | #define CMD_GET_BOARD_TYPE 0x82 | ||
93 | #define CMD_SET_CONTROL 0x88 /* Old firmware only */ | ||
94 | #define CMD_GET_CONTROL 0x89 /* Old firmware only */ | ||
95 | #define CTL_MASTER_VOL 0 | ||
96 | #define CTL_MIC_MODE 2 | ||
97 | #define CTL_SYNTH_VOL 4 | ||
98 | #define CTL_WAVE_VOL 7 | ||
99 | #define CMD_SET_EXTMIDI 0x8a | ||
100 | #define CMD_GET_EXTMIDI 0x8b | ||
101 | #define CMD_SET_MT32 0x8c | ||
102 | #define CMD_GET_MT32 0x8d | ||
103 | |||
104 | #define CMD_ACK 0x80 | ||
105 | |||
106 | #define IC_ODIE 1 | ||
107 | #define IC_OPUS 2 | ||
108 | |||
109 | typedef struct sscape_info | ||
110 | { | ||
111 | int base, irq, dma; | ||
112 | |||
113 | int codec, codec_irq; /* required to setup pnp cards*/ | ||
114 | int codec_type; | ||
115 | int ic_type; | ||
116 | char* raw_buf; | ||
117 | unsigned long raw_buf_phys; | ||
118 | int buffsize; /* -------------------------- */ | ||
119 | spinlock_t lock; | ||
120 | int ok; /* Properly detected */ | ||
121 | int failed; | ||
122 | int dma_allocated; | ||
123 | int codec_audiodev; | ||
124 | int opened; | ||
125 | int *osp; | ||
126 | int my_audiodev; | ||
127 | } sscape_info; | ||
128 | |||
129 | static struct sscape_info adev_info = { | ||
130 | 0 | ||
131 | }; | ||
132 | |||
133 | static struct sscape_info *devc = &adev_info; | ||
134 | static int sscape_mididev = -1; | ||
135 | |||
136 | /* Some older cards have assigned interrupt bits differently than new ones */ | ||
137 | static char valid_interrupts_old[] = { | ||
138 | 9, 7, 5, 15 | ||
139 | }; | ||
140 | |||
141 | static char valid_interrupts_new[] = { | ||
142 | 9, 5, 7, 10 | ||
143 | }; | ||
144 | |||
145 | static char *valid_interrupts = valid_interrupts_new; | ||
146 | |||
147 | /* | ||
148 | * See the bottom of the driver. This can be set by spea =0/1. | ||
149 | */ | ||
150 | |||
151 | #ifdef REVEAL_SPEA | ||
152 | static char old_hardware = 1; | ||
153 | #else | ||
154 | static char old_hardware; | ||
155 | #endif | ||
156 | |||
157 | static void sleep(unsigned howlong) | ||
158 | { | ||
159 | current->state = TASK_INTERRUPTIBLE; | ||
160 | schedule_timeout(howlong); | ||
161 | } | ||
162 | |||
163 | static unsigned char sscape_read(struct sscape_info *devc, int reg) | ||
164 | { | ||
165 | unsigned long flags; | ||
166 | unsigned char val; | ||
167 | |||
168 | spin_lock_irqsave(&devc->lock,flags); | ||
169 | outb(reg, PORT(ODIE_ADDR)); | ||
170 | val = inb(PORT(ODIE_DATA)); | ||
171 | spin_unlock_irqrestore(&devc->lock,flags); | ||
172 | return val; | ||
173 | } | ||
174 | |||
175 | static void __sscape_write(int reg, int data) | ||
176 | { | ||
177 | outb(reg, PORT(ODIE_ADDR)); | ||
178 | outb(data, PORT(ODIE_DATA)); | ||
179 | } | ||
180 | |||
181 | static void sscape_write(struct sscape_info *devc, int reg, int data) | ||
182 | { | ||
183 | unsigned long flags; | ||
184 | |||
185 | spin_lock_irqsave(&devc->lock,flags); | ||
186 | __sscape_write(reg, data); | ||
187 | spin_unlock_irqrestore(&devc->lock,flags); | ||
188 | } | ||
189 | |||
190 | static unsigned char sscape_pnp_read_codec(sscape_info* devc, unsigned char reg) | ||
191 | { | ||
192 | unsigned char res; | ||
193 | unsigned long flags; | ||
194 | |||
195 | spin_lock_irqsave(&devc->lock,flags); | ||
196 | outb( reg, devc -> codec); | ||
197 | res = inb (devc -> codec + 1); | ||
198 | spin_unlock_irqrestore(&devc->lock,flags); | ||
199 | return res; | ||
200 | |||
201 | } | ||
202 | |||
203 | static void sscape_pnp_write_codec(sscape_info* devc, unsigned char reg, unsigned char data) | ||
204 | { | ||
205 | unsigned long flags; | ||
206 | |||
207 | spin_lock_irqsave(&devc->lock,flags); | ||
208 | outb( reg, devc -> codec); | ||
209 | outb( data, devc -> codec + 1); | ||
210 | spin_unlock_irqrestore(&devc->lock,flags); | ||
211 | } | ||
212 | |||
213 | static void host_open(struct sscape_info *devc) | ||
214 | { | ||
215 | outb((0x00), PORT(HOST_CTRL)); /* Put the board to the host mode */ | ||
216 | } | ||
217 | |||
218 | static void host_close(struct sscape_info *devc) | ||
219 | { | ||
220 | outb((0x03), PORT(HOST_CTRL)); /* Put the board to the MIDI mode */ | ||
221 | } | ||
222 | |||
223 | static int host_write(struct sscape_info *devc, unsigned char *data, int count) | ||
224 | { | ||
225 | unsigned long flags; | ||
226 | int i, timeout_val; | ||
227 | |||
228 | spin_lock_irqsave(&devc->lock,flags); | ||
229 | /* | ||
230 | * Send the command and data bytes | ||
231 | */ | ||
232 | |||
233 | for (i = 0; i < count; i++) | ||
234 | { | ||
235 | for (timeout_val = 10000; timeout_val > 0; timeout_val--) | ||
236 | if (inb(PORT(HOST_CTRL)) & TX_READY) | ||
237 | break; | ||
238 | |||
239 | if (timeout_val <= 0) | ||
240 | { | ||
241 | spin_unlock_irqrestore(&devc->lock,flags); | ||
242 | return 0; | ||
243 | } | ||
244 | outb(data[i], PORT(HOST_DATA)); | ||
245 | } | ||
246 | spin_unlock_irqrestore(&devc->lock,flags); | ||
247 | return 1; | ||
248 | } | ||
249 | |||
250 | static int host_read(struct sscape_info *devc) | ||
251 | { | ||
252 | unsigned long flags; | ||
253 | int timeout_val; | ||
254 | unsigned char data; | ||
255 | |||
256 | spin_lock_irqsave(&devc->lock,flags); | ||
257 | /* | ||
258 | * Read a byte | ||
259 | */ | ||
260 | |||
261 | for (timeout_val = 10000; timeout_val > 0; timeout_val--) | ||
262 | if (inb(PORT(HOST_CTRL)) & RX_READY) | ||
263 | break; | ||
264 | |||
265 | if (timeout_val <= 0) | ||
266 | { | ||
267 | spin_unlock_irqrestore(&devc->lock,flags); | ||
268 | return -1; | ||
269 | } | ||
270 | data = inb(PORT(HOST_DATA)); | ||
271 | spin_unlock_irqrestore(&devc->lock,flags); | ||
272 | return data; | ||
273 | } | ||
274 | |||
275 | #if 0 /* unused */ | ||
276 | static int host_command1(struct sscape_info *devc, int cmd) | ||
277 | { | ||
278 | unsigned char buf[10]; | ||
279 | buf[0] = (unsigned char) (cmd & 0xff); | ||
280 | return host_write(devc, buf, 1); | ||
281 | } | ||
282 | #endif /* unused */ | ||
283 | |||
284 | |||
285 | static int host_command2(struct sscape_info *devc, int cmd, int parm1) | ||
286 | { | ||
287 | unsigned char buf[10]; | ||
288 | |||
289 | buf[0] = (unsigned char) (cmd & 0xff); | ||
290 | buf[1] = (unsigned char) (parm1 & 0xff); | ||
291 | |||
292 | return host_write(devc, buf, 2); | ||
293 | } | ||
294 | |||
295 | static int host_command3(struct sscape_info *devc, int cmd, int parm1, int parm2) | ||
296 | { | ||
297 | unsigned char buf[10]; | ||
298 | |||
299 | buf[0] = (unsigned char) (cmd & 0xff); | ||
300 | buf[1] = (unsigned char) (parm1 & 0xff); | ||
301 | buf[2] = (unsigned char) (parm2 & 0xff); | ||
302 | return host_write(devc, buf, 3); | ||
303 | } | ||
304 | |||
305 | static void set_mt32(struct sscape_info *devc, int value) | ||
306 | { | ||
307 | host_open(devc); | ||
308 | host_command2(devc, CMD_SET_MT32, value ? 1 : 0); | ||
309 | if (host_read(devc) != CMD_ACK) | ||
310 | { | ||
311 | /* printk( "SNDSCAPE: Setting MT32 mode failed\n"); */ | ||
312 | } | ||
313 | host_close(devc); | ||
314 | } | ||
315 | |||
316 | static void set_control(struct sscape_info *devc, int ctrl, int value) | ||
317 | { | ||
318 | host_open(devc); | ||
319 | host_command3(devc, CMD_SET_CONTROL, ctrl, value); | ||
320 | if (host_read(devc) != CMD_ACK) | ||
321 | { | ||
322 | /* printk( "SNDSCAPE: Setting control (%d) failed\n", ctrl); */ | ||
323 | } | ||
324 | host_close(devc); | ||
325 | } | ||
326 | |||
327 | static void do_dma(struct sscape_info *devc, int dma_chan, unsigned long buf, int blk_size, int mode) | ||
328 | { | ||
329 | unsigned char temp; | ||
330 | |||
331 | if (dma_chan != SSCAPE_DMA_A) | ||
332 | { | ||
333 | printk(KERN_WARNING "soundscape: Tried to use DMA channel != A. Why?\n"); | ||
334 | return; | ||
335 | } | ||
336 | audio_devs[devc->codec_audiodev]->flags &= ~DMA_AUTOMODE; | ||
337 | DMAbuf_start_dma(devc->codec_audiodev, buf, blk_size, mode); | ||
338 | audio_devs[devc->codec_audiodev]->flags |= DMA_AUTOMODE; | ||
339 | |||
340 | temp = devc->dma << 4; /* Setup DMA channel select bits */ | ||
341 | if (devc->dma <= 3) | ||
342 | temp |= 0x80; /* 8 bit DMA channel */ | ||
343 | |||
344 | temp |= 1; /* Trigger DMA */ | ||
345 | sscape_write(devc, GA_DMAA_REG, temp); | ||
346 | temp &= 0xfe; /* Clear DMA trigger */ | ||
347 | sscape_write(devc, GA_DMAA_REG, temp); | ||
348 | } | ||
349 | |||
350 | static int verify_mpu(struct sscape_info *devc) | ||
351 | { | ||
352 | /* | ||
353 | * The SoundScape board could be in three modes (MPU, 8250 and host). | ||
354 | * If the card is not in the MPU mode, enabling the MPU driver will | ||
355 | * cause infinite loop (the driver believes that there is always some | ||
356 | * received data in the buffer. | ||
357 | * | ||
358 | * Detect this by looking if there are more than 10 received MIDI bytes | ||
359 | * (0x00) in the buffer. | ||
360 | */ | ||
361 | |||
362 | int i; | ||
363 | |||
364 | for (i = 0; i < 10; i++) | ||
365 | { | ||
366 | if (inb(devc->base + HOST_CTRL) & 0x80) | ||
367 | return 1; | ||
368 | |||
369 | if (inb(devc->base) != 0x00) | ||
370 | return 1; | ||
371 | } | ||
372 | printk(KERN_WARNING "SoundScape: The device is not in the MPU-401 mode\n"); | ||
373 | return 0; | ||
374 | } | ||
375 | |||
376 | static int sscape_coproc_open(void *dev_info, int sub_device) | ||
377 | { | ||
378 | if (sub_device == COPR_MIDI) | ||
379 | { | ||
380 | set_mt32(devc, 0); | ||
381 | if (!verify_mpu(devc)) | ||
382 | return -EIO; | ||
383 | } | ||
384 | return 0; | ||
385 | } | ||
386 | |||
387 | static void sscape_coproc_close(void *dev_info, int sub_device) | ||
388 | { | ||
389 | struct sscape_info *devc = dev_info; | ||
390 | unsigned long flags; | ||
391 | |||
392 | spin_lock_irqsave(&devc->lock,flags); | ||
393 | if (devc->dma_allocated) | ||
394 | { | ||
395 | __sscape_write(GA_DMAA_REG, 0x20); /* DMA channel disabled */ | ||
396 | devc->dma_allocated = 0; | ||
397 | } | ||
398 | spin_unlock_irqrestore(&devc->lock,flags); | ||
399 | return; | ||
400 | } | ||
401 | |||
402 | static void sscape_coproc_reset(void *dev_info) | ||
403 | { | ||
404 | } | ||
405 | |||
406 | static int sscape_download_boot(struct sscape_info *devc, unsigned char *block, int size, int flag) | ||
407 | { | ||
408 | unsigned long flags; | ||
409 | unsigned char temp; | ||
410 | volatile int done, timeout_val; | ||
411 | static unsigned char codec_dma_bits; | ||
412 | |||
413 | if (flag & CPF_FIRST) | ||
414 | { | ||
415 | /* | ||
416 | * First block. Have to allocate DMA and to reset the board | ||
417 | * before continuing. | ||
418 | */ | ||
419 | |||
420 | spin_lock_irqsave(&devc->lock,flags); | ||
421 | codec_dma_bits = sscape_read(devc, GA_CDCFG_REG); | ||
422 | |||
423 | if (devc->dma_allocated == 0) | ||
424 | devc->dma_allocated = 1; | ||
425 | |||
426 | spin_unlock_irqrestore(&devc->lock,flags); | ||
427 | |||
428 | sscape_write(devc, GA_HMCTL_REG, | ||
429 | (temp = sscape_read(devc, GA_HMCTL_REG)) & 0x3f); /*Reset */ | ||
430 | |||
431 | for (timeout_val = 10000; timeout_val > 0; timeout_val--) | ||
432 | sscape_read(devc, GA_HMCTL_REG); /* Delay */ | ||
433 | |||
434 | /* Take board out of reset */ | ||
435 | sscape_write(devc, GA_HMCTL_REG, | ||
436 | (temp = sscape_read(devc, GA_HMCTL_REG)) | 0x80); | ||
437 | } | ||
438 | /* | ||
439 | * Transfer one code block using DMA | ||
440 | */ | ||
441 | if (audio_devs[devc->codec_audiodev]->dmap_out->raw_buf == NULL) | ||
442 | { | ||
443 | printk(KERN_WARNING "soundscape: DMA buffer not available\n"); | ||
444 | return 0; | ||
445 | } | ||
446 | memcpy(audio_devs[devc->codec_audiodev]->dmap_out->raw_buf, block, size); | ||
447 | |||
448 | spin_lock_irqsave(&devc->lock,flags); | ||
449 | |||
450 | /******** INTERRUPTS DISABLED NOW ********/ | ||
451 | |||
452 | do_dma(devc, SSCAPE_DMA_A, | ||
453 | audio_devs[devc->codec_audiodev]->dmap_out->raw_buf_phys, | ||
454 | size, DMA_MODE_WRITE); | ||
455 | |||
456 | /* | ||
457 | * Wait until transfer completes. | ||
458 | */ | ||
459 | |||
460 | done = 0; | ||
461 | timeout_val = 30; | ||
462 | while (!done && timeout_val-- > 0) | ||
463 | { | ||
464 | int resid; | ||
465 | |||
466 | if (HZ / 50) | ||
467 | sleep(HZ / 50); | ||
468 | clear_dma_ff(devc->dma); | ||
469 | if ((resid = get_dma_residue(devc->dma)) == 0) | ||
470 | done = 1; | ||
471 | } | ||
472 | |||
473 | spin_unlock_irqrestore(&devc->lock,flags); | ||
474 | if (!done) | ||
475 | return 0; | ||
476 | |||
477 | if (flag & CPF_LAST) | ||
478 | { | ||
479 | /* | ||
480 | * Take the board out of reset | ||
481 | */ | ||
482 | outb((0x00), PORT(HOST_CTRL)); | ||
483 | outb((0x00), PORT(MIDI_CTRL)); | ||
484 | |||
485 | temp = sscape_read(devc, GA_HMCTL_REG); | ||
486 | temp |= 0x40; | ||
487 | sscape_write(devc, GA_HMCTL_REG, temp); /* Kickstart the board */ | ||
488 | |||
489 | /* | ||
490 | * Wait until the ODB wakes up | ||
491 | */ | ||
492 | spin_lock_irqsave(&devc->lock,flags); | ||
493 | done = 0; | ||
494 | timeout_val = 5 * HZ; | ||
495 | while (!done && timeout_val-- > 0) | ||
496 | { | ||
497 | unsigned char x; | ||
498 | |||
499 | sleep(1); | ||
500 | x = inb(PORT(HOST_DATA)); | ||
501 | if (x == 0xff || x == 0xfe) /* OBP startup acknowledge */ | ||
502 | { | ||
503 | DDB(printk("Soundscape: Acknowledge = %x\n", x)); | ||
504 | done = 1; | ||
505 | } | ||
506 | } | ||
507 | sscape_write(devc, GA_CDCFG_REG, codec_dma_bits); | ||
508 | |||
509 | spin_unlock_irqrestore(&devc->lock,flags); | ||
510 | if (!done) | ||
511 | { | ||
512 | printk(KERN_ERR "soundscape: The OBP didn't respond after code download\n"); | ||
513 | return 0; | ||
514 | } | ||
515 | spin_lock_irqsave(&devc->lock,flags); | ||
516 | done = 0; | ||
517 | timeout_val = 5 * HZ; | ||
518 | while (!done && timeout_val-- > 0) | ||
519 | { | ||
520 | sleep(1); | ||
521 | if (inb(PORT(HOST_DATA)) == 0xfe) /* Host startup acknowledge */ | ||
522 | done = 1; | ||
523 | } | ||
524 | spin_unlock_irqrestore(&devc->lock,flags); | ||
525 | if (!done) | ||
526 | { | ||
527 | printk(KERN_ERR "soundscape: OBP Initialization failed.\n"); | ||
528 | return 0; | ||
529 | } | ||
530 | printk(KERN_INFO "SoundScape board initialized OK\n"); | ||
531 | set_control(devc, CTL_MASTER_VOL, 100); | ||
532 | set_control(devc, CTL_SYNTH_VOL, 100); | ||
533 | |||
534 | #ifdef SSCAPE_DEBUG3 | ||
535 | /* | ||
536 | * Temporary debugging aid. Print contents of the registers after | ||
537 | * downloading the code. | ||
538 | */ | ||
539 | { | ||
540 | int i; | ||
541 | |||
542 | for (i = 0; i < 13; i++) | ||
543 | printk("I%d = %02x (new value)\n", i, sscape_read(devc, i)); | ||
544 | } | ||
545 | #endif | ||
546 | |||
547 | } | ||
548 | return 1; | ||
549 | } | ||
550 | |||
551 | static int download_boot_block(void *dev_info, copr_buffer * buf) | ||
552 | { | ||
553 | if (buf->len <= 0 || buf->len > sizeof(buf->data)) | ||
554 | return -EINVAL; | ||
555 | |||
556 | if (!sscape_download_boot(devc, buf->data, buf->len, buf->flags)) | ||
557 | { | ||
558 | printk(KERN_ERR "soundscape: Unable to load microcode block to the OBP.\n"); | ||
559 | return -EIO; | ||
560 | } | ||
561 | return 0; | ||
562 | } | ||
563 | |||
564 | static int sscape_coproc_ioctl(void *dev_info, unsigned int cmd, void __user *arg, int local) | ||
565 | { | ||
566 | copr_buffer *buf; | ||
567 | int err; | ||
568 | |||
569 | switch (cmd) | ||
570 | { | ||
571 | case SNDCTL_COPR_RESET: | ||
572 | sscape_coproc_reset(dev_info); | ||
573 | return 0; | ||
574 | |||
575 | case SNDCTL_COPR_LOAD: | ||
576 | buf = (copr_buffer *) vmalloc(sizeof(copr_buffer)); | ||
577 | if (buf == NULL) | ||
578 | return -ENOSPC; | ||
579 | if (copy_from_user(buf, arg, sizeof(copr_buffer))) | ||
580 | { | ||
581 | vfree(buf); | ||
582 | return -EFAULT; | ||
583 | } | ||
584 | err = download_boot_block(dev_info, buf); | ||
585 | vfree(buf); | ||
586 | return err; | ||
587 | |||
588 | default: | ||
589 | return -EINVAL; | ||
590 | } | ||
591 | } | ||
592 | |||
593 | static coproc_operations sscape_coproc_operations = | ||
594 | { | ||
595 | "SoundScape M68K", | ||
596 | THIS_MODULE, | ||
597 | sscape_coproc_open, | ||
598 | sscape_coproc_close, | ||
599 | sscape_coproc_ioctl, | ||
600 | sscape_coproc_reset, | ||
601 | &adev_info | ||
602 | }; | ||
603 | |||
604 | static struct resource *sscape_ports; | ||
605 | static int sscape_is_pnp; | ||
606 | |||
607 | static void __init attach_sscape(struct address_info *hw_config) | ||
608 | { | ||
609 | #ifndef SSCAPE_REGS | ||
610 | /* | ||
611 | * Config register values for Spea/V7 Media FX and Ensoniq S-2000. | ||
612 | * These values are card | ||
613 | * dependent. If you have another SoundScape based card, you have to | ||
614 | * find the correct values. Do the following: | ||
615 | * - Compile this driver with SSCAPE_DEBUG1 defined. | ||
616 | * - Shut down and power off your machine. | ||
617 | * - Boot with DOS so that the SSINIT.EXE program is run. | ||
618 | * - Warm boot to {Linux|SYSV|BSD} and write down the lines displayed | ||
619 | * when detecting the SoundScape. | ||
620 | * - Modify the following list to use the values printed during boot. | ||
621 | * Undefine the SSCAPE_DEBUG1 | ||
622 | */ | ||
623 | #define SSCAPE_REGS { \ | ||
624 | /* I0 */ 0x00, \ | ||
625 | /* I1 */ 0xf0, /* Note! Ignored. Set always to 0xf0 */ \ | ||
626 | /* I2 */ 0x20, /* Note! Ignored. Set always to 0x20 */ \ | ||
627 | /* I3 */ 0x20, /* Note! Ignored. Set always to 0x20 */ \ | ||
628 | /* I4 */ 0xf5, /* Ignored */ \ | ||
629 | /* I5 */ 0x10, \ | ||
630 | /* I6 */ 0x00, \ | ||
631 | /* I7 */ 0x2e, /* I7 MEM config A. Likely to vary between models */ \ | ||
632 | /* I8 */ 0x00, /* I8 MEM config B. Likely to vary between models */ \ | ||
633 | /* I9 */ 0x40 /* Ignored */ \ | ||
634 | } | ||
635 | #endif | ||
636 | |||
637 | unsigned long flags; | ||
638 | static unsigned char regs[10] = SSCAPE_REGS; | ||
639 | |||
640 | int i, irq_bits = 0xff; | ||
641 | |||
642 | if (old_hardware) | ||
643 | { | ||
644 | valid_interrupts = valid_interrupts_old; | ||
645 | conf_printf("Ensoniq SoundScape (old)", hw_config); | ||
646 | } | ||
647 | else | ||
648 | conf_printf("Ensoniq SoundScape", hw_config); | ||
649 | |||
650 | for (i = 0; i < 4; i++) | ||
651 | { | ||
652 | if (hw_config->irq == valid_interrupts[i]) | ||
653 | { | ||
654 | irq_bits = i; | ||
655 | break; | ||
656 | } | ||
657 | } | ||
658 | if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) | ||
659 | { | ||
660 | printk(KERN_ERR "Invalid IRQ%d\n", hw_config->irq); | ||
661 | release_region(devc->base, 2); | ||
662 | release_region(devc->base + 2, 6); | ||
663 | if (sscape_is_pnp) | ||
664 | release_region(devc->codec, 2); | ||
665 | return; | ||
666 | } | ||
667 | |||
668 | if (!sscape_is_pnp) { | ||
669 | |||
670 | spin_lock_irqsave(&devc->lock,flags); | ||
671 | /* Host interrupt enable */ | ||
672 | sscape_write(devc, 1, 0xf0); /* All interrupts enabled */ | ||
673 | /* DMA A status/trigger register */ | ||
674 | sscape_write(devc, 2, 0x20); /* DMA channel disabled */ | ||
675 | /* DMA B status/trigger register */ | ||
676 | sscape_write(devc, 3, 0x20); /* DMA channel disabled */ | ||
677 | /* Host interrupt config reg */ | ||
678 | sscape_write(devc, 4, 0xf0 | (irq_bits << 2) | irq_bits); | ||
679 | /* Don't destroy CD-ROM DMA config bits (0xc0) */ | ||
680 | sscape_write(devc, 5, (regs[5] & 0x3f) | (sscape_read(devc, 5) & 0xc0)); | ||
681 | /* CD-ROM config (WSS codec actually) */ | ||
682 | sscape_write(devc, 6, regs[6]); | ||
683 | sscape_write(devc, 7, regs[7]); | ||
684 | sscape_write(devc, 8, regs[8]); | ||
685 | /* Master control reg. Don't modify CR-ROM bits. Disable SB emul */ | ||
686 | sscape_write(devc, 9, (sscape_read(devc, 9) & 0xf0) | 0x08); | ||
687 | spin_unlock_irqrestore(&devc->lock,flags); | ||
688 | } | ||
689 | #ifdef SSCAPE_DEBUG2 | ||
690 | /* | ||
691 | * Temporary debugging aid. Print contents of the registers after | ||
692 | * changing them. | ||
693 | */ | ||
694 | { | ||
695 | int i; | ||
696 | |||
697 | for (i = 0; i < 13; i++) | ||
698 | printk("I%d = %02x (new value)\n", i, sscape_read(devc, i)); | ||
699 | } | ||
700 | #endif | ||
701 | |||
702 | if (probe_mpu401(hw_config, sscape_ports)) | ||
703 | hw_config->always_detect = 1; | ||
704 | hw_config->name = "SoundScape"; | ||
705 | |||
706 | hw_config->irq *= -1; /* Negative value signals IRQ sharing */ | ||
707 | attach_mpu401(hw_config, THIS_MODULE); | ||
708 | hw_config->irq *= -1; /* Restore it */ | ||
709 | |||
710 | if (hw_config->slots[1] != -1) /* The MPU driver installed itself */ | ||
711 | { | ||
712 | sscape_mididev = hw_config->slots[1]; | ||
713 | midi_devs[hw_config->slots[1]]->coproc = &sscape_coproc_operations; | ||
714 | } | ||
715 | sscape_write(devc, GA_INTENA_REG, 0x80); /* Master IRQ enable */ | ||
716 | devc->ok = 1; | ||
717 | devc->failed = 0; | ||
718 | } | ||
719 | |||
720 | static int detect_ga(sscape_info * devc) | ||
721 | { | ||
722 | unsigned char save; | ||
723 | |||
724 | DDB(printk("Entered Soundscape detect_ga(%x)\n", devc->base)); | ||
725 | |||
726 | /* | ||
727 | * First check that the address register of "ODIE" is | ||
728 | * there and that it has exactly 4 writable bits. | ||
729 | * First 4 bits | ||
730 | */ | ||
731 | |||
732 | if ((save = inb(PORT(ODIE_ADDR))) & 0xf0) | ||
733 | { | ||
734 | DDB(printk("soundscape: Detect error A\n")); | ||
735 | return 0; | ||
736 | } | ||
737 | outb((0x00), PORT(ODIE_ADDR)); | ||
738 | if (inb(PORT(ODIE_ADDR)) != 0x00) | ||
739 | { | ||
740 | DDB(printk("soundscape: Detect error B\n")); | ||
741 | return 0; | ||
742 | } | ||
743 | outb((0xff), PORT(ODIE_ADDR)); | ||
744 | if (inb(PORT(ODIE_ADDR)) != 0x0f) | ||
745 | { | ||
746 | DDB(printk("soundscape: Detect error C\n")); | ||
747 | return 0; | ||
748 | } | ||
749 | outb((save), PORT(ODIE_ADDR)); | ||
750 | |||
751 | /* | ||
752 | * Now verify that some indirect registers return zero on some bits. | ||
753 | * This may break the driver with some future revisions of "ODIE" but... | ||
754 | */ | ||
755 | |||
756 | if (sscape_read(devc, 0) & 0x0c) | ||
757 | { | ||
758 | DDB(printk("soundscape: Detect error D (%x)\n", sscape_read(devc, 0))); | ||
759 | return 0; | ||
760 | } | ||
761 | if (sscape_read(devc, 1) & 0x0f) | ||
762 | { | ||
763 | DDB(printk("soundscape: Detect error E\n")); | ||
764 | return 0; | ||
765 | } | ||
766 | if (sscape_read(devc, 5) & 0x0f) | ||
767 | { | ||
768 | DDB(printk("soundscape: Detect error F\n")); | ||
769 | return 0; | ||
770 | } | ||
771 | return 1; | ||
772 | } | ||
773 | |||
774 | static int sscape_read_host_ctrl(sscape_info* devc) | ||
775 | { | ||
776 | return host_read(devc); | ||
777 | } | ||
778 | |||
779 | static void sscape_write_host_ctrl2(sscape_info *devc, int a, int b) | ||
780 | { | ||
781 | host_command2(devc, a, b); | ||
782 | } | ||
783 | |||
784 | static int sscape_alloc_dma(sscape_info *devc) | ||
785 | { | ||
786 | char *start_addr, *end_addr; | ||
787 | int dma_pagesize; | ||
788 | int sz, size; | ||
789 | struct page *page; | ||
790 | |||
791 | if (devc->raw_buf != NULL) return 0; /* Already done */ | ||
792 | dma_pagesize = (devc->dma < 4) ? (64 * 1024) : (128 * 1024); | ||
793 | devc->raw_buf = NULL; | ||
794 | devc->buffsize = 8192*4; | ||
795 | if (devc->buffsize > dma_pagesize) devc->buffsize = dma_pagesize; | ||
796 | start_addr = NULL; | ||
797 | /* | ||
798 | * Now loop until we get a free buffer. Try to get smaller buffer if | ||
799 | * it fails. Don't accept smaller than 8k buffer for performance | ||
800 | * reasons. | ||
801 | */ | ||
802 | while (start_addr == NULL && devc->buffsize > PAGE_SIZE) { | ||
803 | for (sz = 0, size = PAGE_SIZE; size < devc->buffsize; sz++, size <<= 1); | ||
804 | devc->buffsize = PAGE_SIZE * (1 << sz); | ||
805 | start_addr = (char *) __get_free_pages(GFP_ATOMIC|GFP_DMA, sz); | ||
806 | if (start_addr == NULL) devc->buffsize /= 2; | ||
807 | } | ||
808 | |||
809 | if (start_addr == NULL) { | ||
810 | printk(KERN_ERR "sscape pnp init error: Couldn't allocate DMA buffer\n"); | ||
811 | return 0; | ||
812 | } else { | ||
813 | /* make some checks */ | ||
814 | end_addr = start_addr + devc->buffsize - 1; | ||
815 | /* now check if it fits into the same dma-pagesize */ | ||
816 | |||
817 | if (((long) start_addr & ~(dma_pagesize - 1)) != ((long) end_addr & ~(dma_pagesize - 1)) | ||
818 | || end_addr >= (char *) (MAX_DMA_ADDRESS)) { | ||
819 | printk(KERN_ERR "sscape pnp: Got invalid address 0x%lx for %db DMA-buffer\n", (long) start_addr, devc->buffsize); | ||
820 | return 0; | ||
821 | } | ||
822 | } | ||
823 | devc->raw_buf = start_addr; | ||
824 | devc->raw_buf_phys = virt_to_bus(start_addr); | ||
825 | |||
826 | for (page = virt_to_page(start_addr); page <= virt_to_page(end_addr); page++) | ||
827 | SetPageReserved(page); | ||
828 | return 1; | ||
829 | } | ||
830 | |||
831 | static void sscape_free_dma(sscape_info *devc) | ||
832 | { | ||
833 | int sz, size; | ||
834 | unsigned long start_addr, end_addr; | ||
835 | struct page *page; | ||
836 | |||
837 | if (devc->raw_buf == NULL) return; | ||
838 | for (sz = 0, size = PAGE_SIZE; size < devc->buffsize; sz++, size <<= 1); | ||
839 | start_addr = (unsigned long) devc->raw_buf; | ||
840 | end_addr = start_addr + devc->buffsize; | ||
841 | |||
842 | for (page = virt_to_page(start_addr); page <= virt_to_page(end_addr); page++) | ||
843 | ClearPageReserved(page); | ||
844 | |||
845 | free_pages((unsigned long) devc->raw_buf, sz); | ||
846 | devc->raw_buf = NULL; | ||
847 | } | ||
848 | |||
849 | /* Intel version !!!!!!!!! */ | ||
850 | |||
851 | static int sscape_start_dma(int chan, unsigned long physaddr, int count, int dma_mode) | ||
852 | { | ||
853 | unsigned long flags; | ||
854 | |||
855 | flags = claim_dma_lock(); | ||
856 | disable_dma(chan); | ||
857 | clear_dma_ff(chan); | ||
858 | set_dma_mode(chan, dma_mode); | ||
859 | set_dma_addr(chan, physaddr); | ||
860 | set_dma_count(chan, count); | ||
861 | enable_dma(chan); | ||
862 | release_dma_lock(flags); | ||
863 | return 0; | ||
864 | } | ||
865 | |||
866 | static void sscape_pnp_start_dma(sscape_info* devc, int arg ) | ||
867 | { | ||
868 | int reg; | ||
869 | if (arg == 0) reg = 2; | ||
870 | else reg = 3; | ||
871 | |||
872 | sscape_write(devc, reg, sscape_read( devc, reg) | 0x01); | ||
873 | sscape_write(devc, reg, sscape_read( devc, reg) & 0xFE); | ||
874 | } | ||
875 | |||
876 | static int sscape_pnp_wait_dma (sscape_info* devc, int arg ) | ||
877 | { | ||
878 | int reg; | ||
879 | unsigned long i; | ||
880 | unsigned char d; | ||
881 | |||
882 | if (arg == 0) reg = 2; | ||
883 | else reg = 3; | ||
884 | |||
885 | sleep ( 1 ); | ||
886 | i = 0; | ||
887 | do { | ||
888 | d = sscape_read(devc, reg) & 1; | ||
889 | if ( d == 1) break; | ||
890 | i++; | ||
891 | } while (i < 500000); | ||
892 | d = sscape_read(devc, reg) & 1; | ||
893 | return d; | ||
894 | } | ||
895 | |||
896 | static int sscape_pnp_alloc_dma(sscape_info* devc) | ||
897 | { | ||
898 | /* printk(KERN_INFO "sscape: requesting dma\n"); */ | ||
899 | if (request_dma(devc -> dma, "sscape")) return 0; | ||
900 | /* printk(KERN_INFO "sscape: dma channel allocated\n"); */ | ||
901 | if (!sscape_alloc_dma(devc)) { | ||
902 | free_dma(devc -> dma); | ||
903 | return 0; | ||
904 | }; | ||
905 | return 1; | ||
906 | } | ||
907 | |||
908 | static void sscape_pnp_free_dma(sscape_info* devc) | ||
909 | { | ||
910 | sscape_free_dma( devc); | ||
911 | free_dma(devc -> dma ); | ||
912 | /* printk(KERN_INFO "sscape: dma released\n"); */ | ||
913 | } | ||
914 | |||
915 | static int sscape_pnp_upload_file(sscape_info* devc, char* fn) | ||
916 | { | ||
917 | int done = 0; | ||
918 | int timeout_val; | ||
919 | char* data,*dt; | ||
920 | int len,l; | ||
921 | unsigned long flags; | ||
922 | |||
923 | sscape_write( devc, 9, sscape_read(devc, 9 ) & 0x3F ); | ||
924 | sscape_write( devc, 2, (devc -> dma << 4) | 0x80 ); | ||
925 | sscape_write( devc, 3, 0x20 ); | ||
926 | sscape_write( devc, 9, sscape_read( devc, 9 ) | 0x80 ); | ||
927 | |||
928 | len = mod_firmware_load(fn, &data); | ||
929 | if (len == 0) { | ||
930 | printk(KERN_ERR "sscape: file not found: %s\n", fn); | ||
931 | return 0; | ||
932 | } | ||
933 | dt = data; | ||
934 | spin_lock_irqsave(&devc->lock,flags); | ||
935 | while ( len > 0 ) { | ||
936 | if (len > devc -> buffsize) l = devc->buffsize; | ||
937 | else l = len; | ||
938 | len -= l; | ||
939 | memcpy(devc->raw_buf, dt, l); dt += l; | ||
940 | sscape_start_dma(devc->dma, devc->raw_buf_phys, l, 0x48); | ||
941 | sscape_pnp_start_dma ( devc, 0 ); | ||
942 | if (sscape_pnp_wait_dma ( devc, 0 ) == 0) { | ||
943 | spin_unlock_irqrestore(&devc->lock,flags); | ||
944 | return 0; | ||
945 | } | ||
946 | } | ||
947 | |||
948 | spin_unlock_irqrestore(&devc->lock,flags); | ||
949 | vfree(data); | ||
950 | |||
951 | outb(0, devc -> base + 2); | ||
952 | outb(0, devc -> base); | ||
953 | |||
954 | sscape_write ( devc, 9, sscape_read( devc, 9 ) | 0x40); | ||
955 | |||
956 | timeout_val = 5 * HZ; | ||
957 | while (!done && timeout_val-- > 0) | ||
958 | { | ||
959 | unsigned char x; | ||
960 | sleep(1); | ||
961 | x = inb( devc -> base + 3); | ||
962 | if (x == 0xff || x == 0xfe) /* OBP startup acknowledge */ | ||
963 | { | ||
964 | //printk(KERN_ERR "Soundscape: Acknowledge = %x\n", x); | ||
965 | done = 1; | ||
966 | } | ||
967 | } | ||
968 | timeout_val = 5 * HZ; | ||
969 | done = 0; | ||
970 | while (!done && timeout_val-- > 0) | ||
971 | { | ||
972 | unsigned char x; | ||
973 | sleep(1); | ||
974 | x = inb( devc -> base + 3); | ||
975 | if (x == 0xfe) /* OBP startup acknowledge */ | ||
976 | { | ||
977 | //printk(KERN_ERR "Soundscape: Acknowledge = %x\n", x); | ||
978 | done = 1; | ||
979 | } | ||
980 | } | ||
981 | |||
982 | if ( !done ) printk(KERN_ERR "soundscape: OBP Initialization failed.\n"); | ||
983 | |||
984 | sscape_write( devc, 2, devc->ic_type == IC_ODIE ? 0x70 : 0x40); | ||
985 | sscape_write( devc, 3, (devc -> dma << 4) + 0x80); | ||
986 | return 1; | ||
987 | } | ||
988 | |||
989 | static void __init sscape_pnp_init_hw(sscape_info* devc) | ||
990 | { | ||
991 | unsigned char midi_irq = 0, sb_irq = 0; | ||
992 | unsigned i; | ||
993 | static char code_file_name[23] = "/sndscape/sndscape.cox"; | ||
994 | |||
995 | int sscape_joystic_enable = 0x7f; | ||
996 | int sscape_mic_enable = 0; | ||
997 | int sscape_ext_midi = 0; | ||
998 | |||
999 | if ( !sscape_pnp_alloc_dma(devc) ) { | ||
1000 | printk(KERN_ERR "sscape: faild to allocate dma\n"); | ||
1001 | return; | ||
1002 | } | ||
1003 | |||
1004 | for (i = 0; i < 4; i++) { | ||
1005 | if ( devc -> irq == valid_interrupts[i] ) | ||
1006 | midi_irq = i; | ||
1007 | if ( devc -> codec_irq == valid_interrupts[i] ) | ||
1008 | sb_irq = i; | ||
1009 | } | ||
1010 | |||
1011 | sscape_write( devc, 5, 0x50); | ||
1012 | sscape_write( devc, 7, 0x2e); | ||
1013 | sscape_write( devc, 8, 0x00); | ||
1014 | |||
1015 | sscape_write( devc, 2, devc->ic_type == IC_ODIE ? 0x70 : 0x40); | ||
1016 | sscape_write( devc, 3, ( devc -> dma << 4) | 0x80); | ||
1017 | |||
1018 | sscape_write (devc, 4, 0xF0 | (midi_irq<<2) | midi_irq); | ||
1019 | |||
1020 | i = 0x10; //sscape_read(devc, 9) & (devc->ic_type == IC_ODIE ? 0xf0 : 0xc0); | ||
1021 | if (sscape_joystic_enable) i |= 8; | ||
1022 | |||
1023 | sscape_write (devc, 9, i); | ||
1024 | sscape_write (devc, 6, 0x80); | ||
1025 | sscape_write (devc, 1, 0x80); | ||
1026 | |||
1027 | if (devc -> codec_type == 2) { | ||
1028 | sscape_pnp_write_codec( devc, 0x0C, 0x50); | ||
1029 | sscape_pnp_write_codec( devc, 0x10, sscape_pnp_read_codec( devc, 0x10) & 0x3F); | ||
1030 | sscape_pnp_write_codec( devc, 0x11, sscape_pnp_read_codec( devc, 0x11) | 0xC0); | ||
1031 | sscape_pnp_write_codec( devc, 29, 0x20); | ||
1032 | } | ||
1033 | |||
1034 | if (sscape_pnp_upload_file(devc, "/sndscape/scope.cod") == 0 ) { | ||
1035 | printk(KERN_ERR "sscape: faild to upload file /sndscape/scope.cod\n"); | ||
1036 | sscape_pnp_free_dma(devc); | ||
1037 | return; | ||
1038 | } | ||
1039 | |||
1040 | i = sscape_read_host_ctrl( devc ); | ||
1041 | |||
1042 | if ( (i & 0x0F) > 7 ) { | ||
1043 | printk(KERN_ERR "sscape: scope.cod faild\n"); | ||
1044 | sscape_pnp_free_dma(devc); | ||
1045 | return; | ||
1046 | } | ||
1047 | if ( i & 0x10 ) sscape_write( devc, 7, 0x2F); | ||
1048 | code_file_name[21] = (char) ( i & 0x0F) + 0x30; | ||
1049 | if (sscape_pnp_upload_file( devc, code_file_name) == 0) { | ||
1050 | printk(KERN_ERR "sscape: faild to upload file %s\n", code_file_name); | ||
1051 | sscape_pnp_free_dma(devc); | ||
1052 | return; | ||
1053 | } | ||
1054 | |||
1055 | if (devc->ic_type != IC_ODIE) { | ||
1056 | sscape_pnp_write_codec( devc, 10, (sscape_pnp_read_codec(devc, 10) & 0x7f) | | ||
1057 | ( sscape_mic_enable == 0 ? 0x00 : 0x80) ); | ||
1058 | } | ||
1059 | sscape_write_host_ctrl2( devc, 0x84, 0x64 ); /* MIDI volume */ | ||
1060 | sscape_write_host_ctrl2( devc, 0x86, 0x64 ); /* MIDI volume?? */ | ||
1061 | sscape_write_host_ctrl2( devc, 0x8A, sscape_ext_midi); | ||
1062 | |||
1063 | sscape_pnp_write_codec ( devc, 6, 0x3f ); //WAV_VOL | ||
1064 | sscape_pnp_write_codec ( devc, 7, 0x3f ); //WAV_VOL | ||
1065 | sscape_pnp_write_codec ( devc, 2, 0x1F ); //WD_CDXVOLL | ||
1066 | sscape_pnp_write_codec ( devc, 3, 0x1F ); //WD_CDXVOLR | ||
1067 | |||
1068 | if (devc -> codec_type == 1) { | ||
1069 | sscape_pnp_write_codec ( devc, 4, 0x1F ); | ||
1070 | sscape_pnp_write_codec ( devc, 5, 0x1F ); | ||
1071 | sscape_write_host_ctrl2( devc, 0x88, sscape_mic_enable); | ||
1072 | } else { | ||
1073 | int t; | ||
1074 | sscape_pnp_write_codec ( devc, 0x10, 0x1F << 1); | ||
1075 | sscape_pnp_write_codec ( devc, 0x11, 0xC0 | (0x1F << 1)); | ||
1076 | |||
1077 | t = sscape_pnp_read_codec( devc, 0x00) & 0xDF; | ||
1078 | if ( (sscape_mic_enable == 0)) t |= 0; | ||
1079 | else t |= 0x20; | ||
1080 | sscape_pnp_write_codec ( devc, 0x00, t); | ||
1081 | t = sscape_pnp_read_codec( devc, 0x01) & 0xDF; | ||
1082 | if ( (sscape_mic_enable == 0) ) t |= 0; | ||
1083 | else t |= 0x20; | ||
1084 | sscape_pnp_write_codec ( devc, 0x01, t); | ||
1085 | sscape_pnp_write_codec ( devc, 0x40 | 29 , 0x20); | ||
1086 | outb(0, devc -> codec); | ||
1087 | } | ||
1088 | if (devc -> ic_type == IC_OPUS ) { | ||
1089 | int i = sscape_read( devc, 9 ); | ||
1090 | sscape_write( devc, 9, i | 3 ); | ||
1091 | sscape_write( devc, 3, 0x40); | ||
1092 | |||
1093 | if (request_region(0x228, 1, "sscape setup junk")) { | ||
1094 | outb(0, 0x228); | ||
1095 | release_region(0x228,1); | ||
1096 | } | ||
1097 | sscape_write( devc, 3, (devc -> dma << 4) | 0x80); | ||
1098 | sscape_write( devc, 9, i ); | ||
1099 | } | ||
1100 | |||
1101 | host_close ( devc ); | ||
1102 | sscape_pnp_free_dma(devc); | ||
1103 | } | ||
1104 | |||
1105 | static int __init detect_sscape_pnp(sscape_info* devc) | ||
1106 | { | ||
1107 | long i, irq_bits = 0xff; | ||
1108 | unsigned int d; | ||
1109 | |||
1110 | DDB(printk("Entered detect_sscape_pnp(%x)\n", devc->base)); | ||
1111 | |||
1112 | if (!request_region(devc->codec, 2, "sscape codec")) { | ||
1113 | printk(KERN_ERR "detect_sscape_pnp: port %x is not free\n", devc->codec); | ||
1114 | return 0; | ||
1115 | } | ||
1116 | |||
1117 | if ((inb(devc->base + 2) & 0x78) != 0) | ||
1118 | goto fail; | ||
1119 | |||
1120 | d = inb ( devc -> base + 4) & 0xF0; | ||
1121 | if (d & 0x80) | ||
1122 | goto fail; | ||
1123 | |||
1124 | if (d == 0) { | ||
1125 | devc->codec_type = 1; | ||
1126 | devc->ic_type = IC_ODIE; | ||
1127 | } else if ( (d & 0x60) != 0) { | ||
1128 | devc->codec_type = 2; | ||
1129 | devc->ic_type = IC_OPUS; | ||
1130 | } else if ( (d & 0x40) != 0) { /* WTF? */ | ||
1131 | devc->codec_type = 2; | ||
1132 | devc->ic_type = IC_ODIE; | ||
1133 | } else | ||
1134 | goto fail; | ||
1135 | |||
1136 | sscape_is_pnp = 1; | ||
1137 | |||
1138 | outb(0xFA, devc -> base+4); | ||
1139 | if ((inb( devc -> base+4) & 0x9F) != 0x0A) | ||
1140 | goto fail; | ||
1141 | outb(0xFE, devc -> base+4); | ||
1142 | if ( (inb(devc -> base+4) & 0x9F) != 0x0E) | ||
1143 | goto fail; | ||
1144 | if ( (inb(devc -> base+5) & 0x9F) != 0x0E) | ||
1145 | goto fail; | ||
1146 | |||
1147 | if (devc->codec_type == 2) { | ||
1148 | if (devc->codec != devc->base + 8) { | ||
1149 | printk("soundscape warning: incorrect codec port specified\n"); | ||
1150 | goto fail; | ||
1151 | } | ||
1152 | d = 0x10 | (sscape_read(devc, 9) & 0xCF); | ||
1153 | sscape_write(devc, 9, d); | ||
1154 | sscape_write(devc, 6, 0x80); | ||
1155 | } else { | ||
1156 | //todo: check codec is not base + 8 | ||
1157 | } | ||
1158 | |||
1159 | d = (sscape_read(devc, 9) & 0x3F) | 0xC0; | ||
1160 | sscape_write(devc, 9, d); | ||
1161 | |||
1162 | for (i = 0; i < 550000; i++) | ||
1163 | if ( !(inb(devc -> codec) & 0x80) ) break; | ||
1164 | |||
1165 | d = inb(devc -> codec); | ||
1166 | if (d & 0x80) | ||
1167 | goto fail; | ||
1168 | if ( inb(devc -> codec + 2) == 0xFF) | ||
1169 | goto fail; | ||
1170 | |||
1171 | sscape_write(devc, 9, sscape_read(devc, 9) & 0x3F ); | ||
1172 | |||
1173 | d = inb(devc -> codec) & 0x80; | ||
1174 | if ( d == 0) { | ||
1175 | printk(KERN_INFO "soundscape: hardware detected\n"); | ||
1176 | valid_interrupts = valid_interrupts_new; | ||
1177 | } else { | ||
1178 | printk(KERN_INFO "soundscape: board looks like media fx\n"); | ||
1179 | valid_interrupts = valid_interrupts_old; | ||
1180 | old_hardware = 1; | ||
1181 | } | ||
1182 | |||
1183 | sscape_write( devc, 9, 0xC0 | (sscape_read(devc, 9) & 0x3F) ); | ||
1184 | |||
1185 | for (i = 0; i < 550000; i++) | ||
1186 | if ( !(inb(devc -> codec) & 0x80)) | ||
1187 | break; | ||
1188 | |||
1189 | sscape_pnp_init_hw(devc); | ||
1190 | |||
1191 | for (i = 0; i < 4; i++) | ||
1192 | { | ||
1193 | if (devc->codec_irq == valid_interrupts[i]) { | ||
1194 | irq_bits = i; | ||
1195 | break; | ||
1196 | } | ||
1197 | } | ||
1198 | sscape_write(devc, GA_INTENA_REG, 0x00); | ||
1199 | sscape_write(devc, GA_DMACFG_REG, 0x50); | ||
1200 | sscape_write(devc, GA_DMAA_REG, 0x70); | ||
1201 | sscape_write(devc, GA_DMAB_REG, 0x20); | ||
1202 | sscape_write(devc, GA_INTCFG_REG, 0xf0); | ||
1203 | sscape_write(devc, GA_CDCFG_REG, 0x89 | (devc->dma << 4) | (irq_bits << 1)); | ||
1204 | |||
1205 | sscape_pnp_write_codec( devc, 0, sscape_pnp_read_codec( devc, 0) | 0x20); | ||
1206 | sscape_pnp_write_codec( devc, 0, sscape_pnp_read_codec( devc, 1) | 0x20); | ||
1207 | |||
1208 | return 1; | ||
1209 | fail: | ||
1210 | release_region(devc->codec, 2); | ||
1211 | return 0; | ||
1212 | } | ||
1213 | |||
1214 | static int __init probe_sscape(struct address_info *hw_config) | ||
1215 | { | ||
1216 | devc->base = hw_config->io_base; | ||
1217 | devc->irq = hw_config->irq; | ||
1218 | devc->dma = hw_config->dma; | ||
1219 | devc->osp = hw_config->osp; | ||
1220 | |||
1221 | #ifdef SSCAPE_DEBUG1 | ||
1222 | /* | ||
1223 | * Temporary debugging aid. Print contents of the registers before | ||
1224 | * changing them. | ||
1225 | */ | ||
1226 | { | ||
1227 | int i; | ||
1228 | |||
1229 | for (i = 0; i < 13; i++) | ||
1230 | printk("I%d = %02x (old value)\n", i, sscape_read(devc, i)); | ||
1231 | } | ||
1232 | #endif | ||
1233 | devc->failed = 1; | ||
1234 | |||
1235 | sscape_ports = request_region(devc->base, 2, "mpu401"); | ||
1236 | if (!sscape_ports) | ||
1237 | return 0; | ||
1238 | |||
1239 | if (!request_region(devc->base + 2, 6, "SoundScape")) { | ||
1240 | release_region(devc->base, 2); | ||
1241 | return 0; | ||
1242 | } | ||
1243 | |||
1244 | if (!detect_ga(devc)) { | ||
1245 | if (detect_sscape_pnp(devc)) | ||
1246 | return 1; | ||
1247 | release_region(devc->base, 2); | ||
1248 | release_region(devc->base + 2, 6); | ||
1249 | return 0; | ||
1250 | } | ||
1251 | |||
1252 | if (old_hardware) /* Check that it's really an old Spea/Reveal card. */ | ||
1253 | { | ||
1254 | unsigned char tmp; | ||
1255 | int cc; | ||
1256 | |||
1257 | if (!((tmp = sscape_read(devc, GA_HMCTL_REG)) & 0xc0)) | ||
1258 | { | ||
1259 | sscape_write(devc, GA_HMCTL_REG, tmp | 0x80); | ||
1260 | for (cc = 0; cc < 200000; ++cc) | ||
1261 | inb(devc->base + ODIE_ADDR); | ||
1262 | } | ||
1263 | } | ||
1264 | return 1; | ||
1265 | } | ||
1266 | |||
1267 | static int __init init_ss_ms_sound(struct address_info *hw_config) | ||
1268 | { | ||
1269 | int i, irq_bits = 0xff; | ||
1270 | int ad_flags = 0; | ||
1271 | struct resource *ports; | ||
1272 | |||
1273 | if (devc->failed) | ||
1274 | { | ||
1275 | printk(KERN_ERR "soundscape: Card not detected\n"); | ||
1276 | return 0; | ||
1277 | } | ||
1278 | if (devc->ok == 0) | ||
1279 | { | ||
1280 | printk(KERN_ERR "soundscape: Invalid initialization order.\n"); | ||
1281 | return 0; | ||
1282 | } | ||
1283 | for (i = 0; i < 4; i++) | ||
1284 | { | ||
1285 | if (hw_config->irq == valid_interrupts[i]) | ||
1286 | { | ||
1287 | irq_bits = i; | ||
1288 | break; | ||
1289 | } | ||
1290 | } | ||
1291 | if (irq_bits == 0xff) { | ||
1292 | printk(KERN_ERR "soundscape: Invalid MSS IRQ%d\n", hw_config->irq); | ||
1293 | return 0; | ||
1294 | } | ||
1295 | |||
1296 | if (old_hardware) | ||
1297 | ad_flags = 0x12345677; /* Tell that we may have a CS4248 chip (Spea-V7 Media FX) */ | ||
1298 | else if (sscape_is_pnp) | ||
1299 | ad_flags = 0x87654321; /* Tell that we have a soundscape pnp with 1845 chip */ | ||
1300 | |||
1301 | ports = request_region(hw_config->io_base, 4, "ad1848"); | ||
1302 | if (!ports) { | ||
1303 | printk(KERN_ERR "soundscape: ports busy\n"); | ||
1304 | return 0; | ||
1305 | } | ||
1306 | |||
1307 | if (!ad1848_detect(ports, &ad_flags, hw_config->osp)) { | ||
1308 | release_region(hw_config->io_base, 4); | ||
1309 | return 0; | ||
1310 | } | ||
1311 | |||
1312 | if (!sscape_is_pnp) /*pnp is already setup*/ | ||
1313 | { | ||
1314 | /* | ||
1315 | * Setup the DMA polarity. | ||
1316 | */ | ||
1317 | sscape_write(devc, GA_DMACFG_REG, 0x50); | ||
1318 | |||
1319 | /* | ||
1320 | * Take the gate-array off of the DMA channel. | ||
1321 | */ | ||
1322 | sscape_write(devc, GA_DMAB_REG, 0x20); | ||
1323 | |||
1324 | /* | ||
1325 | * Init the AD1848 (CD-ROM) config reg. | ||
1326 | */ | ||
1327 | sscape_write(devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | (irq_bits << 1)); | ||
1328 | } | ||
1329 | |||
1330 | if (hw_config->irq == devc->irq) | ||
1331 | printk(KERN_WARNING "soundscape: Warning! The WSS mode can't share IRQ with MIDI\n"); | ||
1332 | |||
1333 | hw_config->slots[0] = ad1848_init( | ||
1334 | sscape_is_pnp ? "SoundScape" : "SoundScape PNP", | ||
1335 | ports, | ||
1336 | hw_config->irq, | ||
1337 | hw_config->dma, | ||
1338 | hw_config->dma, | ||
1339 | 0, | ||
1340 | devc->osp, | ||
1341 | THIS_MODULE); | ||
1342 | |||
1343 | |||
1344 | if (hw_config->slots[0] != -1) /* The AD1848 driver installed itself */ | ||
1345 | { | ||
1346 | audio_devs[hw_config->slots[0]]->coproc = &sscape_coproc_operations; | ||
1347 | devc->codec_audiodev = hw_config->slots[0]; | ||
1348 | devc->my_audiodev = hw_config->slots[0]; | ||
1349 | |||
1350 | /* Set proper routings here (what are they) */ | ||
1351 | AD1848_REROUTE(SOUND_MIXER_LINE1, SOUND_MIXER_LINE); | ||
1352 | } | ||
1353 | |||
1354 | #ifdef SSCAPE_DEBUG5 | ||
1355 | /* | ||
1356 | * Temporary debugging aid. Print contents of the registers | ||
1357 | * after the AD1848 device has been initialized. | ||
1358 | */ | ||
1359 | { | ||
1360 | int i; | ||
1361 | |||
1362 | for (i = 0; i < 13; i++) | ||
1363 | printk("I%d = %02x\n", i, sscape_read(devc, i)); | ||
1364 | } | ||
1365 | #endif | ||
1366 | return 1; | ||
1367 | } | ||
1368 | |||
1369 | static void __exit unload_sscape(struct address_info *hw_config) | ||
1370 | { | ||
1371 | release_region(devc->base + 2, 6); | ||
1372 | unload_mpu401(hw_config); | ||
1373 | if (sscape_is_pnp) | ||
1374 | release_region(devc->codec, 2); | ||
1375 | } | ||
1376 | |||
1377 | static void __exit unload_ss_ms_sound(struct address_info *hw_config) | ||
1378 | { | ||
1379 | ad1848_unload(hw_config->io_base, | ||
1380 | hw_config->irq, | ||
1381 | devc->dma, | ||
1382 | devc->dma, | ||
1383 | 0); | ||
1384 | sound_unload_audiodev(hw_config->slots[0]); | ||
1385 | } | ||
1386 | |||
1387 | static struct address_info cfg; | ||
1388 | static struct address_info cfg_mpu; | ||
1389 | |||
1390 | static int __initdata spea = -1; | ||
1391 | static int mss = 0; | ||
1392 | static int __initdata dma = -1; | ||
1393 | static int __initdata irq = -1; | ||
1394 | static int __initdata io = -1; | ||
1395 | static int __initdata mpu_irq = -1; | ||
1396 | static int __initdata mpu_io = -1; | ||
1397 | |||
1398 | module_param(dma, int, 0); | ||
1399 | module_param(irq, int, 0); | ||
1400 | module_param(io, int, 0); | ||
1401 | module_param(spea, int, 0); /* spea=0/1 set the old_hardware */ | ||
1402 | module_param(mpu_irq, int, 0); | ||
1403 | module_param(mpu_io, int, 0); | ||
1404 | module_param(mss, int, 0); | ||
1405 | |||
1406 | static int __init init_sscape(void) | ||
1407 | { | ||
1408 | printk(KERN_INFO "Soundscape driver Copyright (C) by Hannu Savolainen 1993-1996\n"); | ||
1409 | |||
1410 | cfg.irq = irq; | ||
1411 | cfg.dma = dma; | ||
1412 | cfg.io_base = io; | ||
1413 | |||
1414 | cfg_mpu.irq = mpu_irq; | ||
1415 | cfg_mpu.io_base = mpu_io; | ||
1416 | /* WEH - Try to get right dma channel */ | ||
1417 | cfg_mpu.dma = dma; | ||
1418 | |||
1419 | devc->codec = cfg.io_base; | ||
1420 | devc->codec_irq = cfg.irq; | ||
1421 | devc->codec_type = 0; | ||
1422 | devc->ic_type = 0; | ||
1423 | devc->raw_buf = NULL; | ||
1424 | spin_lock_init(&devc->lock); | ||
1425 | |||
1426 | if (cfg.dma == -1 || cfg.irq == -1 || cfg.io_base == -1) { | ||
1427 | printk(KERN_ERR "DMA, IRQ, and IO port must be specified.\n"); | ||
1428 | return -EINVAL; | ||
1429 | } | ||
1430 | |||
1431 | if (cfg_mpu.irq == -1 && cfg_mpu.io_base != -1) { | ||
1432 | printk(KERN_ERR "MPU_IRQ must be specified if MPU_IO is set.\n"); | ||
1433 | return -EINVAL; | ||
1434 | } | ||
1435 | |||
1436 | if(spea != -1) { | ||
1437 | old_hardware = spea; | ||
1438 | printk(KERN_INFO "Forcing %s hardware support.\n", | ||
1439 | spea?"new":"old"); | ||
1440 | } | ||
1441 | if (probe_sscape(&cfg_mpu) == 0) | ||
1442 | return -ENODEV; | ||
1443 | |||
1444 | attach_sscape(&cfg_mpu); | ||
1445 | |||
1446 | mss = init_ss_ms_sound(&cfg); | ||
1447 | |||
1448 | return 0; | ||
1449 | } | ||
1450 | |||
1451 | static void __exit cleanup_sscape(void) | ||
1452 | { | ||
1453 | if (mss) | ||
1454 | unload_ss_ms_sound(&cfg); | ||
1455 | unload_sscape(&cfg_mpu); | ||
1456 | } | ||
1457 | |||
1458 | module_init(init_sscape); | ||
1459 | module_exit(cleanup_sscape); | ||
1460 | |||
1461 | #ifndef MODULE | ||
1462 | static int __init setup_sscape(char *str) | ||
1463 | { | ||
1464 | /* io, irq, dma, mpu_io, mpu_irq */ | ||
1465 | int ints[6]; | ||
1466 | |||
1467 | str = get_options(str, ARRAY_SIZE(ints), ints); | ||
1468 | |||
1469 | io = ints[1]; | ||
1470 | irq = ints[2]; | ||
1471 | dma = ints[3]; | ||
1472 | mpu_io = ints[4]; | ||
1473 | mpu_irq = ints[5]; | ||
1474 | |||
1475 | return 1; | ||
1476 | } | ||
1477 | |||
1478 | __setup("sscape=", setup_sscape); | ||
1479 | #endif | ||
1480 | MODULE_LICENSE("GPL"); | ||
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 78288dbfc17a..20cb60afb200 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c | |||
@@ -603,8 +603,8 @@ AC97_SINGLE("Tone Control - Treble", AC97_MASTER_TONE, 0, 15, 1) | |||
603 | }; | 603 | }; |
604 | 604 | ||
605 | static const struct snd_kcontrol_new snd_ac97_controls_pc_beep[2] = { | 605 | static const struct snd_kcontrol_new snd_ac97_controls_pc_beep[2] = { |
606 | AC97_SINGLE("PC Speaker Playback Switch", AC97_PC_BEEP, 15, 1, 1), | 606 | AC97_SINGLE("Beep Playback Switch", AC97_PC_BEEP, 15, 1, 1), |
607 | AC97_SINGLE("PC Speaker Playback Volume", AC97_PC_BEEP, 1, 15, 1) | 607 | AC97_SINGLE("Beep Playback Volume", AC97_PC_BEEP, 1, 15, 1) |
608 | }; | 608 | }; |
609 | 609 | ||
610 | static const struct snd_kcontrol_new snd_ac97_controls_mic_boost = | 610 | static const struct snd_kcontrol_new snd_ac97_controls_mic_boost = |
@@ -1393,7 +1393,7 @@ static int snd_ac97_mixer_build(struct snd_ac97 * ac97) | |||
1393 | } | 1393 | } |
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | /* build PC Speaker controls */ | 1396 | /* build Beep controls */ |
1397 | if (!(ac97->flags & AC97_HAS_NO_PC_BEEP) && | 1397 | if (!(ac97->flags & AC97_HAS_NO_PC_BEEP) && |
1398 | ((ac97->flags & AC97_HAS_PC_BEEP) || | 1398 | ((ac97->flags & AC97_HAS_PC_BEEP) || |
1399 | snd_ac97_try_volume_mix(ac97, AC97_PC_BEEP))) { | 1399 | snd_ac97_try_volume_mix(ac97, AC97_PC_BEEP))) { |
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index 7337abdbe4e3..139cf3b2b9d7 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c | |||
@@ -800,12 +800,12 @@ AC97_SINGLE("Mono Switch", AC97_MASTER_TONE, 7, 1, 1), | |||
800 | AC97_SINGLE("Mono ZC Switch", AC97_MASTER_TONE, 6, 1, 0), | 800 | AC97_SINGLE("Mono ZC Switch", AC97_MASTER_TONE, 6, 1, 0), |
801 | AC97_SINGLE("Mono Volume", AC97_MASTER_TONE, 0, 31, 1), | 801 | AC97_SINGLE("Mono Volume", AC97_MASTER_TONE, 0, 31, 1), |
802 | 802 | ||
803 | AC97_SINGLE("PC Beep to Headphone Switch", AC97_AUX, 15, 1, 1), | 803 | AC97_SINGLE("Beep to Headphone Switch", AC97_AUX, 15, 1, 1), |
804 | AC97_SINGLE("PC Beep to Headphone Volume", AC97_AUX, 12, 7, 1), | 804 | AC97_SINGLE("Beep to Headphone Volume", AC97_AUX, 12, 7, 1), |
805 | AC97_SINGLE("PC Beep to Master Switch", AC97_AUX, 11, 1, 1), | 805 | AC97_SINGLE("Beep to Master Switch", AC97_AUX, 11, 1, 1), |
806 | AC97_SINGLE("PC Beep to Master Volume", AC97_AUX, 8, 7, 1), | 806 | AC97_SINGLE("Beep to Master Volume", AC97_AUX, 8, 7, 1), |
807 | AC97_SINGLE("PC Beep to Mono Switch", AC97_AUX, 7, 1, 1), | 807 | AC97_SINGLE("Beep to Mono Switch", AC97_AUX, 7, 1, 1), |
808 | AC97_SINGLE("PC Beep to Mono Volume", AC97_AUX, 4, 7, 1), | 808 | AC97_SINGLE("Beep to Mono Volume", AC97_AUX, 4, 7, 1), |
809 | 809 | ||
810 | AC97_SINGLE("Voice to Headphone Switch", AC97_PCM, 15, 1, 1), | 810 | AC97_SINGLE("Voice to Headphone Switch", AC97_PCM, 15, 1, 1), |
811 | AC97_SINGLE("Voice to Headphone Volume", AC97_PCM, 12, 7, 1), | 811 | AC97_SINGLE("Voice to Headphone Volume", AC97_PCM, 12, 7, 1), |
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 8451a0169f32..69867ace7860 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -830,8 +830,8 @@ static struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = { | |||
830 | AZF3328_MIXER_SWITCH("Mic Boost (+20dB)", IDX_MIXER_MIC, 6, 0), | 830 | AZF3328_MIXER_SWITCH("Mic Boost (+20dB)", IDX_MIXER_MIC, 6, 0), |
831 | AZF3328_MIXER_SWITCH("Line Playback Switch", IDX_MIXER_LINEIN, 15, 1), | 831 | AZF3328_MIXER_SWITCH("Line Playback Switch", IDX_MIXER_LINEIN, 15, 1), |
832 | AZF3328_MIXER_VOL_STEREO("Line Playback Volume", IDX_MIXER_LINEIN, 0x1f, 1), | 832 | AZF3328_MIXER_VOL_STEREO("Line Playback Volume", IDX_MIXER_LINEIN, 0x1f, 1), |
833 | AZF3328_MIXER_SWITCH("PC Speaker Playback Switch", IDX_MIXER_PCBEEP, 15, 1), | 833 | AZF3328_MIXER_SWITCH("Beep Playback Switch", IDX_MIXER_PCBEEP, 15, 1), |
834 | AZF3328_MIXER_VOL_SPECIAL("PC Speaker Playback Volume", IDX_MIXER_PCBEEP, 0x0f, 1, 1), | 834 | AZF3328_MIXER_VOL_SPECIAL("Beep Playback Volume", IDX_MIXER_PCBEEP, 0x0f, 1, 1), |
835 | AZF3328_MIXER_SWITCH("Video Playback Switch", IDX_MIXER_VIDEO, 15, 1), | 835 | AZF3328_MIXER_SWITCH("Video Playback Switch", IDX_MIXER_VIDEO, 15, 1), |
836 | AZF3328_MIXER_VOL_STEREO("Video Playback Volume", IDX_MIXER_VIDEO, 0x1f, 1), | 836 | AZF3328_MIXER_VOL_STEREO("Video Playback Volume", IDX_MIXER_VIDEO, 0x1f, 1), |
837 | AZF3328_MIXER_SWITCH("Aux Playback Switch", IDX_MIXER_AUX, 15, 1), | 837 | AZF3328_MIXER_SWITCH("Aux Playback Switch", IDX_MIXER_AUX, 15, 1), |
diff --git a/sound/pci/ca0106/ca0106_mixer.c b/sound/pci/ca0106/ca0106_mixer.c index c8c6f437f5b3..8f443a9d61ec 100644 --- a/sound/pci/ca0106/ca0106_mixer.c +++ b/sound/pci/ca0106/ca0106_mixer.c | |||
@@ -792,8 +792,8 @@ int __devinit snd_ca0106_mixer(struct snd_ca0106 *emu) | |||
792 | "Phone Playback Volume", | 792 | "Phone Playback Volume", |
793 | "Video Playback Switch", | 793 | "Video Playback Switch", |
794 | "Video Playback Volume", | 794 | "Video Playback Volume", |
795 | "PC Speaker Playback Switch", | 795 | "Beep Playback Switch", |
796 | "PC Speaker Playback Volume", | 796 | "Beep Playback Volume", |
797 | "Mono Output Select", | 797 | "Mono Output Select", |
798 | "Capture Source", | 798 | "Capture Source", |
799 | "Capture Switch", | 799 | "Capture Switch", |
diff --git a/sound/pci/ca0106/ca0106_proc.c b/sound/pci/ca0106/ca0106_proc.c index c62b7d10ec61..15523e60351c 100644 --- a/sound/pci/ca0106/ca0106_proc.c +++ b/sound/pci/ca0106/ca0106_proc.c | |||
@@ -304,7 +304,7 @@ static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, | |||
304 | while (!snd_info_get_line(buffer, line, sizeof(line))) { | 304 | while (!snd_info_get_line(buffer, line, sizeof(line))) { |
305 | if (sscanf(line, "%x %x", ®, &val) != 2) | 305 | if (sscanf(line, "%x %x", ®, &val) != 2) |
306 | continue; | 306 | continue; |
307 | if ((reg < 0x40) && (reg >=0) && (val <= 0xffffffff) ) { | 307 | if (reg < 0x40 && val <= 0xffffffff) { |
308 | spin_lock_irqsave(&emu->emu_lock, flags); | 308 | spin_lock_irqsave(&emu->emu_lock, flags); |
309 | outl(val, emu->port + (reg & 0xfffffffc)); | 309 | outl(val, emu->port + (reg & 0xfffffffc)); |
310 | spin_unlock_irqrestore(&emu->emu_lock, flags); | 310 | spin_unlock_irqrestore(&emu->emu_lock, flags); |
@@ -405,7 +405,7 @@ static void snd_ca0106_proc_reg_write(struct snd_info_entry *entry, | |||
405 | while (!snd_info_get_line(buffer, line, sizeof(line))) { | 405 | while (!snd_info_get_line(buffer, line, sizeof(line))) { |
406 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) | 406 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) |
407 | continue; | 407 | continue; |
408 | if ((reg < 0x80) && (reg >=0) && (val <= 0xffffffff) && (channel_id >=0) && (channel_id <= 3) ) | 408 | if (reg < 0x80 && val <= 0xffffffff && channel_id <= 3) |
409 | snd_ca0106_ptr_write(emu, reg, channel_id, val); | 409 | snd_ca0106_ptr_write(emu, reg, channel_id, val); |
410 | } | 410 | } |
411 | } | 411 | } |
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index ddcd4a9fd7e6..a312bae08f52 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -2302,7 +2302,7 @@ static struct snd_kcontrol_new snd_cmipci_mixers[] __devinitdata = { | |||
2302 | CMIPCI_SB_VOL_MONO("Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31), | 2302 | CMIPCI_SB_VOL_MONO("Mic Playback Volume", SB_DSP4_MIC_DEV, 3, 31), |
2303 | CMIPCI_SB_SW_MONO("Mic Playback Switch", 0), | 2303 | CMIPCI_SB_SW_MONO("Mic Playback Switch", 0), |
2304 | CMIPCI_DOUBLE("Mic Capture Switch", SB_DSP4_INPUT_LEFT, SB_DSP4_INPUT_RIGHT, 0, 0, 1, 0, 0), | 2304 | CMIPCI_DOUBLE("Mic Capture Switch", SB_DSP4_INPUT_LEFT, SB_DSP4_INPUT_RIGHT, 0, 0, 1, 0, 0), |
2305 | CMIPCI_SB_VOL_MONO("PC Speaker Playback Volume", SB_DSP4_SPEAKER_DEV, 6, 3), | 2305 | CMIPCI_SB_VOL_MONO("Beep Playback Volume", SB_DSP4_SPEAKER_DEV, 6, 3), |
2306 | CMIPCI_MIXER_VOL_STEREO("Aux Playback Volume", CM_REG_AUX_VOL, 4, 0, 15), | 2306 | CMIPCI_MIXER_VOL_STEREO("Aux Playback Volume", CM_REG_AUX_VOL, 4, 0, 15), |
2307 | CMIPCI_MIXER_SW_STEREO("Aux Playback Switch", CM_REG_MIXER2, CM_VAUXLM_SHIFT, CM_VAUXRM_SHIFT, 0), | 2307 | CMIPCI_MIXER_SW_STEREO("Aux Playback Switch", CM_REG_MIXER2, CM_VAUXLM_SHIFT, CM_VAUXRM_SHIFT, 0), |
2308 | CMIPCI_MIXER_SW_STEREO("Aux Capture Switch", CM_REG_MIXER2, CM_RAUXLEN_SHIFT, CM_RAUXREN_SHIFT, 0), | 2308 | CMIPCI_MIXER_SW_STEREO("Aux Capture Switch", CM_REG_MIXER2, CM_RAUXLEN_SHIFT, CM_RAUXREN_SHIFT, 0), |
@@ -2310,7 +2310,7 @@ static struct snd_kcontrol_new snd_cmipci_mixers[] __devinitdata = { | |||
2310 | CMIPCI_MIXER_VOL_MONO("Mic Capture Volume", CM_REG_MIXER2, CM_VADMIC_SHIFT, 7), | 2310 | CMIPCI_MIXER_VOL_MONO("Mic Capture Volume", CM_REG_MIXER2, CM_VADMIC_SHIFT, 7), |
2311 | CMIPCI_SB_VOL_MONO("Phone Playback Volume", CM_REG_EXTENT_IND, 5, 7), | 2311 | CMIPCI_SB_VOL_MONO("Phone Playback Volume", CM_REG_EXTENT_IND, 5, 7), |
2312 | CMIPCI_DOUBLE("Phone Playback Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 4, 4, 1, 0, 0), | 2312 | CMIPCI_DOUBLE("Phone Playback Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 4, 4, 1, 0, 0), |
2313 | CMIPCI_DOUBLE("PC Speaker Playback Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 3, 3, 1, 0, 0), | 2313 | CMIPCI_DOUBLE("Beep Playback Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 3, 3, 1, 0, 0), |
2314 | CMIPCI_DOUBLE("Mic Boost Capture Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 0, 0, 1, 0, 0), | 2314 | CMIPCI_DOUBLE("Mic Boost Capture Switch", CM_REG_EXTENT_IND, CM_REG_EXTENT_IND, 0, 0, 1, 0, 0), |
2315 | }; | 2315 | }; |
2316 | 2316 | ||
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c index 75454648d50c..cb65bd0dd35b 100644 --- a/sound/pci/ctxfi/ctatc.c +++ b/sound/pci/ctxfi/ctatc.c | |||
@@ -240,7 +240,7 @@ static int select_rom(unsigned int pitch) | |||
240 | } else if (pitch == 0x02000000) { | 240 | } else if (pitch == 0x02000000) { |
241 | /* pitch == 2 */ | 241 | /* pitch == 2 */ |
242 | return 3; | 242 | return 3; |
243 | } else if (pitch >= 0x0 && pitch <= 0x08000000) { | 243 | } else if (pitch <= 0x08000000) { |
244 | /* 0 <= pitch <= 8 */ | 244 | /* 0 <= pitch <= 8 */ |
245 | return 0; | 245 | return 0; |
246 | } else { | 246 | } else { |
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 36e08bd2b3cc..6b8ae7b5cd54 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -1040,8 +1040,7 @@ static void snd_emu10k1x_proc_reg_write(struct snd_info_entry *entry, | |||
1040 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) | 1040 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) |
1041 | continue; | 1041 | continue; |
1042 | 1042 | ||
1043 | if ((reg < 0x49) && (reg >= 0) && (val <= 0xffffffff) | 1043 | if (reg < 0x49 && val <= 0xffffffff && channel_id <= 2) |
1044 | && (channel_id >= 0) && (channel_id <= 2) ) | ||
1045 | snd_emu10k1x_ptr_write(emu, reg, channel_id, val); | 1044 | snd_emu10k1x_ptr_write(emu, reg, channel_id, val); |
1046 | } | 1045 | } |
1047 | } | 1046 | } |
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c index b0fb6c917c38..05afe06e353a 100644 --- a/sound/pci/emu10k1/emumixer.c +++ b/sound/pci/emu10k1/emumixer.c | |||
@@ -1818,8 +1818,8 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu, | |||
1818 | "Master Playback Switch", "Master Capture Switch", | 1818 | "Master Playback Switch", "Master Capture Switch", |
1819 | "Master Playback Volume", "Master Capture Volume", | 1819 | "Master Playback Volume", "Master Capture Volume", |
1820 | "Wave Master Playback Volume", "Master Playback Volume", | 1820 | "Wave Master Playback Volume", "Master Playback Volume", |
1821 | "PC Speaker Playback Switch", "PC Speaker Capture Switch", | 1821 | "Beep Playback Switch", "Beep Capture Switch", |
1822 | "PC Speaker Playback Volume", "PC Speaker Capture Volume", | 1822 | "Beep Playback Volume", "Beep Capture Volume", |
1823 | "Phone Playback Switch", "Phone Capture Switch", | 1823 | "Phone Playback Switch", "Phone Capture Switch", |
1824 | "Phone Playback Volume", "Phone Capture Volume", | 1824 | "Phone Playback Volume", "Phone Capture Volume", |
1825 | "Mic Playback Switch", "Mic Capture Switch", | 1825 | "Mic Playback Switch", "Mic Capture Switch", |
diff --git a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c index 216f9748aff5..baa7cd508cd8 100644 --- a/sound/pci/emu10k1/emuproc.c +++ b/sound/pci/emu10k1/emuproc.c | |||
@@ -451,7 +451,7 @@ static void snd_emu_proc_io_reg_write(struct snd_info_entry *entry, | |||
451 | while (!snd_info_get_line(buffer, line, sizeof(line))) { | 451 | while (!snd_info_get_line(buffer, line, sizeof(line))) { |
452 | if (sscanf(line, "%x %x", ®, &val) != 2) | 452 | if (sscanf(line, "%x %x", ®, &val) != 2) |
453 | continue; | 453 | continue; |
454 | if ((reg < 0x40) && (reg >= 0) && (val <= 0xffffffff) ) { | 454 | if (reg < 0x40 && val <= 0xffffffff) { |
455 | spin_lock_irqsave(&emu->emu_lock, flags); | 455 | spin_lock_irqsave(&emu->emu_lock, flags); |
456 | outl(val, emu->port + (reg & 0xfffffffc)); | 456 | outl(val, emu->port + (reg & 0xfffffffc)); |
457 | spin_unlock_irqrestore(&emu->emu_lock, flags); | 457 | spin_unlock_irqrestore(&emu->emu_lock, flags); |
@@ -527,7 +527,7 @@ static void snd_emu_proc_ptr_reg_write(struct snd_info_entry *entry, | |||
527 | while (!snd_info_get_line(buffer, line, sizeof(line))) { | 527 | while (!snd_info_get_line(buffer, line, sizeof(line))) { |
528 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) | 528 | if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) |
529 | continue; | 529 | continue; |
530 | if ((reg < 0xa0) && (reg >= 0) && (val <= 0xffffffff) && (channel_id >= 0) && (channel_id <= 3) ) | 530 | if (reg < 0xa0 && val <= 0xffffffff && channel_id <= 3) |
531 | snd_ptr_write(emu, iobase, reg, channel_id, val); | 531 | snd_ptr_write(emu, iobase, reg, channel_id, val); |
532 | } | 532 | } |
533 | } | 533 | } |
diff --git a/sound/pci/emu10k1/io.c b/sound/pci/emu10k1/io.c index c1a5aa15af8f..5ef7080e14d0 100644 --- a/sound/pci/emu10k1/io.c +++ b/sound/pci/emu10k1/io.c | |||
@@ -256,7 +256,7 @@ int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value) | |||
256 | if (reg > 0x3f) | 256 | if (reg > 0x3f) |
257 | return 1; | 257 | return 1; |
258 | reg += 0x40; /* 0x40 upwards are registers. */ | 258 | reg += 0x40; /* 0x40 upwards are registers. */ |
259 | if (value < 0 || value > 0x3f) /* 0 to 0x3f are values */ | 259 | if (value > 0x3f) /* 0 to 0x3f are values */ |
260 | return 1; | 260 | return 1; |
261 | spin_lock_irqsave(&emu->emu_lock, flags); | 261 | spin_lock_irqsave(&emu->emu_lock, flags); |
262 | outl(reg, emu->port + A_IOCFG); | 262 | outl(reg, emu->port + A_IOCFG); |
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index 820318ee62c1..fb83e1ffa5cb 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c | |||
@@ -1387,7 +1387,7 @@ ES1938_DOUBLE_TLV("Aux Playback Volume", 0, 0x3a, 0x3a, 4, 0, 15, 0, | |||
1387 | db_scale_line), | 1387 | db_scale_line), |
1388 | ES1938_DOUBLE_TLV("Capture Volume", 0, 0xb4, 0xb4, 4, 0, 15, 0, | 1388 | ES1938_DOUBLE_TLV("Capture Volume", 0, 0xb4, 0xb4, 4, 0, 15, 0, |
1389 | db_scale_capture), | 1389 | db_scale_capture), |
1390 | ES1938_SINGLE("PC Speaker Volume", 0, 0x3c, 0, 7, 0), | 1390 | ES1938_SINGLE("Beep Volume", 0, 0x3c, 0, 7, 0), |
1391 | ES1938_SINGLE("Record Monitor", 0, 0xa8, 3, 1, 0), | 1391 | ES1938_SINGLE("Record Monitor", 0, 0xa8, 3, 1, 0), |
1392 | ES1938_SINGLE("Capture Switch", 0, 0x1c, 4, 1, 1), | 1392 | ES1938_SINGLE("Capture Switch", 0, 0x1c, 4, 1, 1), |
1393 | { | 1393 | { |
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c index 780e1a72114a..85c81feb10cf 100644 --- a/sound/pci/hda/patch_cmedia.c +++ b/sound/pci/hda/patch_cmedia.c | |||
@@ -197,8 +197,8 @@ static struct snd_kcontrol_new cmi9880_basic_mixer[] = { | |||
197 | HDA_CODEC_VOLUME_IDX("Capture Volume", 1, 0x09, 0, HDA_INPUT), | 197 | HDA_CODEC_VOLUME_IDX("Capture Volume", 1, 0x09, 0, HDA_INPUT), |
198 | HDA_CODEC_MUTE("Capture Switch", 0x08, 0, HDA_INPUT), | 198 | HDA_CODEC_MUTE("Capture Switch", 0x08, 0, HDA_INPUT), |
199 | HDA_CODEC_MUTE_IDX("Capture Switch", 1, 0x09, 0, HDA_INPUT), | 199 | HDA_CODEC_MUTE_IDX("Capture Switch", 1, 0x09, 0, HDA_INPUT), |
200 | HDA_CODEC_VOLUME("PC Speaker Playback Volume", 0x23, 0, HDA_OUTPUT), | 200 | HDA_CODEC_VOLUME("Beep Playback Volume", 0x23, 0, HDA_OUTPUT), |
201 | HDA_CODEC_MUTE("PC Speaker Playback Switch", 0x23, 0, HDA_OUTPUT), | 201 | HDA_CODEC_MUTE("Beep Playback Switch", 0x23, 0, HDA_OUTPUT), |
202 | { } /* end */ | 202 | { } /* end */ |
203 | }; | 203 | }; |
204 | 204 | ||
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 70583719282b..24b07c9b6a8e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -7336,8 +7336,8 @@ static struct snd_kcontrol_new alc882_macpro_mixer[] = { | |||
7336 | HDA_CODEC_VOLUME("Line Playback Volume", 0x0b, 0x01, HDA_INPUT), | 7336 | HDA_CODEC_VOLUME("Line Playback Volume", 0x0b, 0x01, HDA_INPUT), |
7337 | HDA_CODEC_MUTE("Line Playback Switch", 0x0b, 0x01, HDA_INPUT), | 7337 | HDA_CODEC_MUTE("Line Playback Switch", 0x0b, 0x01, HDA_INPUT), |
7338 | /* FIXME: this looks suspicious... | 7338 | /* FIXME: this looks suspicious... |
7339 | HDA_CODEC_VOLUME("PC Speaker Playback Volume", 0x0b, 0x02, HDA_INPUT), | 7339 | HDA_CODEC_VOLUME("Beep Playback Volume", 0x0b, 0x02, HDA_INPUT), |
7340 | HDA_CODEC_MUTE("PC Speaker Playback Switch", 0x0b, 0x02, HDA_INPUT), | 7340 | HDA_CODEC_MUTE("Beep Playback Switch", 0x0b, 0x02, HDA_INPUT), |
7341 | */ | 7341 | */ |
7342 | { } /* end */ | 7342 | { } /* end */ |
7343 | }; | 7343 | }; |
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 86de305fc9f2..ec25262e59e7 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -3226,7 +3226,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
3226 | /* check for mute support for the the amp */ | 3226 | /* check for mute support for the the amp */ |
3227 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { | 3227 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { |
3228 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, | 3228 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, |
3229 | "PC Beep Playback Switch", | 3229 | "Beep Playback Switch", |
3230 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3230 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
3231 | if (err < 0) | 3231 | if (err < 0) |
3232 | return err; | 3232 | return err; |
@@ -3235,7 +3235,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
3235 | /* check to see if there is volume support for the amp */ | 3235 | /* check to see if there is volume support for the amp */ |
3236 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { | 3236 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { |
3237 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, | 3237 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, |
3238 | "PC Beep Playback Volume", | 3238 | "Beep Playback Volume", |
3239 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3239 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
3240 | if (err < 0) | 3240 | if (err < 0) |
3241 | return err; | 3241 | return err; |
@@ -3276,7 +3276,7 @@ static struct snd_kcontrol_new stac92xx_dig_beep_ctrl = { | |||
3276 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) | 3276 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) |
3277 | { | 3277 | { |
3278 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, | 3278 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, |
3279 | 0, "PC Beep Playback Switch", 0); | 3279 | 0, "Beep Playback Switch", 0); |
3280 | } | 3280 | } |
3281 | #endif | 3281 | #endif |
3282 | 3282 | ||
diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c index 2cc0eda4f20e..2e156467b814 100644 --- a/sound/ppc/awacs.c +++ b/sound/ppc/awacs.c | |||
@@ -479,7 +479,7 @@ static int snd_pmac_awacs_put_master_amp(struct snd_kcontrol *kcontrol, | |||
479 | 479 | ||
480 | static struct snd_kcontrol_new snd_pmac_awacs_amp_vol[] __devinitdata = { | 480 | static struct snd_kcontrol_new snd_pmac_awacs_amp_vol[] __devinitdata = { |
481 | { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 481 | { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
482 | .name = "PC Speaker Playback Volume", | 482 | .name = "Speaker Playback Volume", |
483 | .info = snd_pmac_awacs_info_volume_amp, | 483 | .info = snd_pmac_awacs_info_volume_amp, |
484 | .get = snd_pmac_awacs_get_volume_amp, | 484 | .get = snd_pmac_awacs_get_volume_amp, |
485 | .put = snd_pmac_awacs_put_volume_amp, | 485 | .put = snd_pmac_awacs_put_volume_amp, |
@@ -525,7 +525,7 @@ static struct snd_kcontrol_new snd_pmac_awacs_amp_hp_sw __devinitdata = { | |||
525 | 525 | ||
526 | static struct snd_kcontrol_new snd_pmac_awacs_amp_spk_sw __devinitdata = { | 526 | static struct snd_kcontrol_new snd_pmac_awacs_amp_spk_sw __devinitdata = { |
527 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 527 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
528 | .name = "PC Speaker Playback Switch", | 528 | .name = "Speaker Playback Switch", |
529 | .info = snd_pmac_boolean_stereo_info, | 529 | .info = snd_pmac_boolean_stereo_info, |
530 | .get = snd_pmac_awacs_get_switch_amp, | 530 | .get = snd_pmac_awacs_get_switch_amp, |
531 | .put = snd_pmac_awacs_put_switch_amp, | 531 | .put = snd_pmac_awacs_put_switch_amp, |
@@ -696,17 +696,17 @@ static struct snd_kcontrol_new snd_pmac_screamer_mic_boost_imac[] __devinitdata | |||
696 | }; | 696 | }; |
697 | 697 | ||
698 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_vol[] __devinitdata = { | 698 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_vol[] __devinitdata = { |
699 | AWACS_VOLUME("PC Speaker Playback Volume", 4, 6, 1), | 699 | AWACS_VOLUME("Speaker Playback Volume", 4, 6, 1), |
700 | }; | 700 | }; |
701 | 701 | ||
702 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw __devinitdata = | 702 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw __devinitdata = |
703 | AWACS_SWITCH("PC Speaker Playback Switch", 1, SHIFT_SPKMUTE, 1); | 703 | AWACS_SWITCH("Speaker Playback Switch", 1, SHIFT_SPKMUTE, 1); |
704 | 704 | ||
705 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw_imac1 __devinitdata = | 705 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw_imac1 __devinitdata = |
706 | AWACS_SWITCH("PC Speaker Playback Switch", 1, SHIFT_PAROUT1, 1); | 706 | AWACS_SWITCH("Speaker Playback Switch", 1, SHIFT_PAROUT1, 1); |
707 | 707 | ||
708 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw_imac2 __devinitdata = | 708 | static struct snd_kcontrol_new snd_pmac_awacs_speaker_sw_imac2 __devinitdata = |
709 | AWACS_SWITCH("PC Speaker Playback Switch", 1, SHIFT_PAROUT1, 0); | 709 | AWACS_SWITCH("Speaker Playback Switch", 1, SHIFT_PAROUT1, 0); |
710 | 710 | ||
711 | 711 | ||
712 | /* | 712 | /* |
diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c index 16ed240e423c..0accfe49735b 100644 --- a/sound/ppc/burgundy.c +++ b/sound/ppc/burgundy.c | |||
@@ -505,7 +505,7 @@ static struct snd_kcontrol_new snd_pmac_burgundy_mixers_imac[] __devinitdata = { | |||
505 | MASK_ADDR_BURGUNDY_GAINLINE, 1, 0), | 505 | MASK_ADDR_BURGUNDY_GAINLINE, 1, 0), |
506 | BURGUNDY_VOLUME_B("Mic Gain Capture Volume", 0, | 506 | BURGUNDY_VOLUME_B("Mic Gain Capture Volume", 0, |
507 | MASK_ADDR_BURGUNDY_GAINMIC, 1, 0), | 507 | MASK_ADDR_BURGUNDY_GAINMIC, 1, 0), |
508 | BURGUNDY_VOLUME_B("PC Speaker Playback Volume", 0, | 508 | BURGUNDY_VOLUME_B("Speaker Playback Volume", 0, |
509 | MASK_ADDR_BURGUNDY_ATTENSPEAKER, 1, 1), | 509 | MASK_ADDR_BURGUNDY_ATTENSPEAKER, 1, 1), |
510 | BURGUNDY_VOLUME_B("Line out Playback Volume", 0, | 510 | BURGUNDY_VOLUME_B("Line out Playback Volume", 0, |
511 | MASK_ADDR_BURGUNDY_ATTENLINEOUT, 1, 1), | 511 | MASK_ADDR_BURGUNDY_ATTENLINEOUT, 1, 1), |
@@ -527,7 +527,7 @@ static struct snd_kcontrol_new snd_pmac_burgundy_mixers_pmac[] __devinitdata = { | |||
527 | MASK_ADDR_BURGUNDY_VOLMIC, 16), | 527 | MASK_ADDR_BURGUNDY_VOLMIC, 16), |
528 | BURGUNDY_VOLUME_B("Line in Gain Capture Volume", 0, | 528 | BURGUNDY_VOLUME_B("Line in Gain Capture Volume", 0, |
529 | MASK_ADDR_BURGUNDY_GAINMIC, 1, 0), | 529 | MASK_ADDR_BURGUNDY_GAINMIC, 1, 0), |
530 | BURGUNDY_VOLUME_B("PC Speaker Playback Volume", 0, | 530 | BURGUNDY_VOLUME_B("Speaker Playback Volume", 0, |
531 | MASK_ADDR_BURGUNDY_ATTENMONO, 0, 1), | 531 | MASK_ADDR_BURGUNDY_ATTENMONO, 0, 1), |
532 | BURGUNDY_VOLUME_B("Line out Playback Volume", 0, | 532 | BURGUNDY_VOLUME_B("Line out Playback Volume", 0, |
533 | MASK_ADDR_BURGUNDY_ATTENSPEAKER, 1, 1), | 533 | MASK_ADDR_BURGUNDY_ATTENSPEAKER, 1, 1), |
@@ -549,11 +549,11 @@ BURGUNDY_SWITCH_B("Master Playback Switch", 0, | |||
549 | BURGUNDY_OUTPUT_INTERN | 549 | BURGUNDY_OUTPUT_INTERN |
550 | | BURGUNDY_OUTPUT_LEFT, BURGUNDY_OUTPUT_RIGHT, 1); | 550 | | BURGUNDY_OUTPUT_LEFT, BURGUNDY_OUTPUT_RIGHT, 1); |
551 | static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_imac __devinitdata = | 551 | static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_imac __devinitdata = |
552 | BURGUNDY_SWITCH_B("PC Speaker Playback Switch", 0, | 552 | BURGUNDY_SWITCH_B("Speaker Playback Switch", 0, |
553 | MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES, | 553 | MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES, |
554 | BURGUNDY_OUTPUT_LEFT, BURGUNDY_OUTPUT_RIGHT, 1); | 554 | BURGUNDY_OUTPUT_LEFT, BURGUNDY_OUTPUT_RIGHT, 1); |
555 | static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_pmac __devinitdata = | 555 | static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_pmac __devinitdata = |
556 | BURGUNDY_SWITCH_B("PC Speaker Playback Switch", 0, | 556 | BURGUNDY_SWITCH_B("Speaker Playback Switch", 0, |
557 | MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES, | 557 | MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES, |
558 | BURGUNDY_OUTPUT_INTERN, 0, 0); | 558 | BURGUNDY_OUTPUT_INTERN, 0, 0); |
559 | static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_imac __devinitdata = | 559 | static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_imac __devinitdata = |
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 08e584d1453a..789f44f4ac78 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c | |||
@@ -905,7 +905,7 @@ static struct snd_kcontrol_new tumbler_hp_sw __devinitdata = { | |||
905 | }; | 905 | }; |
906 | static struct snd_kcontrol_new tumbler_speaker_sw __devinitdata = { | 906 | static struct snd_kcontrol_new tumbler_speaker_sw __devinitdata = { |
907 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 907 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
908 | .name = "PC Speaker Playback Switch", | 908 | .name = "Speaker Playback Switch", |
909 | .info = snd_pmac_boolean_mono_info, | 909 | .info = snd_pmac_boolean_mono_info, |
910 | .get = tumbler_get_mute_switch, | 910 | .get = tumbler_get_mute_switch, |
911 | .put = tumbler_put_mute_switch, | 911 | .put = tumbler_put_mute_switch, |
diff --git a/sound/sh/Kconfig b/sound/sh/Kconfig index aed0f90c3919..61139f3c1614 100644 --- a/sound/sh/Kconfig +++ b/sound/sh/Kconfig | |||
@@ -19,5 +19,13 @@ config SND_AICA | |||
19 | help | 19 | help |
20 | ALSA Sound driver for the SEGA Dreamcast console. | 20 | ALSA Sound driver for the SEGA Dreamcast console. |
21 | 21 | ||
22 | config SND_SH_DAC_AUDIO | ||
23 | tristate "SuperH DAC audio support" | ||
24 | depends on SND | ||
25 | depends on CPU_SH3 && HIGH_RES_TIMERS | ||
26 | select SND_PCM | ||
27 | help | ||
28 | Say Y here to include support for the on-chip DAC. | ||
29 | |||
22 | endif # SND_SUPERH | 30 | endif # SND_SUPERH |
23 | 31 | ||
diff --git a/sound/sh/Makefile b/sound/sh/Makefile index 8fdcb6e26f00..7d09b5188cf7 100644 --- a/sound/sh/Makefile +++ b/sound/sh/Makefile | |||
@@ -3,6 +3,8 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | snd-aica-objs := aica.o | 5 | snd-aica-objs := aica.o |
6 | snd-sh_dac_audio-objs := sh_dac_audio.o | ||
6 | 7 | ||
7 | # Toplevel Module Dependency | 8 | # Toplevel Module Dependency |
8 | obj-$(CONFIG_SND_AICA) += snd-aica.o | 9 | obj-$(CONFIG_SND_AICA) += snd-aica.o |
10 | obj-$(CONFIG_SND_SH_DAC_AUDIO) += snd-sh_dac_audio.o | ||
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c new file mode 100644 index 000000000000..76d9ad27d91c --- /dev/null +++ b/sound/sh/sh_dac_audio.c | |||
@@ -0,0 +1,453 @@ | |||
1 | /* | ||
2 | * sh_dac_audio.c - SuperH DAC audio driver for ALSA | ||
3 | * | ||
4 | * Copyright (c) 2009 by Rafael Ignacio Zurita <rizurita@yahoo.com> | ||
5 | * | ||
6 | * | ||
7 | * Based on sh_dac_audio.c (Copyright (C) 2004, 2005 by Andriy Skulysh) | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | * You should have received a copy of the GNU General Public License | ||
20 | * along with this program; if not, write to the Free Software | ||
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #include <linux/hrtimer.h> | ||
26 | #include <linux/interrupt.h> | ||
27 | #include <linux/io.h> | ||
28 | #include <linux/platform_device.h> | ||
29 | #include <sound/core.h> | ||
30 | #include <sound/initval.h> | ||
31 | #include <sound/pcm.h> | ||
32 | #include <sound/sh_dac_audio.h> | ||
33 | #include <asm/clock.h> | ||
34 | #include <asm/hd64461.h> | ||
35 | #include <mach/hp6xx.h> | ||
36 | #include <cpu/dac.h> | ||
37 | |||
38 | MODULE_AUTHOR("Rafael Ignacio Zurita <rizurita@yahoo.com>"); | ||
39 | MODULE_DESCRIPTION("SuperH DAC audio driver"); | ||
40 | MODULE_LICENSE("GPL"); | ||
41 | MODULE_SUPPORTED_DEVICE("{{SuperH DAC audio support}}"); | ||
42 | |||
43 | /* Module Parameters */ | ||
44 | static int index = SNDRV_DEFAULT_IDX1; | ||
45 | static char *id = SNDRV_DEFAULT_STR1; | ||
46 | module_param(index, int, 0444); | ||
47 | MODULE_PARM_DESC(index, "Index value for SuperH DAC audio."); | ||
48 | module_param(id, charp, 0444); | ||
49 | MODULE_PARM_DESC(id, "ID string for SuperH DAC audio."); | ||
50 | |||
51 | /* main struct */ | ||
52 | struct snd_sh_dac { | ||
53 | struct snd_card *card; | ||
54 | struct snd_pcm_substream *substream; | ||
55 | struct hrtimer hrtimer; | ||
56 | ktime_t wakeups_per_second; | ||
57 | |||
58 | int rate; | ||
59 | int empty; | ||
60 | char *data_buffer, *buffer_begin, *buffer_end; | ||
61 | int processed; /* bytes proccesed, to compare with period_size */ | ||
62 | int buffer_size; | ||
63 | struct dac_audio_pdata *pdata; | ||
64 | }; | ||
65 | |||
66 | |||
67 | static void dac_audio_start_timer(struct snd_sh_dac *chip) | ||
68 | { | ||
69 | hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, | ||
70 | HRTIMER_MODE_REL); | ||
71 | } | ||
72 | |||
73 | static void dac_audio_stop_timer(struct snd_sh_dac *chip) | ||
74 | { | ||
75 | hrtimer_cancel(&chip->hrtimer); | ||
76 | } | ||
77 | |||
78 | static void dac_audio_reset(struct snd_sh_dac *chip) | ||
79 | { | ||
80 | dac_audio_stop_timer(chip); | ||
81 | chip->buffer_begin = chip->buffer_end = chip->data_buffer; | ||
82 | chip->processed = 0; | ||
83 | chip->empty = 1; | ||
84 | } | ||
85 | |||
86 | static void dac_audio_set_rate(struct snd_sh_dac *chip) | ||
87 | { | ||
88 | chip->wakeups_per_second = ktime_set(0, 1000000000 / chip->rate); | ||
89 | } | ||
90 | |||
91 | |||
92 | /* PCM INTERFACE */ | ||
93 | |||
94 | static struct snd_pcm_hardware snd_sh_dac_pcm_hw = { | ||
95 | .info = (SNDRV_PCM_INFO_MMAP | | ||
96 | SNDRV_PCM_INFO_MMAP_VALID | | ||
97 | SNDRV_PCM_INFO_INTERLEAVED | | ||
98 | SNDRV_PCM_INFO_HALF_DUPLEX), | ||
99 | .formats = SNDRV_PCM_FMTBIT_U8, | ||
100 | .rates = SNDRV_PCM_RATE_8000, | ||
101 | .rate_min = 8000, | ||
102 | .rate_max = 8000, | ||
103 | .channels_min = 1, | ||
104 | .channels_max = 1, | ||
105 | .buffer_bytes_max = (48*1024), | ||
106 | .period_bytes_min = 1, | ||
107 | .period_bytes_max = (48*1024), | ||
108 | .periods_min = 1, | ||
109 | .periods_max = 1024, | ||
110 | }; | ||
111 | |||
112 | static int snd_sh_dac_pcm_open(struct snd_pcm_substream *substream) | ||
113 | { | ||
114 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
115 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
116 | |||
117 | runtime->hw = snd_sh_dac_pcm_hw; | ||
118 | |||
119 | chip->substream = substream; | ||
120 | chip->buffer_begin = chip->buffer_end = chip->data_buffer; | ||
121 | chip->processed = 0; | ||
122 | chip->empty = 1; | ||
123 | |||
124 | chip->pdata->start(chip->pdata); | ||
125 | |||
126 | return 0; | ||
127 | } | ||
128 | |||
129 | static int snd_sh_dac_pcm_close(struct snd_pcm_substream *substream) | ||
130 | { | ||
131 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
132 | |||
133 | chip->substream = NULL; | ||
134 | |||
135 | dac_audio_stop_timer(chip); | ||
136 | chip->pdata->stop(chip->pdata); | ||
137 | |||
138 | return 0; | ||
139 | } | ||
140 | |||
141 | static int snd_sh_dac_pcm_hw_params(struct snd_pcm_substream *substream, | ||
142 | struct snd_pcm_hw_params *hw_params) | ||
143 | { | ||
144 | return snd_pcm_lib_malloc_pages(substream, | ||
145 | params_buffer_bytes(hw_params)); | ||
146 | } | ||
147 | |||
148 | static int snd_sh_dac_pcm_hw_free(struct snd_pcm_substream *substream) | ||
149 | { | ||
150 | return snd_pcm_lib_free_pages(substream); | ||
151 | } | ||
152 | |||
153 | static int snd_sh_dac_pcm_prepare(struct snd_pcm_substream *substream) | ||
154 | { | ||
155 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
156 | struct snd_pcm_runtime *runtime = chip->substream->runtime; | ||
157 | |||
158 | chip->buffer_size = runtime->buffer_size; | ||
159 | memset(chip->data_buffer, 0, chip->pdata->buffer_size); | ||
160 | |||
161 | return 0; | ||
162 | } | ||
163 | |||
164 | static int snd_sh_dac_pcm_trigger(struct snd_pcm_substream *substream, int cmd) | ||
165 | { | ||
166 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
167 | |||
168 | switch (cmd) { | ||
169 | case SNDRV_PCM_TRIGGER_START: | ||
170 | dac_audio_start_timer(chip); | ||
171 | break; | ||
172 | case SNDRV_PCM_TRIGGER_STOP: | ||
173 | chip->buffer_begin = chip->buffer_end = chip->data_buffer; | ||
174 | chip->processed = 0; | ||
175 | chip->empty = 1; | ||
176 | dac_audio_stop_timer(chip); | ||
177 | break; | ||
178 | default: | ||
179 | return -EINVAL; | ||
180 | } | ||
181 | |||
182 | return 0; | ||
183 | } | ||
184 | |||
185 | static int snd_sh_dac_pcm_copy(struct snd_pcm_substream *substream, int channel, | ||
186 | snd_pcm_uframes_t pos, void __user *src, snd_pcm_uframes_t count) | ||
187 | { | ||
188 | /* channel is not used (interleaved data) */ | ||
189 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
190 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
191 | ssize_t b_count = frames_to_bytes(runtime , count); | ||
192 | ssize_t b_pos = frames_to_bytes(runtime , pos); | ||
193 | |||
194 | if (count < 0) | ||
195 | return -EINVAL; | ||
196 | |||
197 | if (!count) | ||
198 | return 0; | ||
199 | |||
200 | memcpy_toio(chip->data_buffer + b_pos, src, b_count); | ||
201 | chip->buffer_end = chip->data_buffer + b_pos + b_count; | ||
202 | |||
203 | if (chip->empty) { | ||
204 | chip->empty = 0; | ||
205 | dac_audio_start_timer(chip); | ||
206 | } | ||
207 | |||
208 | return 0; | ||
209 | } | ||
210 | |||
211 | static int snd_sh_dac_pcm_silence(struct snd_pcm_substream *substream, | ||
212 | int channel, snd_pcm_uframes_t pos, | ||
213 | snd_pcm_uframes_t count) | ||
214 | { | ||
215 | /* channel is not used (interleaved data) */ | ||
216 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
217 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
218 | ssize_t b_count = frames_to_bytes(runtime , count); | ||
219 | ssize_t b_pos = frames_to_bytes(runtime , pos); | ||
220 | |||
221 | if (count < 0) | ||
222 | return -EINVAL; | ||
223 | |||
224 | if (!count) | ||
225 | return 0; | ||
226 | |||
227 | memset_io(chip->data_buffer + b_pos, 0, b_count); | ||
228 | chip->buffer_end = chip->data_buffer + b_pos + b_count; | ||
229 | |||
230 | if (chip->empty) { | ||
231 | chip->empty = 0; | ||
232 | dac_audio_start_timer(chip); | ||
233 | } | ||
234 | |||
235 | return 0; | ||
236 | } | ||
237 | |||
238 | static | ||
239 | snd_pcm_uframes_t snd_sh_dac_pcm_pointer(struct snd_pcm_substream *substream) | ||
240 | { | ||
241 | struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); | ||
242 | int pointer = chip->buffer_begin - chip->data_buffer; | ||
243 | |||
244 | return pointer; | ||
245 | } | ||
246 | |||
247 | /* pcm ops */ | ||
248 | static struct snd_pcm_ops snd_sh_dac_pcm_ops = { | ||
249 | .open = snd_sh_dac_pcm_open, | ||
250 | .close = snd_sh_dac_pcm_close, | ||
251 | .ioctl = snd_pcm_lib_ioctl, | ||
252 | .hw_params = snd_sh_dac_pcm_hw_params, | ||
253 | .hw_free = snd_sh_dac_pcm_hw_free, | ||
254 | .prepare = snd_sh_dac_pcm_prepare, | ||
255 | .trigger = snd_sh_dac_pcm_trigger, | ||
256 | .pointer = snd_sh_dac_pcm_pointer, | ||
257 | .copy = snd_sh_dac_pcm_copy, | ||
258 | .silence = snd_sh_dac_pcm_silence, | ||
259 | .mmap = snd_pcm_lib_mmap_iomem, | ||
260 | }; | ||
261 | |||
262 | static int __devinit snd_sh_dac_pcm(struct snd_sh_dac *chip, int device) | ||
263 | { | ||
264 | int err; | ||
265 | struct snd_pcm *pcm; | ||
266 | |||
267 | /* device should be always 0 for us */ | ||
268 | err = snd_pcm_new(chip->card, "SH_DAC PCM", device, 1, 0, &pcm); | ||
269 | if (err < 0) | ||
270 | return err; | ||
271 | |||
272 | pcm->private_data = chip; | ||
273 | strcpy(pcm->name, "SH_DAC PCM"); | ||
274 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sh_dac_pcm_ops); | ||
275 | |||
276 | /* buffer size=48K */ | ||
277 | snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, | ||
278 | snd_dma_continuous_data(GFP_KERNEL), | ||
279 | 48 * 1024, | ||
280 | 48 * 1024); | ||
281 | |||
282 | return 0; | ||
283 | } | ||
284 | /* END OF PCM INTERFACE */ | ||
285 | |||
286 | |||
287 | /* driver .remove -- destructor */ | ||
288 | static int snd_sh_dac_remove(struct platform_device *devptr) | ||
289 | { | ||
290 | snd_card_free(platform_get_drvdata(devptr)); | ||
291 | platform_set_drvdata(devptr, NULL); | ||
292 | |||
293 | return 0; | ||
294 | } | ||
295 | |||
296 | /* free -- it has been defined by create */ | ||
297 | static int snd_sh_dac_free(struct snd_sh_dac *chip) | ||
298 | { | ||
299 | /* release the data */ | ||
300 | kfree(chip->data_buffer); | ||
301 | kfree(chip); | ||
302 | |||
303 | return 0; | ||
304 | } | ||
305 | |||
306 | static int snd_sh_dac_dev_free(struct snd_device *device) | ||
307 | { | ||
308 | struct snd_sh_dac *chip = device->device_data; | ||
309 | |||
310 | return snd_sh_dac_free(chip); | ||
311 | } | ||
312 | |||
313 | static enum hrtimer_restart sh_dac_audio_timer(struct hrtimer *handle) | ||
314 | { | ||
315 | struct snd_sh_dac *chip = container_of(handle, struct snd_sh_dac, | ||
316 | hrtimer); | ||
317 | struct snd_pcm_runtime *runtime = chip->substream->runtime; | ||
318 | ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); | ||
319 | |||
320 | if (!chip->empty) { | ||
321 | sh_dac_output(*chip->buffer_begin, chip->pdata->channel); | ||
322 | chip->buffer_begin++; | ||
323 | |||
324 | chip->processed++; | ||
325 | if (chip->processed >= b_ps) { | ||
326 | chip->processed -= b_ps; | ||
327 | snd_pcm_period_elapsed(chip->substream); | ||
328 | } | ||
329 | |||
330 | if (chip->buffer_begin == (chip->data_buffer + | ||
331 | chip->buffer_size - 1)) | ||
332 | chip->buffer_begin = chip->data_buffer; | ||
333 | |||
334 | if (chip->buffer_begin == chip->buffer_end) | ||
335 | chip->empty = 1; | ||
336 | |||
337 | } | ||
338 | |||
339 | if (!chip->empty) | ||
340 | hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, | ||
341 | HRTIMER_MODE_REL); | ||
342 | |||
343 | return HRTIMER_NORESTART; | ||
344 | } | ||
345 | |||
346 | /* create -- chip-specific constructor for the cards components */ | ||
347 | static int __devinit snd_sh_dac_create(struct snd_card *card, | ||
348 | struct platform_device *devptr, | ||
349 | struct snd_sh_dac **rchip) | ||
350 | { | ||
351 | struct snd_sh_dac *chip; | ||
352 | int err; | ||
353 | |||
354 | static struct snd_device_ops ops = { | ||
355 | .dev_free = snd_sh_dac_dev_free, | ||
356 | }; | ||
357 | |||
358 | *rchip = NULL; | ||
359 | |||
360 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); | ||
361 | if (chip == NULL) | ||
362 | return -ENOMEM; | ||
363 | |||
364 | chip->card = card; | ||
365 | |||
366 | hrtimer_init(&chip->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); | ||
367 | chip->hrtimer.function = sh_dac_audio_timer; | ||
368 | |||
369 | dac_audio_reset(chip); | ||
370 | chip->rate = 8000; | ||
371 | dac_audio_set_rate(chip); | ||
372 | |||
373 | chip->pdata = devptr->dev.platform_data; | ||
374 | |||
375 | chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL); | ||
376 | if (chip->data_buffer == NULL) { | ||
377 | kfree(chip); | ||
378 | return -ENOMEM; | ||
379 | } | ||
380 | |||
381 | err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); | ||
382 | if (err < 0) { | ||
383 | snd_sh_dac_free(chip); | ||
384 | return err; | ||
385 | } | ||
386 | |||
387 | *rchip = chip; | ||
388 | |||
389 | return 0; | ||
390 | } | ||
391 | |||
392 | /* driver .probe -- constructor */ | ||
393 | static int __devinit snd_sh_dac_probe(struct platform_device *devptr) | ||
394 | { | ||
395 | struct snd_sh_dac *chip; | ||
396 | struct snd_card *card; | ||
397 | int err; | ||
398 | |||
399 | err = snd_card_create(index, id, THIS_MODULE, 0, &card); | ||
400 | if (err < 0) { | ||
401 | snd_printk(KERN_ERR "cannot allocate the card\n"); | ||
402 | return err; | ||
403 | } | ||
404 | |||
405 | err = snd_sh_dac_create(card, devptr, &chip); | ||
406 | if (err < 0) | ||
407 | goto probe_error; | ||
408 | |||
409 | err = snd_sh_dac_pcm(chip, 0); | ||
410 | if (err < 0) | ||
411 | goto probe_error; | ||
412 | |||
413 | strcpy(card->driver, "snd_sh_dac"); | ||
414 | strcpy(card->shortname, "SuperH DAC audio driver"); | ||
415 | printk(KERN_INFO "%s %s", card->longname, card->shortname); | ||
416 | |||
417 | err = snd_card_register(card); | ||
418 | if (err < 0) | ||
419 | goto probe_error; | ||
420 | |||
421 | snd_printk("ALSA driver for SuperH DAC audio"); | ||
422 | |||
423 | platform_set_drvdata(devptr, card); | ||
424 | return 0; | ||
425 | |||
426 | probe_error: | ||
427 | snd_card_free(card); | ||
428 | return err; | ||
429 | } | ||
430 | |||
431 | /* | ||
432 | * "driver" definition | ||
433 | */ | ||
434 | static struct platform_driver driver = { | ||
435 | .probe = snd_sh_dac_probe, | ||
436 | .remove = snd_sh_dac_remove, | ||
437 | .driver = { | ||
438 | .name = "dac_audio", | ||
439 | }, | ||
440 | }; | ||
441 | |||
442 | static int __init sh_dac_init(void) | ||
443 | { | ||
444 | return platform_driver_register(&driver); | ||
445 | } | ||
446 | |||
447 | static void __exit sh_dac_exit(void) | ||
448 | { | ||
449 | platform_driver_unregister(&driver); | ||
450 | } | ||
451 | |||
452 | module_init(sh_dac_init); | ||
453 | module_exit(sh_dac_exit); | ||
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index 90a0264f7538..58ffb6de400f 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c | |||
@@ -85,7 +85,7 @@ static int tlv320aic23_write(struct snd_soc_codec *codec, unsigned int reg, | |||
85 | * of data into val | 85 | * of data into val |
86 | */ | 86 | */ |
87 | 87 | ||
88 | if ((reg < 0 || reg > 9) && (reg != 15)) { | 88 | if (reg > 9 && reg != 15) { |
89 | printk(KERN_WARNING "%s Invalid register R%u\n", __func__, reg); | 89 | printk(KERN_WARNING "%s Invalid register R%u\n", __func__, reg); |
90 | return -1; | 90 | return -1; |
91 | } | 91 | } |
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index abed37acf787..60e360b10468 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -165,9 +165,9 @@ SOC_SINGLE("Mono Playback Switch", AC97_MASTER_TONE, 7, 1, 1), | |||
165 | SOC_SINGLE("Mono Playback ZC Switch", AC97_MASTER_TONE, 6, 1, 0), | 165 | SOC_SINGLE("Mono Playback ZC Switch", AC97_MASTER_TONE, 6, 1, 0), |
166 | SOC_SINGLE("Mono Playback Volume", AC97_MASTER_TONE, 0, 31, 1), | 166 | SOC_SINGLE("Mono Playback Volume", AC97_MASTER_TONE, 0, 31, 1), |
167 | 167 | ||
168 | SOC_SINGLE("PC Beep Playback Headphone Volume", AC97_AUX, 12, 7, 1), | 168 | SOC_SINGLE("Beep Playback Headphone Volume", AC97_AUX, 12, 7, 1), |
169 | SOC_SINGLE("PC Beep Playback Speaker Volume", AC97_AUX, 8, 7, 1), | 169 | SOC_SINGLE("Beep Playback Speaker Volume", AC97_AUX, 8, 7, 1), |
170 | SOC_SINGLE("PC Beep Playback Mono Volume", AC97_AUX, 4, 7, 1), | 170 | SOC_SINGLE("Beep Playback Mono Volume", AC97_AUX, 4, 7, 1), |
171 | 171 | ||
172 | SOC_SINGLE("Voice Playback Headphone Volume", AC97_PCM, 12, 7, 1), | 172 | SOC_SINGLE("Voice Playback Headphone Volume", AC97_PCM, 12, 7, 1), |
173 | SOC_SINGLE("Voice Playback Master Volume", AC97_PCM, 8, 7, 1), | 173 | SOC_SINGLE("Voice Playback Master Volume", AC97_PCM, 8, 7, 1), |
@@ -266,7 +266,7 @@ static int mixer_event(struct snd_soc_dapm_widget *w, | |||
266 | 266 | ||
267 | /* Left Headphone Mixers */ | 267 | /* Left Headphone Mixers */ |
268 | static const struct snd_kcontrol_new wm9713_hpl_mixer_controls[] = { | 268 | static const struct snd_kcontrol_new wm9713_hpl_mixer_controls[] = { |
269 | SOC_DAPM_SINGLE("PC Beep Playback Switch", HPL_MIXER, 5, 1, 0), | 269 | SOC_DAPM_SINGLE("Beep Playback Switch", HPL_MIXER, 5, 1, 0), |
270 | SOC_DAPM_SINGLE("Voice Playback Switch", HPL_MIXER, 4, 1, 0), | 270 | SOC_DAPM_SINGLE("Voice Playback Switch", HPL_MIXER, 4, 1, 0), |
271 | SOC_DAPM_SINGLE("Aux Playback Switch", HPL_MIXER, 3, 1, 0), | 271 | SOC_DAPM_SINGLE("Aux Playback Switch", HPL_MIXER, 3, 1, 0), |
272 | SOC_DAPM_SINGLE("PCM Playback Switch", HPL_MIXER, 2, 1, 0), | 272 | SOC_DAPM_SINGLE("PCM Playback Switch", HPL_MIXER, 2, 1, 0), |
@@ -276,7 +276,7 @@ SOC_DAPM_SINGLE("Bypass Playback Switch", HPL_MIXER, 0, 1, 0), | |||
276 | 276 | ||
277 | /* Right Headphone Mixers */ | 277 | /* Right Headphone Mixers */ |
278 | static const struct snd_kcontrol_new wm9713_hpr_mixer_controls[] = { | 278 | static const struct snd_kcontrol_new wm9713_hpr_mixer_controls[] = { |
279 | SOC_DAPM_SINGLE("PC Beep Playback Switch", HPR_MIXER, 5, 1, 0), | 279 | SOC_DAPM_SINGLE("Beep Playback Switch", HPR_MIXER, 5, 1, 0), |
280 | SOC_DAPM_SINGLE("Voice Playback Switch", HPR_MIXER, 4, 1, 0), | 280 | SOC_DAPM_SINGLE("Voice Playback Switch", HPR_MIXER, 4, 1, 0), |
281 | SOC_DAPM_SINGLE("Aux Playback Switch", HPR_MIXER, 3, 1, 0), | 281 | SOC_DAPM_SINGLE("Aux Playback Switch", HPR_MIXER, 3, 1, 0), |
282 | SOC_DAPM_SINGLE("PCM Playback Switch", HPR_MIXER, 2, 1, 0), | 282 | SOC_DAPM_SINGLE("PCM Playback Switch", HPR_MIXER, 2, 1, 0), |
@@ -294,7 +294,7 @@ SOC_DAPM_ENUM("Route", wm9713_enum[0]); | |||
294 | 294 | ||
295 | /* Speaker Mixer */ | 295 | /* Speaker Mixer */ |
296 | static const struct snd_kcontrol_new wm9713_speaker_mixer_controls[] = { | 296 | static const struct snd_kcontrol_new wm9713_speaker_mixer_controls[] = { |
297 | SOC_DAPM_SINGLE("PC Beep Playback Switch", AC97_AUX, 11, 1, 1), | 297 | SOC_DAPM_SINGLE("Beep Playback Switch", AC97_AUX, 11, 1, 1), |
298 | SOC_DAPM_SINGLE("Voice Playback Switch", AC97_PCM, 11, 1, 1), | 298 | SOC_DAPM_SINGLE("Voice Playback Switch", AC97_PCM, 11, 1, 1), |
299 | SOC_DAPM_SINGLE("Aux Playback Switch", AC97_REC_SEL, 11, 1, 1), | 299 | SOC_DAPM_SINGLE("Aux Playback Switch", AC97_REC_SEL, 11, 1, 1), |
300 | SOC_DAPM_SINGLE("PCM Playback Switch", AC97_PHONE, 14, 1, 1), | 300 | SOC_DAPM_SINGLE("PCM Playback Switch", AC97_PHONE, 14, 1, 1), |
@@ -304,7 +304,7 @@ SOC_DAPM_SINGLE("Bypass Playback Switch", AC97_PC_BEEP, 14, 1, 1), | |||
304 | 304 | ||
305 | /* Mono Mixer */ | 305 | /* Mono Mixer */ |
306 | static const struct snd_kcontrol_new wm9713_mono_mixer_controls[] = { | 306 | static const struct snd_kcontrol_new wm9713_mono_mixer_controls[] = { |
307 | SOC_DAPM_SINGLE("PC Beep Playback Switch", AC97_AUX, 7, 1, 1), | 307 | SOC_DAPM_SINGLE("Beep Playback Switch", AC97_AUX, 7, 1, 1), |
308 | SOC_DAPM_SINGLE("Voice Playback Switch", AC97_PCM, 7, 1, 1), | 308 | SOC_DAPM_SINGLE("Voice Playback Switch", AC97_PCM, 7, 1, 1), |
309 | SOC_DAPM_SINGLE("Aux Playback Switch", AC97_REC_SEL, 7, 1, 1), | 309 | SOC_DAPM_SINGLE("Aux Playback Switch", AC97_REC_SEL, 7, 1, 1), |
310 | SOC_DAPM_SINGLE("PCM Playback Switch", AC97_PHONE, 13, 1, 1), | 310 | SOC_DAPM_SINGLE("PCM Playback Switch", AC97_PHONE, 13, 1, 1), |
@@ -463,7 +463,7 @@ SND_SOC_DAPM_VMID("VMID"), | |||
463 | 463 | ||
464 | static const struct snd_soc_dapm_route audio_map[] = { | 464 | static const struct snd_soc_dapm_route audio_map[] = { |
465 | /* left HP mixer */ | 465 | /* left HP mixer */ |
466 | {"Left HP Mixer", "PC Beep Playback Switch", "PCBEEP"}, | 466 | {"Left HP Mixer", "Beep Playback Switch", "PCBEEP"}, |
467 | {"Left HP Mixer", "Voice Playback Switch", "Voice DAC"}, | 467 | {"Left HP Mixer", "Voice Playback Switch", "Voice DAC"}, |
468 | {"Left HP Mixer", "Aux Playback Switch", "Aux DAC"}, | 468 | {"Left HP Mixer", "Aux Playback Switch", "Aux DAC"}, |
469 | {"Left HP Mixer", "Bypass Playback Switch", "Left Line In"}, | 469 | {"Left HP Mixer", "Bypass Playback Switch", "Left Line In"}, |
@@ -472,7 +472,7 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
472 | {"Left HP Mixer", NULL, "Capture Headphone Mux"}, | 472 | {"Left HP Mixer", NULL, "Capture Headphone Mux"}, |
473 | 473 | ||
474 | /* right HP mixer */ | 474 | /* right HP mixer */ |
475 | {"Right HP Mixer", "PC Beep Playback Switch", "PCBEEP"}, | 475 | {"Right HP Mixer", "Beep Playback Switch", "PCBEEP"}, |
476 | {"Right HP Mixer", "Voice Playback Switch", "Voice DAC"}, | 476 | {"Right HP Mixer", "Voice Playback Switch", "Voice DAC"}, |
477 | {"Right HP Mixer", "Aux Playback Switch", "Aux DAC"}, | 477 | {"Right HP Mixer", "Aux Playback Switch", "Aux DAC"}, |
478 | {"Right HP Mixer", "Bypass Playback Switch", "Right Line In"}, | 478 | {"Right HP Mixer", "Bypass Playback Switch", "Right Line In"}, |
@@ -491,7 +491,7 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
491 | {"Capture Mixer", NULL, "Right Capture Source"}, | 491 | {"Capture Mixer", NULL, "Right Capture Source"}, |
492 | 492 | ||
493 | /* speaker mixer */ | 493 | /* speaker mixer */ |
494 | {"Speaker Mixer", "PC Beep Playback Switch", "PCBEEP"}, | 494 | {"Speaker Mixer", "Beep Playback Switch", "PCBEEP"}, |
495 | {"Speaker Mixer", "Voice Playback Switch", "Voice DAC"}, | 495 | {"Speaker Mixer", "Voice Playback Switch", "Voice DAC"}, |
496 | {"Speaker Mixer", "Aux Playback Switch", "Aux DAC"}, | 496 | {"Speaker Mixer", "Aux Playback Switch", "Aux DAC"}, |
497 | {"Speaker Mixer", "Bypass Playback Switch", "Line Mixer"}, | 497 | {"Speaker Mixer", "Bypass Playback Switch", "Line Mixer"}, |
@@ -499,7 +499,7 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
499 | {"Speaker Mixer", "MonoIn Playback Switch", "Mono In"}, | 499 | {"Speaker Mixer", "MonoIn Playback Switch", "Mono In"}, |
500 | 500 | ||
501 | /* mono mixer */ | 501 | /* mono mixer */ |
502 | {"Mono Mixer", "PC Beep Playback Switch", "PCBEEP"}, | 502 | {"Mono Mixer", "Beep Playback Switch", "PCBEEP"}, |
503 | {"Mono Mixer", "Voice Playback Switch", "Voice DAC"}, | 503 | {"Mono Mixer", "Voice Playback Switch", "Voice DAC"}, |
504 | {"Mono Mixer", "Aux Playback Switch", "Aux DAC"}, | 504 | {"Mono Mixer", "Aux Playback Switch", "Aux DAC"}, |
505 | {"Mono Mixer", "Bypass Playback Switch", "Line Mixer"}, | 505 | {"Mono Mixer", "Bypass Playback Switch", "Line Mixer"}, |
diff --git a/sound/usb/usx2y/us122l.c b/sound/usb/usx2y/us122l.c index 99f33766cd51..00cd54c236b4 100644 --- a/sound/usb/usx2y/us122l.c +++ b/sound/usb/usx2y/us122l.c | |||
@@ -66,6 +66,28 @@ static int us122l_create_usbmidi(struct snd_card *card) | |||
66 | iface, &quirk); | 66 | iface, &quirk); |
67 | } | 67 | } |
68 | 68 | ||
69 | static int us144_create_usbmidi(struct snd_card *card) | ||
70 | { | ||
71 | static struct snd_usb_midi_endpoint_info quirk_data = { | ||
72 | .out_ep = 4, | ||
73 | .in_ep = 3, | ||
74 | .out_cables = 0x001, | ||
75 | .in_cables = 0x001 | ||
76 | }; | ||
77 | static struct snd_usb_audio_quirk quirk = { | ||
78 | .vendor_name = "US144", | ||
79 | .product_name = NAME_ALLCAPS, | ||
80 | .ifnum = 0, | ||
81 | .type = QUIRK_MIDI_US122L, | ||
82 | .data = &quirk_data | ||
83 | }; | ||
84 | struct usb_device *dev = US122L(card)->chip.dev; | ||
85 | struct usb_interface *iface = usb_ifnum_to_if(dev, 0); | ||
86 | |||
87 | return snd_usb_create_midi_interface(&US122L(card)->chip, | ||
88 | iface, &quirk); | ||
89 | } | ||
90 | |||
69 | /* | 91 | /* |
70 | * Wrapper for usb_control_msg(). | 92 | * Wrapper for usb_control_msg(). |
71 | * Allocates a temp buffer to prevent dmaing from/to the stack. | 93 | * Allocates a temp buffer to prevent dmaing from/to the stack. |
@@ -171,6 +193,11 @@ static int usb_stream_hwdep_open(struct snd_hwdep *hw, struct file *file) | |||
171 | 193 | ||
172 | if (!us122l->first) | 194 | if (!us122l->first) |
173 | us122l->first = file; | 195 | us122l->first = file; |
196 | |||
197 | if (us122l->chip.dev->descriptor.idProduct == USB_ID_US144) { | ||
198 | iface = usb_ifnum_to_if(us122l->chip.dev, 0); | ||
199 | usb_autopm_get_interface(iface); | ||
200 | } | ||
174 | iface = usb_ifnum_to_if(us122l->chip.dev, 1); | 201 | iface = usb_ifnum_to_if(us122l->chip.dev, 1); |
175 | usb_autopm_get_interface(iface); | 202 | usb_autopm_get_interface(iface); |
176 | return 0; | 203 | return 0; |
@@ -179,8 +206,14 @@ static int usb_stream_hwdep_open(struct snd_hwdep *hw, struct file *file) | |||
179 | static int usb_stream_hwdep_release(struct snd_hwdep *hw, struct file *file) | 206 | static int usb_stream_hwdep_release(struct snd_hwdep *hw, struct file *file) |
180 | { | 207 | { |
181 | struct us122l *us122l = hw->private_data; | 208 | struct us122l *us122l = hw->private_data; |
182 | struct usb_interface *iface = usb_ifnum_to_if(us122l->chip.dev, 1); | 209 | struct usb_interface *iface; |
183 | snd_printdd(KERN_DEBUG "%p %p\n", hw, file); | 210 | snd_printdd(KERN_DEBUG "%p %p\n", hw, file); |
211 | |||
212 | if (us122l->chip.dev->descriptor.idProduct == USB_ID_US144) { | ||
213 | iface = usb_ifnum_to_if(us122l->chip.dev, 0); | ||
214 | usb_autopm_put_interface(iface); | ||
215 | } | ||
216 | iface = usb_ifnum_to_if(us122l->chip.dev, 1); | ||
184 | usb_autopm_put_interface(iface); | 217 | usb_autopm_put_interface(iface); |
185 | if (us122l->first == file) | 218 | if (us122l->first == file) |
186 | us122l->first = NULL; | 219 | us122l->first = NULL; |
@@ -443,6 +476,13 @@ static bool us122l_create_card(struct snd_card *card) | |||
443 | int err; | 476 | int err; |
444 | struct us122l *us122l = US122L(card); | 477 | struct us122l *us122l = US122L(card); |
445 | 478 | ||
479 | if (us122l->chip.dev->descriptor.idProduct == USB_ID_US144) { | ||
480 | err = usb_set_interface(us122l->chip.dev, 0, 1); | ||
481 | if (err) { | ||
482 | snd_printk(KERN_ERR "usb_set_interface error \n"); | ||
483 | return false; | ||
484 | } | ||
485 | } | ||
446 | err = usb_set_interface(us122l->chip.dev, 1, 1); | 486 | err = usb_set_interface(us122l->chip.dev, 1, 1); |
447 | if (err) { | 487 | if (err) { |
448 | snd_printk(KERN_ERR "usb_set_interface error \n"); | 488 | snd_printk(KERN_ERR "usb_set_interface error \n"); |
@@ -455,7 +495,10 @@ static bool us122l_create_card(struct snd_card *card) | |||
455 | if (!us122l_start(us122l, 44100, 256)) | 495 | if (!us122l_start(us122l, 44100, 256)) |
456 | return false; | 496 | return false; |
457 | 497 | ||
458 | err = us122l_create_usbmidi(card); | 498 | if (us122l->chip.dev->descriptor.idProduct == USB_ID_US144) |
499 | err = us144_create_usbmidi(card); | ||
500 | else | ||
501 | err = us122l_create_usbmidi(card); | ||
459 | if (err < 0) { | 502 | if (err < 0) { |
460 | snd_printk(KERN_ERR "us122l_create_usbmidi error %i \n", err); | 503 | snd_printk(KERN_ERR "us122l_create_usbmidi error %i \n", err); |
461 | us122l_stop(us122l); | 504 | us122l_stop(us122l); |
@@ -542,6 +585,7 @@ static int us122l_usb_probe(struct usb_interface *intf, | |||
542 | return err; | 585 | return err; |
543 | } | 586 | } |
544 | 587 | ||
588 | usb_get_intf(usb_ifnum_to_if(device, 0)); | ||
545 | usb_get_dev(device); | 589 | usb_get_dev(device); |
546 | *cardp = card; | 590 | *cardp = card; |
547 | return 0; | 591 | return 0; |
@@ -550,9 +594,16 @@ static int us122l_usb_probe(struct usb_interface *intf, | |||
550 | static int snd_us122l_probe(struct usb_interface *intf, | 594 | static int snd_us122l_probe(struct usb_interface *intf, |
551 | const struct usb_device_id *id) | 595 | const struct usb_device_id *id) |
552 | { | 596 | { |
597 | struct usb_device *device = interface_to_usbdev(intf); | ||
553 | struct snd_card *card; | 598 | struct snd_card *card; |
554 | int err; | 599 | int err; |
555 | 600 | ||
601 | if (device->descriptor.idProduct == USB_ID_US144 | ||
602 | && device->speed == USB_SPEED_HIGH) { | ||
603 | snd_printk(KERN_ERR "disable ehci-hcd to run US-144 \n"); | ||
604 | return -ENODEV; | ||
605 | } | ||
606 | |||
556 | snd_printdd(KERN_DEBUG"%p:%i\n", | 607 | snd_printdd(KERN_DEBUG"%p:%i\n", |
557 | intf, intf->cur_altsetting->desc.bInterfaceNumber); | 608 | intf, intf->cur_altsetting->desc.bInterfaceNumber); |
558 | if (intf->cur_altsetting->desc.bInterfaceNumber != 1) | 609 | if (intf->cur_altsetting->desc.bInterfaceNumber != 1) |
@@ -591,7 +642,8 @@ static void snd_us122l_disconnect(struct usb_interface *intf) | |||
591 | snd_usbmidi_disconnect(p); | 642 | snd_usbmidi_disconnect(p); |
592 | } | 643 | } |
593 | 644 | ||
594 | usb_put_intf(intf); | 645 | usb_put_intf(usb_ifnum_to_if(us122l->chip.dev, 0)); |
646 | usb_put_intf(usb_ifnum_to_if(us122l->chip.dev, 1)); | ||
595 | usb_put_dev(us122l->chip.dev); | 647 | usb_put_dev(us122l->chip.dev); |
596 | 648 | ||
597 | while (atomic_read(&us122l->mmap_count)) | 649 | while (atomic_read(&us122l->mmap_count)) |
@@ -642,6 +694,13 @@ static int snd_us122l_resume(struct usb_interface *intf) | |||
642 | 694 | ||
643 | mutex_lock(&us122l->mutex); | 695 | mutex_lock(&us122l->mutex); |
644 | /* needed, doesn't restart without: */ | 696 | /* needed, doesn't restart without: */ |
697 | if (us122l->chip.dev->descriptor.idProduct == USB_ID_US144) { | ||
698 | err = usb_set_interface(us122l->chip.dev, 0, 1); | ||
699 | if (err) { | ||
700 | snd_printk(KERN_ERR "usb_set_interface error \n"); | ||
701 | goto unlock; | ||
702 | } | ||
703 | } | ||
645 | err = usb_set_interface(us122l->chip.dev, 1, 1); | 704 | err = usb_set_interface(us122l->chip.dev, 1, 1); |
646 | if (err) { | 705 | if (err) { |
647 | snd_printk(KERN_ERR "usb_set_interface error \n"); | 706 | snd_printk(KERN_ERR "usb_set_interface error \n"); |
@@ -675,11 +734,11 @@ static struct usb_device_id snd_us122l_usb_id_table[] = { | |||
675 | .idVendor = 0x0644, | 734 | .idVendor = 0x0644, |
676 | .idProduct = USB_ID_US122L | 735 | .idProduct = USB_ID_US122L |
677 | }, | 736 | }, |
678 | /* { */ /* US-144 maybe works when @USB1.1. Untested. */ | 737 | { /* US-144 only works at USB1.1! Disable module ehci-hcd. */ |
679 | /* .match_flags = USB_DEVICE_ID_MATCH_DEVICE, */ | 738 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE, |
680 | /* .idVendor = 0x0644, */ | 739 | .idVendor = 0x0644, |
681 | /* .idProduct = USB_ID_US144 */ | 740 | .idProduct = USB_ID_US144 |
682 | /* }, */ | 741 | }, |
683 | { /* terminator */ } | 742 | { /* terminator */ } |
684 | }; | 743 | }; |
685 | 744 | ||
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 3eeef339c787..a4be453fc8a9 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -426,7 +426,7 @@ try_again: | |||
426 | if (fd[nr_cpu][counter] < 0) { | 426 | if (fd[nr_cpu][counter] < 0) { |
427 | int err = errno; | 427 | int err = errno; |
428 | 428 | ||
429 | if (err == EPERM) | 429 | if (err == EPERM || err == EACCES) |
430 | die("Permission error - are you root?\n"); | 430 | die("Permission error - are you root?\n"); |
431 | else if (err == ENODEV && profile_cpu != -1) | 431 | else if (err == ENODEV && profile_cpu != -1) |
432 | die("No such device - did you specify an out-of-range profile CPU?\n"); | 432 | die("No such device - did you specify an out-of-range profile CPU?\n"); |
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index a1b1d10912dc..e23bc74e734f 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -1027,7 +1027,7 @@ try_again: | |||
1027 | if (fd[i][counter] < 0) { | 1027 | if (fd[i][counter] < 0) { |
1028 | int err = errno; | 1028 | int err = errno; |
1029 | 1029 | ||
1030 | if (err == EPERM) | 1030 | if (err == EPERM || err == EACCES) |
1031 | die("No permission - are you root?\n"); | 1031 | die("No permission - are you root?\n"); |
1032 | /* | 1032 | /* |
1033 | * If it's cycles then fall back to hrtimer | 1033 | * If it's cycles then fall back to hrtimer |