[BAT] OpenBSD 3.1 patches to try out

h1kari
Thu, 25 Apr 2002 20:56:03 -0700


Hmm, the patches I have under cvs should work now. Make sure you have the
most up to date 3.1 patches, since I fixed them about a week ago. It looks
like the last changes that were made to 3.1 were done 2 weeks ago, so I'm
pretty sure my new 3.1 patches should work. If I'm wrong, let me know and
I'll look into it further.

Thanks,
-h1kari


-- 
David Hulton <>
Senior Researcher, Dachb0den Labs
https://dachb0den.com


On 4/25/02 8:00 PM, "" <> wrote:

> Well, looks like the OpenBSD team played a few tricks...
> 
> In dev/ic/if_wi.c they added:
> 
> /* Align the data after the ethernet header */
> m->m_data = (caddr_t) ALIGN(m->m_data + sizeof(struct
> ether_header))
> - sizeof(struct ether_header);
> 
> at about line 499.
> 
> I figured it out, and here are the diffs with successful
> patches... (someone please double check me and make sure I didn't
> get crosseyed and screw something up)
> 
> New issue - somethings borked in pathing because now I get:
> 
> /usr/src/sys/dev/ic/if_wi.c: In function `wi_ioctl':
> /usr/src/sys/dev/ic/if_wi.c:1431: `SIOCPRISM2DEBUG' undeclared
> (first use in this function)
> /usr/src/sys/dev/ic/if_wi.c:1431: (Each undeclared identifier is
> reported only once)
> /usr/src/sys/dev/ic/if_wi.c:1431: for each function it appears
> in.)
> /usr/src/sys/dev/ic/if_wi.c:1534: structure has no member named
> `wi_firmware_type'
> /usr/src/sys/dev/ic/if_wi.c:1583: structure has no member named
> `wi_va'
> ***Error code 1
> 
> Stop
> 
> Looked in common.h - everything seems to be defined correctly,
> and it's defined properly in if_wi.c.
> 
> Tried a few things (enclosing common.h path in <>, linking the
> bat subdir into /usr/src/sys, etc.) but no joy.
> 
> Any ideas?
> 
> - Ed
>