History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/e1000_osdep.h
Revision Date Author Comments
# 648db733 03-Jan-2013 Jérôme Duval <jerome.duval@gmail.com>

Update FreeBSD network drivers with the 9.1 release


# d1e17090 23-Aug-2011 Siarzhuk Zharski <zharik@gmx.li>

* ipro1000 driver updated to FreeBSD 8.2 level:
it incorporate now "em" and "lem" freebsd drivers.
Note: if_igb is not used - too much "undeclared"
stuff required from the compatibility layer. :-(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d3e6927 05-Jun-2011 Fredrik Modeen <fredrik@modeen.se>

Reverting so I can work on it without disturbing the GSoC project ;)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41940 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 981bdb5a 29-May-2011 Fredrik Modeen <fredrik@modeen.se>

Hope I fix more than I breake with this update of ipro1000
it's taken from freebsd driver e1000 r221505

This include alot of cards (including my HP)

I had to "remove" som parts. led was the easiest part. All code shoulc have haiku in them

The part below was perhaps needed but I could not fix the error that whas showing (located in if_em.c) aslo it works as is on my HP 8540.

static int
em_sysctl_reg_handler(SYSCTL_HANDLER_ARGS)
{
struct adapter *adapter;
u_int val;

adapter = oidp->oid_arg1;
val = E1000_READ_REG(&adapter->hw, oidp->oid_arg2);
return (sysctl_handle_int(oidp, &val, 0, req));
}

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41815 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 44ec2ebd 18-Feb-2009 Karsten Heimrich <host.haiku@gmx.de>

* update freebsd compat with stubbed eventhandler
* get e1000 to compile
* remove dev/em from the build (might be removed later on)
* tested on VirtualBox (gcc2,gcc4), VMware(gcc4) and natively on
ThinkPad T500 (gcc4)

* courtesy of Michael Weirauch (emwe)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29247 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab64e1fa 18-Feb-2009 Karsten Heimrich <host.haiku@gmx.de>

* integrate e1000 FreeBSD driver



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29246 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1e1709087f986fa437f3db30d0beff372fd6864 23-Aug-2011 Siarzhuk Zharski <zharik@gmx.li>

* ipro1000 driver updated to FreeBSD 8.2 level:
it incorporate now "em" and "lem" freebsd drivers.
Note: if_igb is not used - too much "undeclared"
stuff required from the compatibility layer. :-(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d3e6927ca1c7f9919e645c21e033d3cf8f143ae 05-Jun-2011 Fredrik Modeen <fredrik@modeen.se>

Reverting so I can work on it without disturbing the GSoC project ;)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41940 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 981bdb5af9b06b73a0d9cdb837d563e6ed41e499 29-May-2011 Fredrik Modeen <fredrik@modeen.se>

Hope I fix more than I breake with this update of ipro1000
it's taken from freebsd driver e1000 r221505

This include alot of cards (including my HP)

I had to "remove" som parts. led was the easiest part. All code shoulc have haiku in them

The part below was perhaps needed but I could not fix the error that whas showing (located in if_em.c) aslo it works as is on my HP 8540.

static int
em_sysctl_reg_handler(SYSCTL_HANDLER_ARGS)
{
struct adapter *adapter;
u_int val;

adapter = oidp->oid_arg1;
val = E1000_READ_REG(&adapter->hw, oidp->oid_arg2);
return (sysctl_handle_int(oidp, &val, 0, req));
}

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41815 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 44ec2ebd200f18741d00fb8a76ddfb85485541cd 18-Feb-2009 Karsten Heimrich <host.haiku@gmx.de>

* update freebsd compat with stubbed eventhandler
* get e1000 to compile
* remove dev/em from the build (might be removed later on)
* tested on VirtualBox (gcc2,gcc4), VMware(gcc4) and natively on
ThinkPad T500 (gcc4)

* courtesy of Michael Weirauch (emwe)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29247 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab64e1faa3a9d5ff9f968572f034915f1fb64ddc 18-Feb-2009 Karsten Heimrich <host.haiku@gmx.de>

* integrate e1000 FreeBSD driver



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29246 a95241bf-73f2-0310-859d-f6bbb57e9c96