An ENC28J60 (IC2) handles the network physical connection (PHY ... to generic references in the code library. For the SD card this is an SPI interface, and pins for chip select and card detect.