Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/sandpoint/conf/files.sandpoint
RevisionDateAuthorComments
 1.32  24-Apr-2021  thorpej Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.31  14-Jan-2012  phx branches: 1.31.62;
New device nhpow(4) to support the onboard GPIO pins on a NH230/231 board for
buttons, powerdown, reset, LEDs and fan control. It attaches gpio(4) for
its 8 pins on demand.
 1.30  17-Dec-2011  phx Added NOR flash driver, using nor(4) and flash(4).
 1.29  01-Mar-2011  phx branches: 1.29.4; 1.29.8;
Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.
 1.28  26-Feb-2011  phx Changed satmgr(4) device major number from 100 to 144, which is reserved
for local/vendor use according to src/sys/conf/majors. This prevents
problems when the shared PowerPC device majors list gets another entry.
 1.27  12-Jan-2011  phx branches: 1.27.2; 1.27.4;
Rewritten to take advantage of the new MI motoi2c code.
 1.26  29-May-2010  phx 'satmgr' device for communicating with the satellite processor found on many
MPC824x-based systems. It registers the power button to sysmon and sets
a reboot/shutdown callback for cpu_reboot(). Other functions can be controlled
through /dev/satmgr.
Currently there is support for KuroBox and Synology, which will be extended
as soon more platforms have been reasearched.
This patch was submitted by Toru Nishimura.
 1.25  09-Apr-2008  nisimura branches: 1.25.4; 1.25.24; 1.25.26;
- abandon to maintain disksubr.c in favour of kern/subr_disk_mbr.c.
 1.24  20-Feb-2008  drochner branches: 1.24.6;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.23  11-Dec-2007  nisimura - switch to use majors.powerpc.
 1.22  03-Dec-2007  ad branches: 1.22.2; 1.22.4; 1.22.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.21  17-Oct-2007  garbled branches: 1.21.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.20  10-Apr-2007  macallan branches: 1.20.4; 1.20.12; 1.20.14; 1.20.16; 1.20.18;
include files.wsfb
 1.19  15-Sep-2006  gdamore branches: 1.19.6; 1.19.10; 1.19.12;
Convert sandpoint to GENERIC todr, including breaking of the clock handling
out into its own driver. (NB: mcclock should really, really be an MI driver
to avoid this kind of pasteware, but it is "nontrivial" to cope with the
fact that some machines have different ideas of mcclock.)
 1.18  11-Dec-2005  christos branches: 1.18.20;
merge ktrace-lwp.
 1.17  13-Mar-2004  bjh21 branches: 1.17.16;
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.16  18-Mar-2003  matt branches: 1.16.2;
Switch/adapt to new bus space infrastructure.
 1.15  05-Mar-2003  matt Remove port-specific procfs_machdep.c (since they are all identical and
a better one resides in powerpc/powerpc/).
 1.14  30-Oct-2002  manu Moved binary compatibility options from arch directory to cpu directory
 1.13  26-Oct-2002  jdolecek now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.12  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.11  16-Apr-2002  thorpej branches: 1.11.2;
* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
 1.10  20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.9  11-Oct-2001  briggs branches: 1.9.4;
include dev/wsfont/files.wsfont
 1.8  26-Aug-2001  matt Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
 1.7  18-Jun-2001  christos branches: 1.7.2;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.
 1.6  12-Jun-2001  tsubai Move "file .../bus_dma.c" line to MD place.
Add options PPC_MPC6XX on missed ports.
XXX I think PPC_OEA is better name.
 1.5  10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.4  12-Mar-2001  manu enabled COMPAT_LINUX for sandpoint
 1.3  08-Feb-2001  briggs branches: 1.3.2; 1.3.4;
Keyboard, mouse, ws*
 1.2  08-Feb-2001  briggs Add fdc and lpt.
 1.1  04-Feb-2001  briggs Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.3.4.2  21-Jun-2001  nathanw Catch up to -current.
 1.3.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.3.2.3  27-Mar-2001  bouyer Sync with HEAD.
 1.3.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.3.2.1  08-Feb-2001  bouyer file files.sandpoint was added on branch thorpej_scsipi on 2001-02-11 19:11:41 +0000
 1.7.2.4  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.9.4.5  11-Nov-2002  nathanw Catch up to -current
 1.9.4.4  17-Sep-2002  nathanw Catch up to -current.
 1.9.4.3  20-Jun-2002  nathanw Catch up to -current.
 1.9.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.9.4.1  11-Oct-2001  nathanw file files.sandpoint was added on branch nathanw_sa on 2002-01-08 00:27:22 +0000
 1.11.2.2  17-May-2002  gehenna Remove old block majors list.
 1.11.2.1  16-May-2002  gehenna Include the list of block/character major numbers.
 1.16.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.2.1  03-Aug-2004  skrll Sync with HEAD
 1.17.16.6  27-Feb-2008  yamt sync with head.
 1.17.16.5  21-Jan-2008  yamt sync with head
 1.17.16.4  07-Dec-2007  yamt sync with head
 1.17.16.3  27-Oct-2007  yamt sync with head.
 1.17.16.2  03-Sep-2007  yamt sync with head.
 1.17.16.1  30-Dec-2006  yamt sync with head.
 1.18.20.1  18-Nov-2006  ad Sync with head.
 1.19.12.1  11-Jul-2007  mjf Sync with head.
 1.19.10.3  03-Dec-2007  ad Sync with HEAD.
 1.19.10.2  23-Oct-2007  ad Sync with head.
 1.19.10.1  10-Apr-2007  ad Sync with head.
 1.19.6.1  15-Apr-2007  yamt sync with head.
 1.20.18.1  25-Oct-2007  bouyer Sync with HEAD.
 1.20.16.1  18-Oct-2007  yamt sync with head.
 1.20.14.3  23-Mar-2008  matt sync with HEAD
 1.20.14.2  09-Jan-2008  matt sync with HEAD
 1.20.14.1  06-Nov-2007  matt sync with HEAD
 1.20.12.2  09-Dec-2007  jmcneill Sync with HEAD.
 1.20.12.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.20.4.4  11-Jun-2007  nisimura - __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH.
- add pciide_machdep.c for compatibility mode IDE controller.
 1.20.4.3  23-May-2007  nisimura - make majors.sandpoint sync'ed with majors.evbppc, hoping the
userland is more-or-less NetBSD/macppc alike.
- have files.sandpoint some more.
 1.20.4.2  07-May-2007  garbled Adapt sandpoint to the changes made to the shared powerpc isa_machdep stuff.
 1.20.4.1  04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- have std.sandpoint options PIC_OPENPIC and PIC_I8259.
- arrange files.sandpoint to use common powerpc files.
- add USB device inclusion.
 1.21.2.2  27-Dec-2007  mjf Sync with HEAD.
 1.21.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.22.6.1  13-Dec-2007  bouyer Sync with HEAD
 1.22.4.1  11-Dec-2007  yamt sync with head.
 1.22.2.1  26-Dec-2007  ad Sync with head.
 1.24.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.25.26.2  05-Mar-2011  rmind sync with head
 1.25.26.1  30-May-2010  rmind sync with head
 1.25.24.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.25.4.1  11-Aug-2010  yamt sync with head.
 1.27.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.27.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.29.8.1  18-Feb-2012  mrg merge to -current.
 1.29.4.1  17-Apr-2012  yamt sync with head
 1.31.62.1  21-Mar-2021  thorpej eumb does not need to carry the "mainbus" interface attribute.

RSS XML Feed