Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sun3/dev/bw2.c
RevisionDateAuthorComments
 1.39  21-Dec-2024  tsutsui Make local dev_type_*() functions static.
 1.38  20-Dec-2024  tsutsui Remove trailing whitespace.
 1.37  20-Dec-2023  thorpej branches: 1.37.2;
Remove unnecessary <sys/malloc.h>.
 1.36  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.35  16-Mar-2014  dholland branches: 1.35.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.34  28-Jun-2008  tsutsui branches: 1.34.30; 1.34.40; 1.34.46;
Split softc/device_t, with misc cosmetic changes.
 1.33  08-Jun-2008  tsutsui branches: 1.33.2;
Use device_private() and device_lookup_private() to get softc
and to see if device unit is vaild.
 1.32  12-Mar-2007  tsutsui branches: 1.32.38; 1.32.40; 1.32.42; 1.32.44;
Fix printf formats in #ifdef DEBUG.
 1.31  04-Mar-2007  christos branches: 1.31.2;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.30  29-Mar-2006  thorpej branches: 1.30.14;
Use device_cfdata().
 1.29  28-Mar-2006  thorpej Use device_unit().
 1.28  11-Dec-2005  christos branches: 1.28.4; 1.28.6; 1.28.8; 1.28.10; 1.28.12;
merge ktrace-lwp.
 1.27  19-Jun-2005  thorpej branches: 1.27.2;
Move common Sun ID PROM definitions into <dev/sun/idprom.h>.
 1.26  22-Jan-2005  chs de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.25  07-Aug-2003  agc branches: 1.25.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.24  15-Jul-2003  lukem __KERNEL_RCSID()
 1.23  23-Oct-2002  jdolecek branches: 1.23.6;
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.22  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.21  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.20  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.19  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.18  30-May-2002  thorpej Statements must follow labels.
 1.17  19-Sep-2001  thorpej branches: 1.17.4; 1.17.12;
machine/fbio.h -> dev/sun/fbio.h
 1.16  29-Jun-2000  mrg branches: 1.16.2; 1.16.4;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.15  26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.14  08-Feb-1998  gwr branches: 1.14.14; 1.14.24;
Rewrite the match/attch routines to use the P4 register
(when it exists). Also get the size right; other fixes.
 1.13  05-Feb-1998  gwr Merge arch/sun3x into arch/sun3
 1.12  12-Jan-1998  thorpej branches: 1.12.2;
Update for changes to config.
 1.11  06-Oct-1997  gwr Use vm_offset_t to represent control space addresses, because
they are more like physical addresses in that you can not just
dereference a pointer to access the space. (Also, if you use a
pointer type for such things, gdb will _try_ to deference it.)
 1.10  19-Feb-1997  gwr branches: 1.10.4;
Get the screen size right on the 3/260 (Fixes PR#2402)
 1.9  17-Dec-1996  gwr branches: 1.9.6;
Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG
 1.8  13-Oct-1996  christos backout previous kprintf change
 1.7  11-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.6  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.5  10-Nov-1995  gwr Allow unit != 0
 1.4  10-Apr-1995  mycroft branches: 1.4.2;
map --> mmap
 1.3  10-Apr-1995  mycroft map --> mmap
 1.2  07-Apr-1995  gwr Changed fb_attach() interface
 1.1  10-Mar-1995  gwr New frame-buffer support from Chuck Silvers (plus some tweaks from me)
 1.4.2.1  10-Nov-1995  gwr Update from HEAD
 1.9.6.1  12-Mar-1997  is Merge in changes from The Trunk
 1.10.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.12.2.2  27-Jan-1998  gwr Fix a warning.
 1.12.2.1  27-Jan-1998  gwr Merge Sun3X support. Video enable stuff moved out to enable.c
Still needs work, i.e. P4 register, etc. Later...
 1.14.24.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.14.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.
 1.16.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.16.4.3  28-Jun-2002  jdolecek provide kqfilter hooks (equivalent to seltrue() for poll() case), and
hook them to fb driver
 1.16.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.16.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.2.2  10-Oct-2001  fvdl Convert all remaining devices.
 1.16.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.17.12.2  15-Jul-2002  gehenna catch up with -current.
 1.17.12.1  17-May-2002  gehenna Add device switch.
 1.17.4.5  11-Nov-2002  nathanw Catch up to -current
 1.17.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.17.4.3  17-Sep-2002  nathanw Catch up to -current.
 1.17.4.2  20-Jun-2002  nathanw Catch up to -current.
 1.17.4.1  19-Sep-2001  nathanw file bw2.c was added on branch nathanw_sa on 2002-06-20 03:41:42 +0000
 1.23.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.23.6.5  04-Feb-2005  skrll Adapt to branch.
 1.23.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.23.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.23.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.23.6.1  03-Aug-2004  skrll Sync with HEAD
 1.25.8.1  29-Apr-2005  kent sync with -current
 1.27.2.2  03-Sep-2007  yamt sync with head.
 1.27.2.1  21-Jun-2006  yamt sync with head.
 1.28.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.28.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.28.8.1  01-Apr-2006  yamt sync with head.
 1.28.6.1  22-Apr-2006  simonb Sync with head.
 1.28.4.1  09-Sep-2006  rpaulo sync with head
 1.30.14.2  24-Mar-2007  yamt sync with head.
 1.30.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.31.2.1  13-Mar-2007  ad Sync with head.
 1.32.44.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.32.44.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.32.42.1  04-May-2009  yamt sync with head.
 1.32.40.1  17-Jun-2008  yamt sync with head.
 1.32.38.1  29-Jun-2008  mjf Sync with HEAD.
 1.33.2.1  03-Jul-2008  simonb Sync with head.
 1.34.46.1  18-May-2014  rmind sync with head
 1.34.40.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.34.30.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.35.2.1  10-Aug-2014  tls Rebase.
 1.37.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed