If the Taliban fade into the population, especially where they have support, across the border as well as at home, they may be difficult to root out. Also, they could receive support from the Pakistan side. The border is porous and corruption is rampant. There is already a vibrant underground economy in that region of Pakistan. then it would be up to Musharref to try to work his side of the border, while not inciting civil war. It would be a tricky situation. The map, below, shows (in blue) the Pashtun dominated region between Afghanistan and Pakistan. the red line, in the middle, is the A/P border.
As to the Pakistani problem; lets hope their president retains control. He seams intent on keeping us as an ally and may exert the pressure needed to keep things cool on the border. Though, it goes without saying, I wouldnt trust anyone over there further than I could throw him.