diff options
56 files changed, 146 insertions, 329 deletions
diff --git a/Documentation/networking/ray_cs.txt b/Documentation/networking/ray_cs.txt index 5427f8c7df..145d27a523 100644 --- a/Documentation/networking/ray_cs.txt +++ b/Documentation/networking/ray_cs.txt | |||
| @@ -25,7 +25,7 @@ the essid= string parameter is available via the kernel command line. | |||
| 25 | This will change after the method of sorting out parameters for all | 25 | This will change after the method of sorting out parameters for all |
| 26 | the PCMCIA drivers is agreed upon. If you must have a built in driver | 26 | the PCMCIA drivers is agreed upon. If you must have a built in driver |
| 27 | with nondefault parameters, they can be edited in | 27 | with nondefault parameters, they can be edited in |
| 28 | /usr/src/linux/drivers/net/pcmcia/ray_cs.c. Searching for MODULE_PARM | 28 | /usr/src/linux/drivers/net/pcmcia/ray_cs.c. Searching for module_param |
| 29 | will find them all. | 29 | will find them all. |
| 30 | 30 | ||
| 31 | Information on card services is available at: | 31 | Information on card services is available at: |
diff --git a/Documentation/sound/oss/Introduction b/Documentation/sound/oss/Introduction index 15d4fb975a..f04ba6bb73 100644 --- a/Documentation/sound/oss/Introduction +++ b/Documentation/sound/oss/Introduction | |||
| @@ -69,7 +69,7 @@ are available, for example IRQ, address, DMA. | |||
| 69 | 69 | ||
| 70 | Warning, the options for different cards sometime use different names | 70 | Warning, the options for different cards sometime use different names |
| 71 | for the same or a similar feature (dma1= versus dma16=). As a last | 71 | for the same or a similar feature (dma1= versus dma16=). As a last |
| 72 | resort, inspect the code (search for MODULE_PARM). | 72 | resort, inspect the code (search for module_param). |
| 73 | 73 | ||
| 74 | Notes: | 74 | Notes: |
| 75 | 75 | ||
diff --git a/Documentation/sound/oss/cs46xx b/Documentation/sound/oss/cs46xx index 88d6cf8b39..b544327098 100644 --- a/Documentation/sound/oss/cs46xx +++ b/Documentation/sound/oss/cs46xx | |||
| @@ -88,7 +88,7 @@ parameters. for a copy email: twoller@crystal.cirrus.com | |||
| 88 | 88 | ||
| 89 | MODULE_PARMS definitions | 89 | MODULE_PARMS definitions |
| 90 | ------------------------ | 90 | ------------------------ |
| 91 | MODULE_PARM(defaultorder, "i"); | 91 | module_param(defaultorder, ulong, 0); |
| 92 | defaultorder=N | 92 | defaultorder=N |
| 93 | where N is a value from 1 to 12 | 93 | where N is a value from 1 to 12 |
| 94 | The buffer order determines the size of the dma buffer for the driver. | 94 | The buffer order determines the size of the dma buffer for the driver. |
| @@ -98,18 +98,18 @@ to not underrun the dma buffer as easily. As default, use 32k (order=3) | |||
| 98 | rather than 64k as some of the games work more responsively. | 98 | rather than 64k as some of the games work more responsively. |
| 99 | (2^N) * PAGE_SIZE = allocated buffer size | 99 | (2^N) * PAGE_SIZE = allocated buffer size |
| 100 | 100 | ||
| 101 | MODULE_PARM(cs_debuglevel, "i"); | 101 | module_param(cs_debuglevel, ulong, 0644); |
| 102 | MODULE_PARM(cs_debugmask, "i"); | 102 | module_param(cs_debugmask, ulong, 0644); |
| 103 | cs_debuglevel=N | 103 | cs_debuglevel=N |
| 104 | cs_debugmask=0xMMMMMMMM | 104 | cs_debugmask=0xMMMMMMMM |
| 105 | where N is a value from 0 (no debug printfs), to 9 (maximum) | 105 | where N is a value from 0 (no debug printfs), to 9 (maximum) |
| 106 | 0xMMMMMMMM is a debug mask corresponding to the CS_xxx bits (see driver source). | 106 | 0xMMMMMMMM is a debug mask corresponding to the CS_xxx bits (see driver source). |
| 107 | 107 | ||
| 108 | MODULE_PARM(hercules_egpio_disable, "i"); | 108 | module_param(hercules_egpio_disable, ulong, 0); |
| 109 | hercules_egpio_disable=N | 109 | hercules_egpio_disable=N |
| 110 | where N is a 0 (enable egpio), or a 1 (disable egpio support) | 110 | where N is a 0 (enable egpio), or a 1 (disable egpio support) |
| 111 | 111 | ||
| 112 | MODULE_PARM(initdelay, "i"); | 112 | module_param(initdelay, ulong, 0); |
| 113 | initdelay=N | 113 | initdelay=N |
| 114 | This value is used to determine the millescond delay during the initialization | 114 | This value is used to determine the millescond delay during the initialization |
| 115 | code prior to powering up the PLL. On laptops this value can be used to | 115 | code prior to powering up the PLL. On laptops this value can be used to |
| @@ -118,19 +118,19 @@ system is booted under battery power then the mdelay()/udelay() functions fail t | |||
| 118 | properly delay the required time. Also, if the system is booted under AC power | 118 | properly delay the required time. Also, if the system is booted under AC power |
| 119 | and then the power removed, the mdelay()/udelay() functions will not delay properly. | 119 | and then the power removed, the mdelay()/udelay() functions will not delay properly. |
| 120 | 120 | ||
| 121 | MODULE_PARM(powerdown, "i"); | 121 | module_param(powerdown, ulong, 0); |
| 122 | powerdown=N | 122 | powerdown=N |
| 123 | where N is 0 (disable any powerdown of the internal blocks) or 1 (enable powerdown) | 123 | where N is 0 (disable any powerdown of the internal blocks) or 1 (enable powerdown) |
| 124 | 124 | ||
| 125 | 125 | ||
| 126 | MODULE_PARM(external_amp, "i"); | 126 | module_param(external_amp, bool, 0); |
| 127 | external_amp=1 | 127 | external_amp=1 |
| 128 | if N is set to 1, then force enabling the EAPD support in the primary AC97 codec. | 128 | if N is set to 1, then force enabling the EAPD support in the primary AC97 codec. |
| 129 | override the detection logic and force the external amp bit in the AC97 0x26 register | 129 | override the detection logic and force the external amp bit in the AC97 0x26 register |
| 130 | to be reset (0). EAPD should be 0 for powerup, and 1 for powerdown. The VTB Santa Cruz | 130 | to be reset (0). EAPD should be 0 for powerup, and 1 for powerdown. The VTB Santa Cruz |
| 131 | card has inverted logic, so there is a special function for these cards. | 131 | card has inverted logic, so there is a special function for these cards. |
| 132 | 132 | ||
| 133 | MODULE_PARM(thinkpad, "i"); | 133 | module_param(thinkpad, bool, 0); |
| 134 | thinkpad=1 | 134 | thinkpad=1 |
| 135 | if N is set to 1, then force enabling the clkrun functionality. | 135 | if N is set to 1, then force enabling the clkrun functionality. |
| 136 | Currently, when the part is being used, then clkrun is disabled for the entire system, | 136 | Currently, when the part is being used, then clkrun is disabled for the entire system, |
diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c index 49eb2a7e65..a892356d5c 100644 --- a/arch/ppc/8xx_io/cs4218_tdm.c +++ b/arch/ppc/8xx_io/cs4218_tdm.c | |||
| @@ -126,11 +126,11 @@ static int numReadBufs = 4, readbufSize = 32; | |||
| 126 | */ | 126 | */ |
| 127 | static volatile cbd_t *rx_base, *rx_cur, *tx_base, *tx_cur; | 127 | static volatile cbd_t *rx_base, *rx_cur, *tx_base, *tx_cur; |
| 128 | 128 | ||
| 129 | MODULE_PARM(catchRadius, "i"); | 129 | module_param(catchRadius, int, 0); |
| 130 | MODULE_PARM(numBufs, "i"); | 130 | module_param(numBufs, int, 0); |
| 131 | MODULE_PARM(bufSize, "i"); | 131 | module_param(bufSize, int, 0); |
| 132 | MODULE_PARM(numreadBufs, "i"); | 132 | module_param(numreadBufs, int, 0); |
| 133 | MODULE_PARM(readbufSize, "i"); | 133 | module_param(readbufSize, int, 0); |
| 134 | 134 | ||
| 135 | #define arraysize(x) (sizeof(x)/sizeof(*(x))) | 135 | #define arraysize(x) (sizeof(x)/sizeof(*(x))) |
| 136 | #define le2be16(x) (((x)<<8 & 0xff00) | ((x)>>8 & 0x00ff)) | 136 | #define le2be16(x) (((x)<<8 & 0xff00) | ((x)>>8 & 0x00ff)) |
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index f8ce235ccf..c39650920b 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c | |||
| @@ -271,7 +271,7 @@ unsigned char *DMABuffer; /* buffer for writes */ | |||
