head	1.2;
access;
symbols
	netbsd-11-0-RC3:1.1.36.1
	netbsd-11-0-RC2:1.1.36.1
	netbsd-11-0-RC1:1.1.36.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.36
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.34
	perseant-exfatfs-base:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.32
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.30
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.28
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.26
	bouyer-sunxi-drm-base:1.1
	thorpej-i2c-spi-conf2:1.1.0.24
	thorpej-i2c-spi-conf2-base:1.1
	thorpej-futex2:1.1.0.22
	thorpej-futex2-base:1.1
	thorpej-cfargs2:1.1.0.20
	thorpej-cfargs2-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.18
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.16
	cjep_staticlib_x-base:1.1
	thorpej-i2c-spi-conf:1.1.0.14
	thorpej-i2c-spi-conf-base:1.1
	thorpej-cfargs:1.1.0.12
	thorpej-cfargs-base:1.1
	thorpej-futex:1.1.0.10
	thorpej-futex-base:1.1
	bouyer-xenpvh-base2:1.1
	phil-wifi-20200421:1.1
	bouyer-xenpvh-base1:1.1
	phil-wifi:1.1.0.8
	phil-wifi-20200411:1.1
	bouyer-xenpvh:1.1.0.6
	bouyer-xenpvh-base:1.1
	is-mlppp:1.1.0.4
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	ad-namecache-base3:1.1
	ad-namecache-base2:1.1
	ad-namecache-base1:1.1
	ad-namecache:1.1.0.2
	ad-namecache-base:1.1
	phil-wifi-20191119:1.1;
locks; strict;
comment	@# @;


1.2
date	2026.01.01.00.49.09;	author riastradh;	state Exp;
branches;
next	1.1;
commitid	DXorsE8QH0Z4OCoG;

1.1
date	2019.09.17.04.38.09;	author mrg;	state Exp;
branches
	1.1.8.1
	1.1.36.1;
next	;
commitid	5Ha4tZacVgNSVjDB;

1.1.8.1
date	2019.09.17.04.38.09;	author martin;	state dead;
branches;
next	1.1.8.2;
commitid	X01YhRUPVUDaec4C;

1.1.8.2
date	2020.04.13.08.05.13;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.1.36.1
date	2026.02.02.19.58.44;	author martin;	state Exp;
branches;
next	;
commitid	ByzoHnTUt0PG8QsG;


desc
@@


1.2
log
@urndis(4): Attach at usbifif, not usbdevif, in the if_urndis module.

We really ought to have a static type system for config(5) interface
attributes to catch mistakes like this!

Came up while trying to test a fix for:

PR kern/59872: urndis(4): missing support for some devices
@
text
@#	$NetBSD: if_urndis.ioconf,v 1.1 2019/09/17 04:38:09 mrg Exp $

ioconf urndis

include "conf/files"
include "dev/usb/files.usb"

pseudo-root usbifif*

urndis* at usbifif?
@


1.1
log
@add modules for all usbnet drivers not present.
only some (axe, axen, ure, cdce) of these are tested.

will link into build in a separate change.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
pseudo-root usbdevif*
d10 1
a10 1
urndis* at usbdevif?
@


1.1.36.1
log
@Pull up following revision(s) (requested by riastradh in ticket #178):

	sys/dev/usb/if_urndis.c: revision 1.50
	sys/dev/usb/usb.h: revision 1.125
	sys/modules/if_urndis/if_urndis.ioconf: revision 1.2

usb.h: Provide definitions for USB class 0xef: miscellaneous.

Source: https://usb.org/defined-class-codes
https://web.archive.org/web/20251216031858/https://usb.org/defined-class-codes

PR kern/59872: urndis(4): missing support for some devices


urndis(4): Match more interface ids.

There are some others we should consider too, based on what OpenBSD,
FreeBSD, and Linux match, but I haven't tested with these devices:
   class           subclass                        protocol
1. 0x02 (CDC)      0x02 (abstract control model)   0xff (? rndis?)
2. 0xef (misc)     0x01 (sync)                     0x01 (active)
3. 0xef (misc)     0x04 (rndis)                    0x03 (wimax)
4. 0xef (misc)     0x04 (rndis)                    0x04 (wwan)

Note: FreeBSD uses `UIPROTO_RNDIS' for (3) even though the USB-IF
registry lists class 0xef, subclass 0x04, protocol 0x04 as `RNDIS
over WiMAX'; likewise `UIPROTO_ACTIVESYNC' for (4) even though it's
listed as `RNDIS over WWAN'.  My guess is that for class 0xef
subclass 0x04, _any_ protocol will really be RNDIS, and it was a
mistake for FreeBSD to use those protocol numbers (which context
suggests were supposed to apply to different subclasses).

PR kern/59872: urndis(4): missing support for some devices

urndis(4): Attach at usbifif, not usbdevif, in the if_urndis module.

We really ought to have a static type system for config(5) interface
attributes to catch mistakes like this!

Came up while trying to test a fix for:
PR kern/59872: urndis(4): missing support for some devices
@
text
@d1 1
a1 1
#	$NetBSD: if_urndis.ioconf,v 1.1 2019/09/17 04:38:09 mrg Exp $
d8 1
a8 1
pseudo-root usbifif*
d10 1
a10 1
urndis* at usbifif?
@


1.1.8.1
log
@file if_urndis.ioconf was added on branch phil-wifi on 2020-04-13 08:05:13 +0000
@
text
@d1 10
@


1.1.8.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@a0 10
#	$NetBSD: if_urndis.ioconf,v 1.1 2019/09/17 04:38:09 mrg Exp $

ioconf urndis

include "conf/files"
include "dev/usb/files.usb"

pseudo-root usbdevif*

urndis* at usbdevif?
@


