Home | History | Annotate | Download | only in hpc
History log of /src/sys/arch/sgimips/hpc/hpcreg.h
RevisionDateAuthorComments
 1.21  23-Feb-2025  andvar s/configururation/configuration/ in comments.
 1.20  25-Jan-2011  tsutsui u_intNN_t -> uintNN_t
 1.19  19-Feb-2007  rumble branches: 1.19.68; 1.19.74; 1.19.76;
Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This
requires us to configure the IOPLUS to use the appropriate DMA channel,
depending on what other expansion cards may be installed. Further, we need
to do a bit more configuration of the sq(4) DMA engine, which apparently
was formerly being configured properly by the PROM. Use the same values,
which appear to work fine.

Also, extend the gio_arb_config interface as needed.

NB: We're currently setting the IOPLUS board to long burst, but it may be
better to use realtime. This will require some experimentation.
 1.18  22-Dec-2006  rumble branches: 1.18.2;
Remove errnoneous register definitions and rename some to be more specific.
Also, remove unused/invalid fields in our hpc revision abstraction and
be sure to zero entries when they do not apply to a specific revision.
 1.17  22-Dec-2006  rumble EEPROM and LED controls occupy the same byte. Unify them again.
 1.16  22-Dec-2006  rumble Provide attaching hpc devices with the eeprom contents, should a chip be
connected to the HPC. The only real reason for doing this is to get the
mac addresses off of E++ ethernet boards and the Challenge S IOPLUS board.
If no eeprom is present, we read in invalid data and take some default
action (query ARCBIOS).
 1.15  22-Dec-2006  rumble Rework detecting the HPC revision. In most cases we can presume what it is
based on mach_type (or at least know the major revision). The only case we
really need to concern ourselves with is differentiating between HPC1
and HPC3 on IP22. Specifically, between a HPC3 on the Challenge S IOPLUS
board and a HPC1.5-based adapter in an Indy.
 1.14  11-Dec-2005  christos branches: 1.14.20;
merge ktrace-lwp.
 1.13  30-Dec-2004  rumble branches: 1.13.10;
Prepend HPC3 macros universally with "HPC3_" to distinctly recognise
the corresponding revision and maintain consistency with HPC1.

No functional change intended.
 1.12  30-Dec-2004  rumble Remove a few HPC1 register definitions for ones that don't exist.

Also, HPC1_ENET_INTDELAYVAL isn't a magic number. It turns the
interrupt delay off (by being the timer trigger bit), so name it
more appropriately.
 1.11  17-Aug-2004  rumble Add defines for the four possible HPC GIO bus addresses.
 1.10  29-Dec-2003  sekiya Fixes to HPC abstraction layer from Steve Rumble:

- hpc1_hdd_{ctl,bufptr} and hpc3_hdd_{ctl,bufptr} are
established in hpcreg.h. All references to these fields
are updated with the exception of if_sq: (haltwo,
hpcdma). This makes reading the code and spotting bugs
easier.
- hpcdma.c was applying EOCHAIN to the wrong descriptor
word for the hpc1 case.
- I added scsi_max_xfer to the abstraction layer, and it
allows some crusty #defines in wdsc.c to be removed.
hpc1 now doesn't waste descriptors as it once did.
- hpcreg.h was updated to reflect the lack of XMITDONE
bit in hpc1. HPC1_REV15 added for a test in hpc.c
- hpc.c now verifies HPC1 revisions (1.0 vs 1.5) and
prints the output a little prettier ;)
- power interrupts shouldn't establish on non-IP22
platforms.
 1.9  16-Dec-2003  sekiya Introduce abstraction layer for HPC registers and values, which addresses the
divergence between HPC revision 1.5 and revision 3.

The wdsc driver has been updated to reflect this layer (and may now work on
IP20). The sq driver needs a bit more work before it can be committed.
 1.8  22-Nov-2003  sekiya Add dpclock driver (and minimal hpc1 goo) for ip20.
 1.7  18-Sep-2003  lonewolf Fix mistake in previous.
 1.6  18-Sep-2003  lonewolf Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
 1.5  13-Mar-2002  simonb branches: 1.5.12;
Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
 1.4  18-Nov-2001  thorpej * Clean up HPC autoconfiguration a little. Pass device register and
DMA register offsets, as well as IRQ, to children. Use direct
config. Use machine type/subtype to determine which devices are
present.
* Add support for the second SCSI controller on the Indigo2.
 1.3  19-Aug-2001  wdk branches: 1.3.6;
Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.

Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support. Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.

Tested on SGI R4K Indy, but has little testing on other platforms.
 1.2  07-Jun-2001  rafal branches: 1.2.2;
Add a bunch of defines for bits withing the ethernet-related registers so
the Seeq driver can use them instead of hardcoded constants.
 1.1  11-May-2001  thorpej Support for the HPC I/O peripheral ASIC. There is where SCSI, Ethernet,
etc. live on the Indigo2 and Indy.

From Rafal K. Boni.
 1.2.2.3  16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.3.6.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.6.2  08-Jan-2002  nathanw Catch up to -current.
 1.3.6.1  19-Aug-2001  nathanw file hpcreg.h was added on branch nathanw_sa on 2002-01-08 00:27:28 +0000
 1.5.12.5  17-Jan-2005  skrll Sync with HEAD.
 1.5.12.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.12.3  18-Sep-2004  skrll Sync with HEAD.
 1.5.12.2  25-Aug-2004  skrll Sync with HEAD.
 1.5.12.1  03-Aug-2004  skrll Sync with HEAD
 1.13.10.2  26-Feb-2007  yamt sync with head.
 1.13.10.1  30-Dec-2006  yamt sync with head.
 1.14.20.1  12-Jan-2007  ad Sync with head.
 1.18.2.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.19.76.1  08-Feb-2011  bouyer Sync with HEAD
 1.19.74.1  06-Jun-2011  jruoho Sync with HEAD.
 1.19.68.1  05-Mar-2011  rmind sync with head

RSS XML Feed