Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0b103497
Commit
0b103497
authored
Dec 27, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
e3fc88e7
66bf70c2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
32 deletions
+28
-32
drivers/block/floppy.c
drivers/block/floppy.c
+0
-1
drivers/char/hw_random.c
drivers/char/hw_random.c
+16
-19
sound/oss/i810_audio.c
sound/oss/i810_audio.c
+6
-6
sound/oss/soundcard.c
sound/oss/soundcard.c
+2
-2
sound/oss/uart401.c
sound/oss/uart401.c
+4
-4
No files found.
drivers/block/floppy.c
View file @
0b103497
...
...
@@ -155,7 +155,6 @@ static int print_unex = 1;
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/version.h>
#define FDPATCHES
#include <linux/fdreg.h>
...
...
drivers/char/hw_random.c
View file @
0b103497
...
...
@@ -56,24 +56,20 @@
/*
* debugging macros
*/
#undef RNG_DEBUG
/* define to enable copious debugging info */
#ifdef RNG_DEBUG
/* note: prints function name for you */
#define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__ , ## args)
#else
#define DPRINTK(fmt, args...)
#endif
/* pr_debug() collapses to a no-op if DEBUG is not defined */
#define DPRINTK(fmt, args...) pr_debug(PFX "%s: " fmt, __FUNCTION__ , ## args)
#define RNG_NDEBUG
/* define to disable lightweight runtime checks */
#undef RNG_NDEBUG
/* define to enable lightweight runtime checks */
#ifdef RNG_NDEBUG
#define assert(expr)
#else
#define assert(expr) \
if(!(expr)) { \
printk( "Assertion failed! %s,%s,%s,line=%d\n",
\
#expr,__FILE__,__FUNCTION__,__LINE__);
\
printk(KERN_DEBUG PFX "Assertion failed! %s,%s,%s,"
\
"line=%d\n", #expr, __FILE__, __FUNCTION__, __LINE__);
\
}
#else
#define assert(expr)
#endif
#define RNG_MISCDEV_MINOR 183
/* official */
...
...
@@ -322,7 +318,8 @@ static int __init amd_init (struct pci_dev *dev)
rnen
|=
(
1
<<
7
);
/* PMIO enable */
pci_write_config_byte
(
dev
,
0x41
,
rnen
);
printk
(
KERN_INFO
PFX
"AMD768 system management I/O registers at 0x%X.
\n
"
,
pmbase
);
pr_info
(
PFX
"AMD768 system management I/O registers at 0x%X.
\n
"
,
pmbase
);
amd_dev
=
dev
;
...
...
@@ -369,7 +366,7 @@ enum {
VIA_RNG_CHUNK_1_MASK
=
0xFF
,
};
u32
via_rng_datum
;
static
u32
via_rng_datum
;
/*
* Investigate using the 'rep' prefix to obtain 32 bits of random data
...
...
@@ -606,7 +603,7 @@ static int __init rng_init (void)
if
(
rc
)
return
rc
;
pr
intk
(
KERN_INFO
RNG_DRIVER_NAME
" loaded
\n
"
);
pr
_info
(
RNG_DRIVER_NAME
" loaded
\n
"
);
DPRINTK
(
"EXIT, returning 0
\n
"
);
return
0
;
...
...
sound/oss/i810_audio.c
View file @
0b103497
...
...
@@ -3460,15 +3460,15 @@ static int i810_pm_resume(struct pci_dev *dev)
}
#endif
/* CONFIG_PM */
MODULE_AUTHOR
(
""
);
MODULE_AUTHOR
(
"
The Linux kernel team
"
);
MODULE_DESCRIPTION
(
"Intel 810 audio support"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_PARM
(
ftsodell
,
"i"
);
MODULE_PARM
(
clocking
,
"i"
);
MODULE_PARM
(
strict_clocking
,
"i"
);
MODULE_PARM
(
spdif_locked
,
"i"
);
module_param
(
ftsodell
,
int
,
0444
);
module_param
(
clocking
,
uint
,
0444
);
module_param
(
strict_clocking
,
int
,
0444
);
module_param
(
spdif_locked
,
int
,
0444
);
#define I810_MODULE_NAME "i
ntel
810_audio"
#define I810_MODULE_NAME "i810_audio"
static
struct
pci_driver
i810_pci_driver
=
{
.
name
=
I810_MODULE_NAME
,
...
...
sound/oss/soundcard.c
View file @
0b103497
...
...
@@ -535,8 +535,8 @@ static const struct {
static
int
dmabuf
;
static
int
dmabug
;
MODULE_PARM
(
dmabuf
,
"i"
);
MODULE_PARM
(
dmabug
,
"i"
);
module_param
(
dmabuf
,
int
,
0444
);
module_param
(
dmabug
,
int
,
0444
);
static
int
__init
oss_init
(
void
)
{
...
...
sound/oss/uart401.c
View file @
0b103497
...
...
@@ -430,11 +430,11 @@ EXPORT_SYMBOL(uart401intr);
static
struct
address_info
cfg_mpu
;
static
int
__initdata
io
=
-
1
;
static
int
__initdata
irq
=
-
1
;
static
int
io
=
-
1
;
static
int
irq
=
-
1
;
MODULE_PARM
(
io
,
"i"
);
MODULE_PARM
(
irq
,
"i"
);
module_param
(
io
,
int
,
0444
);
module_param
(
irq
,
int
,
0444
);
static
int
__init
init_uart401
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment