Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/fd.c
RevisionDateAuthorComments
 1.104  14-Oct-2023  andvar fix various typos in comments and documentation, mainly in word "between".
 1.103  13-Oct-2023  andvar s/fdstartegy/fdstrategy/ in comment.
 1.102  26-Aug-2023  andvar amiga/fdc(4): revert bp->b_bcount format specifiers from %ld to %d,
changed in rev 1.62. b_bcount has a type of int.

fixes FDDEBUG build.
 1.101  17-Jan-2022  andvar fix typos in comments.
 1.100  17-Aug-2021  andvar fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.99  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.98  24-Apr-2021  thorpej branches: 1.98.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.97  03-Sep-2018  riastradh branches: 1.97.14;
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.96  26-Apr-2015  mlelstv branches: 1.96.2; 1.96.8; 1.96.16; 1.96.18;
Use C99-style initializers for struct dkdriver.
 1.95  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.94  31-Dec-2014  christos fix typo
 1.93  31-Dec-2014  christos make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.
 1.92  08-Aug-2014  joerg branches: 1.92.4;
Fix misspelling of binary and as logical and.
 1.91  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.90  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.89  16-Mar-2014  dholland branches: 1.89.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.88  22-Jan-2014  christos gcc-4.8.x unused variable fixes
 1.87  27-Oct-2012  chs branches: 1.87.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.86  03-Jun-2011  matt branches: 1.86.2; 1.86.12;
CFATTACH_DECL_NEW, device_t, cfdata_t
 1.85  20-Dec-2010  matt branches: 1.85.2; 1.85.6;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.84  15-Jan-2010  dyoung branches: 1.84.4;
Use __arraycount().
 1.83  26-Oct-2009  cegger kill extra whitespaces
reviewed by tsutsui@
 1.82  18-Mar-2009  cegger bcopy -> memcpy
 1.81  18-Mar-2009  cegger bzero -> memset
 1.80  13-Jan-2009  yamt branches: 1.80.2;
g/c BUFQ_FOO() macros and use bufq_foo() directly.
 1.79  11-Jun-2008  tsutsui branches: 1.79.4;
Use device_private() and device_lookup_private() to get softc.
 1.78  02-Jan-2008  ad branches: 1.78.6; 1.78.8; 1.78.10; 1.78.12; 1.78.14;
Merge vmlocking2 to head.
 1.77  17-Oct-2007  garbled branches: 1.77.2; 1.77.4; 1.77.8;
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.76  08-Oct-2007  ad Missed brelse() change.
 1.75  08-Oct-2007  ad Merge brelse() changes from the vmlocking branch.
 1.74  08-Oct-2007  ad Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.
 1.73  20-Aug-2007  is branches: 1.73.2; 1.73.4;
First part of amigappc support patches by Frank Wille.
 1.72  29-Jul-2007  ad branches: 1.72.4;
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.71  29-Jul-2007  ad 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.70  09-Jul-2007  ad branches: 1.70.2; 1.70.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.69  05-Mar-2007  he branches: 1.69.2; 1.69.4; 1.69.10;
Use char* for pointer arithmetic.
 1.68  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.67  26-Mar-2006  thorpej branches: 1.67.14;
Use device_unit().
 1.66  11-Dec-2005  christos branches: 1.66.4; 1.66.6; 1.66.8; 1.66.10; 1.66.12;
merge ktrace-lwp.
 1.65  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.64  13-Jun-2005  jmc branches: 1.64.2;
Fix a ton of const/volatile issues shown with new warning flags
 1.63  28-Oct-2004  yamt move buffer queue related stuffs from buf.h to their own header, bufq.h.
 1.62  14-Jul-2003  aymeric get rid of printf() warnings in the FDDEBUG case by using the right format
specifiers
 1.61  10-May-2003  thorpej branches: 1.61.2;
Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself. This paves the way for some future changes.
 1.60  03-May-2003  wiz DMA, not dma nor Dma.
 1.59  01-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.58  06-Jan-2003  wiz synchronous, not syncronous.
 1.57  01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.56  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.55  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.54  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.53  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.52  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.51  07-Aug-2002  hannken Convert to new device buffer queue interface.

Approved by: Ignatios Souvatzis <is@netbsd.org>
 1.50  28-Jan-2002  aymeric branches: 1.50.8;
add __KERNEL_RCSID as suggested by Luke Mewburn
 1.49  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.48  16-Sep-2001  wiz branches: 1.48.4;
Spell 'occurred' with two 'r's.
 1.47  13-Jan-2001  aymeric branches: 1.47.2; 1.47.4;
