Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/x68k/dev/bmd.c
RevisionDateAuthorComments
 1.28  07-Jan-2024  isaki TAB/space/indent cleanup.
 1.27  17-Dec-2023  andvar Fix format specifiers and use BMD_UNIT(dev) macro to fix BMD_DEBUG build.
 1.26  26-May-2022  tsutsui Explicitly include "ioconf.h" for struct cfdriver.
 1.25  07-Jul-2016  msaitoh KNF. Remove extra spaces. No functional change.
 1.24  26-Apr-2015  mlelstv Use C99-style initializers for struct dkdriver.
 1.23  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.22  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.21  25-Jul-2014  dholland branches: 1.21.4;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.20  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.19  16-Mar-2014  dholland branches: 1.19.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.18  16-Oct-2011  isaki branches: 1.18.2; 1.18.12; 1.18.16;
Switch to 2-clause license.
 1.17  08-Aug-2010  isaki Probe not only ctrl address but also bank window address.
This prevents the wrong matching when other boards like
Neptune-X exist. Reported by Yasushi Oshima.
 1.16  18-Dec-2008  isaki branches: 1.16.4; 1.16.6;
Sync with other m68k ports.
- Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE.
- Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
 1.15  25-Jun-2008  isaki branches: 1.15.4;
Split device_t/softc. Use aprint*() and device_xname().
 1.14  14-Jun-2008  isaki Fix compile errors.
 1.13  13-Jun-2008  cegger use device_lookup_private to get softc
 1.12  15-Dec-2007  perry branches: 1.12.6; 1.12.8; 1.12.10; 1.12.12; 1.12.14;
__FUNCTION__ -> __func__
 1.11  17-Oct-2007  garbled branches: 1.11.4; 1.11.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.10  08-Oct-2007  ad Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.
 1.9  29-Jul-2007  ad branches: 1.9.4; 1.9.6; 1.9.8;
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.8  11-Mar-2007  isaki branches: 1.8.8; 1.8.10; 1.8.12;
white space, indent and KNF.
 1.7  05-Mar-2007  he branches: 1.7.2;
Cast to char* before doing pointer arithmetic.
 1.6  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5  11-Dec-2005  christos branches: 1.5.26;
merge ktrace-lwp.
 1.4  13-Jun-2005  he branches: 1.4.2;
Change the signature of badaddr() and badbaddr() from taking a caddr_t
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and consts in other places to make this build under
-Wcast-qual.
Also rename a few variables to make this build under -Wshadow.
Also get rid of duplicated declarations of badaddr() and badbaddr()
in machdep.c, they're already there from <machine/cpu.h>.
 1.3  07-Sep-2003  isaki Remove an advertising clause.
 1.2  15-Jul-2003  lukem rcsid
 1.1  01-Dec-2002  isaki branches: 1.1.2; 1.1.8;
Add bmd, memory disk driver for Nereid bank memory.
 1.1.8.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.4  04-Feb-2005  skrll Adapt to branch.
 1.1.8.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.8.2  18-Sep-2004  skrll Sync with HEAD.
 1.1.8.1  03-Aug-2004  skrll Sync with HEAD
 1.1.2.2  11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1  01-Dec-2002  thorpej file bmd.c was added on branch nathanw_sa on 2002-12-11 06:12:47 +0000
 1.4.2.4  21-Jan-2008  yamt sync with head
 1.4.2.3  27-Oct-2007  yamt sync with head.
 1.4.2.2  03-Sep-2007  yamt sync with head.
 1.4.2.1  21-Jun-2006  yamt sync with head.
 1.5.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.7.2.3  20-Aug-2007  ad - Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.
 1.7.2.2  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.7.2.1  13-Mar-2007  ad Sync with head.
 1.8.12.1  15-Aug-2007  skrll Sync with HEAD.
 1.8.10.1  07-Aug-2007  matt Sync with HEAD.
 1.8.8.2  16-Oct-2007  garbled Sync with HEAD
 1.8.8.1  03-Oct-2007  garbled Sync with HEAD
 1.9.8.1  14-Oct-2007  yamt sync with head.
 1.9.6.2  09-Jan-2008  matt sync with HEAD
 1.9.6.1  06-Nov-2007  matt sync with HEAD
 1.9.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.11.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.11.4.1  26-Dec-2007  ad Sync with head.
 1.12.14.2  27-Jun-2008  simonb Sync with head.
 1.12.14.1  18-Jun-2008  simonb Sync with head.
 1.12.12.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.12.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.12.10.2  11-Aug-2010  yamt sync with head.
 1.12.10.1  04-May-2009  yamt sync with head.
 1.12.8.1  17-Jun-2008  yamt sync with head.
 1.12.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.12.6.1  29-Jun-2008  mjf Sync with HEAD.
 1.15.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.16.6.1  05-Mar-2011  rmind sync with head
 1.16.4.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.18.16.1  18-May-2014  rmind sync with head
 1.18.12.2  03-Dec-2017  jdolecek update from HEAD
 1.18.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.2.1  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.19.2.1  10-Aug-2014  tls Rebase.
 1.21.4.2  06-Jun-2015  skrll Sync with HEAD
 1.21.4.1  06-Apr-2015  skrll Sync with HEAD

RSS XML Feed