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
09221363
Commit
09221363
authored
Dec 30, 2002
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly enable highmem_io option in 2.5.X.
Daemonize the kernel threads used for domain validation.
parent
ef9b39da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
6 deletions
+35
-6
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.c
+10
-2
drivers/scsi/aic7xxx/aic79xx_osm.h
drivers/scsi/aic7xxx/aic79xx_osm.h
+2
-1
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+21
-2
drivers/scsi/aic7xxx/aic7xxx_osm.h
drivers/scsi/aic7xxx/aic7xxx_osm.h
+2
-1
No files found.
drivers/scsi/aic7xxx/aic79xx_osm.c
View file @
09221363
/*
/*
* Adaptec AIC79xx device driver for Linux.
* Adaptec AIC79xx device driver for Linux.
*
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#10
0
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#10
1
$
*
*
* --------------------------------------------------------------------------
* --------------------------------------------------------------------------
* Copyright (c) 1994-2000 Justin T. Gibbs.
* Copyright (c) 1994-2000 Justin T. Gibbs.
...
@@ -1339,7 +1339,7 @@ Scsi_Host_Template aic79xx_driver_template = {
...
@@ -1339,7 +1339,7 @@ Scsi_Host_Template aic79xx_driver_template = {
*/
*/
.
max_sectors
=
8192
,
.
max_sectors
=
8192
,
#endif
#endif
#if defined CONFIG_HIGHIO
#if defined CONFIG_HIGHIO
|| LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
/* Assume RedHat Distribution with its different HIGHIO conventions. */
/* Assume RedHat Distribution with its different HIGHIO conventions. */
.
can_dma_32
=
1
,
.
can_dma_32
=
1
,
...
@@ -2486,6 +2486,14 @@ ahd_linux_dv_thread(void *data)
...
@@ -2486,6 +2486,14 @@ ahd_linux_dv_thread(void *data)
printf
(
"In DV Thread
\n
"
);
printf
(
"In DV Thread
\n
"
);
#endif
#endif
/*
* Complete thread creation.
*/
lock_kernel
();
daemonize
();
sprintf
(
current
->
comm
,
"ahd_dv_%d"
,
ahd
->
unit
);
unlock_kernel
();
while
(
1
)
{
while
(
1
)
{
down
(
&
ahd
->
platform_data
->
dv_sem
);
down
(
&
ahd
->
platform_data
->
dv_sem
);
...
...
drivers/scsi/aic7xxx/aic79xx_osm.h
View file @
09221363
...
@@ -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_osm.h#9
6
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.h#9
7
$
*
*
*/
*/
#ifndef _AIC79XX_LINUX_H_
#ifndef _AIC79XX_LINUX_H_
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
#include <linux/delay.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/smp_lock.h>
#include <linux/version.h>
#include <linux/version.h>
#ifndef AHD_MODVERSION_FILE
#ifndef AHD_MODVERSION_FILE
#define __NO_VERSION__
#define __NO_VERSION__
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
09221363
/*
/*
* Adaptec AIC7xxx device driver for Linux.
* Adaptec AIC7xxx device driver for Linux.
*
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#16
3
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#16
4
$
*
*
* Copyright (c) 1994 John Aycock
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
* The University of Calgary Department of Computer Science.
...
@@ -1297,7 +1297,7 @@ Scsi_Host_Template aic7xxx_driver_template = {
...
@@ -1297,7 +1297,7 @@ Scsi_Host_Template aic7xxx_driver_template = {
*/
*/
.
max_sectors
=
8192
,
.
max_sectors
=
8192
,
#endif
#endif
#if defined CONFIG_HIGHIO
#if defined CONFIG_HIGHIO
|| LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
/* Assume RedHat Distribution with its different HIGHIO conventions. */
/* Assume RedHat Distribution with its different HIGHIO conventions. */
.
can_dma_32
=
1
,
.
can_dma_32
=
1
,
...
@@ -2338,6 +2338,14 @@ ahc_linux_dv_thread(void *data)
...
@@ -2338,6 +2338,14 @@ ahc_linux_dv_thread(void *data)
printf
(
"Launching DV Thread
\n
"
);
printf
(
"Launching DV Thread
\n
"
);
#endif
#endif
/*
* Complete thread creation.
*/
lock_kernel
();
daemonize
();
sprintf
(
current
->
comm
,
"ahc_dv_%d"
,
ahc
->
unit
);
unlock_kernel
();
while
(
1
)
{
while
(
1
)
{
down
(
&
ahc
->
platform_data
->
dv_sem
);
down
(
&
ahc
->
platform_data
->
dv_sem
);
...
@@ -4375,6 +4383,17 @@ ahc_linux_handle_scsi_status(struct ahc_softc *ahc,
...
@@ -4375,6 +4383,17 @@ ahc_linux_handle_scsi_status(struct ahc_softc *ahc,
memset
(
&
cmd
->
sense_buffer
[
sense_size
],
0
,
memset
(
&
cmd
->
sense_buffer
[
sense_size
],
0
,
sizeof
(
cmd
->
sense_buffer
)
-
sense_size
);
sizeof
(
cmd
->
sense_buffer
)
-
sense_size
);
cmd
->
result
|=
(
DRIVER_SENSE
<<
24
);
cmd
->
result
|=
(
DRIVER_SENSE
<<
24
);
#ifdef AHC_DEBUG
if
(
ahc_debug
&
AHC_SHOW_SENSE
)
{
int
i
;
printf
(
"Copied %d bytes of sense data:"
,
sense_size
);
for
(
i
=
0
;
i
<
sense_size
;
i
++
)
printf
(
" 0x%x"
,
cmd
->
sense_buffer
[
i
]);
printf
(
"
\n
"
);
}
#endif
}
}
break
;
break
;
}
}
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.h
View file @
09221363
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,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_osm.h#11
1
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.h#11
2
$
*
*
*/
*/
#ifndef _AIC7XXX_LINUX_H_
#ifndef _AIC7XXX_LINUX_H_
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
#include <linux/delay.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/smp_lock.h>
#include <linux/version.h>
#include <linux/version.h>
#ifndef AHC_MODVERSION_FILE
#ifndef AHC_MODVERSION_FILE
#define __NO_VERSION__
#define __NO_VERSION__
...
...
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