int hermes_bap_pread(hermes_t *hw, int bap, void *buf, unsigned len, 
int hermes_bap_pread(hermes_t *hw, int bap, void *buf, int len, 
int hermes_bap_pread(hermes_t *hw, int bap, void *buf, unsigned len,		     u16 id, u16 offset){	int dreg = bap ? HERMES_DATA1 : HERMES_DATA0;	int err = 0;	if ( (len < 0) || (len % 2) )		return -EINVAL;	err = hermes_bap_seek(hw, bap, id, offset);	if (err)		goto out;	/* Actually do the transfer */	hermes_read_words(hw, dreg, buf, len/2); out:	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c5b42f343d19d0a04782db0dde5b128dd282f95c/hermes.c/buggy/drivers/net/wireless/hermes.c