make this compile again
 1.46  20-Nov-2000  chs rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
 1.45  23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.44  16-Mar-2000  kleink Kill more broken cf_unit bogons.
 1.43  07-Feb-2000  thorpej Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
 1.42  21-Jan-2000  thorpej Update for sys/buf.h/disksort_*() changes.
 1.41  04-Dec-1999  ragge CL* discarding.
 1.40  12-Jan-1998  thorpej branches: 1.40.14; 1.40.20;
Adjust for changes to config.
 1.39  11-Oct-1997  mhitch Fix typo from DIOCGDEFLABEL implementation.
 1.38  08-Oct-1997  thorpej Implement DIOCGDEFLABEL.
 1.37  17-Jul-1997  jtk branches: 1.37.2;
use locator defines in "locators.h" to index cf_loc[]
 1.36  23-Dec-1996  veego Get rid of __BROKEN_INDIRECT_CONFIG.
 1.35  13-Oct-1996  christos backout previous kprintf change
 1.34  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.33  27-Aug-1996  cgd change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
 1.32  04-May-1996  mhitch Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
uses MSDOS MFM track encoding. From Ezra Story (ezy@panix.com) with
a couple of changes by me.
 1.31  30-Apr-1996  mhitch Remove include of sys/cpu.h.
 1.30  29-Apr-1996  mhitch Add floppy index interrupt routine for future MSDOS floppy support.
Don't seek to track 0 before checking for diskchange: if drive steps,
the diskchange flag is cleared. Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
 1.29  21-Apr-1996  veego - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip
- Ariadne:
- fixed crashes with aeput (mbuf failure)
 1.28  05-Apr-1996  mhitch Pass reserved blocks in label so adosfs computes root block
correctly (close PR 2232).
 1.27  17-Mar-1996  mhitch Clean up typos and other errors from new device attachment changes.
 1.26  17-Mar-1996  thorpej New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
 1.25  28-Jan-1996  chopps make sure master enable is set #1920
 1.24  15-Jan-1996  thorpej Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
 1.23  14-Jan-1996  thorpej Fixed typo (that I probably introduced with the disk changes). From
Thorsten Frueauf <frueauf@ira.uka.de>, PR #1924.
 1.22  07-Jan-1996  thorpej New generic disk framework. Highlights:

- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.

- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.

- Several new functions for attaching and detaching disks, and
handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
 1.21  12-Aug-1995  mycroft minphys() functions really should return void.
 1.20  26-Jul-1995  chopps fix typo
 1.19  24-Jul-1995  cgd bound xfer properly in minphys, panic if can't.
 1.18  05-Jul-1995  chopps remove indirect use of strategy which brok with recent changes
 1.17  13-Apr-1995  chopps couple small changes from Michael.
 1.16  10-Apr-1995  mycroft Fdclose --> fdclose
 1.15  06-Apr-1995  chopps say something more for unconfigured devices
 1.14  13-Dec-1994  mycroft fdclose -> Fdclose
 1.13  01-Dec-1994  chopps bring up to current. change sun to sunos. handle changes in device
open params and autoconf match function params.
 1.12  26-Oct-1994  cgd new RCS ID format.
 1.11  18-Jul-1994  chopps branches: 1.11.2;
don't hang if no floppy in system.
 1.10  04-Jul-1994  chopps branches: 1.10.2;
move to new disk minor encoding (parts have lowest 4 bits instead of 3)
 1.9  20-Jun-1994  chopps fixed a couple bogons with continueation and motoroff.
 1.8  16-Jun-1994  chopps must use file system blocks that are multiples of CLBYTES. (for now)
 1.7  07-Jun-1994  chopps add fix from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
 1.6  05-Jun-1994  chopps add grfrh (retina ziii) from Donn Cave <donn@u.washington.edu>
light cleanup from me. floppy changes, should now be solid.
some changes to ite and ms to fix a couple bugs report by Donn.
 1.5  29-May-1994  chopps new floppy driver from me to replace the old one.
 1.4  22-Apr-1994  chopps changes to make fd work better (not done yet) from Michael Hitch
(osymh@montana.edu)
 1.3  07-Apr-1994  chopps yuck, there has got to be a better way to derive things and copyright them.
 1.2  07-Apr-1994  chopps all amigas ahve internal drive so anything to the contrary is bogus.
 1.1  05-Apr-1994  chopps fp -> fd, consistency good. [nameclash bad.]
 1.10.2.1  18-Jul-1994  cgd from trunk; fix a hang. from chopps
 1.11.2.2  18-Jul-1994  chopps don't hang if no floppy in system.
 1.11.2.1  18-Jul-1994  chopps file fd.c was added on branch netbsd-1-0 on 1994-07-18 01:37:49 +0000
 1.37.2.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.40.20.2  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.40.20.1  21-Dec-1999  wrstuden Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
 1.40.14.3  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.40.14.2  22-Nov-2000  bouyer Sync with HEAD.
 1.40.14.1  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.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)
 1.47.4.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.47.4.3  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.47.4.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.47.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.47.2.2  10-Oct-2001  fvdl Convert all remaining devices.
 1.47.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.48.4.8  07-Jan-2003  thorpej Sync with HEAD.
 1.48.4.7  03-Jan-2003  thorpej Sync with HEAD.
 1.48.4.6  11-Nov-2002  nathanw Catch up to -current
 1.48.4.5  18-Oct-2002  nathanw Catch up to -current.
 1.48.4.4  17-Sep-2002  nathanw Catch up to -current.
 1.48.4.3  13-Aug-2002  nathanw Catch up to -current.
 1.48.4.2  28-Feb-2002  nathanw Catch up to -current.
 1.48.4.1  16-Sep-2001  nathanw file fd.c was added on branch nathanw_sa on 2002-02-28 04:06:36 +0000
 1.50.8.2  30-Aug-2002  gehenna catch up with -current.
 1.50.8.1  16-May-2002  gehenna Add the block/character device switch.
 1.61.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.61.2.5  21-Nov-2004  skrll Adapt to branch.
 1.61.2.4  02-Nov-2004  skrll Sync with HEAD.
 1.61.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.61.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.61.2.1  03-Aug-2004  skrll Sync with HEAD
 1.64.2.4  21-Jan-2008  yamt sync with head
 1.64.2.3  27-Oct-2007  yamt sync with head.
 1.64.2.2  03-Sep-2007  yamt sync with head.
 1.64.2.1  21-Jun-2006  yamt sync with head.
 1.66.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.66.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.66.8.1  01-Apr-2006  yamt sync with head.
 1.66.6.1  22-Apr-2006  simonb Sync with head.
 1.66.4.1  09-Sep-2006  rpaulo sync with head
 1.67.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.69.10.2  16-Oct-2007  garbled Sync with HEAD
 1.69.10.1  03-Oct-2007  garbled Sync with HEAD
 1.69.4.1  11-Jul-2007  mjf Sync with head.
 1.69.2.5  09-Oct-2007  ad Sync with head.
 1.69.2.4  09-Oct-2007  ad Sync with head.
 1.69.2.3  20-Aug-2007  ad - Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.
 1.69.2.2  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.69.2.1  15-Jul-2007  ad Sync with head.
 1.70.4.2  03-Sep-2007  skrll Sync with HEAD.
 1.70.4.1  15-Aug-2007  skrll Sync with HEAD.
 1.70.2.1  07-Aug-2007  matt Sync with HEAD.
 1.72.4.2  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.72.4.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.73.4.1  14-Oct-2007  yamt sync with head.
 1.73.2.2  09-Jan-2008  matt sync with HEAD
 1.73.2.1  06-Nov-2007  matt sync with HEAD
 1.77.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.77.4.1  31-Dec-2007  ad Catch up with buffer cache changes.
 1.77.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.78.14.1  18-Jun-2008  simonb Sync with head.
 1.78.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.78.10.2  11-Mar-2010  yamt sync with head
 1.78.10.1  04-May-2009  yamt sync with head.
 1.78.8.1  17-Jun-2008  yamt sync with head.
 1.78.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.78.6.1  29-Jun-2008  mjf Sync with HEAD.
 1.79.4.2  28-Apr-2009  skrll Sync with HEAD.
 1.79.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.80.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.84.4.2  12-Jun-2011  rmind sync with head
 1.84.4.1  05-Mar-2011  rmind sync with head
 1.85.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.85.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.86.12.3  03-Dec-2017  jdolecek update from HEAD
 1.86.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.86.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.86.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.86.2.1  30-Oct-2012  yamt sync with head
 1.87.2.1  18-May-2014  rmind sync with head
 1.89.2.1  10-Aug-2014  tls Rebase.
 1.92.4.2  06-Jun-2015  skrll Sync with HEAD
 1.92.4.1  06-Apr-2015  skrll Sync with HEAD
 1.96.18.1  10-Jun-2019  christos Sync with HEAD
 1.96.16.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.96.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.96.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.96.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.97.14.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.98.8.1  03-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed