A general analysis is developed to study fluid-flow and heat-transfer characteristics for steady, three-dimensional flow over a linearly stretching porous vertical surface embedded in a non-Darcian medium. A generalized flow model is used in the present study to include the effects of the macroscopic viscous term and the microscopic inertial force. The flow is subjected to a uniform transverse magnetic field normal to the plate. The effect of internal heat generation or absorption is also considered. The governing three-dimensional partial-differential equations for the present case are transformed into ordinary-differential equations using three-dimensional similarity variables. The resulting equations are solved numerically. Velocity distribution, temperature distribution, surface shear stresses, and wall-heat transfer rate are computed for various values of the Prandtl number, magnetic field parameter, inverse Darcy number, porous-medium inertia coefficient, heat generation/absorption coefficient, and mass-transfer coefficient.