Commit Graph

150247 Commits

Author SHA1 Message Date
rumble
c693018067 Add the giopci device and associated ethernet/mii chipsets for the Phobos
and Set Engineering GIO fast ethernet boards.
2006-08-30 23:59:50 +00:00
rumble
ba52409a2e Provide a pseudo-pci bus for the following PCI ethernet boards, which live
behind custom PCI<->GIO bridges:
	- Set Engineering GIO Fast Ethernet (TI ThunderLAN)
	- Phobos G100 (DEC 21140?)
	- Phobos G130 (DEC 21143)
	- Phobos G160 (DEC 21143)

All boards present the chipsets' pci configuration registers at some
defined offset in their slots' address space as well as device registers.
We simply allow the MI pci subsystem to attach the devices.

This has been tested with a G130 board (DEC 21143) and works well on IP20
and IP24. The Set Engineering board attaches, works fine when receiving and
lightly transmitting, but chokes for unknown reasons on heavy transmits.
The tl(4) driver may need some fixing.
2006-08-30 23:58:13 +00:00
rumble
2d1cbf7222 Implement the gio_arb_config() interface for changing the machine-specific
gio bus arbiter parameters via imc(4) or pic(4).

Slots are identified by name: GIO_SLOT_GFX, GIO_SLOT_EXP1, GIO_SLOT_EXP2.

Provide some helper functions for establishing interrupts associated with
each slot and obtaining product descriptions.
2006-08-30 23:48:55 +00:00
rumble
a4d0bfd738 Add pic and imc-specific functions to alter the GIO bus arbiter
configuration. These are to be used exclusively by a higher interface in
gio/gio.c.

Also add functions to enable, disable and query the state of SysAd bus
parity detection since certain gio(4) cards need to be able to disable
it in order to work around their own buggy implementations.
2006-08-30 23:44:52 +00:00
rumble
aa71bc7886 Generalise pci/pci_machdep.c further and move all mace-specific code into
mace/pci_mace.c in preparation for pci devices on the gio(4) bus.
2006-08-30 23:35:10 +00:00
rumble
cc8a477ce5 Add quirks for the Phobos GIO Fast Ethernet boards. 2006-08-30 23:32:07 +00:00
rpaulo
7fc9ea7cd6 postfix 2.3.3 was imported some days ago 2006-08-30 23:31:53 +00:00
rumble
e980865174 Phobos boards (my G130 at least) have a non-standard srom layout. Try to
identify it and pull out the enaddr.
2006-08-30 23:31:08 +00:00
rumble
75e28cc7ed Make this compile again when TLDEBUG is defined. 2006-08-30 23:29:01 +00:00
he
061f5e8762 Add handling of two more pairs of duplicate ioctl values: amiga's
and x68k's PARIOC[SG]PARAM reuse the ioctl values from sbus/mbppio.h's
MBPPIOC[SG]PARAM.

Suggested by Christos.
2006-08-30 23:26:25 +00:00
he
30ef9162ed Regen (for PTRACE). 2006-08-30 23:00:45 +00:00
he
77e02d283d Update for options PTRACE. 2006-08-30 23:00:06 +00:00
matt
4ba15ad876 Conditionalize cpu_coredump on COREDUMP 2006-08-30 22:24:55 +00:00
matt
2107a6af86 Don't include cpu_coredump unless the COREDUMP option is present. 2006-08-30 21:25:22 +00:00
wiz
784e36ce13 postfix-2.3.3 is out. 2006-08-30 20:40:47 +00:00
wiz
29035b224b 1.6 branch is terminated. 2006-08-30 20:40:36 +00:00
plunky
999bb1e465 It seems that EHCI at least will complete a empty transfer with
status == NORMAL_COMPLETION.

Guard against that.
2006-08-30 19:42:37 +00:00
christos
738af19b41 fix initializers. 2006-08-30 19:25:46 +00:00
christos
47be5467d6 Fix initializers 2006-08-30 19:20:48 +00:00
christos
a2b752877c fix incomplete initializer. 2006-08-30 19:16:03 +00:00
christos
e07cc888fc remove empty code. 2006-08-30 19:15:05 +00:00
christos
2a76cd386d off by one element. 2006-08-30 19:12:56 +00:00
christos
6d155711f9 avoid empty if body. 2006-08-30 19:04:52 +00:00
christos
3fad7e8079 complete identifiers. 2006-08-30 19:04:26 +00:00
christos
2434b8bf99 Fix initializers. 2006-08-30 19:00:22 +00:00
christos
da6e78aa67 fix initializer 2006-08-30 18:55:09 +00:00
christos
cddf6d88fb static comes first 2006-08-30 18:54:19 +00:00
christos
67cdc0f9ea fix initializers 2006-08-30 18:53:04 +00:00
christos
5d91315335 complete initializer 2006-08-30 18:50:20 +00:00
christos
fea3bc82d3 PR/34274: Brian A. Seklecki: Check for uustat before blindly executing since
it might not be there if uucp is not installed.
2006-08-30 18:06:09 +00:00
tsutsui
79d3499096 Disable asm statement which defines bpendtsleep symbol as "handy breakpoint"
on all m68k ports since it may cause a multiple symble definition error
by code duplication of gcc4 optimizer. Also note about this in comment.
2006-08-30 17:28:32 +00:00
christos
95db8cb009 .WAIT before libroken. 2006-08-30 17:23:36 +00:00
christos
e8c80b0ceb remove impossible comparisons. 2006-08-30 17:15:22 +00:00
he
7fae0d129f Allow this to build as an LKM by testing for _KERNEL_OPT before
including opt_ptrace.h.
2006-08-30 17:14:34 +00:00
christos
ff89ad5027 fix initializers 2006-08-30 17:13:45 +00:00
christos
966c4b104a Fix initializers. 2006-08-30 17:11:53 +00:00
christos
e6aa223b06 - fix initializers
- comment out dead code.
2006-08-30 17:07:33 +00:00
christos
ca0d162d55 add missing initializers 2006-08-30 17:05:30 +00:00
christos
514b3fccd7 fix initializer 2006-08-30 17:00:15 +00:00
christos
9d7a9c4079 fix initializers 2006-08-30 16:59:34 +00:00
christos
378a57007e fix initializers. 2006-08-30 16:58:38 +00:00
christos
3ed5fa0441 Fix initializers. 2006-08-30 16:57:59 +00:00
christos
ce149b700c fix initializers. 2006-08-30 16:55:06 +00:00
christos
bf74b6c774 add missing initializers 2006-08-30 16:51:24 +00:00
christos
048533a23b complete initializers. 2006-08-30 16:49:07 +00:00
christos
989f6e4d42 avoid empty if body. 2006-08-30 16:45:40 +00:00
christos
26f4467d26 fix initializers. 2006-08-30 16:43:56 +00:00
christos
a7239032fa Fix initializer 2006-08-30 16:42:04 +00:00
christos
a3b3beb093 fully initialize IF_CLONE_INITIALIZER 2006-08-30 16:41:08 +00:00
christos
dd762fc161 fix initializers and add const. 2006-08-30 16:40:03 +00:00