Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/hd44780_subr.c
RevisionDateAuthorComments
 1.24  08-Aug-2023  nat Avoid adding another member to the softc and use sc_flags instead.

NFCI.
 1.23  08-Aug-2023  nat Add a flag for output only devices and attachments.

It is necessary to skip the test for the device as output only attached
devices lack the ability for the device to be probed - such as the 1602 lcd
module.
 1.22  08-Aug-2023  nat Add a detach function.
 1.21  13-Nov-2010  uebayasi Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.20  30-Aug-2009  tsutsui branches: 1.20.4;
Misc KNF.
 1.19  16-Mar-2009  dsl ANSIfy functions with function-pointer arguments
 1.18  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.17  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.16  19-Dec-2008  cegger branches: 1.16.2;
use M_ZERO on malloc() and remove subsequent bzero().
 1.15  10-Apr-2008  he branches: 1.15.4; 1.15.12;
Remove a now-spurious & so that this builds again (for cobalt).
 1.14  08-Apr-2008  cegger use aprint_*_dev and device_xname
 1.13  01-Nov-2007  tsutsui branches: 1.13.16;
Fix some random LCD corruption on cobalt:
- make sure to set HD_ROW1_ADDR before putting characters at the first line
in hd44780_ddram_redraw()
- use memmove(9) rather than bcopy(9) for possibly overlapped copies
 1.12  19-Oct-2007  ad machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.11  10-Jul-2007  ad branches: 1.11.6; 1.11.8; 1.11.12;
Adjust to match callout_init signature change.
 1.10  04-Mar-2007  christos branches: 1.10.2; 1.10.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.9  12-Apr-2006  jmmv branches: 1.9.12; 1.9.14; 1.9.18;
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called. The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place. There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
 1.8  11-Dec-2005  christos branches: 1.8.4; 1.8.6; 1.8.8; 1.8.10; 1.8.12;
merge ktrace-lwp.
 1.7  14-Aug-2005  joff 4-line HD44780 LCD display support. Work needed for the NetBSD toaster port.

The HD44780 actually doesn't support 4 lines, but the 4 line displays
use two chips, one for the top two lines and one for the bottom
two lines. The chips share the databus, register-select, and write
signals but have separate enable signals.
 1.6  27-Feb-2005  perry branches: 1.6.4;
nuke trailing whitespace
 1.5  04-Feb-2005  joff Support wsdisplay(4) attachments of hd44780 LCD controllers
 1.4  11-Jan-2005  joff branches: 1.4.2; 1.4.4;
Replace hd44780_subr.h to hd44780var.h and install to userland.
 1.3  09-Jan-2005  joff Handle (i.e. don't lock up the kernel in hd44780_busy_wait) the case of the
LCD not being there.
 1.2  08-Jan-2005  joff Various improvements for connecting HD44780s using bit-banging style devices

o add sc_writereg and sc_readreg functions that get passed the hd44780_chip
struct and RS (register-select) signal
o add sc_dev to struct hd44780_chip so upper level read/write routines can get
back to their parent softc
o change TIMEOUT_XXX to HD_TIMEOUT_XXX
o remove sc_rread and sc_rwrite in favor of new sc_writereg and sc_readreg
o add new flag HD_UP to sc_flags that is set once 4bit/8bit mode selection
has been finalized.
o remove sc_irwrite, MD readreg/writereg should check state of HD_UP instead
 1.1  20-Jan-2003  soren branches: 1.1.2;
Driver for the Hitachi HD44780 used in many small LCD panels.
Written by Dennis Chernoivanov.
 1.1.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.2.3  09-Feb-2005  skrll Adapt to branch.
 1.1.2.2  04-Feb-2005  skrll Sync with HEAD.
 1.1.2.1  17-Jan-2005  skrll Sync with HEAD.
 1.4.4.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.4.1  12-Feb-2005  yamt sync with head.
 1.4.2.1  29-Apr-2005  kent sync with -current
 1.6.4.4  15-Nov-2007  yamt sync with head.
 1.6.4.3  27-Oct-2007  yamt sync with head.
 1.6.4.2  03-Sep-2007  yamt sync with head.
 1.6.4.1  21-Jun-2006  yamt sync with head.
 1.8.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.8.10.1  19-Apr-2006  elad sync with head.
 1.8.8.1  24-May-2006  yamt sync with head.
 1.8.6.1  22-Apr-2006  simonb Sync with head.
 1.8.4.1  09-Sep-2006  rpaulo sync with head
 1.9.18.1  06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.9.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.9.12.1  04-Nov-2007  pavel Pull up following revision(s) (requested by tsutsui in ticket #975):
sys/dev/ic/hd44780_subr.c: revision 1.13
Fix some random LCD corruption on cobalt:
- make sure to set HD_ROW1_ADDR before putting characters at the first line
in hd44780_ddram_redraw()
- use memmove(9) rather than bcopy(9) for possibly overlapped copies
 1.10.4.1  11-Jul-2007  mjf Sync with head.
 1.10.2.2  23-Oct-2007  ad Sync with head.
 1.10.2.1  15-Jul-2007  ad Sync with head.
 1.11.12.2  13-Nov-2007  bouyer Sync with HEAD
 1.11.12.1  25-Oct-2007  bouyer Sync with HEAD.
 1.11.8.1  06-Nov-2007  matt sync with HEAD
 1.11.6.2  04-Nov-2007  jmcneill Sync with HEAD.
 1.11.6.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.13.16.2  17-Jan-2009  mjf Sync with HEAD.
 1.13.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.15.12.2  28-Apr-2009  skrll Sync with HEAD.
 1.15.12.1  19-Jan-2009  skrll Sync with HEAD.
 1.15.4.2  16-Sep-2009  yamt sync with head
 1.15.4.1  04-May-2009  yamt sync with head.
 1.16.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.20.4.1  05-Mar-2011  rmind sync with head

RSS XML Feed