Provided are a method, system, and program for communicating with a
device. A kernel module is executed in memory and at least one kernel
thread is executed in the memory to handle calls to device driver
functions for the kernel module. The at least one kernel thread executes
calls to device driver functions for the kernel module running in a
kernel context.