#
471aeecf |
| 06-Apr-2022 |
naddy <naddy@openbsd.org> |
constify struct cfattach
|
#
e3aade65 |
| 26-Jul-2017 |
deraadt <deraadt@openbsd.org> |
we_readmem() and ec_readmem() are inlined, but they can also be static.
|
#
32f46ff2 |
| 24-Nov-2015 |
mpi <mpi@openbsd.org> |
You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
|
#
f9ad5574 |
| 24-Nov-2015 |
mpi <mpi@openbsd.org> |
The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
|
#
f2a0e423 |
| 11-Sep-2015 |
stsp <stsp@openbsd.org> |
Make room for media types of the future. Extend the ifmedia word to 64 bits. This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq.
Old ifconfig and dhclient b
Make room for media types of the future. Extend the ifmedia word to 64 bits. This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq.
Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available.
There may be some MD fallout but that will be cleared up later.
ok deraadt miod with help and suggestions from several sharks attending l2k15
show more ...
|
#
04adadcd |
| 11-Aug-2014 |
mpi <mpi@openbsd.org> |
Fewer <netinet/in_systm.h>
|
#
5e42885f |
| 07-Aug-2013 |
bluhm <bluhm@openbsd.org> |
Most network drivers include netinet/in_var.h, but apparently they don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
#
e5ad99e7 |
| 20-Jun-2011 |
matthew <matthew@openbsd.org> |
isa(4) is an indirect bus, which means that drivers that attach to it need to provide an xxxprobe() method instead of an xxxmatch() method. The critical difference is xxxprobe() is given a device sof
isa(4) is an indirect bus, which means that drivers that attach to it need to provide an xxxprobe() method instead of an xxxmatch() method. The critical difference is xxxprobe() is given a device softc for the second argument, whereas a xxxmatch() is given the cfdata as the second argument.
This commit fixes the handful of ISA device drivers that incorrectly cast the second argument to a "struct cfdata *" instead of a "struct device *". (Minor complication: unlike isa(4), isapnp(4) is a direct bus, and if_we.c used the same probe/match code for both; now separate we_probe and we_match methods are used as appropriate.)
"makes sense to me" krw@; ok miod@
show more ...
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code t
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
show more ...
|
#
6782218a |
| 08-May-2007 |
deraadt <deraadt@openbsd.org> |
old school media handling is no longer used; ok jsg
|
#
0f1683a6 |
| 10-Apr-2007 |
miod <miod@openbsd.org> |
``it's'' -> ``its'' when the grammar gods require this change.
|
#
b9ec31ca |
| 20-Oct-2006 |
brad <brad@openbsd.org> |
remove some NetBSD code.
|
#
cf96b6e2 |
| 20-Oct-2006 |
brad <brad@openbsd.org> |
ansi
|
#
df80b9ee |
| 01-Oct-2006 |
brad <brad@openbsd.org> |
fix dmesg line wrapping; this was fallout from shortening the ne(4) dmesg printing.
reported/tested by and okay nick@
|
#
bac2acf5 |
| 29-Jul-2006 |
miod <miod@openbsd.org> |
Do not redefine ALIGNED_POINTER, it comes from <machine/param.h>
|
#
dad0c587 |
| 08-Jun-2005 |
henning <henning@openbsd.org> |
remove netns crud. some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
|
#
2841e557 |
| 12-May-2004 |
tedu <tedu@openbsd.org> |
network drivers don't need to include bpfdesc.h ok krw@ canacar@
|
#
a4fa73aa |
| 17-Apr-2003 |
drahn <drahn@openbsd.org> |
Remove a bogus ALIGNED_POINTER, this is now defined in proper i386 headers.
|
#
c4071fd1 |
| 14-Mar-2002 |
millert <millert@openbsd.org> |
First round of __P removal in sys
|
#
c4bae10a |
| 12-Mar-2001 |
aaron <aaron@openbsd.org> |
Adjust the way that media is initialized on DP8390-compatibles; from NetBSD. The dp8390_softc now has media_init and media_fini function pointers that do the work. fgsch@ ok
|
#
47f774a1 |
| 03-Apr-2000 |
deraadt <deraadt@openbsd.org> |
change overriding message
|
#
9271f51f |
| 23-Dec-1998 |
aaron <aaron@openbsd.org> |
whoops; finally this should work with isapnp *and* non-isapnp
|
#
b741bb53 |
| 23-Dec-1998 |
aaron <aaron@openbsd.org> |
a better fix; deraadt@
|
#
26c80227 |
| 23-Dec-1998 |
aaron <aaron@openbsd.org> |
make this driver work again (move _valid assignments out of else{} so they are performed regardless)
|
#
d4c038a6 |
| 28-Nov-1998 |
deraadt <deraadt@openbsd.org> |
no debug by default
|