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
4900a280
Commit
4900a280
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/s390
parent
482ae074
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
139 additions
and
139 deletions
+139
-139
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_diag.c
+13
-13
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_eckd.c
+28
-28
drivers/s390/block/dasd_fba.c
drivers/s390/block/dasd_fba.c
+21
-21
drivers/s390/block/dasd_proc.c
drivers/s390/block/dasd_proc.c
+10
-10
drivers/s390/char/con3215.c
drivers/s390/char/con3215.c
+6
-6
drivers/s390/char/hwc_con.c
drivers/s390/char/hwc_con.c
+5
-5
drivers/s390/char/tape.c
drivers/s390/char/tape.c
+4
-4
drivers/s390/char/tapechar.c
drivers/s390/char/tapechar.c
+6
-6
drivers/s390/char/tubfs.c
drivers/s390/char/tubfs.c
+6
-6
drivers/s390/cio/chsc.c
drivers/s390/cio/chsc.c
+10
-10
drivers/s390/cio/proc.c
drivers/s390/cio/proc.c
+3
-3
drivers/s390/net/ctcmain.c
drivers/s390/net/ctcmain.c
+8
-8
drivers/s390/net/netiucv.c
drivers/s390/net/netiucv.c
+19
-19
No files found.
drivers/s390/block/dasd_diag.c
View file @
4900a280
...
@@ -464,19 +464,19 @@ dasd_diag_dump_sense(dasd_device_t *device, dasd_ccw_req_t * req)
...
@@ -464,19 +464,19 @@ dasd_diag_dump_sense(dasd_device_t *device, dasd_ccw_req_t * req)
* for one request. Give a little safety and the result is 240.
* for one request. Give a little safety and the result is 240.
*/
*/
static
dasd_discipline_t
dasd_diag_discipline
=
{
static
dasd_discipline_t
dasd_diag_discipline
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"DIAG"
,
.
name
=
"DIAG"
,
ebcname:
"DIAG"
,
.
ebcname
=
"DIAG"
,
max_blocks:
240
,
.
max_blocks
=
240
,
check_device:
dasd_diag_check_device
,
.
check_device
=
dasd_diag_check_device
,
fill_geometry:
dasd_diag_fill_geometry
,
.
fill_geometry
=
dasd_diag_fill_geometry
,
start_IO:
dasd_start_diag
,
.
start_IO
=
dasd_start_diag
,
examine_error:
dasd_diag_examine_error
,
.
examine_error
=
dasd_diag_examine_error
,
erp_action:
dasd_diag_erp_action
,
.
erp_action
=
dasd_diag_erp_action
,
erp_postaction:
dasd_diag_erp_postaction
,
.
erp_postaction
=
dasd_diag_erp_postaction
,
build_cp:
dasd_diag_build_cp
,
.
build_cp
=
dasd_diag_build_cp
,
dump_sense:
dasd_diag_dump_sense
,
.
dump_sense
=
dasd_diag_dump_sense
,
fill_info:
dasd_diag_fill_info
,
.
fill_info
=
dasd_diag_fill_info
,
};
};
int
int
...
...
drivers/s390/block/dasd_eckd.c
View file @
4900a280
...
@@ -73,25 +73,25 @@ typedef struct dasd_eckd_private_t {
...
@@ -73,25 +73,25 @@ typedef struct dasd_eckd_private_t {
static
static
devreg_t
dasd_eckd_known_devices
[]
=
{
devreg_t
dasd_eckd_known_devices
[]
=
{
{
{
ci:
{
hc
:
{
ctype
:
0x3880
,
dtype
:
3390
}
},
.
ci
=
{
.
hc
=
{
.
ctype
=
0x3880
,
.
dtype
=
3390
}
},
flag:
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_MATCH_DEV_TYPE
|
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_MATCH_DEV_TYPE
|
DEVREG_TYPE_DEVCHARS
),
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
},
},
{
{
ci:
{
hc
:
{
ctype
:
0x3990
}
},
.
ci
=
{
.
hc
=
{
.
ctype
=
0x3990
}
},
flag:
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
},
},
{
{
ci:
{
hc
:
{
ctype
:
0x2105
}
},
.
ci
=
{
.
hc
=
{
.
ctype
=
0x2105
}
},
flag:
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
},
},
{
{
ci:
{
hc
:
{
ctype
:
0x9343
}
},
.
ci
=
{
.
hc
=
{
.
ctype
=
0x9343
}
},
flag:
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
}
}
};
};
...
@@ -1418,22 +1418,22 @@ dasd_eckd_dump_sense(struct dasd_device_t *device, dasd_ccw_req_t * req)
...
@@ -1418,22 +1418,22 @@ dasd_eckd_dump_sense(struct dasd_device_t *device, dasd_ccw_req_t * req)
* for one request. Give a little safety and the result is 240.
* for one request. Give a little safety and the result is 240.
*/
*/
static
dasd_discipline_t
dasd_eckd_discipline
=
{
static
dasd_discipline_t
dasd_eckd_discipline
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"ECKD"
,
.
name
=
"ECKD"
,
ebcname:
"ECKD"
,
.
ebcname
=
"ECKD"
,
max_blocks:
240
,
.
max_blocks
=
240
,
check_device:
dasd_eckd_check_device
,
.
check_device
=
dasd_eckd_check_device
,
do_analysis:
dasd_eckd_do_analysis
,
.
do_analysis
=
dasd_eckd_do_analysis
,
fill_geometry:
dasd_eckd_fill_geometry
,
.
fill_geometry
=
dasd_eckd_fill_geometry
,
start_IO:
dasd_start_IO
,
.
start_IO
=
dasd_start_IO
,
term_IO:
dasd_term_IO
,
.
term_IO
=
dasd_term_IO
,
format_device:
dasd_eckd_format_device
,
.
format_device
=
dasd_eckd_format_device
,
examine_error:
dasd_eckd_examine_error
,
.
examine_error
=
dasd_eckd_examine_error
,
erp_action:
dasd_eckd_erp_action
,
.
erp_action
=
dasd_eckd_erp_action
,
erp_postaction:
dasd_eckd_erp_postaction
,
.
erp_postaction
=
dasd_eckd_erp_postaction
,
build_cp:
dasd_eckd_build_cp
,
.
build_cp
=
dasd_eckd_build_cp
,
dump_sense:
dasd_eckd_dump_sense
,
.
dump_sense
=
dasd_eckd_dump_sense
,
fill_info:
dasd_eckd_fill_info
,
.
fill_info
=
dasd_eckd_fill_info
,
};
};
int
int
...
...
drivers/s390/block/dasd_fba.c
View file @
4900a280
...
@@ -47,16 +47,16 @@ typedef struct dasd_fba_private_t {
...
@@ -47,16 +47,16 @@ typedef struct dasd_fba_private_t {
static
static
devreg_t
dasd_fba_known_devices
[]
=
{
devreg_t
dasd_fba_known_devices
[]
=
{
{
{
ci:
{
hc
:
{
ctype
:
0x6310
,
dtype
:
0x9336
}},
.
ci
=
{.
hc
=
{.
ctype
=
0x6310
,
.
dtype
=
0x9336
}},
flag:
(
DEVREG_MATCH_CU_TYPE
|
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_MATCH_DEV_TYPE
|
DEVREG_TYPE_DEVCHARS
),
DEVREG_MATCH_DEV_TYPE
|
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
},
},
{
{
ci:
{
hc
:
{
ctype
:
0x3880
,
dtype
:
0x3370
}},
.
ci
=
{.
hc
=
{.
ctype
=
0x3880
,
.
dtype
=
0x3370
}},
flag:
(
DEVREG_MATCH_CU_TYPE
|
.
flag
=
(
DEVREG_MATCH_CU_TYPE
|
DEVREG_MATCH_DEV_TYPE
|
DEVREG_TYPE_DEVCHARS
),
DEVREG_MATCH_DEV_TYPE
|
DEVREG_TYPE_DEVCHARS
),
oper_func:
dasd_oper_handler
.
oper_func
=
dasd_oper_handler
}
}
};
};
...
@@ -392,21 +392,21 @@ dasd_fba_dump_sense(struct dasd_device_t *device, dasd_ccw_req_t * req)
...
@@ -392,21 +392,21 @@ dasd_fba_dump_sense(struct dasd_device_t *device, dasd_ccw_req_t * req)
* for one request. Give a little safety and the result is 96.
* for one request. Give a little safety and the result is 96.
*/
*/
static
dasd_discipline_t
dasd_fba_discipline
=
{
static
dasd_discipline_t
dasd_fba_discipline
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"FBA "
,
.
name
=
"FBA "
,
ebcname:
"FBA "
,
.
ebcname
=
"FBA "
,
max_blocks:
96
,
.
max_blocks
=
96
,
check_device:
dasd_fba_check_device
,
.
check_device
=
dasd_fba_check_device
,
do_analysis:
dasd_fba_do_analysis
,
.
do_analysis
=
dasd_fba_do_analysis
,
fill_geometry:
dasd_fba_fill_geometry
,
.
fill_geometry
=
dasd_fba_fill_geometry
,
start_IO:
dasd_start_IO
,
.
start_IO
=
dasd_start_IO
,
term_IO:
dasd_term_IO
,
.
term_IO
=
dasd_term_IO
,
examine_error:
dasd_fba_examine_error
,
.
examine_error
=
dasd_fba_examine_error
,
erp_action:
dasd_fba_erp_action
,
.
erp_action
=
dasd_fba_erp_action
,
erp_postaction:
dasd_fba_erp_postaction
,
.
erp_postaction
=
dasd_fba_erp_postaction
,
build_cp:
dasd_fba_build_cp
,
.
build_cp
=
dasd_fba_build_cp
,
dump_sense:
dasd_fba_dump_sense
,
.
dump_sense
=
dasd_fba_dump_sense
,
fill_info:
dasd_fba_fill_info
,
.
fill_info
=
dasd_fba_fill_info
,
};
};
int
int
...
...
drivers/s390/block/dasd_proc.c
View file @
4900a280
...
@@ -262,11 +262,11 @@ dasd_devices_open(struct inode *inode, struct file *file)
...
@@ -262,11 +262,11 @@ dasd_devices_open(struct inode *inode, struct file *file)
}
}
static
struct
file_operations
dasd_devices_file_ops
=
{
static
struct
file_operations
dasd_devices_file_ops
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
read:
dasd_generic_read
,
/* read */
.
read
=
dasd_generic_read
,
/* read */
write:
dasd_devices_write
,
/* write */
.
write
=
dasd_devices_write
,
/* write */
open:
dasd_devices_open
,
/* open */
.
open
=
dasd_devices_open
,
/* open */
release:
dasd_generic_close
,
/* close */
.
release
=
dasd_generic_close
,
/* close */
};
};
static
struct
inode_operations
dasd_devices_inode_ops
=
{
static
struct
inode_operations
dasd_devices_inode_ops
=
{
...
@@ -416,11 +416,11 @@ dasd_statistics_write(struct file *file, const char *user_buf,
...
@@ -416,11 +416,11 @@ dasd_statistics_write(struct file *file, const char *user_buf,
}
}
static
struct
file_operations
dasd_statistics_file_ops
=
{
static
struct
file_operations
dasd_statistics_file_ops
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
read:
dasd_generic_read
,
/* read */
.
read
=
dasd_generic_read
,
/* read */
write:
dasd_statistics_write
,
/* write */
.
write
=
dasd_statistics_write
,
/* write */
open:
dasd_statistics_open
,
/* open */
.
open
=
dasd_statistics_open
,
/* open */
release:
dasd_generic_close
,
/* close */
.
release
=
dasd_generic_close
,
/* close */
};
};
static
struct
inode_operations
dasd_statistics_inode_ops
=
{
static
struct
inode_operations
dasd_statistics_inode_ops
=
{
...
...
drivers/s390/char/con3215.c
View file @
4900a280
...
@@ -822,12 +822,12 @@ static int __init con3215_consetup(struct console *co, char *options)
...
@@ -822,12 +822,12 @@ static int __init con3215_consetup(struct console *co, char *options)
* The console structure for the 3215 console
* The console structure for the 3215 console
*/
*/
static
struct
console
con3215
=
{
static
struct
console
con3215
=
{
name:
"tty3215"
,
.
name
=
"tty3215"
,
write:
con3215_write
,
.
write
=
con3215_write
,
device:
con3215_device
,
.
device
=
con3215_device
,
unblank:
con3215_unblank
,
.
unblank
=
con3215_unblank
,
setup:
con3215_consetup
,
.
setup
=
con3215_consetup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
};
};
#endif
#endif
...
...
drivers/s390/char/hwc_con.c
View file @
4900a280
...
@@ -34,11 +34,11 @@ void hwc_console_unblank (void);
...
@@ -34,11 +34,11 @@ void hwc_console_unblank (void);
struct
console
hwc_console
=
struct
console
hwc_console
=
{
{
name:
hwc_console_name
,
.
name
=
hwc_console_name
,
write:
hwc_console_write
,
.
write
=
hwc_console_write
,
device:
hwc_console_device
,
.
device
=
hwc_console_device
,
unblank:
hwc_console_unblank
,
.
unblank
=
hwc_console_unblank
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
};
};
void
void
...
...
drivers/s390/char/tape.c
View file @
4900a280
...
@@ -199,10 +199,10 @@ typedef struct {
...
@@ -199,10 +199,10 @@ typedef struct {
static
struct
file_operations
tape_proc_devices_file_ops
=
static
struct
file_operations
tape_proc_devices_file_ops
=
{
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
read:
tape_proc_devices_read
,
/* read */
.
read
=
tape_proc_devices_read
,
/* read */
open:
tape_proc_devices_open
,
/* open */
.
open
=
tape_proc_devices_open
,
/* open */
release:
tape_proc_devices_release
,
/* close */
.
release
=
tape_proc_devices_release
,
/* close */
};
};
/*
/*
...
...
drivers/s390/char/tapechar.c
View file @
4900a280
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
*/
*/
static
struct
file_operations
tape_fops
=
static
struct
file_operations
tape_fops
=
{
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
read:
tapechar_read
,
.
read
=
tapechar_read
,
write:
tapechar_write
,
.
write
=
tapechar_write
,
ioctl:
tapechar_ioctl
,
.
ioctl
=
tapechar_ioctl
,
open:
tapechar_open
,
.
open
=
tapechar_open
,
release:
tapechar_release
,
.
release
=
tapechar_release
,
};
};
int
tapechar_major
=
TAPECHAR_MAJOR
;
int
tapechar_major
=
TAPECHAR_MAJOR
;
...
...
drivers/s390/char/tubfs.c
View file @
4900a280
...
@@ -24,13 +24,13 @@ extern void tty3270_refresh(tub_t *);
...
@@ -24,13 +24,13 @@ extern void tty3270_refresh(tub_t *);
static
struct
file_operations
fs3270_fops
=
{
static
struct
file_operations
fs3270_fops
=
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0))
owner:
THIS_MODULE
,
/* owner */
.
owner
=
THIS_MODULE
,
/* owner */
#endif
#endif
read:
fs3270_read
,
/* read */
.
read
=
fs3270_read
,
/* read */
write:
fs3270_write
,
/* write */
.
write
=
fs3270_write
,
/* write */
ioctl:
fs3270_ioctl
,
/* ioctl */
.
ioctl
=
fs3270_ioctl
,
/* ioctl */
open:
fs3270_open
,
/* open */
.
open
=
fs3270_open
,
/* open */
release:
fs3270_close
,
/* release */
.
release
=
fs3270_close
,
/* release */
};
};
#ifdef CONFIG_DEVFS_FS
#ifdef CONFIG_DEVFS_FS
...
...
drivers/s390/cio/chsc.c
View file @
4900a280
...
@@ -113,13 +113,13 @@ chsc_get_sch_desc_irq(int irq)
...
@@ -113,13 +113,13 @@ chsc_get_sch_desc_irq(int irq)
*
ssd_res
=
&
chsc_area_ssd
.
response_block
.
response_block_data
.
ssd_res
;
*
ssd_res
=
&
chsc_area_ssd
.
response_block
.
response_block_data
.
ssd_res
;
chsc_area_ssd
=
(
chsc_area_t
)
{
chsc_area_ssd
=
(
chsc_area_t
)
{
request_block:
{
.
request_block
=
{
command_code1:
0x0010
,
.
command_code1
=
0x0010
,
command_code2:
0x0004
,
.
command_code2
=
0x0004
,
request_block_data:
{
.
request_block_data
=
{
ssd_req:
{
.
ssd_req
=
{
f_sch:
irq
,
.
f_sch
=
irq
,
l_sch:
irq
,
.
l_sch
=
irq
,
}
}
}
}
}
}
...
@@ -545,9 +545,9 @@ s390_process_css( void )
...
@@ -545,9 +545,9 @@ s390_process_css( void )
* allocation or prove that this function does not have to be
* allocation or prove that this function does not have to be
* reentrant! */
* reentrant! */
static
chsc_area_t
chsc_area_sei
__attribute__
((
aligned
(
PAGE_SIZE
)))
=
{
static
chsc_area_t
chsc_area_sei
__attribute__
((
aligned
(
PAGE_SIZE
)))
=
{
request_block:
{
.
request_block
=
{
command_code1:
0x0010
,
.
command_code1
=
0x0010
,
command_code2:
0x000e
.
command_code2
=
0x000e
}
}
};
};
...
...
drivers/s390/cio/proc.c
View file @
4900a280
...
@@ -154,7 +154,7 @@ chan_subch_read (struct file *file, char *user_buf, size_t user_len,
...
@@ -154,7 +154,7 @@ chan_subch_read (struct file *file, char *user_buf, size_t user_len,
}
}
static
struct
file_operations
chan_subch_file_ops
=
{
static
struct
file_operations
chan_subch_file_ops
=
{
read:
chan_subch_read
,
open
:
chan_subch_open
,
release
:
chan_subch_close
,
.
read
=
chan_subch_read
,
.
open
=
chan_subch_open
,
.
release
=
chan_subch_close
,
};
};
static
int
static
int
...
@@ -245,8 +245,8 @@ cio_irq_proc_read (struct file *file, char *user_buf, size_t user_len,
...
@@ -245,8 +245,8 @@ cio_irq_proc_read (struct file *file, char *user_buf, size_t user_len,
}
}
static
struct
file_operations
cio_irq_proc_file_ops
=
{
static
struct
file_operations
cio_irq_proc_file_ops
=
{
read:
cio_irq_proc_read
,
open
:
cio_irq_proc_open
,
.
read
=
cio_irq_proc_read
,
.
open
=
cio_irq_proc_open
,
release:
cio_irq_proc_close
,
.
release
=
cio_irq_proc_close
,
};
};
static
int
static
int
...
...
drivers/s390/net/ctcmain.c
View file @
4900a280
...
@@ -2865,17 +2865,17 @@ static ssize_t ctc_stat_read(struct file *file, char *buf, size_t count,
...
@@ -2865,17 +2865,17 @@ static ssize_t ctc_stat_read(struct file *file, char *buf, size_t count,
}
}
static
struct
file_operations
ctc_stat_fops
=
{
static
struct
file_operations
ctc_stat_fops
=
{
read:
ctc_stat_read
,
.
read
=
ctc_stat_read
,
write:
ctc_stat_write
,
.
write
=
ctc_stat_write
,
open:
ctc_stat_open
,
.
open
=
ctc_stat_open
,
release:
ctc_stat_close
,
.
release
=
ctc_stat_close
,
};
};
static
struct
file_operations
ctc_ctrl_fops
=
{
static
struct
file_operations
ctc_ctrl_fops
=
{
read:
ctc_ctrl_read
,
.
read
=
ctc_ctrl_read
,
write:
ctc_ctrl_write
,
.
write
=
ctc_ctrl_write
,
open:
ctc_ctrl_open
,
.
open
=
ctc_ctrl_open
,
release:
ctc_ctrl_close
,
.
release
=
ctc_ctrl_close
,
};
};
static
struct
proc_dir_entry
*
ctc_dir
=
NULL
;
static
struct
proc_dir_entry
*
ctc_dir
=
NULL
;
...
...
drivers/s390/net/netiucv.c
View file @
4900a280
...
@@ -465,13 +465,13 @@ netiucv_callback_connres(iucv_ConnectionResumed *eib, void *pgm_data)
...
@@ -465,13 +465,13 @@ netiucv_callback_connres(iucv_ConnectionResumed *eib, void *pgm_data)
}
}
static
iucv_interrupt_ops_t
netiucv_ops
=
{
static
iucv_interrupt_ops_t
netiucv_ops
=
{
ConnectionPending:
netiucv_callback_connreq
,
.
ConnectionPending
=
netiucv_callback_connreq
,
ConnectionComplete:
netiucv_callback_connack
,
.
ConnectionComplete
=
netiucv_callback_connack
,
ConnectionSevered:
netiucv_callback_connrej
,
.
ConnectionSevered
=
netiucv_callback_connrej
,
ConnectionQuiesced:
netiucv_callback_connsusp
,
.
ConnectionQuiesced
=
netiucv_callback_connsusp
,
ConnectionResumed:
netiucv_callback_connres
,
.
ConnectionResumed
=
netiucv_callback_connres
,
MessagePending:
netiucv_callback_rx
,
.
MessagePending
=
netiucv_callback_rx
,
MessageComplete:
netiucv_callback_txdone
.
MessageComplete
=
netiucv_callback_txdone
};
};
/**
/**
...
@@ -1566,24 +1566,24 @@ netiucv_stat_read(struct file *file, char *buf, size_t count, loff_t *off)
...
@@ -1566,24 +1566,24 @@ netiucv_stat_read(struct file *file, char *buf, size_t count, loff_t *off)
}
}
static
struct
file_operations
netiucv_stat_fops
=
{
static
struct
file_operations
netiucv_stat_fops
=
{
read:
netiucv_stat_read
,
.
read
=
netiucv_stat_read
,
write:
netiucv_stat_write
,
.
write
=
netiucv_stat_write
,
open:
netiucv_stat_open
,
.
open
=
netiucv_stat_open
,
release:
netiucv_stat_close
,
.
release
=
netiucv_stat_close
,
};
};
static
struct
file_operations
netiucv_buffer_fops
=
{
static
struct
file_operations
netiucv_buffer_fops
=
{
read:
netiucv_buffer_read
,
.
read
=
netiucv_buffer_read
,
write:
netiucv_buffer_write
,
.
write
=
netiucv_buffer_write
,
open:
netiucv_buffer_open
,
.
open
=
netiucv_buffer_open
,
release:
netiucv_buffer_close
,
.
release
=
netiucv_buffer_close
,
};
};
static
struct
file_operations
netiucv_user_fops
=
{
static
struct
file_operations
netiucv_user_fops
=
{
read:
netiucv_user_read
,
.
read
=
netiucv_user_read
,
write:
netiucv_user_write
,
.
write
=
netiucv_user_write
,
open:
netiucv_user_open
,
.
open
=
netiucv_user_open
,
release:
netiucv_user_close
,
.
release
=
netiucv_user_close
,
};
};
static
struct
proc_dir_entry
*
netiucv_dir
=
NULL
;
static
struct
proc_dir_entry
*
netiucv_dir
=
NULL
;
...
...
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