It's PixHawk. The mag should get power from the GPS power leads. The mag power should not need to be connected like on APM so you will have 4 wires (-,+,TxD,RxD) going to the GPS serial connection and just two wires going to the mag I2C connection (SCL, SDA).