From: janitor@sternwelten.at
To: linux-scsi@vger.kernel.org
Cc: James.Bottomley@SteelEye.com, janitor@sternwelten.at
Subject: [patch 09/11] remove old ifdefs aic79xxx
Date: Wed, 01 Sep 2004 22:46:43 +0200 [thread overview]
Message-ID: <E1C2c0B-000757-VG@sputnik> (raw)
Patches to remove some old ifdefs.
remove most of the #include <linux/version.h>
kill compat cruft like #define ahd_pci_set_dma_mask pci_set_dma_mask
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.9-rc1-bk7-max/drivers/scsi/aic7xxx/aic7xxx_core.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -puN drivers/scsi/aic7xxx/aic7xxx_core.c~remove-old-ifdefs-aic7xxx_core drivers/scsi/aic7xxx/aic7xxx_core.c
--- linux-2.6.9-rc1-bk7/drivers/scsi/aic7xxx/aic7xxx_core.c~remove-old-ifdefs-aic7xxx_core 2004-08-31 17:41:40.000000000 +0200
+++ linux-2.6.9-rc1-bk7-max/drivers/scsi/aic7xxx/aic7xxx_core.c 2004-08-31 17:41:40.000000000 +0200
@@ -4199,9 +4199,9 @@ ahc_probe_scbs(struct ahc_softc *ahc) {
static void
ahc_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
{
- bus_addr_t *baddr;
+ dma_addr_t *baddr;
- baddr = (bus_addr_t *)arg;
+ baddr = (dma_addr_t *)arg;
*baddr = segs->ds_addr;
}
@@ -4456,7 +4456,7 @@ ahc_alloc_scbs(struct ahc_softc *ahc)
struct scb_data *scb_data;
struct scb *next_scb;
struct sg_map_node *sg_map;
- bus_addr_t physaddr;
+ dma_addr_t physaddr;
struct ahc_dma_seg *segs;
int newcount;
int i;
@@ -4820,7 +4820,7 @@ ahc_init(struct ahc_softc *ahc)
if (ahc_dma_tag_create(ahc, ahc->parent_dmat, /*alignment*/1,
/*boundary*/BUS_SPACE_MAXADDR_32BIT + 1,
/*lowaddr*/ahc->flags & AHC_39BIT_ADDRESSING
- ? (bus_addr_t)0x7FFFFFFFFFULL
+ ? (dma_addr_t)0x7FFFFFFFFFULL
: BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
_
reply other threads:[~2004-09-01 20:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1C2c0B-000757-VG@sputnik \
--to=janitor@sternwelten.at \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-scsi@vger.kernel.org \
/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