History log of /src/sys/arch/atari/vme/if_le_vme.c |
Revision | | Date | Author | Comments |
1.35 |
| 06-Jan-2023 |
tsutsui | TAB/spaces/indents cleanup.
|
1.34 |
| 26-Jun-2022 |
tsutsui | Misc cleanup.
- KNF and TAB/space - make local function static - make readonly values const - remove ancient "hide" and "integrate" macro (just use static for modern compliers that perform inline properly) - remove (probably) an old gcc's warning hack - use __func__ to print function names properly - fix attach messages in an error path - use proper integer types
|
1.33 |
| 25-Jun-2022 |
tsutsui | No need to print errors via aprint_error(9) in probe/match function.
Note aprint_error(9) triggers "WARNING: 1 error while detecting hardware" message after device configuration, so it's a bit confusing for users. Also check all possible variants even if bus_space_map(9) fails (though now it shouldn't fail).
|
1.32 |
| 25-Jun-2022 |
tsutsui | Fix a long-standing "leprobe: cannot map memory-area" error during probe.
PAM and ROTHRON VME LANCE seem to have 64KB RAM, but the register address region are overwrapped, so we cannot map both of them via bus_space_map(9) that checks regions using extent(9). To work around this, just use only 32KB RAM for buffers. XXX: not sure if anyone tried these VME LANCE variants
|
1.31 |
| 01-Jul-2011 |
dyoung | branches: 1.31.58; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.30 |
| 13-Apr-2010 |
tsutsui | Misc KNF.
|
1.29 |
| 16-Mar-2010 |
tsutsui | Fix register and memory addresses for PAM, per MintNet driver.
XXX: In le_vme_match(), probably we should not return even if XXX: bus_space_map(9) fails unless all le_addresses have been checked.
|
1.28 |
| 19-Jan-2010 |
pooka | branches: 1.28.2; 1.28.4; 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.27 |
| 19-Jul-2009 |
tsutsui | Remove extra whitespace added by a dumb tool which replaced bcopy with memcpy.
|
1.26 |
| 08-Jul-2009 |
tsutsui | Merge local <atari/atari/intr.h> into common <machine/intr.h>.
|
1.25 |
| 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.24 |
| 28-Jun-2008 |
isaki | branches: 1.24.4; 1.24.10; Unify splraiseipl(9) implementation among m68k ports, discussed with tsutsui@ on port-m68k. OK'ed by jdc@.
For atari: - export ipl2psl_table[] and make it uint16_t - make makeiplcookie(9) inline - put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9) - vme/if_le_vme.c: fix a wrong usage of IPL_NET
|
1.23 |
| 04-Apr-2008 |
tsutsui | branches: 1.23.4; 1.23.6; 1.23.8; Split device_t/softc for le(4) and variants and misc cosmetic changes.
|
1.22 |
| 24-Dec-2005 |
perry | branches: 1.22.74; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
1.21 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.20 |
| 12-May-2004 |
wiz | branches: 1.20.12; Remove UCB ad clause from maximum entropy's license. Ok'd by maximum entropy and board.
|
1.19 |
| 25-Mar-2004 |
leo | Licence cleanup (suggested by wiz).
|
1.18 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.17 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.16 |
| 02-Oct-2002 |
thorpej | branches: 1.16.6; Use CFATTACH_DECL().
|
1.15 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.14 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.13 |
| 26-Jul-2001 |
wiz | branches: 1.13.6; Various typos in comments (neccessary, sceme, choise, ...).
|
1.12 |
| 30-May-2001 |
mrg | branches: 1.12.2; use _KERNEL_OPT
|
1.11 |
| 25-Oct-1999 |
leo | branches: 1.11.8; correct second argument of bus_space_unmap().
|
1.10 |
| 15-Apr-1999 |
leo | branches: 1.10.2; 1.10.4; 1.10.6; Fix the IPL comparison. The previous version was plain wrong and caused random panics in the pool allocator.
|
1.9 |
| 10-Dec-1998 |
leo | branches: 1.9.2; Another patch from 'maximum entropy': * Add to copyright notice. * Replace the bad probe that caused your problem in the first place with a better one. This probably means we could do away with the type hints you added, but it won't hurt to leave them. * Improve performance by not wasting a memory access in the buffer copy/zero routines.
|
1.8 |
| 09-Dec-1998 |
leo | Make sure that my Riebl card (with empty battery) is not detected as an BVME410...
|
1.7 |
| 09-Dec-1998 |
leo | BVME410 ethernet driver by 'maximum entropy'.
|
1.6 |
| 21-Jul-1998 |
drochner | adapt to LANCE driver split
|
1.5 |
| 05-Jul-1998 |
jonathan | defopt INET, NETATALK.
|
1.4 |
| 17-Mar-1997 |
leo | Catchup with arp changes.
|
1.3 |
| 17-Mar-1997 |
thorpej | #include <net/if_media.h>
|
1.2 |
| 10-Mar-1997 |
leo | $NetBSD -> $NetBSD$ Sigh.
|
1.1 |
| 10-Mar-1997 |
leo | Add support for the Lance ethernet card on the VME-bus (Riebl/PAM)
|
1.9.2.2 |
| 04-Dec-1999 |
he | Pull up revision 1.11 (requested by leo): Fix arguments of bus_space_unmap().
|
1.9.2.1 |
| 15-Apr-1999 |
leo | branches: 1.9.2.1.2; Pull-up 1.9-1.10: Fix the IPL comparison. The previous version was plain wrong and caused random panics in the pool allocator.
|
1.9.2.1.2.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.10.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.10.4.1 |
| 15-Nov-1999 |
fvdl | Sync with -current
|
1.10.2.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.11.8.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.12.2.2 |
| 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.12.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.13.6.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.13.6.1 |
| 26-Jul-2001 |
nathanw | file if_le_vme.c was added on branch nathanw_sa on 2002-10-18 02:35:59 +0000
|
1.16.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.16.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.16.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.20.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.22.74.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.22.74.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.23.8.1 |
| 03-Jul-2008 |
simonb | Sync with head.
|
1.23.6.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.23.4.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.23.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.23.4.3 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.23.4.2 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.23.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.24.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.24.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.28.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.28.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.31.58.1 |
| 11-Sep-2022 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1520):
sys/arch/atari/vme/if_le_vme.c: revision 1.32 sys/arch/atari/vme/if_le_vme.c: revision 1.33
Fix a long-standing "leprobe: cannot map memory-area" error during probe.
PAM and ROTHRON VME LANCE seem to have 64KB RAM, but the register address region are overwrapped, so we cannot map both of them via bus_space_map(9) that checks regions using extent(9).
To work around this, just use only 32KB RAM for buffers.
XXX: not sure if anyone tried these VME LANCE variants
No need to print errors via aprint_error(9) in probe/match function.
Note aprint_error(9) triggers "WARNING: 1 error while detecting hardware" message after device configuration, so it's a bit confusing for users.
Also check all possible variants even if bus_space_map(9) fails (though now it shouldn't fail).
|