Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/advlib.c
RevisionDateAuthorComments
 1.31  24-May-2024  andvar s/borad/board/ in comments.
 1.30  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.29  15-Dec-2019  tsutsui Remove clause 3 and 4 leftovers from TNF licenses in more sources.

Confirmed by martin@ in PR/54760.
 1.28  06-Oct-2019  uwe Get rid of bogus ASC_CALLBACK typedef. Use the real callback type
(which is almost ASC_ISR_CALLBACK). Since we no longer need the
casting dance we can get rid of the temporary variables, and since we
don't need the temporary variables we don't need the ASC_ISR_CALLBACK
typedef either. Found by gcc8 -Wcast-function-type.
 1.27  13-Nov-2010  uebayasi branches: 1.27.60; 1.27.66;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.26  19-Oct-2007  ad branches: 1.26.42;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.25  16-Nov-2006  christos branches: 1.25.8; 1.25.22; 1.25.24; 1.25.28;
__unused removal on arguments; approved by core.
 1.24  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.23  11-Dec-2005  christos branches: 1.23.20; 1.23.22;
merge ktrace-lwp.
 1.22  31-May-2005  christos branches: 1.22.2;
avoid variable shadow.
 1.21  30-May-2005  christos - add missing const
- fix variable shadowing
- remove unneeded casts
 1.20  27-Feb-2005  perry nuke trailing whitespace
 1.19  02-Nov-2003  wiz branches: 1.19.8; 1.19.10;
Fix some typos. From Tom Cosgrove via jmc@openbsd.
 1.18  15-Nov-2001  lukem branches: 1.18.16;
don't need <sys/types.h> when including <sys/param.h>
 1.17  13-Nov-2001  lukem add/cleanup RCSID
 1.16  09-Jun-2001  briggs branches: 1.16.2;
Patches from takashi.yamamoto@bigfoot.com in kern/13139.
- Set XS_TIMEOUT on a selection timeout condition.
- Do not bother to call AscStartChip() in AscResetChipAndScsiBus()--
just clear the chip status.
- Make sure address is word-aligned in AscWriteLramByte().

Tested on my adv (AdvanSys ABP-9xxUA) with CRW8424S and UMAX SuperVista S-12.
Earlier versions of the system would get stuck trying to recover from error
conditions when the CD-RW drive was in heavy use. I have not seen that
behavior with these small patches.
 1.15  30-Apr-2001  lukem remove some lint, including ansifying funcs
 1.14  25-Apr-2001  bouyer Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
 1.13  28-Jun-2000  mrg branches: 1.13.2;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.12  26-Jun-2000  mrg remove redundant vm includes.
 1.11  07-Aug-1999  thorpej branches: 1.11.2;
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
was being initialized to a KVA, when we really wanted a DMA address. Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.

Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.

Garbage-collect two functions which are no longer used because of the
above changes.
 1.10  12-Jun-1999  dante Clean up some stuff
Remove chip version check
Now compile again on 68k based systems
 1.9  06-Jun-1999  dante Add support for ISA, EISA and ISApnp cards
Fixed a bus reset bug which shows on arm32
 1.8  25-Feb-1999  dante branches: 1.8.4;
Fix AdvanSys Narrow driver to work on Alpha
 1.7  28-Oct-1998  dante Add support for macppc.
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
 1.6  14-Oct-1998  dante Remove some debugging printf
 1.5  13-Oct-1998  dante Change the way uCode is loaded into board LRAM, to let it work on macppc.
 1.4  26-Sep-1998  dante Remove Wide boards references
Adjust copyright

At this time this driver support the following AdvanSys boards:
- ABP-9xx
- ABP-9xxU
- ABP-9xxUA
 1.3  29-Aug-1998  dante Add rcs id
 1.2  28-Aug-1998  thorpej Add braces to make egcs happy.
 1.1  26-Aug-1998  dante Add AdvanSys 930U and 940U SCSI controllers
 1.8.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.11.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.11.2.1  19-Oct-1999  thorpej Adapt to scsipi API changes.
 1.13.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.13.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.13.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.16.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.16.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.18.16.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.18.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.18.16.1  03-Aug-2004  skrll Sync with HEAD
 1.19.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.19.8.1  29-Apr-2005  kent sync with -current
 1.22.2.1  27-Oct-2007  yamt sync with head.
 1.23.22.2  10-Dec-2006  yamt sync with head.
 1.23.22.1  22-Oct-2006  yamt sync with head
 1.23.20.1  18-Nov-2006  ad Sync with head.
 1.25.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.25.24.1  06-Nov-2007  matt sync with HEAD
 1.25.22.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.25.8.1  23-Oct-2007  ad Sync with head.
 1.26.42.1  05-Mar-2011  rmind sync with head
 1.27.66.1  18-Dec-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #570):

sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3
sys/dev/raidframe/rf_compat50.h: revision 1.6
sys/arch/emips/emips/bus_space.c: revision 1.3
sys/compat/net/if.h: revision 1.5
sys/arch/emips/stand/common/bootinfo.c: revision 1.2
sys/compat/common/sysv_msg_50.c: revision 1.5
sys/compat/common/kern_time_30.c: revision 1.8
sys/arch/emips/stand/common/bootinfo.h: revision 1.2
sys/arch/ia64/include/bus.h: revision 1.4
sys/arch/ia64/ia64/bus_space.c: revision 1.2
sys/compat/common/sysv_shm_50.c: revision 1.5
sys/dev/ic/adw.h: revision 1.15
sys/compat/common/uipc_syscalls_50.c: revision 1.10
sys/arch/emips/ebus/flash_ebus.c: revision 1.22
sys/dev/ic/adv.h: revision 1.15
sys/dev/ic/adwmcode.c: revision 1.18
sys/dev/ic/advlib.c: revision 1.29
sys/arch/hpcarm/include/kloader.h: revision 1.3
sys/dev/usb/uberry.c: revision 1.16
sys/compat/common/sysv_sem_50.c: revision 1.5
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43
sys/dev/ic/advlib.h: revision 1.21
sys/dev/ic/adv.c: revision 1.50
sys/compat/netinet6/in6_var.h: revision 1.5
sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2
sys/arch/emips/include/loadfile_machdep.h: revision 1.3
sys/arch/emips/stand/common/prom_iface.c: revision 1.7
sys/dev/ic/adw.c: revision 1.56
sys/dev/ic/adwmcode.h: revision 1.12
sys/dev/ic/advmcode.c: revision 1.10
sys/arch/emips/ebus/ace_ebus.c: revision 1.22
sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5
sys/dev/raidframe/rf_compat50.c: revision 1.13
sys/arch/x68k/dev/intiovar.h: revision 1.15
sys/dev/usb/uipad.c: revision 1.8
sys/arch/zaurus/include/kloader.h: revision 1.3
sys/arch/emips/stand/common/bootxx.c: revision 1.2
sys/dev/ic/adwlib.h: revision 1.23
sys/dev/ic/adwlib.c: revision 1.44
sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3
sys/arch/amigappc/include/intr.h: revision 1.27
sys/arch/x68k/dev/mfp.c: revision 1.27
sys/arch/arm/at91/at91dbgu.c: revision 1.17
sys/dev/ic/advmcode.h: revision 1.7
sys/compat/ultrix/ultrix_exec.h: revision 1.7
sys/compat/common/vfs_syscalls_50.c: revision 1.24
sys/arch/mips/cavium/octeon_dma.c: revision 1.3
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2

Remove clause 3 and 4 from TNF licenses.
Ok'ed by martin@ in PR/54760.

Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.
 1.27.60.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.27.60.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed