| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The single write to memory or ioport output are mostly
atomic operations already. The proper memory synchronization barrier
should be used around them to guarantee ordering (sync or eieio
on PowerPC for example) but because I have not found settable
portable primitive only compiler barrier is used.
It should be enough on x86 because the externally visible order
should be/is guaranteed to be preserved on x86 architecture.
|
|
|
|
|
|
|
|
|
|
|
| |
Tested to work with QEMU provided Intel i82557b network controller emulation.
qemu-system-x86_64 -enable-kvm -kernel $APP_BINARY \
-vga cirrus \
-append "--console=/dev/com1" \
-serial stdio \
-net nic,vlan=1,macaddr=be:be:be:10:00:01,model=i82557b \
-net tap,ifname=tap1,vlan=1,script=no,downscript=no
|
|
|
|
|
|
|
| |
more available on i386.
This change is required to build RTEMS with classic "--enable-networking"
and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This first step eliminates the following as public APIs for the pc386
BSP:
+ pcib_conf_read8
+ pcib_conf_read16
+ pcib_conf_read32
+ pcib_conf_write8
+ pcib_conf_write16
+ pcib_conf_write32
The if_fxp.c driver uses these enough where I provided local macros
to allow the code to be mostly unmodified. On other architectures
these names have been used privately. It will take multiple patches
to completely eliminate these symbols from the RTEMS source tree.
The focus of the first effort is just to eliminate these as a public
pc386 API so support can be added for systems without legacy PCI BIOS.
|
| |
|
|
|
|
|
|
|
| |
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.
Add and use rtems_bsdnet_event_send().
|
| |
|
|
|
|
| |
* libchip/network/if_fxp.c: Add missing initializer.
|
| |
|
|
|
|
| |
* libchip/network/if_fxp.c: Spacing.
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/if_dc.c,
libchip/network/if_fxp.c: Reflect changes to pci-API.
|
| |
|
| |
|
|
|
|
|
| |
* libchip/network/if_fxp.c, libchip/network/if_dc.c,
libchip/network/dec21140.c: Remove initialization of PCI bus.
|
|
|
|
|
| |
* libchip/network/if_fxp.c: Change status of PCI Id 0x1229 from
UNTESTED to tested.
|
|
|
|
|
| |
* ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c:
Modified to use rtems/irq.h.
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c: Moved irq.h to bsp subdirectory.
|
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c, libchip/serial/mc68681.c:
Modified parameter list to remove warnings.
|
|
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c: Continue PCI API unification. All use
pci_find_device(). Network drivers manufacture a signature since all
calls have not been converted yet.
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI
initialize function part of the unified PCI API as pci_initialize().
|
| |
|
|
|
|
| |
Prevents lockup at initialization.
|
|
|
|
| |
* libchip/network/if_fxp.c: Add include of <sys/errno.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PR/625/networking
* libchip/network/dec21140.c, ... : Prevent name clashes by making
'ld_le32()' etc. static inlines. Let dec21140 attach routine return
an error rather than panic if no chip is detected (thus allowing
for probing).
* libchip/network/elnk.c: Let elnk bail out if autoneg never completes
instead of looping forever. Avoid divide by zero (crashed my PC).
* libchip/network/if_fxp.c: Enable more fxp chip variants but warn that
they are UNTESTED.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* libchip/ide/ata.c, libchip/network/dec21140.c,
libchip/network/elnk.c, libchip/network/i82586.c,
libchip/network/if_fxp.c, libchip/network/if_fxpvar.h,
libchip/network/open_eth.c, libchip/network/sonic.c,
libchip/rtc/icm7170.c, libchip/serial/ns16550.c,
libchip/serial/z85c30.c, libchip/shmdr/cnvpkt.c,
libchip/shmdr/init.c, libchip/shmdr/intr.c,
libchip/shmdr/shm_driver.h: Cosmetics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libchip/ide/ata.c, libchip/ide/ata_internal.h,
libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h,
libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c,
libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c, libchip/network/open_eth.c,
libchip/network/open_eth.h, libchip/network/sonic.c,
libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h,
libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c,
libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c,
libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c,
libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c,
libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c,
libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c,
libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c,
libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c,
libchip/serial/ns16550_p.h, libchip/serial/serial.h,
libchip/serial/z85c30.c, libchip/serial/z85c30.h,
libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c,
libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c,
libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c,
libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c,
libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99
fixed-size types.
|
|
|
|
| |
* network/if_fxp.c: Replace deprecated b* funcs by mem* funcs.
|
|
|
|
|
|
|
| |
PR 354/networkign
* network/if_fxp.c (Intel eepro network driver): re-enabled the chip
against a table of supported chips. The untested
ones are still commented out, however.
|
|
* New driver for the Intel EtherExpressPro (82559ER) chip.
* network/if_fxp.c, network/if_fxpreg.h, network/if_fxpvar.h,
network/pci.h: New file.
* network/Makefile.am: Modified to reflect above.
|