mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernhard Rosenkraenzer <bero@arklinux.org>
To: Samuel Flory <sflory@rackable.com>
Cc: linux-kernel@vger.kernel.org
Subject: [FIX] Re: 2.4.23-pre3-pac2 broke PIIX ata-scsi
Date: Sat, 13 Sep 2003 03:02:09 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.56.0309130130050.17972@dot.kde.org> (raw)
In-Reply-To: <3F6254A1.1020006@rackable.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1023 bytes --]

On Fri, 12 Sep 2003, Samuel Flory wrote:

>    So it looks like ATA_PIIX is broken:
> In file included from ata_piix.c:31:
> /stuff/src/linux-2.4.23-pac2/include/linux/ata.h:636: redefinition of 
> `irqreturn_t'
> /stuff/src/linux-2.4.23-pac2/include/linux/interrupt.h:16: `irqreturn_t' 
> previously declared here

Thanks for pointing out two bugs ;)

Since I compiled a fully modular kernel w/ everything enabled to 
verify everything builds, the report indicated another bug -- there was 
no way to build ATA_PIIX with modular SCSI.

The attached patch fixes both.

Since this is probably the first version of ATA_PIIX that does compile 
with modular SCSI, I'd like some feedback on whether or not it actually 
works w/ modular SCSI (I don't have any test hardware).

The patch will be in pre4-pac1, which I'm expecting to release tomorrow or 
Sunday.

LLaP
bero

-- 
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php

[-- Attachment #2: Fix for SATA problem --]
[-- Type: TEXT/PLAIN, Size: 1250 bytes --]

diff -urN linux-2.4.23-pre3-pac2/drivers/scsi/Config.in linux-2.4.23-pre3-pac3/drivers/scsi/Config.in
--- linux-2.4.23-pre3-pac2/drivers/scsi/Config.in	2003-09-13 02:35:08.000000000 +0200
+++ linux-2.4.23-pre3-pac3/drivers/scsi/Config.in	2003-09-13 02:41:35.000000000 +0200
@@ -71,7 +71,7 @@
    dep_tristate 'AMI MegaRAID support (new driver)' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI
 fi
 
-dep_bool 'SATA support' CONFIG_SCSI_ATA $CONFIG_SCSI
+dep_tristate 'SATA support' CONFIG_SCSI_ATA $CONFIG_SCSI
 #dep_bool '  Parallel ATA support' CONFIG_SCSI_ATA_PATA $CONFIG_SCSI_ATA
 dep_tristate '  Intel PIIX/ICH support' CONFIG_SCSI_ATA_PIIX $CONFIG_SCSI_ATA $CONFIG_PCI
 dep_tristate '  VIA SATA support' CONFIG_SCSI_SATA_VIA $CONFIG_SCSI_ATA $CONFIG_PCI
diff -urN linux-2.4.23-pre3-pac2/include/linux/ata.h linux-2.4.23-pre3-pac3/include/linux/ata.h
--- linux-2.4.23-pre3-pac2/include/linux/ata.h	2003-09-13 02:35:11.000000000 +0200
+++ linux-2.4.23-pre3-pac3/include/linux/ata.h	2003-09-13 02:41:51.000000000 +0200
@@ -629,13 +629,6 @@
 	return status;
 }
 
-/*
- * 2.5 compat.
- */
-
-typedef void irqreturn_t;
-#define IRQ_RETVAL(x)	/* nothing */
-
 #define REPORT_LUNS		0xa0
 #define READ_16			0x88
 #define WRITE_16		0x8a

  reply	other threads:[~2003-09-13  1:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 12:53 2.4.23-pre3-pac2 Bernhard Rosenkraenzer
2003-09-11 15:29 ` 2.4.23-pre3-pac2 Alan Cox
2003-09-11 16:17   ` 2.4.23-pre3-pac2 Bernhard Rosenkraenzer
2003-09-12 23:20 ` 2.4.23-pre3-pac2 broke PIIX ata-scsi Samuel Flory
2003-09-13  1:02   ` Bernhard Rosenkraenzer [this message]
2003-09-13  2:45     ` [FIX] " Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.56.0309130130050.17972@dot.kde.org \
    --to=bero@arklinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sflory@rackable.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®