Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/atari/dev/view.c
RevisionDateAuthorComments
 1.40  27-Jan-2025  andvar s/probeing/probing/ in comments.
 1.39  26-Mar-2023  andvar s/dipslay/display/ in comments.
 1.38  06-Jan-2023  tsutsui TAB/spaces/indents cleanup.
 1.37  26-Jun-2022  tsutsui Make local devsw functions static.

No visible regression on TT030.
 1.36  19-Sep-2021  andvar fix various typos in comments, messages and documentation.
 1.35  20-Aug-2015  christos include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
 1.34  25-Jul-2014  dholland branches: 1.34.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.33  16-Mar-2014  dholland branches: 1.33.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.32  13-Apr-2010  tsutsui branches: 1.32.8; 1.32.18; 1.32.22;
Misc KNF.
 1.31  19-Jul-2009  tsutsui branches: 1.31.2; 1.31.4;
Remove extra whitespace added by a dumb tool which replaced bcopy with memcpy.
 1.30  18-Mar-2009  cegger bcopy -> memcpy
 1.29  18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.28  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.27  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.26  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.25  23-Mar-2008  cube branches: 1.25.4; 1.25.12; 1.25.18;
Use M_TEMP for allocations instead of the now deceased M_IOCTLOPS.
 1.24  04-Mar-2007  christos branches: 1.24.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.23  11-Dec-2005  christos branches: 1.23.26;
merge ktrace-lwp.
 1.22  15-Jul-2003  lukem branches: 1.22.16;
__KERNEL_RCSID()
 1.21  23-Oct-2002  jdolecek branches: 1.21.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.20  10-Oct-2002  jdolecek replace the somewhat strange poll routine with standard nopoll() (a.k.a
seltrue())
 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  17-Mar-2002  atatat branches: 1.18.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.17  26-Jun-2000  simonb branches: 1.17.4; 1.17.8;
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.16  20-Dec-1998  thomas branches: 1.16.8; 1.16.18;
Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
is now at offset 0xa0000.
 1.15  25-Apr-1997  leo - Provide the reasonable size that can/may be mmap-ed. This might differ
from the current frame buffer size.
- The et-driver now allows for a 16Kb io-region (was 8Kb) that can be
mapped. The XFree server uses this.
 1.14  10-Jan-1997  leo Allow the control registers to be mapped too.
 1.13  13-Oct-1996  christos backout previous kprintf changes
 1.12  11-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.11  04-Oct-1996  leo Checkpointing my et4000 work. Note that the et-console will not be
functional until the minimal pci-support is checked in.
 1.10  25-Sep-1996  leo Catchup with -current:
- Extra argument to boot()
- select -> poll
 1.9  16-Sep-1996  leo Prepare for (soon to come) et4000 PCI console.
 1.8  18-Apr-1996  leo Yet more prototyping and -Wall fixes.
 1.7  22-Feb-1996  leo First bunch of changes due to stricter prototype checking.
 1.6  17-Aug-1995  leo Remove 2 wrong proto-types.
 1.5  28-May-1995  leo Remove the pointer to view_t from the grf-structure, use viewview(dev)
to obtain the pointer instead. This removes a kernel-crash that happened
when something was written to the console while the console was being
resized.
 1.4  21-May-1995  leo ite_newsize(): Do not reallocate a display when the actual display mode
will be the same. Fixes a nasty bug where ite0 and ite1 share the same
bitmap.
 1.3  10-Apr-1995  mycroft map --> mmap
 1.2  28-Mar-1995  leo Make ite ioctl work and fixup the colormap stuff.
 1.1  26-Mar-1995  leo branches: 1.1.1;
Initial revision
 1.1.1.1  26-Mar-1995  leo NetBSD/Atari, port by Leo Weppelman.
 1.16.18.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.16.8.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.17.8.4  11-Nov-2002  nathanw Catch up to -current
 1.17.8.3  18-Oct-2002  nathanw Catch up to -current.
 1.17.8.2  17-Sep-2002  nathanw Catch up to -current.
 1.17.8.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.17.4.5  10-Oct-2002  jdolecek use nokqfilter (or seltrue_kqfilter()) for drivers which provide poll
routine very similar to seltrue(); the poll routines would be cleaned
up on trunk
 1.17.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.17.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.17.4.2  17-Jun-2002  jdolecek make compilable - use cdev_decl(), and remove unnecessary prototypes
from headers
 1.17.4.1  12-Sep-2001  thorpej Add noop kqueue entry points.
 1.18.4.1  17-May-2002  gehenna Add device switch.
 1.21.6.4  17-Jan-2005  skrll Adapt to branch.
 1.21.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.21.6.1  03-Aug-2004  skrll Sync with HEAD
 1.22.16.3  24-Mar-2008  yamt sync with head.
 1.22.16.2  03-Sep-2007  yamt sync with head.
 1.22.16.1  21-Jun-2006  yamt sync with head.
 1.23.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.24.40.1  03-Apr-2008  mjf Sync with HEAD.
 1.25.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.25.4.3  11-Aug-2010  yamt sync with head.
 1.25.4.2  19-Aug-2009  yamt sync with head.
 1.25.4.1  04-May-2009  yamt sync with head.
 1.31.4.1  30-May-2010  rmind sync with head
 1.31.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.32.22.1  18-May-2014  rmind sync with head
 1.32.18.2  03-Dec-2017  jdolecek update from HEAD
 1.32.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.8.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.33.2.1  10-Aug-2014  tls Rebase.
 1.34.4.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed