summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/libbsdport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-08-06 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-08-061-0/+5
| | | | | | | | | | * libbsdport/rtems_callout.c: fixed possible race condition. callout_stop() must check again from critical/protected section of code if callout is still on the list/active. Otherwise, the callout-task could have executed and removed the callout between callout_stop() checking the p_prev pointer and entering the critical section.
* 2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-08-051-2/+0
| | | | | | * libbsdport/alldrv.c: reactivate weak aliases for all known/supported drivers. This magic allows the user to just link the desired (sub-)set of drivers.
* 2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-08-051-0/+2
| | | | | * libbsdport/libbsdport.h: define _KERNEL only if not defined already (e.g., from Makefile).
* 2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-042-0/+3
| | | | | * libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include <stdio.h> for FILE *.
* 2009/05/12 (TS)Till Straumann2009-05-131-1/+1
| | | | - bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
* - had lost a few bits during the merge...Till Straumann2009-04-231-0/+2
|
* - had lost a few things during the merge :-(Till Straumann2009-04-232-0/+10
|
* - resolved conflictTill Straumann2009-04-231-4/+0
|
* - make entries in default driver table all weak aliases toTill Straumann2009-04-231-27/+48
| | | | | | | | | | | | a sentinel. If the user decides only to link a subset of driver the probe algorithm skips entries matching the sentinel. - added more diagnostic messages which can be enabled by setting 'libbsdportAttachVerbose' to nonzero. This is quite helpful. - added the ugliest of all hack -- i386 pcibios API returns wrong number for bus count :-( [the max bus number instead of the count]. We simply add 1 to this number...
* - make entries in default driver table all weak aliases toTill Straumann2009-04-231-2/+25
| | | | | | a sentinel. If the user decides only to link a subset of driver the probe algorithm skips entries matching the sentinel.
* - added ifmedia_removeall().Till Straumann2009-04-231-0/+10
|
* - added le32enc()Till Straumann2009-04-231-2/+29
| | | | | | | | - added definition of PCIR_CACHELNSZ - added definition of PCIM_CMD_MWRICEN - added pci_get_revid() - moved mii_mediachg() macro-stub to libbsdport_post.h - added definition for 'bootverbose'
* - added bus_alloc_resources()Till Straumann2009-04-232-4/+115
| | | | | | | | | | | - added bus_release_resources() - added dummy handle for giant mutex. - added resource_int_value() stub (returns ENOENT). - added resource_long_value() stub (returns ENOENT). - added bus_read_1(), bus_read_2(), bus_read_4() bus_write_1(), bus_write_2(), bus_write_4(). - honour BUS_DMA_ZERO flag. - changed 'vaddr' arg from caddr_t to void*
* - callout_stop() and callout_reset() actually must return an 'int' valueTill Straumann2009-04-232-7/+63
| | | | | indicating whether a callout was pending. - added callout_active(), callout_pending(), callout_deactivate().
* - added definition for MA_NOTOWNEDTill Straumann2009-04-231-1/+2
|
* - fixed ETHER_SIOCMULTIFRAG() macro. Need to reset 'e' (error) to zero ifTill Straumann2009-04-231-2/+15
| | | | | | ether_addmulti()/ether_delmulti() return ENETRESET (which is acually an OK status). - moved mii_mediachg() dummy from libbsdport.h to libbsdport_post.h
* - added FXP driverTill Straumann2009-04-231-0/+2
|
* - added 'bootverbose' (in new 'misc.c' file)Till Straumann2009-04-233-1/+60
| | | | | - added rtems_mii_phy_probe(). This is a helper albeit RTEMS specific. Porting the whole MII/media stuff is still too much ATM.
* - reverted AC_PREREQ to 2.62Till Straumann2009-04-231-616/+0
| | | | | - removed files that are generated by autreconf after checkout and added them to .cvsignore
* This commit was generated by cvs2svn to compensate for changes in r23, whichTill Straumann2009-04-231-0/+616
|\ | | | | included commits to RCS files with non-trunk default branches.
| * - importing original version I had sent Joel on 20090214baseTill Straumann2009-04-231-0/+616
| | | | | | | | (SLAC tag 'joel-bsd-drivers-20090214')
* | This commit was generated by cvs2svn to compensate for changes in r20, whichTill Straumann2009-04-226-13/+217
|\| | | | | included commits to RCS files with non-trunk default branches.
| * - importing updated version from SLAC as of 20090422Till Straumann2009-04-2210-63/+222
| |
* | 2009-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-202-1/+8
| | | | | | | | | | | | | | | | | | | | * configure.ac, bsd_eth_drivers/Makefile.am, bsd_eth_drivers/libbsdport/alldrv.c, bsd_eth_drivers/libbsdport/libbsdport_api.h: Add first cut at Broadcomm BCM57xx driver. * bsd_eth_drivers/if_bge/.cvsignore, bsd_eth_drivers/if_bge/Makefile.am, bsd_eth_drivers/if_bge/if_bge.c, bsd_eth_drivers/if_bge/if_bgereg.h: New files.
* | - detect use of INTR_FAST and produce a compile-time error with aTill Straumann2009-02-201-3/+22
| | | | | | | | hint what the porter has to do.
* | 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-191-9/+3
| | | | | | | | * bsd_eth_drivers/libbsdport/sysbus.c: Revert Till's patch.
* | 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-191-0/+1
|/ | | | | | | | * .cvsignore, networkconfig-qemu.h, bsd_eth_drivers/.cvsignore, bsd_eth_drivers/if_em/.cvsignore, bsd_eth_drivers/if_le/.cvsignore, bsd_eth_drivers/if_pcn/.cvsignore, bsd_eth_drivers/libbsdport/.cvsignore, bsd_eth_drivers/re/.cvsignore: New files.
* Initial import.initialJoel Sherrill2009-02-1922-0/+2957