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
Kirill Smelkov
linux
Commits
f8888d23
Commit
f8888d23
authored
May 09, 2004
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sym53c500_cs remove irq,ioport scsi attributes
From: Bob Tracy <rct@gherkin.frus.com>
parent
93d7f978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
35 deletions
+1
-35
drivers/scsi/pcmcia/sym53c500_cs.c
drivers/scsi/pcmcia/sym53c500_cs.c
+1
-35
No files found.
drivers/scsi/pcmcia/sym53c500_cs.c
View file @
f8888d23
...
@@ -85,7 +85,7 @@ static int pc_debug = PCMCIA_DEBUG;
...
@@ -85,7 +85,7 @@ static int pc_debug = PCMCIA_DEBUG;
module_param
(
pc_debug
,
int
,
0
);
module_param
(
pc_debug
,
int
,
0
);
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
static
char
*
version
=
static
char
*
version
=
"sym53c500_cs.c 0.9
a 2004/05/04
(Bob Tracy)"
;
"sym53c500_cs.c 0.9
b 2004/05/10
(Bob Tracy)"
;
#else
#else
#define DEBUG(n, args...)
#define DEBUG(n, args...)
#endif
#endif
...
@@ -667,22 +667,6 @@ SYM53C500_biosparm(struct scsi_device *disk,
...
@@ -667,22 +667,6 @@ SYM53C500_biosparm(struct scsi_device *disk,
return
0
;
return
0
;
}
}
static
ssize_t
SYM53C500_show_irq
(
struct
class_device
*
cdev
,
char
*
buf
)
{
struct
Scsi_Host
*
SHp
=
class_to_shost
(
cdev
);
return
snprintf
(
buf
,
4
,
"%d
\n
"
,
SHp
->
irq
);
}
static
ssize_t
SYM53C500_show_ioport
(
struct
class_device
*
cdev
,
char
*
buf
)
{
struct
Scsi_Host
*
SHp
=
class_to_shost
(
cdev
);
return
snprintf
(
buf
,
8
,
"0x%lx
\n
"
,
SHp
->
io_port
);
}
static
ssize_t
static
ssize_t
SYM53C500_show_pio
(
struct
class_device
*
cdev
,
char
*
buf
)
SYM53C500_show_pio
(
struct
class_device
*
cdev
,
char
*
buf
)
{
{
...
@@ -714,22 +698,6 @@ SYM53C500_store_pio(struct class_device *cdev, const char *buf, size_t count)
...
@@ -714,22 +698,6 @@ SYM53C500_store_pio(struct class_device *cdev, const char *buf, size_t count)
* SCSI HBA device attributes we want to
* SCSI HBA device attributes we want to
* make available via sysfs.
* make available via sysfs.
*/
*/
static
struct
class_device_attribute
SYM53C500_irq_attr
=
{
.
attr
=
{
.
name
=
"irq"
,
.
mode
=
S_IRUGO
,
},
.
show
=
SYM53C500_show_irq
,
};
static
struct
class_device_attribute
SYM53C500_ioport_attr
=
{
.
attr
=
{
.
name
=
"ioport"
,
.
mode
=
S_IRUGO
,
},
.
show
=
SYM53C500_show_ioport
,
};
static
struct
class_device_attribute
SYM53C500_pio_attr
=
{
static
struct
class_device_attribute
SYM53C500_pio_attr
=
{
.
attr
=
{
.
attr
=
{
.
name
=
"fast_pio"
,
.
name
=
"fast_pio"
,
...
@@ -740,8 +708,6 @@ static struct class_device_attribute SYM53C500_pio_attr = {
...
@@ -740,8 +708,6 @@ static struct class_device_attribute SYM53C500_pio_attr = {
};
};
static
struct
class_device_attribute
*
SYM53C500_shost_attrs
[]
=
{
static
struct
class_device_attribute
*
SYM53C500_shost_attrs
[]
=
{
&
SYM53C500_irq_attr
,
&
SYM53C500_ioport_attr
,
&
SYM53C500_pio_attr
,
&
SYM53C500_pio_attr
,
NULL
,
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