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
b1b0a996
Commit
b1b0a996
authored
Dec 10, 2002
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable highmem_io.
parent
b83302d7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
805 deletions
+22
-805
drivers/scsi/aic7xxx/aic79xx_host.h
drivers/scsi/aic7xxx/aic79xx_host.h
+9
-1
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.c
+2
-2
drivers/scsi/aic7xxx/aic7xxx_host.h
drivers/scsi/aic7xxx/aic7xxx_host.h
+9
-1
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+2
-801
No files found.
drivers/scsi/aic7xxx/aic79xx_host.h
View file @
b1b0a996
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
* POSSIBILITY OF SUCH DAMAGES.
*
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_host.h#1
0
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_host.h#1
1
$
*/
*/
#ifndef _AIC79XX_LINUX_HOST_H_
#ifndef _AIC79XX_LINUX_HOST_H_
...
@@ -68,6 +68,13 @@ int ahd_linux_abort(Scsi_Cmnd *);
...
@@ -68,6 +68,13 @@ int ahd_linux_abort(Scsi_Cmnd *);
# define AIC79XX_BIOSPARAM NULL
# define AIC79XX_BIOSPARAM NULL
#endif
#endif
#if defined BLK_BOUNCE_HIGH
#define AIC79XX_TEMPLATE_HIGHMEM_IO \
highmem_io: 1,
#else
#define AIC79XX_TEMPLATE_HIGHMEM_IO
#endif
/*
/*
* Scsi_Host_Template (see hosts.h) for AIC-79xx - some fields
* Scsi_Host_Template (see hosts.h) for AIC-79xx - some fields
* to do with card config are filled in after the card is detected.
* to do with card config are filled in after the card is detected.
...
@@ -88,6 +95,7 @@ int ahd_linux_abort(Scsi_Cmnd *);
...
@@ -88,6 +95,7 @@ int ahd_linux_abort(Scsi_Cmnd *);
cmd_per_lun: 2,
/* cmds per lun */
\
cmd_per_lun: 2,
/* cmds per lun */
\
present: 0,
/* number of 7xxx's present */
\
present: 0,
/* number of 7xxx's present */
\
unchecked_isa_dma: 0,
/* no memory DMA restrictions*/
\
unchecked_isa_dma: 0,
/* no memory DMA restrictions*/
\
AIC79XX_TEMPLATE_HIGHMEM_IO \
use_clustering: ENABLE_CLUSTERING
use_clustering: ENABLE_CLUSTERING
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
...
...
drivers/scsi/aic7xxx/aic79xx_osm.c
View file @
b1b0a996
/*
/*
* Adaptec AIC79xx device driver for Linux.
* Adaptec AIC79xx device driver for Linux.
*
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#9
0
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#9
1
$
*
*
* --------------------------------------------------------------------------
* --------------------------------------------------------------------------
* Copyright (c) 1994-2000 Justin T. Gibbs.
* Copyright (c) 1994-2000 Justin T. Gibbs.
...
@@ -3005,11 +3005,11 @@ ahd_linux_fallback(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
...
@@ -3005,11 +3005,11 @@ ahd_linux_fallback(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
fallback_speed
=
ahd_linux_calc_speed
(
width
,
period
+
1
,
offset
);
fallback_speed
=
ahd_linux_calc_speed
(
width
,
period
+
1
,
offset
);
#ifdef AHD_DEBUG
#ifdef AHD_DEBUG
if
(
ahd_debug
&
AHD_SHOW_DV
)
{
if
(
ahd_debug
&
AHD_SHOW_DV
)
{
#endif
printf
(
"cur_speed= %d, wide_speed= %d, narrow_speed= %d, "
printf
(
"cur_speed= %d, wide_speed= %d, narrow_speed= %d, "
"fallback_speed= %d
\n
"
,
cur_speed
,
wide_speed
,
"fallback_speed= %d
\n
"
,
cur_speed
,
wide_speed
,
narrow_speed
,
fallback_speed
);
narrow_speed
,
fallback_speed
);
}
}
#endif
if
(
cur_speed
>
160000
)
{
if
(
cur_speed
>
160000
)
{
/*
/*
...
...
drivers/scsi/aic7xxx/aic7xxx_host.h
View file @
b1b0a996
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
* POSSIBILITY OF SUCH DAMAGES.
*
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_host.h#1
2
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_host.h#1
3
$
*/
*/
#ifndef _AIC7XXX_HOST_H_
#ifndef _AIC7XXX_HOST_H_
...
@@ -68,6 +68,13 @@ int ahc_linux_abort(Scsi_Cmnd *);
...
@@ -68,6 +68,13 @@ int ahc_linux_abort(Scsi_Cmnd *);
# define AIC7XXX_BIOSPARAM NULL
# define AIC7XXX_BIOSPARAM NULL
#endif
#endif
#if defined BLK_BOUNCE_HIGH
#define AIC7XXX_TEMPLATE_HIGHMEM_IO \
highmem_io: 1,
#else
#define AIC7XXX_TEMPLATE_HIGHMEM_IO
#endif
/*
/*
* Scsi_Host_Template (see hosts.h) for AIC-7xxx - some fields
* Scsi_Host_Template (see hosts.h) for AIC-7xxx - some fields
* to do with card config are filled in after the card is detected.
* to do with card config are filled in after the card is detected.
...
@@ -88,6 +95,7 @@ int ahc_linux_abort(Scsi_Cmnd *);
...
@@ -88,6 +95,7 @@ int ahc_linux_abort(Scsi_Cmnd *);
cmd_per_lun: 2,
/* cmds per lun */
\
cmd_per_lun: 2,
/* cmds per lun */
\
present: 0,
/* number of 7xxx's present */
\
present: 0,
/* number of 7xxx's present */
\
unchecked_isa_dma: 0,
/* no memory DMA restrictions*/
\
unchecked_isa_dma: 0,
/* no memory DMA restrictions*/
\
AIC7XXX_TEMPLATE_HIGHMEM_IO \
use_clustering: ENABLE_CLUSTERING
use_clustering: ENABLE_CLUSTERING
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
b1b0a996
This diff is collapsed.
Click to expand it.
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