| History log of /src/sys/dev/bi |
| Revision | Date | Author | Comments |
| 1.27 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.26 | 24-Apr-2021 |
thorpej | branches: 1.26.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
| 1.25 | 15-Dec-2010 |
matt | branches: 1.25.76; Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't.
|
| 1.24 | 11-Mar-2008 |
matt | branches: 1.24.26; Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.23 | 19-Oct-2007 |
ad | branches: 1.23.12; 1.23.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.22 | 04-Mar-2007 |
christos | branches: 1.22.2; 1.22.14; 1.22.16; 1.22.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.21 | 11-Dec-2005 |
christos | branches: 1.21.26; merge ktrace-lwp.
|
| 1.20 | 27-Feb-2005 |
perry | branches: 1.20.4; nuke trailing whitespace
|
| 1.19 | 04-Feb-2005 |
perry | de-__P
|
| 1.18 | 01-Jan-2003 |
thorpej | branches: 1.18.2; 1.18.10; 1.18.12; Use aprint_normal() in cfprint routines.
|
| 1.17 | 13-Nov-2001 |
lukem | add RCSID
|
| 1.16 | 26-Jul-2000 |
ragge | branches: 1.16.2; 1.16.4; More intelligent BI vector assignment.
|
| 1.15 | 06-Jul-2000 |
ragge | Rename NODESIZE to BI_NODESIZE.
|
| 1.14 | 26-Mar-2000 |
ragge | Bus_dma'ify the KDB50 driver, and make it work.
|
| 1.13 | 04-Aug-1999 |
ragge | branches: 1.13.2; Converted to (mostly) MI code.
|
| 1.12 | 12-Jul-1999 |
ragge | Copied from ../../arch/vax/bi/bi.c,v
|
| 1.11 | 02-Feb-1999 |
ragge | Another giant change: Allocate register space dynamic instead of compiled-in. This is done on a physical page size basis, instead of virtual (as the (on vax yet non-existing) bus_* routines does). This is similar to the way uba allocation is done.
|
| 1.10 | 29-Nov-1998 |
ragge | Wall fix.
|
| 1.9 | 18-Oct-1998 |
ragge | Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.
|
| 1.8 | 31-Aug-1998 |
ragge | Support for all 4 console lines on KA820. Support for this written by Sergey Svishchev (svs@ropnet.ru).
|
| 1.7 | 13-Apr-1998 |
ragge | Wall cleaning.
|
| 1.6 | 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
| 1.5 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
| 1.4 | 13-Oct-1996 |
christos | backout previous kprintf change
|
| 1.3 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
| 1.2 | 27-Aug-1996 |
cgd | change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
| 1.1 | 19-Jul-1996 |
ragge | Support for the VAXBI bus, and KDB50 device driver (MSCP disk). Parts of this written by Chris Torek at the beginning of time.
|
| 1.13.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.16.4.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.16.2.2 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.16.2.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.18.12.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.18.12.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.18.10.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.18.2.2 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.18.2.1 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.20.4.3 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.20.4.2 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.20.4.1 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.21.26.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.22.20.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.22.16.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.22.16.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.22.14.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.22.2.1 | 23-Oct-2007 |
ad | Sync with head.
|
| 1.23.16.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.23.12.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.24.26.1 | 05-Mar-2011 |
rmind | sync with head
|
| 1.25.76.1 | 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
| 1.26.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.10 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.9 | 13-Feb-2004 |
wiz | Uppercase CPU, plural is CPUs.
|
| 1.8 | 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.7 | 06-Jul-2000 |
ragge | branches: 1.7.24; Rename NODESIZE to BI_NODESIZE.
|
| 1.6 | 04-Aug-1999 |
ragge | branches: 1.6.2; Converted to (mostly) MI code.
|
| 1.5 | 12-Jul-1999 |
ragge | Copied from ../../arch/vax/bi/bireg.h,v
|
| 1.4 | 18-Oct-1998 |
ragge | Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.
|
| 1.3 | 31-Aug-1998 |
ragge | Support for all 4 console lines on KA820. Support for this written by Sergey Svishchev (svs@ropnet.ru).
|
| 1.2 | 13-Apr-1998 |
ragge | Wall cleaning.
|
| 1.1 | 19-Jul-1996 |
ragge | Support for the VAXBI bus, and KDB50 device driver (MSCP disk). Parts of this written by Chris Torek at the beginning of time.
|
| 1.6.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.7.24.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.7.24.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.7.24.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.13 | 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.12 | 11-Dec-2005 |
christos | branches: 1.12.46; 1.12.66; 1.12.70; merge ktrace-lwp.
|
| 1.11 | 27-Jun-2005 |
ragge | branches: 1.11.2; Fixes due to cast-qual addition.
|
| 1.10 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.9 | 06-Jan-2003 |
matt | branches: 1.9.2; 1.9.10; 1.9.12; Add multiple inclusion protection.
|
| 1.8 | 26-Jul-2000 |
ragge | branches: 1.8.2; More intelligent BI vector assignment.
|
| 1.7 | 04-Jun-2000 |
matt | More event counter stuff. Plus a little cruft cleanup while doing it.
|
| 1.6 | 04-Jun-2000 |
matt | Start counting interrupts.
|
| 1.5 | 26-Mar-2000 |
ragge | branches: 1.5.2; Bus_dma'ify the KDB50 driver, and make it work.
|
| 1.4 | 04-Aug-1999 |
ragge | branches: 1.4.2; Converted to (mostly) MI code.
|
| 1.3 | 12-Jul-1999 |
ragge | Copied from ../../arch/vax/bi/bivar.h,v
|
| 1.2 | 18-Oct-1998 |
ragge | Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.
|
| 1.1 | 19-Jul-1996 |
ragge | Support for the VAXBI bus, and KDB50 device driver (MSCP disk). Parts of this written by Chris Torek at the beginning of time.
|
| 1.4.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.5.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.8.2.1 | 07-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.9.12.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.9.10.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.9.2.2 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.9.2.1 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.11.2.1 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.12.70.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.12.66.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.12.46.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.3 | 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.2 | 09-Apr-2000 |
ragge | branches: 1.2.44; 1.2.102; 1.2.122; 1.2.126; Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
This is for sure the most overkill hardware I've ever seen! For example, it needs the VAX page tables so that it can access all data structures and mbufs in virtual memory! It will be a real challenge to make this device work on mips and Alpha systems :-)
|
| 1.1 | 04-Aug-1999 |
ragge | branches: 1.1.2; "files" also needed.
|
| 1.1.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.2.126.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.2.122.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.2.102.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.2.44.1 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.50 | 18-Sep-2022 |
thorpej | Eliminate use of IFF_OACTIVE.
|
| 1.49 | 28-May-2019 |
msaitoh | Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
|
| 1.48 | 23-May-2019 |
msaitoh | Whitespace fix (mainly tabify).
|
| 1.47 | 23-May-2019 |
msaitoh | - Use aprint_*(). - KNF - u_int*_t -> uint*_t
|
| 1.46 | 26-Jun-2018 |
msaitoh | branches: 1.46.2; Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.
|
| 1.45 | 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
| 1.44 | 15-Dec-2016 |
ozaki-r | branches: 1.44.8; 1.44.14; Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are: - We can reduce codes - We can provide the same behavior between drivers - Where/When if_ipackets is counted up - Note that some drivers still update packet statistics in their own way (periodical update) - Moved bpf_mtap run in softint - This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
|
| 1.43 | 10-Jun-2016 |
ozaki-r | branches: 1.43.2; Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf. They are counterpart of m_get_rcvif, which will come in another commit, hide internal of rcvif operation, and reduce the diff of the upcoming change.
No functional change.
|
| 1.42 | 09-Feb-2016 |
ozaki-r | Introduce softint-based if_input
This change intends to run the whole network stack in softint context (or normal LWP), not hardware interrupt context. Note that the work is still incomplete by this change; to that end, we also have to softint-ify if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from each device driver (and ieee80211_input) to ensure Layer 2 runs in softint (e.g., ether_input and bridge_input). To this end, we provide a framework (called percpuq) that utlizes softint(9) and percpu ifqueues. With this patch, rxintr of most drivers just queues received packets and schedules a softint, and the softint dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct ifnet for now and that is initialized by default (in if_attach). We probably have to move percpuq to softc of each driver, but it's future work. At this point, only wm(4) has percpuq in its softc as a reference implementation.
Additional information including performance numbers can be found in the thread at tech-kern@ and tech-net@: http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work. Thank you very much!
|
| 1.41 | 25-Oct-2013 |
martin | branches: 1.41.6; Eliminate unused variable
|
| 1.40 | 13-Nov-2010 |
uebayasi | branches: 1.40.8; 1.40.18; 1.40.22; 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.39 | 05-Apr-2010 |
joerg | Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
|
| 1.38 | 19-Jan-2010 |
pooka | branches: 1.38.2; 1.38.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.37 | 07-Nov-2008 |
dyoung | *** Summary ***
When a link-layer address changes (e.g., ifconfig ex0 link 02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor Advertisement to update the network-/link-layer address bindings on our LAN peers.
Refuse a change of ethernet address to the address 00:00:00:00:00:00 or to any multicast/broadcast address. (Thanks matt@.)
Reorder ifnet ioctl operations so that driver ioctls may inherit the functions of their "class"---ether_ioctl(), fddi_ioctl(), et cetera---and the class ioctls may inherit from the generic ioctl, ifioctl_common(), but both driver- and class-ioctls may override the generic behavior. Make network drivers share more code.
Distinguish a "factory" link-layer address from others for the purposes of both protecting that address from deletion and computing EUI64.
Return consistent, appropriate error codes from network drivers.
Improve readability. KNF.
*** Details ***
In if_attach(), always initialize the interface ioctl routine, ifnet->if_ioctl, if the driver has not already initialized it. Delete if_ioctl == NULL tests everywhere else, because it cannot happen.
In the ioctl routines of network interfaces, inherit common ioctl behaviors by calling either ifioctl_common() or whichever ioctl routine is appropriate for the class of interface---e.g., ether_ioctl() for ethernets.
Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR. In the user->kernel interface, SIOCSIFADDR's argument was an ifreq, but on the protocol->ifnet interface, SIOCSIFADDR's argument was an ifaddr. That was confusing, and it would work against me as I make it possible for a network interface to overload most ioctls. On the protocol->ifnet interface, replace SIOCSIFADDR with SIOCINITIFADDR. In ifioctl(), return EPERM if userland tries to invoke SIOCINITIFADDR.
In ifioctl(), give the interface the first shot at handling most interface ioctls, and give the protocol the second shot, instead of the other way around. Finally, let compatibility code (COMPAT_OSOCK) take a shot.
Pull device initialization out of switch statements under SIOCINITIFADDR. For example, pull ..._init() out of any switch statement that looks like this:
switch (...->sa_family) { case ...: ..._init(); ... break; ... default: ..._init(); ... break; }
Rewrite many if-else clauses that handle all permutations of IFF_UP and IFF_RUNNING to use a switch statement,
switch (x & (IFF_UP|IFF_RUNNING)) { case 0: ... break; case IFF_RUNNING: ... break; case IFF_UP: ... break; case IFF_UP|IFF_RUNNING: ... break; }
unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and #ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).
In ipw(4), remove an if_set_sadl() call that is out of place.
In nfe(4), reuse the jumbo MTU logic in ether_ioctl().
Let ethernets register a callback for setting h/w state such as promiscuous mode and the multicast filter in accord with a change in the if_flags: ether_set_ifflags_cb() registers a callback that returns ENETRESET if the caller should reset the ethernet by calling if_init(), 0 on success, != 0 on failure. Pull common code from ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(), and register if_flags callbacks for those drivers.
Return ENOTTY instead of EINVAL for inappropriate ioctls. In zyd(4), use ENXIO instead of ENOTTY to indicate that the device is not any longer attached.
Add to if_set_sadl() a boolean 'factory' argument that indicates whether a link-layer address was assigned by the factory or some other source. In a comment, recommend using the factory address for generating an EUI64, and update in6_get_hw_ifid() to prefer a factory address to any other link-layer address.
Add a routing message, RTM_LLINFO_UPD, that tells protocols to update the binding of network-layer addresses to link-layer addresses. Implement this message in IPv4 and IPv6 by sending a gratuitous ARP or a neighbor advertisement, respectively. Generate RTM_LLINFO_UPD messages on a change of an interface's link-layer address.
In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address that is broadcast/multicast or equal to 00:00:00:00:00:00.
Make ether_ioctl() call ifioctl_common() to handle ioctls that it does not understand.
In gif(4), initialize if_softc and use it, instead of assuming that the gif_softc and ifp overlap.
Let ifioctl_common() handle SIOCGIFADDR.
Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels that certain invariants on a struct route are satisfied.
In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit about the ioctls that we do not allow on an agr(4) member interface.
bzero -> memset. Delete unnecessary casts to void *. Use sockaddr_in_init() and sockaddr_in6_init(). Compare pointers with NULL instead of "testing truth". Replace some instances of (type *)0 with NULL. Change some K&R prototypes to ANSI C, and join lines.
|
| 1.36 | 09-Jul-2008 |
joerg | branches: 1.36.2; - device/softc split
|
| 1.35 | 06-Apr-2008 |
cegger | branches: 1.35.4; 1.35.6; 1.35.8; 1.35.10; use aprint_*_dev and device_xname
|
| 1.34 | 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.33 | 19-Oct-2007 |
ad | branches: 1.33.12; 1.33.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.32 | 06-Sep-2007 |
he | branches: 1.32.4; Remove a now-unused local variable.
|
| 1.31 | 01-Sep-2007 |
dyoung | Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ? ether_addmulti(ifr, &sc->sc_ec) : ether_delmulti(ifr, &sc->sc_ec);
if (error == ENETRESET) {
to this,
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
which does the same thing.
(A bazillion is a very large number. This seems to make the i386 ALL kernel smaller by 3kB to 4kB.)
Use ifreq_getaddr() twice in es(4).
Whitespace nits.
|
| 1.30 | 08-Mar-2007 |
he | branches: 1.30.2; 1.30.10; 1.30.14; 1.30.16; Cast to char* before doing pointer arithmetic.
|
| 1.29 | 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.28 | 16-Feb-2007 |
ad | branches: 1.28.2; More vax changes.
|
| 1.27 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.26 | 27-Jun-2005 |
ragge | branches: 1.26.2; Fixes due to cast-qual addition.
|
| 1.25 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.24 | 04-Feb-2005 |
perry | de-__P
|
| 1.23 | 30-Oct-2004 |
thorpej | branches: 1.23.4; 1.23.6; When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
Fixes kern/27678.
|
| 1.22 | 06-Nov-2003 |
he | branches: 1.22.4; Work around gcc 2.95.3's inability to detect that "ret" is initialized. Will be documented in doc/HACKS, and should be looked at again when gcc 3.3.2 for vax is ready.
|
| 1.21 | 01-Apr-2003 |
thorpej | branches: 1.21.2; Use PAGE_SIZE rather than NBPG. XXX Except in one place which will require more work.
|
| 1.20 | 15-Jan-2003 |
bouyer | ragge said this chip should autopad, so just remove the check for len.
|
| 1.19 | 15-Jan-2003 |
bouyer | Use a properly zeroed buffer to pad the packet to ETHER_MIN_LEN XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
|
| 1.18 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
| 1.17 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.16 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.15 | 22-May-2002 |
wiz | bcmp -> memcmp.
|
| 1.14 | 13-Nov-2001 |
lukem | branches: 1.14.8; 1.14.10; add RCSID
|
| 1.13 | 18-Jul-2001 |
thorpej | bcopy -> memcpy
|
| 1.12 | 18-Jul-2001 |
thorpej | bzero -> memset
|
| 1.11 | 03-Jun-2001 |
ragge | branches: 1.11.2; Need to get the kernel lock when entering by interrupts.
|
| 1.10 | 27-May-2001 |
ragge | Remove ethernet CRC on received packets.
|
| 1.9 | 12-Apr-2001 |
thorpej | splimp -> splvm.
This, like all other uses of spl*() in VAX code, needs to be scrutinized.
|
| 1.8 | 14-Dec-2000 |
thorpej | branches: 1.8.2; ALTQ'ify.
|
| 1.7 | 15-Nov-2000 |
thorpej | branches: 1.7.2; Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
|
| 1.6 | 01-Oct-2000 |
thorpej | Move the check for "promisc + unicast + not for us" into ether_input(), and change Ethernet drivers to always pass all received frames to ether_input() (with a few exceptions, which are documented in the code).
|
| 1.5 | 05-Jun-2000 |
matt | Adjust to new evcnt stuff.
|
| 1.4 | 04-Jun-2000 |
matt | More event counter stuff. Plus a little cruft cleanup while doing it.
|
| 1.3 | 04-Jun-2000 |
matt | Start counting interrupts.
|
| 1.2 | 16-Apr-2000 |
ragge | branches: 1.2.2; Reset the device before starting the init sequence. Add shutdown hook.
|
| 1.1 | 09-Apr-2000 |
ragge | Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
This is for sure the most overkill hardware I've ever seen! For example, it needs the VAX page tables so that it can access all data structures and mbufs in virtual memory! It will be a real challenge to make this device work on mips and Alpha systems :-)
|
| 1.2.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.7.2.5 | 21-Apr-2001 |
bouyer | Sync with HEAD
|
| 1.7.2.4 | 05-Jan-2001 |
bouyer | Sync with HEAD
|
| 1.7.2.3 | 22-Nov-2000 |
bouyer | Sync with HEAD.
|
| 1.7.2.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.7.2.1 | 15-Nov-2000 |
bouyer | file if_ni.c was added on branch thorpej_scsipi on 2000-11-20 11:39:51 +0000
|
| 1.8.2.6 | 17-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.8.2.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.4 | 20-Jun-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.3 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.8.2.2 | 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.8.2.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.11.2.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.11.2.3 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.11.2.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.11.2.1 | 03-Aug-2001 |
lukem | update to -current
|
| 1.14.10.1 | 27-Jan-2003 |
jmc | Pullup revisions 1.18-1.20 (requested by bouyer in ticket #1098) This chip should autopad, so just remove the check for len.
|
| 1.14.8.1 | 30-May-2002 |
gehenna | Catch up with -current.
|
| 1.21.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.21.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.21.2.5 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.21.2.4 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.21.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.21.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.21.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.22.4.1 | 24-Jan-2005 |
he | Pull up revision 1.23 (requested by thorpej in ticket #939): When adding or deleting multicast addresses, only change the address filter if the interface is marked RUNNING. Fixes PR#27678.
|
| 1.23.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.23.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.23.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.26.2.4 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.26.2.3 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.26.2.2 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.26.2.1 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.28.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.30.16.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.30.16.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.30.14.3 | 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.30.14.2 | 02-Oct-2007 |
joerg | Sync with HEAD.
|
| 1.30.14.1 | 03-Sep-2007 |
jmcneill | Sync with HEAD.
|
| 1.30.10.2 | 10-Sep-2007 |
skrll | Sync with HEAD.
|
| 1.30.10.1 | 03-Sep-2007 |
skrll | Sync with HEAD.
|
| 1.30.2.2 | 23-Oct-2007 |
ad | Sync with head.
|
| 1.30.2.1 | 09-Oct-2007 |
ad | Sync with head.
|
| 1.32.4.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.33.16.4 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.33.16.3 | 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.33.16.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.33.16.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.33.12.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.35.10.2 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.35.10.1 | 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.35.8.1 | 18-Jul-2008 |
simonb | Sync with head.
|
| 1.35.6.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.35.4.3 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.35.4.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.35.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.36.2.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.38.4.2 | 05-Mar-2011 |
rmind | sync with head
|
| 1.38.4.1 | 30-May-2010 |
rmind | sync with head
|
| 1.38.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.40.22.1 | 18-May-2014 |
rmind | sync with head
|
| 1.40.18.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.40.18.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.40.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.41.6.3 | 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.41.6.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.41.6.1 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.43.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.44.14.2 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.44.14.1 | 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.44.8.1 | 26-Jul-2018 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #938): sys/arch/acorn32/podulebus/if_ie.c: revision 1.41 sys/arch/amiga/dev/if_es.c: revision 1.58 sys/arch/amiga/dev/if_qn.c: revision 1.45 sys/arch/arm/at91/at91emac.c: revision 1.20 sys/arch/arm/ep93xx/epe.c: revision 1.37 sys/arch/emips/ebus/if_le_ebus.c: revision 1.14 sys/arch/emips/ebus/if_le_ebus.c: revision 1.15 sys/arch/mac68k/dev/if_mc.c: revision 1.46 sys/arch/macppc/dev/am79c950.c: revision 1.39 sys/arch/newsmips/apbus/if_sn.c: revision 1.40 sys/arch/next68k/dev/mb8795.c: revision 1.59 sys/arch/playstation2/dev/if_smap.c: revision 1.25 sys/arch/playstation2/dev/if_smap.c: revision 1.26 sys/arch/sun2/dev/if_ec.c: revision 1.28 sys/arch/sun3/dev/if_ie.c: revision 1.63 sys/arch/x68k/dev/if_ne_intio.c: revision 1.19 sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75 sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63 sys/dev/bi/if_ni.c: revision 1.45 sys/dev/cadence/if_cemac.c: revision 1.12 sys/dev/ic/am7990.c: revision 1.78 sys/dev/ic/am79900.c: revision 1.27 sys/dev/ic/an.c: revision 1.67 sys/dev/ic/cs89x0.c: revision 1.40 sys/dev/ic/dm9000.c: revision 1.13 sys/dev/ic/dm9000.c: revision 1.14 sys/dev/ic/dp8390.c: revision 1.88 sys/dev/ic/elink3.c: revision 1.141 sys/dev/ic/elinkxl.c: revision 1.122 sys/dev/ic/hme.c: revision 1.98 sys/dev/ic/i82586.c: revision 1.77 sys/dev/ic/lance.c: revision 1.53 sys/dev/ic/mb86950.c: revision 1.27 sys/dev/ic/mb86960.c: revision 1.86 sys/dev/ic/mtd803.c: revision 1.34 sys/dev/ic/pdq_ifsubr.c: revision 1.59 sys/dev/ic/rrunner.c: revision 1.86 sys/dev/ic/seeq8005.c: revision 1.58 sys/dev/ic/sgec.c: revision 1.47 sys/dev/ic/smc90cx6.c: revision 1.72 sys/dev/ic/smc91cxx.c: revision 1.96 sys/dev/ic/tropic.c: revision 1.49 sys/dev/ic/wi.c: revision 1.245 sys/dev/isa/if_eg.c: revision 1.93 sys/dev/isa/if_el.c: revision 1.95 sys/dev/isa/if_iy.c: revision 1.101 sys/dev/ofw/ofnet.c: revision 1.58 sys/dev/pci/if_alc.c: revision 1.27 sys/dev/pci/if_de.c: revision 1.152 sys/dev/pci/if_fpa.c: revision 1.61 sys/dev/pci/if_jme.c: revision 1.34 sys/dev/pci/if_tl.c: revision 1.108 sys/dev/pci/if_vte.c: revision 1.19 sys/dev/pci/ixgbe/ixgbe.h: revision 1.50 sys/dev/pcmcia/if_cnw.c: revision 1.62 sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17 sys/dev/pcmcia/if_ray.c: revision 1.89 sys/dev/pcmcia/if_xi.c: revision 1.81 sys/dev/pcmcia/mhzc.c: revision 1.51 sys/dev/pcmcia/xirc.c: revision 1.34 sys/dev/qbus/if_de.c: revision 1.33 sys/dev/qbus/if_qe.c: revision 1.78 sys/dev/qbus/if_qt.c: revision 1.22 sys/dev/sbus/be.c: revision 1.87 sys/dev/sbus/qe.c: revision 1.68 sys/dev/scsipi/if_se.c: revision 1.96 sys/dev/usb/if_atu.c: revision 1.59 sys/net/if_l2tp.c: revision 1.28 via patch sys/net/if_ppp.c: revision 1.160 It's not required to include net/bpfdesc.h. Remove it. -- Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here. -- Remove duplicated inclusion of net/bpf.h. -- Remove duplicated inclusion of net/bpf.h. -- Simplify bpf_mtap() call. No functional change.
|
| 1.46.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.6 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.5 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.4 | 07-Aug-2003 |
agc | branches: 1.4.8; 1.4.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.3 | 20-Aug-2001 |
wiz | branches: 1.3.20; "wierd" is weird.
|
| 1.2 | 16-Apr-2000 |
ragge | branches: 1.2.6; 1.2.8; 1.2.10; Reset the device before starting the init sequence. Add shutdown hook.
|
| 1.1 | 09-Apr-2000 |
ragge | Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
This is for sure the most overkill hardware I've ever seen! For example, it needs the VAX page tables so that it can access all data structures and mbufs in virtual memory! It will be a real challenge to make this device work on mips and Alpha systems :-)
|
| 1.2.10.1 | 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
| 1.2.8.1 | 24-Aug-2001 |
nathanw | Catch up with -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 | 16-Apr-2000 |
bouyer | file if_nireg.h was added on branch thorpej_scsipi on 2000-11-20 11:39:52 +0000
|
| 1.3.20.4 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.3.20.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.3.20.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.3.20.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.4.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.4.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.49 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.48 | 24-Apr-2021 |
thorpej | branches: 1.48.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
| 1.47 | 16-Jan-2010 |
dyoung | branches: 1.47.80; Delete some dead (#ifdef notyet) code.
|
| 1.46 | 23-Nov-2009 |
rmind | Remove some unecessary includes sys/user.h header.
|
| 1.45 | 12-May-2009 |
cegger | KNF
|
| 1.44 | 09-Jul-2008 |
joerg | branches: 1.44.8; Fix device/softc split.
|
| 1.43 | 12-Jun-2008 |
cegger | branches: 1.43.2; use device_lookup_private to get softc
|
| 1.42 | 11-Mar-2008 |
matt | branches: 1.42.2; 1.42.4; 1.42.6; 1.42.8; Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.41 | 19-Oct-2007 |
ad | branches: 1.41.12; 1.41.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.40 | 04-Mar-2007 |
christos | branches: 1.40.2; 1.40.14; 1.40.16; 1.40.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.39 | 16-Feb-2007 |
ad | branches: 1.39.2; More vax changes.
|
| 1.38 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.37 | 27-Feb-2005 |
perry | branches: 1.37.4; nuke trailing whitespace
|
| 1.36 | 04-Feb-2005 |
perry | de-__P
|
| 1.35 | 31-Oct-2004 |
he | branches: 1.35.4; 1.35.6; Include the <sys/bufq.h> header to allow these to compile again.
|
| 1.34 | 04-Nov-2003 |
he | Make this compile, at least.
|
| 1.33 | 04-Nov-2003 |
christos | Try to make this work. Havard will test it.
|
| 1.32 | 01-Apr-2003 |
thorpej | branches: 1.32.2; Use PAGE_SIZE rather than NBPG.
|
| 1.31 | 19-Jan-2003 |
thorpej | Merge the nathanw_sa branch.
|
| 1.30 | 01-Jan-2003 |
thorpej | Use aprint_normal() in cfprint routines.
|
| 1.29 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
| 1.28 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.27 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.26 | 13-Nov-2001 |
lukem | add RCSID
|
| 1.25 | 18-Jul-2001 |
thorpej | bzero -> memset
|
| 1.24 | 04-Jun-2001 |
ragge | branches: 1.24.2; Lock the kernel lock at interrupt enter.
|
| 1.23 | 28-Jun-2000 |
mrg | branches: 1.23.2; remove include of <vm/vm.h>
|
| 1.22 | 26-Jun-2000 |
mrg | remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h> <vm/vm_inherit.h> -> <uvm/uvm_inherit.h> <vm/vm_kern.h> -> into <uvm/uvm_extern.h> <vm/vm_object.h> -> nothing <vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy with <vm/vm.h>), and a scattering of other similar headers.
|
| 1.21 | 05-Jun-2000 |
matt | Adjust to new evcnt stuff.
|
| 1.20 | 04-Jun-2000 |
matt | More event counter stuff. Plus a little cruft cleanup while doing it.
|
| 1.19 | 04-Jun-2000 |
matt | Start counting interrupts.
|
| 1.18 | 19-May-2000 |
thorpej | branches: 1.18.2; A foolish consistency; most parts of the kernel use bp->b_data, so change these from bp->b_un.b_addr to bp->b_data, as well. This also allows us more flexibility to experiment with other data buffer types hung off of struct buf.
|
| 1.17 | 26-Mar-2000 |
ragge | Bus_dma'ify the KDB50 driver, and make it work.
|
| 1.16 | 12-Jul-1999 |
ragge | branches: 1.16.2; Copied from ../../arch/vax/bi/kdb.c,v
|
| 1.15 | 24-Mar-1999 |
mrg | completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
|
| 1.14 | 01-Jan-1999 |
ragge | Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change made a whole bunch of annoying bugs disappear; mostly depending on bad use of NBPG in non-MD code. The VAX port was the only port that used this historical "feature".
The CL* macros should probably go away totally, there is no reason at all to keep them.
|
| 1.13 | 29-Nov-1998 |
ragge | the btoc/ctob/btop macros must use CLBYTES, not NBPG. How this should work in the long run is an open issue; some parts must be reworked in a MI way.
|
| 1.12 | 02-Mar-1998 |
ragge | Support for UVM on VAXen.
|
| 1.11 | 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
| 1.10 | 18-Jan-1998 |
ragge | Make kernel compile & run again after latest config changes.
|
| 1.9 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
| 1.8 | 03-Jan-1998 |
thorpej | Grab the PCB directly from the u-area, not by indirecting through VM structures.
|
| 1.7 | 17-Jul-1997 |
jtk | use locator defines in "locators.h" to index cf_loc[]
|
| 1.6 | 06-Jul-1997 |
ragge | Remove __VM_PMAP_HACK.
|
| 1.5 | 11-Jan-1997 |
ragge | Update due to changes to uba/mscp functions.
|
| 1.4 | 13-Oct-1996 |
christos | backout previous kprintf change
|
| 1.3 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
| 1.2 | 27-Aug-1996 |
cgd | change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
| 1.1 | 19-Jul-1996 |
ragge | Support for the VAXBI bus, and KDB50 device driver (MSCP disk). Parts of this written by Chris Torek at the beginning of time.
|
| 1.16.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.18.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.23.2.6 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.23.2.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.23.2.4 | 28-Mar-2002 |
ragge | Extract user pte's in another way.
|
| 1.23.2.3 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.23.2.2 | 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.23.2.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.24.2.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.24.2.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.24.2.1 | 03-Aug-2001 |
lukem | update to -current
|
| 1.32.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.32.2.5 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.32.2.4 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.32.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.32.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.32.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.35.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.35.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.35.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.37.4.4 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.37.4.3 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.37.4.2 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.37.4.1 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.39.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.40.20.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.40.16.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.40.16.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.40.14.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.40.2.1 | 23-Oct-2007 |
ad | Sync with head.
|
| 1.41.16.3 | 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.41.16.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.41.16.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.41.12.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.42.8.2 | 18-Jul-2008 |
simonb | Sync with head.
|
| 1.42.8.1 | 18-Jun-2008 |
simonb | Sync with head.
|
| 1.42.6.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.42.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.42.4.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.42.4.2 | 16-May-2009 |
yamt | sync with head
|
| 1.42.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.42.2.1 | 17-Jun-2008 |
yamt | sync with head.
|
| 1.43.2.1 | 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.44.8.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.47.80.1 | 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
| 1.48.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.6 | 24-Jul-2021 |
andvar | Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
|
| 1.5 | 11-Dec-2005 |
christos | branches: 1.5.182; merge ktrace-lwp.
|
| 1.4 | 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.3 | 03-Nov-1999 |
ragge | branches: 1.3.28; Don't use structs for BI space definitions, use offsets.
|
| 1.2 | 12-Jul-1999 |
ragge | branches: 1.2.2; 1.2.4; 1.2.8; Copied from ../../arch/vax/bi/kdbreg.h,v
|
| 1.1 | 19-Jul-1996 |
ragge | Support for the VAXBI bus, and KDB50 device driver (MSCP disk). Parts of this written by Chris Torek at the beginning of time.
|
| 1.2.8.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.2.4.1 | 15-Nov-1999 |
fvdl | Sync with -current
|
| 1.2.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.3.28.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.3.28.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.3.28.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.5.182.1 | 01-Aug-2021 |
thorpej | Sync with HEAD.
|
| 1.16 | 04-Feb-2024 |
andvar | fix tripple/quadruple "r" letter typos in comments and log messages.
|
| 1.15 | 23-Nov-2009 |
rmind | Remove some unecessary includes sys/user.h header.
|
| 1.14 | 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.13 | 06-Apr-2008 |
cegger | branches: 1.13.4; 1.13.12; 1.13.18; use aprint_*_dev and device_xname
|
| 1.12 | 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
| 1.11 | 11-Dec-2005 |
christos | branches: 1.11.46; 1.11.66; 1.11.70; merge ktrace-lwp.
|
| 1.10 | 27-Feb-2005 |
perry | branches: 1.10.4; nuke trailing whitespace
|
| 1.9 | 04-Feb-2005 |
perry | de-__P
|
| 1.8 | 02-Oct-2002 |
thorpej | branches: 1.8.6; 1.8.14; 1.8.16; Add trailing ; to CFATTACH_DECL.
|
| 1.7 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.6 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.5 | 13-Nov-2001 |
lukem | add RCSID
|
| 1.4 | 12-Jul-1999 |
ragge | branches: 1.4.14; 1.4.16; Copied from ../../arch/vax/bi/uba_bi.c,v
|
| 1.3 | 19-Jan-1999 |
ragge | Allocate (almost) all interrupt vectors dynamically. Simplifies much work when adding support for new machines and devices.
|
| 1.2 | 01-Jan-1999 |
ragge | Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change made a whole bunch of annoying bugs disappear; mostly depending on bad use of NBPG in non-MD code. The VAX port was the only port that used this historical "feature".
The CL* macros should probably go away totally, there is no reason at all to keep them.
|
| 1.1 | 18-Oct-1998 |
ragge | Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.
|
| 1.4.16.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.4.16.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.4.14.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.4.14.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.8.16.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.8.16.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.8.14.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.8.6.2 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.8.6.1 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.10.4.1 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.11.70.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.11.70.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.11.66.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.11.46.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.13.18.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.13.12.1 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.13.4.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.13.4.1 | 04-May-2009 |
yamt | sync with head.
|