History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/wb840/wb840.c
Revision Date Author Comments
# be2f57f0 18-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

64-bit fixes for wb840 network driver.


# 7920b557 21-Feb-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style fixes, notably the pointer style and struct keyword used
iconsintently.
Respect the 80 columns limit, update copyright, used calloc instead of
malloc.
No functional changes (hopefully)


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


# 8fbb452a 21-Feb-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Winbond 840 NIC driver: implemented link status api (tested)


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


# 9fb2d737 23-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced B_32_BIT_MEMORY by B_32_BIT_FULL_LOCK and B_32_BIT_CONTIGUOUS, so
the constraint can be expressed more precisely. ATM B_32_BIT_FULL_LOCK is
implemented as B_32_BIT_CONTIGUOUS when B_HAIKU_PHYSICAL_BITS > 32, though.


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


# 24309cde 21-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed more issues with 64 bit physical addresses. Mostly by restricting
allocations to 32 bit.


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


# 64d79eff 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 5845b8c3 25-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Various small changes (mostly style related)

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


# e4a11b6a 25-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

When reading PHY regs over the i2c bus, the turnaround ACK bit
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.

From OpenBSD (from FreeBSD).

Another small change

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


# 25d65010 27-Nov-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed warnings and license stuff


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


# dbce0eca 30-Sep-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Now configures RX filter to receive broadcast transmissions also. This fixes the issue of
the card not receiving anything if the transmission was started from another box.
Fixed a couple of warnings. Many cleanups.


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


# 88b0acbe 05-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Accidentally enabled debug in the latest commit.
The driver is fully working.


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


# 85bbb779 05-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Almost completely rewritten the interrupt handler, some cleanups


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


# 684349b3 28-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented link detection and speed autonegotiation


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


# 80127f8e 15-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some fixes, some warning fixed, added a lot of code for the MII handling (almost completely "stolen" from Axel's sis900 driver), not yet working.


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


# d8ee7d30 11-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Driver for the Winbond 840 NIC, written by myself. It's working. It lacks speed autonegotiation, and some other cool things.


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


# be2f57f0de2a6855db62bb713ef0a49edcc3f8d4 18-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

64-bit fixes for wb840 network driver.


# 7920b5579ce42d3e9385b4a5dfd59be9763a90af 21-Feb-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style fixes, notably the pointer style and struct keyword used
iconsintently.
Respect the 80 columns limit, update copyright, used calloc instead of
malloc.
No functional changes (hopefully)


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


# 8fbb452a3130fc51f58156c7bdc9d8af64f811f8 21-Feb-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Winbond 840 NIC driver: implemented link status api (tested)


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


# 9fb2d73772382ea2ccfb62e912f9bfb9c39ac26d 23-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced B_32_BIT_MEMORY by B_32_BIT_FULL_LOCK and B_32_BIT_CONTIGUOUS, so
the constraint can be expressed more precisely. ATM B_32_BIT_FULL_LOCK is
implemented as B_32_BIT_CONTIGUOUS when B_HAIKU_PHYSICAL_BITS > 32, though.


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


# 24309cde24fb6937ebc305a67a6ef840e5565639 21-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed more issues with 64 bit physical addresses. Mostly by restricting
allocations to 32 bit.


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


# 64d79eff7290437d24b1a420537c3ed5c144ab96 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 5845b8c325f6a352297c898738598c5dccd83baf 25-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Various small changes (mostly style related)

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


# e4a11b6a774e96bfb429480c780fdc9ac1d13a06 25-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

When reading PHY regs over the i2c bus, the turnaround ACK bit
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.

From OpenBSD (from FreeBSD).

Another small change

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


# 25d65010fcdbf40a665c65ab08ff82ac6014f117 27-Nov-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed warnings and license stuff


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


# dbce0eca867d02b22ed41d50b2e47e7e224664a8 30-Sep-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Now configures RX filter to receive broadcast transmissions also. This fixes the issue of
the card not receiving anything if the transmission was started from another box.
Fixed a couple of warnings. Many cleanups.


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


# 88b0acbe91849c7dd40bed2ef7b6cc7e69e1b52d 05-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Accidentally enabled debug in the latest commit.
The driver is fully working.


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


# 85bbb77938224e5674838a6df9779957b98d2c87 05-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Almost completely rewritten the interrupt handler, some cleanups


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


# 684349b37ae4041dad0f1bd0bb7653f448c9ca9f 28-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented link detection and speed autonegotiation


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


# 80127f8edbe677de66d15a52273075e5e82851f8 15-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some fixes, some warning fixed, added a lot of code for the MII handling (almost completely "stolen" from Axel's sis900 driver), not yet working.


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


# d8ee7d30df78f41f972aa244722b8b16874814b4 11-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Driver for the Winbond 840 NIC, written by myself. It's working. It lacks speed autonegotiation, and some other cool things.


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