Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/news68k/dev/if_le.c
RevisionDateAuthorComments
 1.19  20-Nov-2011  tsutsui Add preliminary PROM internal function based framebuffer console support,
which was demonstrated at Open Source Conference 2011 Kansai @ Kyoto
back in July:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-Kansai

- map 0xc0000000-0xffffffff PA region (which is mirror of PA 0x0-0x3fffffff)
to the same VA via %tt0 and %tt1 registers and move KVA space accordingly
(like luna68k does for its devices)
- save trap #0 vector for PROM function calls in early bootstrap
and register it to trap #14 to call it from kernel for console output
- add dumb romcall based tty attachment taken from src/sys/dev/ofw/ofcons.c
- add rom function call stubs from news68k/stand/common/romcalls.S
- remove IIOV() macro for device registers where now mapped PA==VA via %tt1

XXX: romcons is not enabled yet because there is no generic interface
XXX: to attach wskbd(4) to non wsdisplay(4) devices like this romcons.
 1.18  19-Jan-2010  pooka branches: 1.18.12;
Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client. This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached. However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff. ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
 1.17  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.16  04-Apr-2008  tsutsui branches: 1.16.2; 1.16.4;
Split device_t/softc for le(4) and variants and misc cosmetic changes.
 1.15  24-Dec-2005  perry branches: 1.15.74;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.14  11-Dec-2005  christos merge ktrace-lwp.
 1.13  02-Jun-2005  tsutsui branches: 1.13.2;
- add const
- u_char -> uint8_t
- sccport0a is not used as pointer, so make it uint32_t address
- idrom is stored in ROM, so make it const rather than volatile
 1.12  27-Feb-2005  tsutsui LANCE chip actually requires PA of shared mem rather than VA.

Fortunately, lower bytes of PA and VA for intio devices were identical
on -current pmap, but the problem appears on new yamt-km which has differnt
address layout. Ummmmm.
 1.11  11-Dec-2004  tsutsui branches: 1.11.2; 1.11.4;
u_intXX_t -> uintXX_t
 1.10  04-Sep-2004  tsutsui - Use ANSI function declarations and make some functions static.
- Some KNF
 1.9  04-Sep-2004  tsutsui Include ioconf.h to declare struct cfdriver.
 1.8  15-Jul-2003  lukem __KERNEL_RCSID()
 1.7  18-Jan-2003  tsutsui branches: 1.7.2;
TAB/space cleanup.
 1.6  20-Dec-2002  tsutsui Remove __P().
 1.5  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.4  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3  30-May-2001  mrg branches: 1.3.2; 1.3.8;
use _KERNEL_OPT
 1.2  08-Feb-2000  tsutsui branches: 1.2.6; 1.2.8;
Add news1200 support.
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
 1.1  09-Dec-1999  tsutsui branches: 1.1.2;
Initial import of news68k port.
 1.1.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.8.1  21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2  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.2.6.1  08-Feb-2000  bouyer file if_le.c was added on branch thorpej_scsipi on 2000-11-20 20:16:10 +0000
 1.3.8.3  29-Dec-2002  thorpej Sync with HEAD.
 1.3.8.2  18-Oct-2002  nathanw Catch up to -current.
 1.3.8.1  30-May-2001  nathanw file if_le.c was added on branch nathanw_sa on 2002-10-18 02:39:06 +0000
 1.3.2.1  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.7.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.7.2.4  18-Dec-2004  skrll Sync with HEAD.
 1.7.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1  03-Aug-2004  skrll Sync with HEAD
 1.11.4.1  27-Feb-2005  tsutsui Sync with HEAD:
> LANCE chip actually requires PA of shared mem rather than VA.
>
> Fortunately, lower bytes of PA and VA for intio devices were identical
> on -current pmap, but the problem appears on new yamt-km which has differnt
> address layout. Ummmmm.

Now a yamt-km kernel for news68k goes to multi user.
(sorry for ugly MD sources)
 1.11.2.1  29-Apr-2005  kent sync with -current
 1.13.2.1  21-Jun-2006  yamt sync with head.
 1.15.74.1  02-Jun-2008  mjf Sync with HEAD.
 1.16.4.2  11-Mar-2010  yamt sync with head
 1.16.4.1  16-May-2008  yamt sync with head.
 1.16.2.1  18-May-2008  yamt sync with head.
 1.18.12.1  17-Apr-2012  yamt sync with head

RSS XML Feed