History log of /drivers/scsi/aic7xxx/aic7xxx_pci.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
48813cf989eb8695fe84df30207fc8ff5f15783c 14-Jul-2010 Pekka Enberg <penberg@cs.helsinki.fi> [SCSI] aic7xxx: Remove OS utility wrappers

This patch removes malloc(), free(), and printf() wrappers from the aic7xxx
SCSI driver. I didn't use pr_debug for printf because of some 'clever' uses of
printf don't compile with the pr_debug. I didn't fix the overeager uses of
GFP_ATOMIC either because I wanted to keep this patch as simple as possible.

[jejb:fixed up checkpatch errors and fixed up missed conversion]
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
1beb6fa85ca9afaee109811a3f4a984232a32a4f 04-Mar-2009 Harvey Harrison <harvey.harrison@gmail.com> [SCSI] replace __inline with inline

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
a2f5bfcf711aa72ad5587b533a1909334c2533a4 25-Mar-2009 Hannes Reinecke <hare@suse.de> [SCSI] aic7xxx: leaves timer running on init failure

aic79xx leaves timers inserted when ahd_init() (which inserts
two timers at its very end) succeeds but ahd_pci_map_int()
fails. In this case ahd->init_level gets incremented to 5 only
when that function succeeds, but ahd_free() calls ahd_shutdown()
only when ahd->init_level == 5, and ahd_shutdown() is where the
timers get removed. Since the freeing of the IRQ is not controlled
by ahd->init_level, we should increment init_level prior to
calling ahd_pci_map_int().

Reported-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
980b306a297725d4f25c779ca15086de757acadf 25-Apr-2008 Denys Vlasenko <vda.linux@googlemail.com> [SCSI] aic7xxx: add const

This patch adds more const keywords where appropriate.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
03e7925d0737d99086acee6263424dafa34e45ae 26-Jan-2008 FUJITA Tomonori <tomof@acm.org> [SCSI] aic7xxx: fix warnings with CONFIG_PM disabled

CC [M] drivers/scsi/aic7xxx/aic7xxx_osm_pci.o
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c:148: warning: 'ahc_linux_pci_dev_suspend' defined but not used
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c:166: warning: 'ahc_linux_pci_dev_resume' defined but not used

This moves aic7xxx_pci_driver struct, removes some forward declarations,
and adds some ifdef CONFIG_PM.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
b5720729f58a4a05b0e2c8c61ac3ed3a3e9f94e5 19-Oct-2007 Hannes Reinecke <hare@suse.de> [SCSI] aic7xxx: Add suspend/resume support

The aic7xxx driver already contains fragments for suspend/resume
support. So we only need to update them to the current interface
and have full PCI suspend/resume.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Tested-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
289fe5b1f99c5e61ed32796cbed0a1ecc3589041 20-Oct-2006 Adrian Bunk <bunk@stusta.de> [SCSI] aic7xxx: cleanups

- make needlessly global code static

- #if 0 the following unused global functions:
- aic79xx_core.c: ahd_print_scb
- aic79xx_core.c: ahd_suspend
- aic79xx_core.c: ahd_resume
- aic79xx_core.c: ahd_dump_scbs
- aic79xx_osm.c: ahd_softc_comp

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
f0cd91a68acdc9b49d7f6738b514a426da627649 10-Jun-2006 James Bottomley <jejb@mulgrave.il.steeleye.com> Merge ../linux-2.6
b2d8bfe18578c4e50e8ba52011c9b260a1b51dac 10-Jun-2006 James Bottomley <jejb@mulgrave.il.steeleye.com> [SCSI] aic7xxx: expose the bus setting to sysfs

Read the transciever register and display in the host transport
properties. I'm still not entirely sure what this does for multiple
transciever adapters (like some 160 ones) however, I suspect it
displays the transciever state of the switchable bus segment.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
6391a11375de5e2bb1eb8481e54619761dc65d9f 09-Jun-2006 Tobias Klauser <tklauser@nuerscht.ch> [SCSI] drivers/scsi: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove
duplicates of the macro.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
c42bcefb5891c362b72e47070fbf7973e4eb8e1e 19-Apr-2006 Denis Vlasenko <vda@ilport.com.ua> [SCSI] aic7xxx: ahc_pci_write_config() fix

Fix ahc_pci_write_config's (wrong order of arguments).

Signed-off-by: Denis Vlasenko <vda@ilport.com.ua>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
5e46631b04382ef14255467288052f29cb77daeb 12-Jan-2006 Hannes Reinecke <hare@suse.de> [SCSI] aic7xxx/aic79xx: New device ids

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 28-Jun-2005 Christoph Hellwig <hch@lst.de> [SCSI] aic7xxx: remove ahc_tailq

now that we do normal PCI probing there's no need to keep a list of
all HBAs.

Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/aic7xxx/aic7xxx_pci.c
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
/drivers/scsi/aic7xxx/aic7xxx_pci.c