Not to mention that the physiology of the mind isn't very well known. Physicalism of the mind isn't unanimously accepted in philosophy.
Sure, and nonphysicalists believe in magic.
The line may be hard to draw, but we are probably better off trying to draw it so that we don't take too many unnecessary drugs or have invasive surgeries when there are other solutions...
If you want a better comparison, you could compare the mind to what happens within the CPU. Other chips would be other organs/subsystems, connected by veins, nerves and various canals (power and data buses). Then you'd have peripherals (limbs) with their firmware (reflexes), and sensors (eyes). All of those communicate together and have side effects on each other.
In the analogy, the body is the whole computer, and the CPU is a part of it, they aren't two separate entities that run in parallel.
If you want to compare hardware <> software, for humans it'd rather be flesh <> electrical/chemical signals.
You'll notice that almost all interesting behavior happens on the right side of the <>. Flesh/hardware are pretty boring, they mostly limit performance and just have to be in good enough condition to function. Slight alterations of those (burnt transistor, internal bleeding) will bring everything down.
The CPU+motherboard+ram+hard disks is closer to the brain. You could argue that power supply and the speakers, microphone, nic, and webcam are like the energy supply and inputs to the brain though.
One can certainly quibble over the historical accuracy of this, but I think Stepanov describes a worthwhile principle. My sesnse is that a lot of clinical psychology is still trying to abstract over imaginary brains (often by boiling away all the nuance and ambiguity from some ancient philosopher's musings) instead of the set of real brains.
Not really, not in any useful way. To draw an analogy to computers, a "lesioned" transistor can be expected to produce an entirely different class of bug than an incorrect line of code. While a missing semicolon is technically a case of misplaced electrons, it really wouldn't be helpful to think of it in the same way you would think of 50,000V of misplaced static charge.
They aren't remotely the same thing. Certainly you can simulate this operation of neural structure, but to suggest they are effectively the same is to suggest that cars and mice are effectively the same. They're both just made of matter aren't they?
That said, programming is "merely" inducing specific alterations to the electrical charge distribution in the hardware of the computer. The computation we ascribe to the computer is the product of the physical changes induced in the structure of the computer by our act of programming it. As far as the physical artifact of the computer is concerned, as opposed to our mental model of it, there is no clear distinction to be made between hardware and software. That doesn't make the distinction we draw in practice an inappropriate metaphor.
What changes when you run a computer program is which pathways turn on and off, and these change based on reading the instruction set, which causes one operational circuit in the CPU to turn on and the results of that operation are stored for the next operation. RAM is simply a series of switches that can be "read" from the bus and passed to parts of the processor.
The only thing that may, arguably, work like that is writing to a storage medium like a hard disk or tape, and even then the circuitry around the medium does not change, just the magnetic or other impression stored on the disk itself.
Neurons are completely different in that they are made up of different connections to other neurons and it is these connections that make up both the storage medium, and the processing medium is what occurs when different neurons fire together.
[edit] The bottom line is that the brain can create new "instructions" on its own by physically rearranging the groupings of neurons. For a computer to do the same requires a new CPU with a different instruction circuit baked into the chip.
Layers of abstraction are useful, especially when we don't fully understand how the hardware works.
One day, perhaps, we will understand how all the layers interact well enough. But until then, we need the descriptive and diagnostic and prescriptive techniques provided by those abstractions.
This is not the accepted wisdom on the subject. The accepted wisdom is: "we don't have any evidence that these things are separate, so for now, while the jury is still out, we consider psychological and physical well-being to be equivalent".