[Infiniband] Centralise MAD operations
authorMichael Brown <mcb30@etherboot.org>
Tue, 26 Feb 2008 22:56:19 +0000 (22:56 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 26 Feb 2008 22:56:19 +0000 (22:56 +0000)
commit6570203571bcd953ca9bdc507967ea4b24d7e880
tree8cc9f2e34076743f0c7676667c8b5dbb3a2dbdfe
parent03d1fc1da3d2ce64dea8ef150b472df011118883
[Infiniband] Centralise MAD operations

Pull out common code for handling management datagrams from arbel.c
and hermon.c into infiniband.c.

Add port number to struct ib_device.

Add open(), close() and mad() methods to struct ib_device_operations.
src/drivers/infiniband/arbel.c
src/drivers/infiniband/hermon.c
src/include/gpxe/infiniband.h
src/net/infiniband.c