From tvline.com:
Scrubs fans are in luck: John C. McGinley is headed back to the tube.
The erstwhile Dr. Cox has landed a recurring role in Luck, HBO’s upcoming horse racing drama from David Milch and Michael Mann and starring Dustin Hoffman. The highly anticipated series promises to take viewers inside the provocative world of horse racing, with a specific spotlight cast on the owners, gamblers, jockeys and diverse gaming industry players.
McGinley will play a genial swindler working in cahoots with his daughter.
Luck is slated to premiere in late 2011 or early 2012.