Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sun3/dev/fb.c
RevisionDateAuthorComments
 1.18  21-Dec-2024  tsutsui Make local dev_type_*() functions static.
 1.17  20-Dec-2024  tsutsui Remove trailing whitespace.
 1.16  25-Jul-2014  dholland branches: 1.16.64;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.15  16-Mar-2014  dholland branches: 1.15.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.14  04-Mar-2007  christos branches: 1.14.78; 1.14.88; 1.14.94;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  11-Dec-2005  christos branches: 1.13.26;
merge ktrace-lwp.
 1.12  22-Jan-2005  chs branches: 1.12.8;
de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.11  07-Aug-2003  agc branches: 1.11.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.10  15-Jul-2003  lukem __KERNEL_RCSID()
 1.9  23-Oct-2002  jdolecek branches: 1.9.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.8  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.7  19-Sep-2001  thorpej branches: 1.7.4; 1.7.12;
machine/fbio.h -> dev/sun/fbio.h
 1.6  26-Jun-2000  simonb branches: 1.6.2; 1.6.4;
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.5  08-Feb-1998  gwr branches: 1.5.14; 1.5.24;
Add fb_eeprom_setsize() for setting the FB size based on the EEPROM
value (to be used only if unit=0). Add P4 helper functions:
fb_pfour_id, fb_pfour_setsize, fb_pfour_{get,set}_video
 1.4  17-Dec-1996  gwr Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG
 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.5.24.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.5.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.6.4.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.6.4.2  28-Jun-2002  jdolecek provide kqfilter hooks (equivalent to seltrue() for poll() case), and
hook them to fb driver
 1.6.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.2.2  10-Oct-2001  fvdl Convert all remaining devices.
 1.6.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.7.12.1  17-May-2002  gehenna Add device switch.
 1.7.4.3  11-Nov-2002  nathanw Catch up to -current
 1.7.4.2  17-Sep-2002  nathanw Catch up to -current.
 1.7.4.1  19-Sep-2001  nathanw file fb.c was added on branch nathanw_sa on 2002-09-17 21:18:15 +0000
 1.9.6.5  04-Feb-2005  skrll Adapt to branch.
 1.9.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.9.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.6.1  03-Aug-2004  skrll Sync with HEAD
 1.11.8.1  29-Apr-2005  kent sync with -current
 1.12.8.2  03-Sep-2007  yamt sync with head.
 1.12.8.1  21-Jun-2006  yamt sync with head.
 1.13.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.14.94.1  18-May-2014  rmind sync with head
 1.14.88.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.78.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.15.2.1  10-Aug-2014  tls Rebase.
 1.16.64.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed