History log of /src/sys/arch/acorn32/mainbus |
Revision | Date | Author | Comments |
1.7 | 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.6 | 19-Jul-2011 |
dyoung | Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.5 | 12-May-2009 |
cegger | use device_xname(), use aprint_*_dev
|
1.4 | 16-Apr-2008 |
cegger | branches: 1.4.4; 1.4.18; device_t / softc split. From Hans Rosenfeld.
|
1.3 | 29-Mar-2006 |
thorpej | branches: 1.3.64; Use device_cfdata().
|
1.2 | 11-Dec-2005 |
christos | branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12; merge ktrace-lwp.
|
1.1 | 22-Jan-2004 |
bjh21 | branches: 1.1.4; 1.1.18; Add support for using ppbus(4) on acorn32. Only tested to the extent that it attaches correctly.
|
1.1.18.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.1.4.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.1.4.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.1.4.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.1.4.1 | 22-Jan-2004 |
skrll | file atppc_pioc.c was added on branch ktrace-lwp on 2004-08-03 10:30:55 +0000
|
1.2.12.1 | 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.2.10.1 | 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.2.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.2.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.2.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.3.64.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.4.18.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.4.4.1 | 16-May-2009 |
yamt | sync with head
|
1.17 | 08-Dec-2018 |
thorpej | Clean up initialization of com_regs structure, in preparation for some additional changers.
|
1.16 | 19-Jul-2011 |
dyoung | branches: 1.16.52; 1.16.54; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.15 | 03-Jun-2011 |
matt | device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.14 | 28-Apr-2008 |
martin | branches: 1.14.22; 1.14.28; 1.14.32; Remove clause 3 and 4 from TNF licenses
|
1.13 | 14-Mar-2008 |
cube | branches: 1.13.2; 1.13.4; Split device_t and softc for all com(4) devices (well, everything that uses a com_softc backend). Use proper types and ansify where appropriate.
|
1.12 | 29-Feb-2008 |
dyoung | Use pmf_device_register1() instead of shutdownhook_establish() to register com_cleanup() as the shutdown hook.
Add a generic suspend routine. Suspend and resume com@isa.
Protect against dereferencing a NULL softc in comioctl().
Destroy both a mutex and a callout in com_detach().
Cosmetic: use aprint_*_dev(). Use PMF_FN_ARGS, PMF_FN_PROTO.
|
1.11 | 13-Jul-2006 |
gdamore | branches: 1.11.34; 1.11.36; 1.11.56; 1.11.60; Add an option COM_REGMAP to allow com(4) to use an array of register indices. This allows us to convert aucom to just another com attachment, and cleanup some code in the com_arbus.c.
Additionally, we use a common com_cleanup routine rather than having a zillion copies of it in the attachment points.
This has been tested on a number architectures, and it has been shown to get close to comparable performance when COM_REGMAP is defined, and comparable when it is not defined.
Approved by core@. Fixes PR port-evbmips/32362.
|
1.10 | 11-Dec-2005 |
christos | branches: 1.10.4; 1.10.8; 1.10.16; merge ktrace-lwp.
|
1.9 | 07-Aug-2003 |
agc | branches: 1.9.16; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.8 | 14-Jun-2003 |
thorpej | branches: 1.8.2; Also pass a type argument to comcnattach() and com_kgdb_attach(). comspeed() (and thus cominit()) may need this information.
|
1.7 | 02-Oct-2002 |
thorpej | Fix script-o's in previous.
|
1.6 | 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.5 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.4 | 10-Mar-2002 |
bjh21 | __RCSID -> __KERNEL_RCSID
|
1.3 | 17-Feb-2002 |
bjh21 | cons_decl(com), to get prototypes.
|
1.2 | 27-Nov-2001 |
thorpej | branches: 1.2.2; Use <machine/intr.h>, not <machine/irqhandler.h>
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.4 | 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.1.4.3 | 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 | 05-Oct-2001 |
nathanw | file com_pioc.c was added on branch nathanw_sa on 2002-01-08 00:22:45 +0000
|
1.2.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.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 | 27-Nov-2001 |
thorpej | file com_pioc.c was added on branch kqueue on 2002-01-10 19:36:27 +0000
|
1.8.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.8.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.8.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.9.16.2 | 17-Mar-2008 |
yamt | sync with head.
|
1.9.16.1 | 30-Dec-2006 |
yamt | sync with head.
|
1.10.16.1 | 20-Jun-2006 |
gdamore | COM_INIT_REGS-ify acorn32.
|
1.10.8.1 | 11-Aug-2006 |
yamt | sync with head
|
1.10.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.11.60.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.11.60.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.11.56.1 | 24-Mar-2008 |
keiichi | sync with head.
|
1.11.36.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.11.34.1 | 21-Mar-2008 |
chris | Sync with head.
|
1.13.4.1 | 16-May-2008 |
yamt | sync with head.
|
1.13.2.1 | 18-May-2008 |
yamt | sync with head.
|
1.14.32.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.14.28.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.14.22.1 | 12-Jun-2011 |
rmind | sync with head
|
1.16.54.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.16.52.1 | 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.65 | 28-Aug-2023 |
andvar | acorn32/fdc(4): fix modifiers blkno values to %lld and fix typos in fr_r10-r12 variables (fh->fr).
Fixes acorn32 build with FD_DEBUG enabled option.
|
1.64 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.63 | 24-Apr-2021 |
thorpej | branches: 1.63.8; 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.62 | 20-Nov-2020 |
thorpej | branches: 1.62.2; malloc(9) -> kmem(9)
|
1.61 | 10-Nov-2019 |
chs | branches: 1.61.8; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
1.60 | 08-Feb-2019 |
mrg | make *fd*.c's fd_dev_to_type() always a static inline. some have it as a const, and have code to copy the defaults to modify them before using them, but that probably requires a real test to feel confident in changing.
|
1.59 | 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
1.58 | 26-Apr-2015 |
mlelstv | branches: 1.58.2; 1.58.8; 1.58.16; 1.58.18; Use C99-style initializers for struct dkdriver.
|
1.57 | 02-Jan-2015 |
christos | We have three sets of DTYPE_ constants in the kernel: altq Drop Type disklabel Disk Type file Descriptor Type (not to mention constants that contain the string DTYPE). Let's make them two, by changing the disklabel one to be DisK TYPE since the other disklabel constants seem to do that. Not many userland programs use these constants (and the ones that they do are mostly in ifdefs). They will be fixed shortly.
|
1.56 | 25-Oct-2014 |
skrll | branches: 1.56.2; Remove katelib.h and references to it.
{Read,Write}{Word,Byte} macros are provided in the files that still use them. Someone(tm) should convert them to bus_space(9)
|
1.55 | 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.54 | 25-Jul-2014 |
dholland | Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
|
1.53 | 16-Mar-2014 |
dholland | branches: 1.53.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
1.52 | 27-Oct-2012 |
chs | branches: 1.52.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.51 | 19-Jul-2011 |
dyoung | branches: 1.51.2; 1.51.12; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.50 | 03-Jun-2011 |
matt | device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.49 | 09-Dec-2010 |
uebayasi | branches: 1.49.2; 1.49.6; Fix DEBUG build.
|
1.48 | 28-Nov-2010 |
hannken | As md(4) no longer has "needs-count" there is no "md.h" anymore. Remove the inclusion of this file.
Acorn32 now always builds load_memory_disc_from_floppy(). This should not be a problem as all configs have md(4).
Observed by: Masao Uebayashi <uebayasi@netbsd.org>
|
1.47 | 24-Feb-2010 |
dyoung | branches: 1.47.2; Use device_private().
|
1.46 | 12-May-2009 |
cegger | branches: 1.46.2; use device_xname()
|
1.45 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.44 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.43 | 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.42 | 14-Feb-2009 |
cegger | build & bugfix: spl0 is an alias for splx(IPL_NONE), which effectively results in calling splx() twice.
|
1.41 | 13-Jan-2009 |
yamt | branches: 1.41.2; g/c BUFQ_FOO() macros and use bufq_foo() directly.
|
1.40 | 16-Dec-2008 |
christos | replace bitmask_snprintf(9) with snprintb(3)
|
1.39 | 12-Jun-2008 |
cegger | branches: 1.39.4; use device_lookup_private to get softc
|
1.38 | 28-Apr-2008 |
martin | branches: 1.38.2; 1.38.4; Remove clause 3 and 4 from TNF licenses
|
1.37 | 08-Jan-2008 |
matt | branches: 1.37.6; 1.37.8; 1.37.10; Remove unused variable.
|
1.36 | 05-Jan-2008 |
ad | Missing arg to cv_timedwait().
|
1.35 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
1.34 | 25-Oct-2007 |
yamt | branches: 1.34.2; 1.34.4; 1.34.8; fix warnings.
|
1.33 | 17-Oct-2007 |
garbled | 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.32 | 08-Oct-2007 |
ad | branches: 1.32.2; Merge brelse() changes from the vmlocking branch.
|
1.31 | 08-Oct-2007 |
ad | Merge disk init changes from the vmlocking branch. These seperate init / destroy of 'struct disk' from attach / detach.
|
1.30 | 29-Jul-2007 |
ad | branches: 1.30.2; 1.30.4; 1.30.6; 1.30.8; 1.30.10; It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.29 | 09-Jul-2007 |
ad | branches: 1.29.2; 1.29.4; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.28 | 04-Mar-2007 |
christos | branches: 1.28.2; 1.28.4; 1.28.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.27 | 15-Feb-2007 |
reinoud | branches: 1.27.2; Rename the B_XXX flag to B_DEVPRIVATE flag since it was never used for debugging and its main use is in device drivers. Its used there to signal that the flagged buffer has a special meaning or should be handled differently.
OK'd by Bill Sudenmund on tech-kern.
|
1.26 | 14-Apr-2006 |
blymn | Make i/o statistics collection more generic, include tape drives and nfs mounts in the set of devices that statistics will be reported on.
|
1.25 | 26-Mar-2006 |
thorpej | Use device_unit().
|
1.24 | 23-Feb-2006 |
thorpej | branches: 1.24.2; 1.24.4; 1.24.6; Use device_parent().
|
1.23 | 24-Dec-2005 |
perry | branches: 1.23.2; 1.23.4; 1.23.6; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
1.22 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.21 | 15-Oct-2005 |
yamt | - change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)
|
1.20 | 09-Jun-2005 |
he | branches: 1.20.2; Adapt to compiling with -Wcast-qual and -Wshadow.
|
1.19 | 28-Oct-2004 |
yamt | move buffer queue related stuffs from buf.h to their own header, bufq.h.
|
1.18 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.17 | 14-Jul-2003 |
lukem | use __KERNEL_RCSID() in a consistent manner
|
1.16 | 18-Jun-2003 |
drochner | branches: 1.16.2; don't #include <sys/dkstat.h> where it is (appearently) unused
|
1.15 | 19-Apr-2003 |
bjh21 | Fix format string mismatch.
|
1.14 | 31-Jan-2003 |
thorpej | Fix printf format from daddr_t changes.
|
1.13 | 01-Jan-2003 |
thorpej | Use aprint_normal() for cfprint routines.
|
1.12 | 01-Nov-2002 |
mrg | implement separate read/write disk statistics: - disk_unbusy() gets a new parameter to tell the IO direction. - struct disk_sysctl gets 4 new members for read/write bytes/transfers. when processing hw.diskstats, add the read&write bytes/transfers for the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old vmstat/iostat/systat programs to fail. however, the next time this is change it will not fail again.
this is just the kernel portion.
|
1.11 | 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.10 | 02-Oct-2002 |
thorpej | branches: 1.10.2; Fix script-o's in previous.
|
1.9 | 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.8 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.7 | 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.6 | 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.5 | 27-Jul-2002 |
hannken | Convert to new device buffer queue interface.
Approved by: Reinoud Zandijk <reinoud@netbsd.org>
|
1.4 | 20-Dec-2001 |
thorpej | branches: 1.4.2; 1.4.10; * Share a common vector page between arm26 and arm32. * Use a common set of exception handlers for all arm32 platforms. * New FIQ framework based on discussions with Ben Harris, shared between arm26 and arm32.
|
1.3 | 27-Nov-2001 |
thorpej | Use <machine/intr.h>, not <machine/irqhandler.h>
|
1.2 | 22-Nov-2001 |
thorpej | Kill <machine/katelib.h>. Any place that still uses it should just reference <arm/arm32/katelib.h> until such time as all use of this file has been purged from the face of the earth.
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.9 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.4.8 | 11-Nov-2002 |
nathanw | Catch up to -current
|
1.1.4.7 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.6 | 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.4.5 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.1.4.4 | 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
1.1.4.3 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 | 15-Nov-2001 |
thorpej | Machine-dependent kernel mods for scheduler activations on 32-bit ARM processors. Kernel boots multi-user on an XScale, but upcalls not yet tested.
|
1.1.4.1 | 05-Oct-2001 |
thorpej | file fd.c was added on branch nathanw_sa on 2001-11-15 08:30:30 +0000
|
1.4.10.4 | 30-Aug-2002 |
gehenna | catch up with -current.
|
1.4.10.3 | 16-May-2002 |
gehenna | Replace the hard-coded major with calling devsw API.
|
1.4.10.2 | 16-May-2002 |
gehenna | Add the block/character device switches.
|
1.4.10.1 | 16-May-2002 |
gehenna | Include sys/conf.h instead of machine/conf.h (obsoleted)
|
1.4.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.4.2.3 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.4.2.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.4.2.1 | 20-Dec-2001 |
thorpej | file fd.c was added on branch kqueue on 2002-01-10 19:36:28 +0000
|
1.10.2.2 | 09-Nov-2002 |
bjh21 | Catch up to -current.
|
1.10.2.1 | 24-Oct-2002 |
bjh21 | Sync with trunk.
|
1.16.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.16.2.6 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.16.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.16.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.16.2.3 | 05-Aug-2004 |
skrll | Fix some merge mistakes.
|
1.16.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.16.2.1 | 03-Jul-2003 |
wrstuden | lwp-ify a lot of the arm drivers. Needed to get acorn32/GENERIC compiling.
|
1.20.2.5 | 21-Jan-2008 |
yamt | sync with head
|
1.20.2.4 | 27-Oct-2007 |
yamt | sync with head.
|
1.20.2.3 | 03-Sep-2007 |
yamt | sync with head.
|
1.20.2.2 | 26-Feb-2007 |
yamt | sync with head.
|
1.20.2.1 | 21-Jun-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.23.2.1 | 01-Mar-2006 |
yamt | sync with head.
|
1.24.6.4 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.24.6.3 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.24.6.2 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.24.6.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.24.4.1 | 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.24.2.2 | 24-May-2006 |
yamt | sync with head.
|
1.24.2.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.27.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.28.10.2 | 16-Oct-2007 |
garbled | Sync with HEAD
|
1.28.10.1 | 03-Oct-2007 |
garbled | Sync with HEAD
|
1.28.4.1 | 11-Jul-2007 |
mjf | Sync with head.
|
1.28.2.5 | 03-Dec-2007 |
ad | Sync with HEAD.
|
1.28.2.4 | 09-Oct-2007 |
ad | Sync with head.
|
1.28.2.3 | 20-Aug-2007 |
ad | - Alter disk attach/detach to fix a panic when closing a vnd device. - Sync with HEAD.
|
1.28.2.2 | 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.28.2.1 | 15-Jul-2007 |
ad | Sync with head.
|
1.29.4.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.29.2.1 | 07-Aug-2007 |
matt | Sync with HEAD.
|
1.30.10.1 | 14-Oct-2007 |
yamt | sync with head.
|
1.30.8.2 | 09-Jan-2008 |
matt | sync with HEAD
|
1.30.8.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.30.6.3 | 09-Feb-2008 |
chris | Add initial reworking of acorn32 to use new interrupt code.
Note that cats probably won't work currently as acorn32 changed the way that the pic is registered, it has to provide the irq lines as on acorn32 we attach the iomd after we need to register irqs for the pioc. So we setup the irqs for iomd before malloc etc are available. This needs to be fixed.
More work is still needed to update most of the podulebus drivers. First I need to add podulebus wrapper for interrupts that handles the maskaddr and maskbits. Exposing them to the common irq code is wrong.
|
1.30.6.2 | 20-Jan-2008 |
chris | Sync to HEAD.
|
1.30.6.1 | 01-Jan-2008 |
chris | Sync with HEAD.
|
1.30.4.2 | 28-Oct-2007 |
joerg | Sync with HEAD.
|
1.30.4.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.30.2.1 | 28-Feb-2008 |
rjs | Sync with HEAD.
|
1.32.2.1 | 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.34.8.2 | 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.34.8.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.34.4.2 | 31-Dec-2007 |
ad | Catch up with buffer cache changes.
|
1.34.4.1 | 31-Dec-2007 |
ad | Make compile with new buffer cache locking scheme.
XXX This should be largely MI, please do not make another clone of disksubr.c.
|
1.34.2.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.37.10.4 | 11-Mar-2010 |
yamt | sync with head
|
1.37.10.3 | 16-May-2009 |
yamt | sync with head
|
1.37.10.2 | 04-May-2009 |
yamt | sync with head.
|
1.37.10.1 | 16-May-2008 |
yamt | sync with head.
|
1.37.8.2 | 17-Jun-2008 |
yamt | sync with head.
|
1.37.8.1 | 18-May-2008 |
yamt | sync with head.
|
1.37.6.3 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.37.6.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.37.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.38.4.1 | 18-Jun-2008 |
simonb | Sync with head.
|
1.38.2.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.39.4.3 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.39.4.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.39.4.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.41.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.46.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.47.2.2 | 12-Jun-2011 |
rmind | sync with head
|
1.47.2.1 | 05-Mar-2011 |
rmind | sync with head
|
1.49.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.49.2.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.51.12.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
1.51.12.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.51.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.51.2.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.51.2.1 | 30-Oct-2012 |
yamt | sync with head
|
1.52.2.1 | 18-May-2014 |
rmind | sync with head
|
1.53.2.1 | 10-Aug-2014 |
tls | Rebase.
|
1.56.2.2 | 06-Jun-2015 |
skrll | Sync with HEAD
|
1.56.2.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
1.58.18.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.58.18.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.58.16.1 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.58.8.1 | 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
1.58.2.3 | 20-Jul-2016 |
pgoyette | Adapt the machine/arch dependent code to the new {b,c}devsw reference counting.
XXX Most of these will require testing by someone other than myself, as I have a limited selection of hardware!
|
1.58.2.2 | 20-Jul-2016 |
pgoyette | Redo previous. Rather than separately extracting the device_t, we can rely on sc->sc_dev when we need to call device_release().
|
1.58.2.1 | 19-Jul-2016 |
pgoyette | Instead of repeatedly typing the conditional initialization of the .d_localcount members in the various {b,c}devsw, define an initializer macro and use it. This also removes the need for defining new symbols for each 'struct localcount'.
As suggested by riastradh@
|
1.61.8.1 | 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
1.62.2.1 | 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.63.8.1 | 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.5 | 30-Jun-2011 |
wiz | dependant -> dependent
|
1.4 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.3 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.2 | 09-Apr-2003 |
thorpej | branches: 1.2.2; Use PAGE_SIZE rather than NBPG.
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; 1.1.6; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.6.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 | 05-Oct-2001 |
thorpej | file fdreg.h was added on branch kqueue on 2002-01-10 19:36:28 +0000
|
1.1.4.2 | 05-Oct-2001 |
reinoud | Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.1 | 05-Oct-2001 |
reinoud | file fdreg.h was added on branch nathanw_sa on 2001-10-05 22:27:54 +0000
|
1.2.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.2.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.2.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.13 | 27-Dec-2019 |
msaitoh | s/manaul/manual/ in comment.
|
1.12 | 19-Jul-2011 |
dyoung | branches: 1.12.54; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.11 | 03-Jun-2011 |
matt | device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.10 | 13-Apr-2008 |
chris | branches: 1.10.26; 1.10.32; 1.10.36; Fix device_t/softc split fallout.
A device_t should never be cast with void*. This fixes reboot on acorn32. I also suspect it'll fix a panic mjf was seeing due to corruption of the alldevs list.
|
1.9 | 07-Mar-2008 |
cube | Split the softc from the device_t for all lpt(4) variants and attachments except the ppbus stuff (which doesn't compile) and ulpt(4) which is unrelated and can be dealt with separately.
As usual, it comes with related cosmetic changes.
|
1.8 | 02-Oct-2002 |
thorpej | branches: 1.8.24; 1.8.86; 1.8.88; 1.8.108; 1.8.112; Fix script-o's in previous.
|
1.7 | 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.6 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.5 | 10-Mar-2002 |
bjh21 | __RCSID -> __KERNEL_RCSID
|
1.4 | 17-Feb-2002 |
bjh21 | Add __RCSID().
|
1.3 | 17-Feb-2002 |
bjh21 | Add prototypes for lpt_port_test() and lptprobe().
|
1.2 | 27-Nov-2001 |
thorpej | branches: 1.2.2; Use <machine/intr.h>, not <machine/irqhandler.h>
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.4 | 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.1.4.3 | 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 | 05-Oct-2001 |
nathanw | file lpt_pioc.c was added on branch nathanw_sa on 2002-01-08 00:22:46 +0000
|
1.2.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.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 | 27-Nov-2001 |
thorpej | file lpt_pioc.c was added on branch kqueue on 2002-01-10 19:36:28 +0000
|
1.8.112.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.8.112.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.8.108.1 | 24-Mar-2008 |
keiichi | sync with head.
|
1.8.88.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.8.86.1 | 21-Mar-2008 |
chris | Sync with head.
|
1.8.24.1 | 17-Mar-2008 |
yamt | sync with head.
|
1.10.36.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.10.32.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.10.26.1 | 12-Jun-2011 |
rmind | sync with head
|
1.12.54.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.20 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.19 | 24-Apr-2021 |
thorpej | branches: 1.19.8; 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.18 | 27-Oct-2012 |
chs | branches: 1.18.52; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.17 | 19-Jul-2011 |
dyoung | branches: 1.17.2; 1.17.12; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.16 | 03-Jun-2011 |
matt | device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.15 | 12-May-2009 |
cegger | branches: 1.15.4; 1.15.6; 1.15.10; use device_xname()
|
1.14 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.13 | 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.12 | 11-Dec-2005 |
christos | branches: 1.12.80; 1.12.88; 1.12.94; merge ktrace-lwp.
|
1.11 | 26-Aug-2005 |
drochner | s/locdesc_t/int/g
|
1.10 | 30-Jun-2005 |
drochner | branches: 1.10.2; adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
|
1.9 | 28-Jun-2005 |
drochner | convert remaining autoconf bus "submatch" functions to use the new signature (passing locators), and remove some which obviously don't serve any purpose (untested, sorry)
|
1.8 | 14-Dec-2004 |
chs | use the generated macros in locators.h rather than hard-coded numbers to index the cf_loc[] array. reviewed by allen briggs.
|
1.7 | 14-Jul-2003 |
lukem | use __KERNEL_RCSID() in a consistent manner
|
1.6 | 01-Jan-2003 |
thorpej | branches: 1.6.2; Use aprint_normal() for cfprint routines.
|
1.5 | 02-Oct-2002 |
thorpej | Fix script-o's in previous.
|
1.4 | 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.3 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.2 | 27-Sep-2002 |
thorpej | Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; 1.1.6; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.6.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.1.6.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 | 05-Oct-2001 |
thorpej | file pioc.c was added on branch kqueue on 2002-01-10 19:36:28 +0000
|
1.1.4.3 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.4.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 | 05-Oct-2001 |
nathanw | file pioc.c was added on branch nathanw_sa on 2002-10-18 02:33:40 +0000
|
1.6.2.5 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.6.2.4 | 18-Dec-2004 |
skrll | Sync with HEAD.
|
1.6.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.6.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.6.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.10.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.12.94.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.12.88.1 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.12.80.2 | 16-May-2009 |
yamt | sync with head
|
1.12.80.1 | 04-May-2009 |
yamt | sync with head.
|
1.15.10.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.15.6.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.15.4.1 | 12-Jun-2011 |
rmind | sync with head
|
1.17.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.17.2.1 | 30-Oct-2012 |
yamt | sync with head
|
1.18.52.8 | 05-Apr-2021 |
thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy to spot.
|
1.18.52.7 | 05-Apr-2021 |
thorpej | config_match() -> config_probe() for the straight-forward indirect config cases. There are still a few odd balls using config_match() which should be sorted out later.
|
1.18.52.6 | 04-Apr-2021 |
thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
|
1.18.52.5 | 03-Apr-2021 |
thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
|
1.18.52.4 | 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
1.18.52.3 | 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.18.52.2 | 21-Mar-2021 |
thorpej | CFARG_IATTR usage audit:
If a device carries only one interface attribute, there is no need to specify it when calling config_search(); that specification is meant only to disambiguate which interface attribute (which is a proxy for "what kind of attach args are being used") is having children attached. cfparent_match() will take care of ensuring that any potential children can attach to one of the parent's iterface attributes, and if the parent only carries one, no disambiguation is necessary.
|
1.18.52.1 | 20-Mar-2021 |
thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
- Introduce a new cfarg_t enumerated type, that defines the types of tag-value variadic arguments that can be passed to the various config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS, for now, plus a CFARG_EOL sentinel). - Collapse config_search_*() into config_search() that takes these variadic arguments. - Convert all call sites of config_search_*() to the new signature. Noticed several incorrect usages along the way, which will be audited in a future commit.
|
1.19.8.1 | 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; 1.1.6; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.6.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 | 05-Oct-2001 |
thorpej | file piocreg.h was added on branch kqueue on 2002-01-10 19:36:29 +0000
|
1.1.4.2 | 05-Oct-2001 |
reinoud | Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.1 | 05-Oct-2001 |
reinoud | file piocreg.h was added on branch nathanw_sa on 2001-10-05 22:27:54 +0000
|
1.2 | 19-Jul-2011 |
dyoung | Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; 1.1.6; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.6.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 | 05-Oct-2001 |
thorpej | file piocvar.h was added on branch kqueue on 2002-01-10 19:36:29 +0000
|
1.1.4.2 | 05-Oct-2001 |
reinoud | Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.1 | 05-Oct-2001 |
reinoud | file piocvar.h was added on branch nathanw_sa on 2001-10-05 22:27:54 +0000
|
1.31 | 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.30 | 20-Oct-2017 |
jdolecek | move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() and ata_channel_destroy() respectively, to make attachment code simpler, and to make it easier to spot special queue manipulation like cmdide(4)
on topic of PR kern/52606
|
1.29 | 07-Oct-2017 |
jdolecek | Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch
ATA subsystem was changed to support several outstanding commands, and use NCQ xfers if supported by both the controller and the disk, including NCQ error recovery. Set NCQ high priority for BPRIO_TIMECRITICAL xfers if supported. Added FUA support.
Done some work towards MP-safe, all ATA code tsleep()/wakeup() replaced by condvars, and switched most code from spl* to mutexes (separate wd(4) and ata channel lock).
Introduced new option WD_CHAOS_MONKEY to facilitate testing of error handling, fixed several uncovered issues. Also fixed several problems with kernel dump to wd(4) disk.
Tested with ahcisata(4), mvsata(4), siisata(4), piixide(4) on amd64, with and without port multiplier, both disk and ATAPI devices; other drivers and archs mechanically adjusted and compile-tested. NCQ is supported for ahcisata(4) and siisata(4) for any controller, for mvsata(4) only Gen IIe ones for now. Also enabled ATAPI support in mvsata(4).
Thanks to Matt Thomas for initial ATA infrastructure patch, and Jonathan A.Kollasch for siisata(4) NCQ changes and general testing.
Also fixes PR kern/43169 (wd(4)); and PR kern/11811, PR kern/47041, PR kern/51979 (kernel dump)
|
1.28 | 31-Jul-2012 |
bouyer | branches: 1.28.2; 1.28.28; Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc cleanup and SATA PMP support), now that I'm back to fix the fallouts.
|
1.27 | 26-Jul-2012 |
jakllsch | Revert, with intention of restoring in a less invasive way, the SATA Port Multiplier code.
ok christos@
|
1.26 | 02-Jul-2012 |
bouyer | Add sata Port MultiPlier (PMP) support to the ata bus layer, as described in http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html PMP support in integrated to the atabus layer. struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive (renamed to ch_ndrives) closely reflects the size of the ch_drive[] array. Add helper functions atabus_alloc_drives() and atabus_free_drives() to manage ch_drive[]/ch_ndrives. Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify how much drive they really support (master/slave or single). ata_reset_drive() callback gains a uint32_t *sigp argument which, when not NULL, will contain the signature of the device being reset. While there, some cosmetic changes: - added a drive_type enum to ata_drive_datas, and stop encoding the probed drive type in drive_flags (we were out of drive flags anyway). - rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this really is - remove ata_channel->ata_drives, it's redundant with the pointer in ata_drive_datas - factor out the interpretation of SATA signatures in sata_interpet_sig()
propagate these changes to the ATA HBA drivers, and add support for PMP to ahcisata(4) and siisata(4).
Thanks to: - Protocase (http://www.protocase.com/) which provided a system with lots of controllers, SATA PMP and drive slots - Conservation Genomics Laboratory, Department of Biology, New Mexico State University for hosting the above system - Brook Milligan, who set up remote access and has been very responsive when SATA cable move was needed
|
1.25 | 19-Jul-2011 |
dyoung | branches: 1.25.2; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark acorn32/bus.h obsolete.
|
1.24 | 03-Jun-2011 |
matt | device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.23 | 18-Mar-2008 |
cube | branches: 1.23.26; 1.23.32; 1.23.36; Set the device_t back pointer in the softc.
|
1.22 | 18-Mar-2008 |
cube | Split device_t and softc for ATA devices, as well as wd(4). Other cosmetic changes where appropriate.
|
1.21 | 16-Jan-2006 |
bouyer | branches: 1.21.48; 1.21.50; 1.21.70; 1.21.74; properly use ata_channel->ch_ndrive: - initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c for the "Sandisk CompactFlash Card" where it's set to 1) - remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.
From Christos Zoulas in kern/32501.
|
1.20 | 11-Dec-2005 |
christos | branches: 1.20.2; merge ktrace-lwp.
|
1.19 | 28-Sep-2004 |
reinoud | branches: 1.19.12; wdc shadow registers need to be initialised later.
Request pullup for 2-0 nessisary?
|
1.18 | 20-Aug-2004 |
thorpej | Move most of wdc_softc into a new atac_softc structure that contains info common to all types of ATA controllers.
|
1.17 | 14-Aug-2004 |
thorpej | - Split the register handles out of struct wdc_channel into a separate wdc_regs structure, and array of which (indexed per channel) is pointed to by struct wdc_softc. - Move the resulting wdc_channel structure to atavar.h and rename it to ata_channel. Rename the corresponding flags. - Add a "ch_ndrive" member to struct ata_channel, which indicates the maximum number of drives that can be present on the channel. For now, this is always 2. Add an ATA_MAXDRIVES constant that places an upper limit on this value, also currently 2.
|
1.16 | 25-May-2004 |
thorpej | Add the notion of "shadow registers" to the wdc driver. These shadow registers are registers that overlap with others on many controllers, but which may actually be distinct on some controllers. Right now, the two shadows are:
- wd_status (usually overlaps wd_command) - wd_features (usually overlaps wd_error)
Add a new helper function, wdc_init_shadow_regs(), used to initialize the shadow register handles on controllers where they do actually overlap.
Partially from Jordan Rhody @ Wasabi Systems, Inc.
|
1.15 | 03-Jan-2004 |
thorpej | More wdc_channel structure member namespace cleanup: - channel -> ch_channel - wdc -> ch_wdc
|
1.14 | 03-Jan-2004 |
thorpej | Rename "struct channel_softc" to "struct wdc_channel".
|
1.13 | 01-Jan-2004 |
thorpej | Rename: - wdc_xfer to ata_xfer - channel_queue to ata_queue and move them to <dev/ata/atavar.h> so they can be used by non-wdc ATA controllers. Clean up the member names of these structures while at it.
|
1.12 | 31-Dec-2003 |
thorpej | Simplify allocation of the channel queue.
|
1.11 | 02-Dec-2003 |
bjh21 | Update for new world of indirect wdc registers.
|
1.10 | 08-Oct-2003 |
bouyer | Adapt for wdcattach() prototype change.
|
1.9 | 25-Sep-2003 |
mycroft | Hide the use of config_interrupts() in one place.
|
1.8 | 19-Sep-2003 |
mycroft | 1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates most polling. 2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path (it's gratuitous) and simplify the code by calling pciide_map_compat_intr(), *_set_modes() and wdc_print_modes() from central locations. 3) Add a register writability and register ghost test to eliminate phantom drives more quickly.
|
1.7 | 14-Jul-2003 |
lukem | use __KERNEL_RCSID() in a consistent manner
|
1.6 | 02-Oct-2002 |
thorpej | branches: 1.6.8; Fix script-o's in previous.
|
1.5 | 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.4 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.3 | 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.2 | 27-Nov-2001 |
thorpej | branches: 1.2.2; Use <machine/intr.h>, not <machine/irqhandler.h>
|
1.1 | 05-Oct-2001 |
reinoud | branches: 1.1.4; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.3 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 | 05-Oct-2001 |
nathanw | file wdc_pioc.c was added on branch nathanw_sa on 2002-01-08 00:22:46 +0000
|
1.2.2.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.2.2.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.2.2.1 | 27-Nov-2001 |
thorpej | file wdc_pioc.c was added on branch kqueue on 2002-01-10 19:36:29 +0000
|
1.6.8.5 | 19-Oct-2004 |
skrll | Sync with HEAD
|
1.6.8.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.6.8.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.6.8.2 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
1.6.8.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.19.12.2 | 24-Mar-2008 |
yamt | sync with head.
|
1.19.12.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.20.2.1 | 01-Feb-2006 |
yamt | sync with head.
|
1.21.74.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.21.70.1 | 24-Mar-2008 |
keiichi | sync with head.
|
1.21.50.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.21.48.1 | 21-Mar-2008 |
chris | Sync with head.
|
1.23.36.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.23.32.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.23.26.1 | 12-Jun-2011 |
rmind | sync with head
|
1.25.2.1 | 30-Oct-2012 |
yamt | sync with head
|
1.28.28.2 | 27-Sep-2017 |
jdolecek | change wdc_init_shadow_regs() to accept only struct wdc_regs, it doesn't touch anything else
factor out the probe-only struct ata_channel initialization to wdcprobe(), to reduce duplication of logic in individual drivers, and to actually work now that more init is needed beyond the memset()
|
1.28.28.1 | 26-Sep-2017 |
jdolecek | switch to ata_queue_alloc() so that this at least compiles
|
1.28.2.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|