46+ Arduino Mega Pinout Spi Pictures. The spi pins are also broken out on the icsp. When cheaper boards are available, why go with arduino mega?
Following figure shows the pinout of arduino mega 2560. The image below shows the spi pins present arduino uno (in red box). 50, 51, 52 (and 53 as cs).
Each of the 54 digital pins on the arduino 2560 mega can be used as an input or output, using pinmode(), digitalwrite(), and these pins support spi communication using the spi library.
Your only option is to use the icsp header pins, as illustrated above for the uno. Each pin comes with a specific function associated with it. Arduino mega has total 54 digital input / output pins and sixteen analog pins. I changed manually the code in enc28j60.cpp at lines 247 to use these pins, but if i change the cs pin (spi_ss) to another, like 49, because i have the sd card modul.