History log of /src/sys/arch/playstation2/dev/if_smap.c |
Revision | | Date | Author | Comments |
1.36 |
| 05-Nov-2023 |
andvar | Use DPRINTF instead of __gsfb_print() to print smap status.
__gsfb_printf() is defined only with the GSFB_DEBUG_MONITOR option.
|
1.35 |
| 18-Sep-2022 |
thorpej | Eliminate use of IFF_OACTIVE.
|
1.34 |
| 11-Feb-2022 |
riastradh | playstation2: Somewhat belated device_t/softc split.
|
1.33 |
| 21-Nov-2020 |
thorpej | malloc(9) -> kmem(9)
XXX Audit use of KM_NOSLEEP here.
|
1.32 |
| 29-Jan-2020 |
thorpej | branches: 1.32.6; Adopt <net/if_stats.h>.
|
1.31 |
| 10-Nov-2019 |
chs | branches: 1.31.2; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
1.30 |
| 29-May-2019 |
msaitoh | KNF. No functional change.
|
1.29 |
| 29-May-2019 |
msaitoh | Whitespace fix. No functional change.
|
1.28 |
| 05-Feb-2019 |
msaitoh | Remove very old IFF_NOTRAILERS flag.
|
1.27 |
| 26-Jun-2018 |
msaitoh | branches: 1.27.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.26 |
| 22-Jun-2018 |
msaitoh | Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here.
|
1.25 |
| 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
1.24 |
| 08-Feb-2018 |
dholland | branches: 1.24.2; Typos.
|
1.23 |
| 15-Dec-2016 |
ozaki-r | branches: 1.23.8; 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.22 |
| 08-Dec-2016 |
ozaki-r | Apply deferred if_start framework
if_schedule_deferred_start checks if the if_snd queue contains packets, so drivers don't need to check it by themselves.
|
1.21 |
| 10-Jun-2016 |
ozaki-r | branches: 1.21.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.20 |
| 03-Apr-2016 |
martin | Fix bpf_mtap argument
|
1.19 |
| 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.18 |
| 13-Apr-2015 |
riastradh | MD rnd.h cleanups. Please let me know if I broke anything!
|
1.17 |
| 10-Aug-2014 |
tls | branches: 1.17.4; 1.17.6; Merge tls-earlyentropy branch into HEAD.
|
1.16 |
| 29-Jun-2014 |
mrg | NBPFILTER is no more.
|
1.15 |
| 31-Mar-2014 |
martin | branches: 1.15.2; Bring back the playstation2 port - now that a toolchain for it is available again.
|
1.14 |
| 05-Dec-2009 |
pooka | branches: 1.14.10; 1.14.16; Remove support for NetBSD/playstation2.
|
1.13 |
| 28-Apr-2008 |
martin | branches: 1.13.14; Remove clause 3 and 4 from TNF licenses
|
1.12 |
| 12-Mar-2008 |
dyoung | branches: 1.12.2; 1.12.4; In smap_stop(), clear IFF_RUNNING before disabling the device.
|
1.11 |
| 19-Jan-2008 |
dyoung | branches: 1.11.2; 1.11.6; Make many ethernet drivers share the common code for MII media handling, ether_mediastatus() and ether_mediachange(). Check for a non-ENXIO error return from mii_mediachg(). (ENXIO indicates that a PHY is suspended.)
This patch shrinks the source code size by 979 lines. There was a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.
I have made a few miscellaneous changes, too:
gem(4): use LIST_EMPTY(), LIST_FOREACH(). mtd(4): handle media ioctls, for a change! axe(4): do not track link status in sc->axe_link any longer nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs on a change of media
Except for the change to mtd(4), no functional changes are intended.
XXX This patch affects more architectures than I can feasibly XXX compile and run. I have compiled macppc, sparc64, i386. I XXX have run the patches on i386 boxen with bnx(4) and sip(4). XXX Compiling and running on evbmips (MERAKI, ADM5120) is in XXX progress.
|
1.10 |
| 15-Dec-2007 |
perry | __FUNCTION__ -> __func__
|
1.9 |
| 04-Mar-2007 |
christos | branches: 1.9.20; 1.9.26; 1.9.28; 1.9.32; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.8 |
| 24-Dec-2005 |
perry | branches: 1.8.26; __asm__ -> __asm __const__ -> const __inline__ -> inline __volatile__ -> volatile
|
1.7 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.6 |
| 30-Oct-2004 |
thorpej | branches: 1.6.12; When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
Fixes kern/27678.
|
1.5 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.4 |
| 06-Jan-2003 |
wiz | branches: 1.4.2; transmission, not transmition.
|
1.3 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.2 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.1 |
| 16-Oct-2001 |
uch | branches: 1.1.4; 1.1.6; playstation2 port
|
1.1.6.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.1.6.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 |
| 16-Oct-2001 |
thorpej | file if_smap.c was added on branch kqueue on 2002-01-10 19:47:28 +0000
|
1.1.4.3 |
| 07-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.4.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 |
| 16-Oct-2001 |
nathanw | file if_smap.c was added on branch nathanw_sa on 2002-10-18 02:39:23 +0000
|
1.4.2.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.4.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.6.12.4 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.6.12.3 |
| 21-Jan-2008 |
yamt | sync with head
|
1.6.12.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.6.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.8.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.9.32.2 |
| 20-Jan-2008 |
bouyer | Sync with HEAD
|
1.9.32.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.9.28.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.9.26.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.9.20.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.9.20.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.11.6.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.11.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.11.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.12.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.12.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.12.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.13.14.1 |
| 24-Oct-2010 |
jym | Sync with HEAD
|
1.14.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.14.10.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.2 |
| 10-Aug-2014 |
tls | Rebase.
|
1.15.2.1 |
| 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
1.17.6.5 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.17.6.4 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.17.6.3 |
| 22-Apr-2016 |
skrll | Sync with HEAD
|
1.17.6.2 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.17.6.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.17.4.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.17.4.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.17.4.1 |
| 10-Aug-2014 |
tls | file if_smap.c was added on branch tls-maxphys on 2014-08-20 00:03:17 +0000
|
1.21.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.23.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.24.2.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.24.2.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.27.2.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.27.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.27.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.31.2.1 |
| 29-Feb-2020 |
ad | Sync with head.
|
1.32.6.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|