lkml.org 
[lkml]   [1998]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectPCMCIA 3.0.5 and kernel 2.1.126 compile issues
I have looked through the archives and seen no mention of this problem, so if it
has been explained, the mailing list search engine does not seem to have found
it.

I am trying to get the 3.0.5 version of the PCMCIA drivers to build on my
laptop. The kernel version is 2.1.126. It blows up on the defined symbol
SCSI_DISK_MAJOR. (Which is defined in major.h.)

In the 2.0.x kernels, it is:

#define SCSI_DISK_MAJOR 8

In the 2.1.126 kernel it is a macro:

#define SCSI_DISK_MAJOR(M) ((M) == SCSI_DISK0_MAJOR || \
((M) >= SCSI_DISK1_MAJOR &&(M) <= SCSI_DISK7_MAJOR))

The easy fix seems to be to change the occurances of SCSI_DISK_MAJOR in the
pcmcia code to SCSI_DISK0_MAJOR.

This is defined as:

#define SCSI_DISK0_MAJOR 8

My question is "why the change" and will doing this foul something important
lower in the kernel? (I don't think it will do anything nasty to my code as I
do not have any SCSI devices on my laptop. yet.)

Thanks!


--
Alan Olsen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.046 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site