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
3a6167a6
Commit
3a6167a6
authored
Mar 06, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove 2.0/2.2 stuff
parent
c100aed2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
include/linux/sdladrv.h
include/linux/sdladrv.h
+0
-18
No files found.
include/linux/sdladrv.h
View file @
3a6167a6
...
@@ -19,19 +19,6 @@
...
@@ -19,19 +19,6 @@
#ifndef _SDLADRV_H
#ifndef _SDLADRV_H
#define _SDLADRV_H
#define _SDLADRV_H
#include <linux/version.h>
#ifndef KERNEL_VERSION
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define LINUX_2_4
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
#define LINUX_2_1
#else
#define LINUX_2_0
#endif
#define SDLA_MAXIORANGE 4
/* maximum I/O port range */
#define SDLA_MAXIORANGE 4
/* maximum I/O port range */
#define SDLA_WINDOWSIZE 0x2000
/* default dual-port memory window size */
#define SDLA_WINDOWSIZE 0x2000
/* default dual-port memory window size */
...
@@ -50,12 +37,7 @@ typedef struct sdlahw
...
@@ -50,12 +37,7 @@ typedef struct sdlahw
char
S514_cpu_no
[
1
];
/* PCI CPU Number */
char
S514_cpu_no
[
1
];
/* PCI CPU Number */
unsigned
char
S514_slot_no
;
/* PCI Slot Number */
unsigned
char
S514_slot_no
;
/* PCI Slot Number */
char
auto_pci_cfg
;
/* Autodetect PCI Slot */
char
auto_pci_cfg
;
/* Autodetect PCI Slot */
#if defined(LINUX_2_1) || defined(LINUX_2_4)
struct
pci_dev
*
pci_dev
;
/* PCI device */
struct
pci_dev
*
pci_dev
;
/* PCI device */
#else
unsigned
char
pci_bus
;
/* PCI bus number */
unsigned
char
pci_dev_func
;
/* PCI device/function number */
#endif
void
*
dpmbase
;
/* dual-port memory base */
void
*
dpmbase
;
/* dual-port memory base */
unsigned
dpmsize
;
/* dual-port memory size */
unsigned
dpmsize
;
/* dual-port memory size */
unsigned
pclk
;
/* CPU clock rate, kHz */
unsigned
pclk
;
/* CPU clock rate, kHz */
...
...
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