Age | Commit message (Collapse) | Author |
|
handling which will at least try to recover.
ok marco@.
|
|
ok tdeval@.
|
|
manually reproducing bits in ahd_pci.c.
Just as in ahc, avoid allocating and freeing zero length bits of
memory for platform data.
Don't try to free all or part of ahd_softc, but correctly free
allocated memory for seep_config if necessary.
Add a final few fields to ahd_softc and scb in preparation for
updating/fixing timeout handling.
No functional changes.
|
|
|
|
functions, and ultra-conservative calculations, to avoid possible
overflow issues. Also consistant with values passed in scsi requests.
Whitespace and comment tweaks.
Update FreeBSD tags now that we are sync'd to the latest version.
From FreeBSD aic79xx.c r1.33, aic79xx.h r1.23, aic_osm_lib.h r1.4.
|
|
the driver to issue a bus reset more quickly than intended. We want to
wait if we find another SCB that could be the cause of this timeout,
not proceed to a bus reset.
This code is currently inside an #ifdef 0/#endif pair.
From FreeBSD aic79xx.c r1.32.
|
|
by a transaction performing a driver handled message sequence (an scb
with the MK_MESSAGE flag set). Full details on changes in FreeBSD
commit message.
From FreeBSD aic79xx.c r1.30, using microcode generated from just
committed new source.
Tested in August by marco@.
|
|
From FreeBSD aic79xx.h r1.20 and aic79xx.c r1.30.
|
|
From FreeBSD aic79xx_inline.h r1.16.
|
|
line and zero line functions. Fix a potential bug
(ahd_set_transaction_status was used where ahd_set_scsi_status was
intended) inside a currently #ifdef 0/#endif section of code.
No functional changes intended except for a bit of extra locking via
ahd_list_lock*.
ok marco@.
|
|
variable shuffle. No functional change.
|
|
the fallout from that. Ensure pcireg_t variables are being used with
pci_conf_read/write functions - found one uint16_t variable
(pcix_status) being used to store and restore (32 bit) pcireg_t
values.
Some KNF.
No functional changes.
|
|
travels. Simplify create_dmamem/free_dmamem api.
|
|
in favour of OpenBSD ones where no FreeBSD equivalent exist. Backout
random whitespace variances. Backout field name change, changeing
physaddr back to original busaddr. Remove VL/EISA stuff mistakenly
brought in from ahc.
No change to generated code.
|
|
come with the freebsd sources, rather than duplicating those names in
the ahd_ and ahc_ namespaces. Big reduction in delta to freebsd
sources, which reduces noise when updating the code.
No .o differences found on i386.
ok marco@.
|
|
Mostly using recently defined scsi_message.h defines, and new and
existing aic7xxx_cam.h defines to eliminate magic numbers or name
variations.
A few whitespace revisions. If we aren't putting the code in KNF, no
need to live with other whitespace modifications.
ok marco@.
|
|
|
|
|
|
|
|
debug sessions bearable.
ok krw@ deraadt@
|
|
|
|
Allocate max number of SCB's at initialization.
Display negotiated transfer parameters.
ok marco@
|
|
i/o's on i386. De-static many functions.
ok marco@
|
|
|
|
|