#
1.17 |
|
08-Aug-2020 |
krw |
The only thing worse than trailing whitespace is leading spaces instead of tabs.
|
#
1.16 |
|
22-Jul-2020 |
krw |
Nuke unused struct scsi_link members of adapter softc's where the driver successfully compiles on one or more of amd64, i386, hppa.
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.15 |
|
18-Feb-2020 |
krw |
Trailing whitespace.
|
#
1.14 |
|
07-Feb-2020 |
krw |
Nuke softc field 'sc_adapter" and just point sc_link's at shiney new 'adw_switch' like all the cool kids do.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.13 |
|
03-Oct-2010 |
krw |
iopoolification. Tested on my Advansys ASP-3940U2W. Various eyes including miod@, oga@, dlg@, matthew@.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
26-Nov-2008 |
krw |
Stop maintaining internal queues of received scsi_xfer structures.
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.11 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A UBC_SYNC_B
|
#
1.10 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.9 |
|
11-Nov-2001 |
krw |
branches: 1.9.2; Remove local defines for SCSI status codes and use those now defined in scsi_all.h.
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
06-Apr-2001 |
csapuntz |
Move offsetof define into sys/param.h
|
#
1.7 |
|
22-Feb-2001 |
krw |
Typo police:
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members, correct references to existing structure members to use correct structure names or typedefs.
|
#
1.6 |
|
08-Dec-2000 |
krw |
This update should cause the adw driver to:
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes
- check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP
- produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming)
- take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens
- print an error message with the code # when adw_async_callback is called with an unknown code.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.5 |
|
22-Jul-2000 |
krw |
sync to NetBSD:
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
|
#
1.4 |
|
29-Jun-2000 |
krw |
Sync adw files with (almost) latest NetBSD versions:
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.3 |
|
29-Apr-2000 |
krw |
add $ tag
|
Revision tags: SMP_BASE
|
#
1.2 |
|
05-Feb-2000 |
deraadt |
branches: 1.2.2; support new u2w cards; dante@mclink.it, merged by kwesterback@home.com
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE kame_19991208
|
#
1.1 |
|
17-Nov-1998 |
downsj |
Add adw device driver, from NetBSD.
|
#
1.16 |
|
22-Jul-2020 |
krw |
Nuke unused struct scsi_link members of adapter softc's where the driver successfully compiles on one or more of amd64, i386, hppa.
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.15 |
|
18-Feb-2020 |
krw |
Trailing whitespace.
|
#
1.14 |
|
07-Feb-2020 |
krw |
Nuke softc field 'sc_adapter" and just point sc_link's at shiney new 'adw_switch' like all the cool kids do.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.13 |
|
03-Oct-2010 |
krw |
iopoolification. Tested on my Advansys ASP-3940U2W. Various eyes including miod@, oga@, dlg@, matthew@.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
26-Nov-2008 |
krw |
Stop maintaining internal queues of received scsi_xfer structures.
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.11 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A UBC_SYNC_B
|
#
1.10 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.9 |
|
11-Nov-2001 |
krw |
branches: 1.9.2; Remove local defines for SCSI status codes and use those now defined in scsi_all.h.
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
06-Apr-2001 |
csapuntz |
Move offsetof define into sys/param.h
|
#
1.7 |
|
22-Feb-2001 |
krw |
Typo police:
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members, correct references to existing structure members to use correct structure names or typedefs.
|
#
1.6 |
|
08-Dec-2000 |
krw |
This update should cause the adw driver to:
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes
- check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP
- produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming)
- take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens
- print an error message with the code # when adw_async_callback is called with an unknown code.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.5 |
|
22-Jul-2000 |
krw |
sync to NetBSD:
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
|
#
1.4 |
|
29-Jun-2000 |
krw |
Sync adw files with (almost) latest NetBSD versions:
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.3 |
|
29-Apr-2000 |
krw |
add $ tag
|
Revision tags: SMP_BASE
|
#
1.2 |
|
05-Feb-2000 |
deraadt |
branches: 1.2.2; support new u2w cards; dante@mclink.it, merged by kwesterback@home.com
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE kame_19991208
|
#
1.1 |
|
17-Nov-1998 |
downsj |
Add adw device driver, from NetBSD.
|
#
1.15 |
|
18-Feb-2020 |
krw |
Trailing whitespace.
|
#
1.14 |
|
07-Feb-2020 |
krw |
Nuke softc field 'sc_adapter" and just point sc_link's at shiney new 'adw_switch' like all the cool kids do.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.13 |
|
03-Oct-2010 |
krw |
iopoolification. Tested on my Advansys ASP-3940U2W. Various eyes including miod@, oga@, dlg@, matthew@.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
26-Nov-2008 |
krw |
Stop maintaining internal queues of received scsi_xfer structures.
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.11 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A UBC_SYNC_B
|
#
1.10 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.9 |
|
11-Nov-2001 |
krw |
branches: 1.9.2; Remove local defines for SCSI status codes and use those now defined in scsi_all.h.
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
06-Apr-2001 |
csapuntz |
Move offsetof define into sys/param.h
|
#
1.7 |
|
22-Feb-2001 |
krw |
Typo police:
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members, correct references to existing structure members to use correct structure names or typedefs.
|
#
1.6 |
|
08-Dec-2000 |
krw |
This update should cause the adw driver to:
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes
- check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP
- produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming)
- take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens
- print an error message with the code # when adw_async_callback is called with an unknown code.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.5 |
|
22-Jul-2000 |
krw |
sync to NetBSD:
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
|
#
1.4 |
|
29-Jun-2000 |
krw |
Sync adw files with (almost) latest NetBSD versions:
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.3 |
|
29-Apr-2000 |
krw |
add $ tag
|
Revision tags: SMP_BASE
|
#
1.2 |
|
05-Feb-2000 |
deraadt |
branches: 1.2.2; support new u2w cards; dante@mclink.it, merged by kwesterback@home.com
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE kame_19991208
|
#
1.1 |
|
17-Nov-1998 |
downsj |
Add adw device driver, from NetBSD.
|
#
1.14 |
|
07-Feb-2020 |
krw |
Nuke softc field 'sc_adapter" and just point sc_link's at shiney new 'adw_switch' like all the cool kids do.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.13 |
|
03-Oct-2010 |
krw |
iopoolification. Tested on my Advansys ASP-3940U2W. Various eyes including miod@, oga@, dlg@, matthew@.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
26-Nov-2008 |
krw |
Stop maintaining internal queues of received scsi_xfer structures.
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.11 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A UBC_SYNC_B
|
#
1.10 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.9 |
|
11-Nov-2001 |
krw |
branches: 1.9.2; Remove local defines for SCSI status codes and use those now defined in scsi_all.h.
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
06-Apr-2001 |
csapuntz |
Move offsetof define into sys/param.h
|
#
1.7 |
|
22-Feb-2001 |
krw |
Typo police:
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members, correct references to existing structure members to use correct structure names or typedefs.
|
#
1.6 |
|
08-Dec-2000 |
krw |
This update should cause the adw driver to:
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes
- check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP
- produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming)
- take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens
- print an error message with the code # when adw_async_callback is called with an unknown code.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.5 |
|
22-Jul-2000 |
krw |
sync to NetBSD:
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
|
#
1.4 |
|
29-Jun-2000 |
krw |
Sync adw files with (almost) latest NetBSD versions:
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.3 |
|
29-Apr-2000 |
krw |
add $ tag
|
Revision tags: SMP_BASE
|
#
1.2 |
|
05-Feb-2000 |
deraadt |
branches: 1.2.2; support new u2w cards; dante@mclink.it, merged by kwesterback@home.com
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE kame_19991208
|
#
1.1 |
|
17-Nov-1998 |
downsj |
Add adw device driver, from NetBSD.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.13 |
|
03-Oct-2010 |
krw |
iopoolification. Tested on my Advansys ASP-3940U2W. Various eyes including miod@, oga@, dlg@, matthew@.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.12 |
|
26-Nov-2008 |
krw |
Stop maintaining internal queues of received scsi_xfer structures.
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.11 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A UBC_SYNC_B
|
#
1.10 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: UBC_BASE
|
#
1.9 |
|
11-Nov-2001 |
krw |
branches: 1.9.2; Remove local defines for SCSI status codes and use those now defined in scsi_all.h.
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
06-Apr-2001 |
csapuntz |
Move offsetof define into sys/param.h
|
#
1.7 |
|
22-Feb-2001 |
krw |
Typo police:
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members, correct references to existing structure members to use correct structure names or typedefs.
|
#
1.6 |
|
08-Dec-2000 |
krw |
This update should cause the adw driver to:
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes
- check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP
- produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming)
- take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens
- print an error message with the code # when adw_async_callback is called with an unknown code.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.5 |
|
22-Jul-2000 |
krw |
sync to NetBSD:
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
|
#
1.4 |
|
29-Jun-2000 |
krw |
Sync adw files with (almost) latest NetBSD versions:
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.3 |
|
29-Apr-2000 |
krw |
add $ tag
|
Revision tags: SMP_BASE
|
#
1.2 |
|
05-Feb-2000 |
deraadt |
branches: 1.2.2; support new u2w cards; dante@mclink.it, merged by kwesterback@home.com
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE kame_19991208
|
#
1.1 |
|
17-Nov-1998 |
downsj |
Add adw device driver, from NetBSD.
|