From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from atlrel6.hp.com (atlrel6.hp.com [156.153.255.205]) by dsl2.external.hp.com (Postfix) with ESMTP id DB2F4484B for ; Tue, 27 Jan 2004 02:46:39 -0700 (MST) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by atlrel6.hp.com (Postfix) with ESMTP id C0FEA1C0110F for ; Tue, 27 Jan 2004 04:46:33 -0500 (EST) Received: from india.hp.com (eb9856.india.hp.com [15.76.98.56]) by redsea.india.hp.com (8.9.3 (PHNE_29774)/8.9.3 SMKit7.02) with ESMTP id PAA15238 for ; Tue, 27 Jan 2004 15:29:50 +0530 (IST) Message-ID: <40163368.74DACC64@india.hp.com> Date: Tue, 27 Jan 2004 15:16:16 +0530 From: Naresh Kumar MIME-Version: 1.0 To: parisc-linux@lists.parisc-linux.org Content-Type: multipart/alternative; boundary="------------84804BA52793463AE6466BA0" Subject: [parisc-linux] error? List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --------------84804BA52793463AE6466BA0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I noticed in the function 'linux-2.6/drivers/parisc/lba_pci.c: lba_pat_resources( )' the following lines: --------------------------------------------------------------- case PAT_GMMIO: r = &(lba_dev->hba.gmmio_space); r->name = "LBA GMMIO"; r->start = p->start; r->end = p->end; r->flags = IORESOURCE_MEM; r->parent = r->sibling = r->child = NULL; break; lba_dev->gmmio_base = p->start; break; case PAT_NPIOP: printk(KERN_WARNING MODULE_NAME " range[%d] : ignoring NPIOP (0x%lx)\n", i, p->start); break; ------------------------------------------------------------------- Please note the extra lines after the 'break;'. The version of 'lba_pci.c' is 1.7. Seems to have happened due to oversight. Thanks, Naresh. --------------84804BA52793463AE6466BA0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,
I noticed in the function 'linux-2.6/drivers/parisc/lba_pci.c: lba_pat_resources( )' the following lines:

---------------------------------------------------------------
  case PAT_GMMIO:

   r = &(lba_dev->hba.gmmio_space);
   r->name   = "LBA GMMIO";
   r->start  = p->start;
   r->end    = p->end;
   r->flags  = IORESOURCE_MEM;
   r->parent = r->sibling = r->child = NULL;
   break;
   lba_dev->gmmio_base = p->start;
   break;

  case PAT_NPIOP:
    printk(KERN_WARNING MODULE_NAME
    " range[%d] : ignoring NPIOP (0x%lx)\n",
    i, p->start);
   break;
-------------------------------------------------------------------

Please note the extra lines after the 'break;'. The version of 'lba_pci.c' is 1.7. Seems to have happened due to oversight.

Thanks,
Naresh.
  --------------84804BA52793463AE6466BA0--