* [patch-kj] remove old ifdef'd code from aic79xx.h
@ 2004-06-21 18:01 maximilian attems
0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2004-06-21 18:01 UTC (permalink / raw)
To: linux-scsi
From: Domen Puncer <domen@coderock.org>
Patches to remove some old ifdefs.
remove unused #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.7-max/drivers/scsi/aic7xxx/aic79xx.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -puN drivers/scsi/aic7xxx/aic79xx.h~remove-old-ifdefs-aic79xx drivers/scsi/aic7xxx/aic79xx.h
--- linux-2.6.7/drivers/scsi/aic7xxx/aic79xx.h~remove-old-ifdefs-aic79xx 2004-06-18 09:13:35.000000000 +0200
+++ linux-2.6.7-max/drivers/scsi/aic7xxx/aic79xx.h 2004-06-18 09:13:35.000000000 +0200
@@ -549,7 +549,7 @@ struct ahd_dma64_seg {
struct map_node {
bus_dmamap_t dmamap;
- bus_addr_t physaddr;
+ dma_addr_t physaddr;
uint8_t *vaddr;
SLIST_ENTRY(map_node) links;
};
@@ -626,8 +626,8 @@ struct scb {
struct map_node *sense_map;
void *sg_list;
uint8_t *sense_data;
- bus_addr_t sg_list_busaddr;
- bus_addr_t sense_busaddr;
+ dma_addr_t sg_list_busaddr;
+ dma_addr_t sense_busaddr;
u_int sg_count;/* How full ahd_dma_seg is */
#define AHD_MAX_LQ_CRC_ERRORS 5
u_int crc_retry_count;
@@ -1198,7 +1198,7 @@ struct ahd_softc {
bus_dma_tag_t parent_dmat;
bus_dma_tag_t shared_data_dmat;
bus_dmamap_t shared_data_dmamap;
- bus_addr_t shared_data_busaddr;
+ dma_addr_t shared_data_busaddr;
/* Information saved through suspend/resume cycles */
struct ahd_suspend_state suspend_state;
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-21 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-21 18:01 [patch-kj] remove old ifdef'd code from aic79xx.h maximilian attems
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).