Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/cobalt/conf/files.cobalt
RevisionDateAuthorComments
 1.43  04-Sep-2021  tsutsui Use MI subr_disk_mbr.c for proper MBR and bi-endian supprot.

No special MD handling in previous. Briefly tested on gxemul 0.6.3.
 1.42  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.41  09-Apr-2018  christos branches: 1.41.16;
rename panel to lcdpanel.
 1.40  09-Apr-2018  christos rename the cobalt panel to ledpanel to avoid conflict with fdt.
 1.39  20-Jan-2018  skrll branches: 1.39.2;
Switch cobalt to common bus_space.

Tested on raq 2
 1.38  29-Jul-2014  skrll Convert cobalt to generic mips bus_dma.
 1.37  20-Jul-2014  alnsn Include sljit files.
 1.36  02-Oct-2012  christos branches: 1.36.10;
move common/bus_dma/ -> dev/bus_dma/
 1.35  20-Feb-2011  matt branches: 1.35.4; 1.35.14;
Merge forward from matt-nb5-mips64.
(XXX generic kernels on raq2 die after interrupts are enabled but gxemul
works fine).
 1.34  21-Aug-2009  thorpej branches: 1.34.4; 1.34.6; 1.34.8;
Use bus_dmamem_common.
 1.33  28-May-2008  tsutsui branches: 1.33.16;
Include files.bluetooth.
 1.32  27-Mar-2008  tsutsui branches: 1.32.2; 1.32.4; 1.32.6;
Add kernel support for optional Z85C30 serial console on Cobalt Qube 2700.
There is some interrupt related issue (in MI z8530tty driver?) on heavy load,
but useful enough for debugging.
 1.31  22-Mar-2008  tsutsui Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
(mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
(i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.
 1.30  20-Feb-2008  drochner branches: 1.30.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.29  10-Apr-2007  macallan branches: 1.29.14;
include files.wsfb
 1.28  10-Sep-2006  tsutsui branches: 1.28.6; 1.28.10; 1.28.12;
Remove or comment out now unused code after MI mips3_clockintr migration.
 1.27  08-Sep-2006  gdamore Various improvements to make the common mips3 clock handling more generally
useful. The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines. (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
 1.26  07-Sep-2006  gdamore branches: 1.26.2;
Convert to common mips3_cp0_counter clock.
Convert to timecounters.

From Rivo Nurges (rix at estpak dot ee). ok soren@, tested by simon@.
Note that this means we aren't using the gt clock, and maybe we should clean
that up a bit.
 1.25  15-Apr-2006  tsutsui Switch cobalt port to use MI todr(9) functions and MI mc146818 driver.
Tested on RaQ2 and Qube2 on port-cobalt.
 1.24  07-Apr-2006  tsutsui Add include "dev/usb/files.usb".
 1.23  11-Dec-2005  christos branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12;
merge ktrace-lwp.
 1.22  11-Jul-2005  kiyohara ieee1394 import from FreeBSD.
 1.21  04-Feb-2005  joff branches: 1.21.6;
Even though we don't use wscons on cobalt, still bring in dev/wscons/files.wscons
so we can get various opt_*.h generated.
 1.20  29-Aug-2004  tsutsui branches: 1.20.4; 1.20.6;
- rename comcnprobe() and comcninit() to com_mainbus_cnprobe() and
com_mainbus_cninit() and move these cn functions from cobalt/console.c
to dev/com_mainbus.c
- call cninit() only once
- remove unneeded includes
- use ANSI function decls
 1.19  17-Oct-2003  cdi branches: 1.19.4;
Change console code to use cninit() and null console. Add serial console
check.
 1.18  08-Oct-2003  bouyer pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.
 1.17  12-Sep-2003  tsutsui Use common mips generic software interrupt routines.
 1.16  27-Jul-2003  thorpej Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.
 1.15  20-Jan-2003  soren branches: 1.15.2;
Attachment for the HD44780 display and keypad on the front of Cobalt machines.
 1.14  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.13  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.12  16-Apr-2002  thorpej branches: 1.12.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.11  13-Mar-2002  simonb All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.10  17-Jan-2001  fvdl branches: 1.10.4; 1.10.8;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
 1.9  26-Nov-2000  ad lsu -> ld, by popular request.
 1.8  21-Nov-2000  soren Use dev/md_root.c.
 1.7  08-Nov-2000  ad branches: 1.7.2;
Pull in dev/i2o/files.i2o.
 1.6  23-Oct-2000  ad Add `major' for lsu.
 1.5  06-Jun-2000  soren branches: 1.5.2;
Fix unused device declaration.
 1.4  27-May-2000  soren branches: 1.4.2;
Correct ones, even.
 1.3  27-May-2000  soren Forgot to define sd and cd majors.
 1.2  31-Mar-2000  soren Some cleanups.
 1.1  19-Mar-2000  soren NetBSD/cobalt. Work-in-progress.
 1.4.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.2.1  25-Oct-2001  he Pull up revision 1.7 (requested by ad):
Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers.
 1.7.2.5  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.7.2.4  08-Dec-2000  bouyer Sync with HEAD.
 1.7.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.7.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.7.2.1  08-Nov-2000  bouyer file files.cobalt was added on branch thorpej_scsipi on 2000-11-20 20:07:01 +0000
 1.10.8.4  11-Nov-2002  nathanw Catch up to -current
 1.10.8.3  17-Sep-2002  nathanw Catch up to -current.
 1.10.8.2  20-Jun-2002  nathanw Catch up to -current.
 1.10.8.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.10.4.3  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.10.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.4.1  16-Mar-2002  jdolecek Catch up with -current.
 1.12.2.2  17-May-2002  gehenna Remove old block majors list.
 1.12.2.1  16-May-2002  gehenna Include the list of block/character major numbers.
 1.15.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.2.5  04-Feb-2005  skrll Sync with HEAD.
 1.15.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.2  03-Sep-2004  skrll Sync with HEAD
 1.15.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.4.1  16-Dec-2005  jmc Pullup rev 1.20 (requested by tsutsui in ticket #10175)

Cobalt kernel hangs in the second
consinit() call if it is loaded by the native bootloader,
so there is no bootstrap way to install other than to use
an older kernel.
 1.20.6.1  12-Feb-2005  yamt sync with head.
 1.20.4.1  29-Apr-2005  kent sync with -current
 1.21.6.5  24-Mar-2008  yamt sync with head.
 1.21.6.4  27-Feb-2008  yamt sync with head.
 1.21.6.3  03-Sep-2007  yamt sync with head.
 1.21.6.2  30-Dec-2006  yamt sync with head.
 1.21.6.1  21-Jun-2006  yamt sync with head.
 1.23.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.23.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.23.8.3  14-Sep-2006  yamt sync with head.
 1.23.8.2  24-May-2006  yamt sync with head.
 1.23.8.1  11-Apr-2006  yamt sync with head
 1.23.6.1  22-Apr-2006  simonb Sync with head.
 1.23.4.1  09-Sep-2006  rpaulo sync with head
 1.26.2.1  18-Nov-2006  ad Sync with head.
 1.28.12.1  11-Jul-2007  mjf Sync with head.
 1.28.10.1  10-Apr-2007  ad Sync with head.
 1.28.6.1  15-Apr-2007  yamt sync with head.
 1.29.14.1  23-Mar-2008  matt sync with HEAD
 1.30.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.30.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.32.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.32.4.2  16-Sep-2009  yamt sync with head
 1.32.4.1  04-May-2009  yamt sync with head.
 1.32.2.1  04-Jun-2008  yamt sync with head
 1.33.16.1  05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.34.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.34.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.34.4.1  05-Mar-2011  rmind sync with head
 1.35.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.35.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.35.4.1  30-Oct-2012  yamt sync with head
 1.36.10.1  10-Aug-2014  tls Rebase.
 1.39.2.1  16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.41.16.1  20-Mar-2021  thorpej There is no need to have the "pcibus" interface attribute on mainbus;
PCI bus instances to not attach there.

RSS XML Feed