2005-02-02  Eric Blossom  <eb@comsec.com>

	* fpga/toplevel/usrp_basic/usrp_basic.v: Removed
	ch?tx_freq from list of signals passed to serial_io in order to
	get it to compile.

2005-01-28  Stephane Fillod <f8cfe@free.fr>

	* src/Makefile.am: fixes for MinGW.
	
2005-01-10  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_standard.{h,cc}: changed default strategy on mux values. 

	* host/lib/usrp_basic.{h,cc}: probe d'boards and initialize
	fpga adc_offset and oe regs.  Add methods to control all knobs.
	Includes d'board i/o pins, PGA's, query daugherboard ids.

	* host/lib/usrp_prims.{h,cc},host/lib/usrp_dbid.cc: new code to
	read, parse and write d'board EEPROMs.

2005-01-08  Eric Blossom  <eb@comsec.com>

	* firmware/include/usrp_i2c_addr.h: doc fix on d'board EEPROM contents

2005-01-05  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.cc (set_pga): fixed incorrect upper limit.

2005-01-04  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.{h,cc} (class usrp_basic_rx): new methods
	for controlling Rx PGA.

2004-12-20  Eric Blossom  <eb@comsec.com>

	* firmware/src/common/build_eeprom.py: new.  builds shell script
	to burn low-power code into usrp motherboard EEPROM.

2004-12-19  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/{eeprom_boot.a51,eeprom_init.c}: new.  Mimimum
	code that will put board in low-power state at boot time.

	* firmware/src/usrp2/Makefile.am: reorg to remove duplicate code
	between rev1 and rev2.
	* firmware/src/usrp2/{fpga.h,fpga_load.h,fpga_rev2.c,fpga_rev2,usrp_common.h,
	usrp_globals.h,usrp_rev2_regs.h}: removed.
	* firmware/src/usrp2/fpga_rev1.c: new

2004-12-08  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_prims.{h,cc}, host/lib/usrp_basic.cc: minor tweaks for rev2 h/w.

	* firmware/src/usrp2/.cvsignore,Makefile.am,_startup.a51,blink_leds.c,
	board_specific.c,check_mdelay.c,check_udelay.c,edit-gpif,fpga.h,
	fpga_load.c,fpga_load.h,fpga_rev2.c,fpga_rev2.h,gpif.c,gpif.gpf,init_gpif.c,
	spi.c,spi.h,usb_descriptors.a51,usrp_common.c,usrp_common.h,usrp_globals.h,
	usrp_main.c,usrp_rev2_regs.h,vectors.a51: new. copied from usrp1.
	Should remerge this after we're sorted out.

2004-11-29  Berndt Josef Wulf <wulf@ping.net.au>

	* configure.ac, config/usrp_sdcc.m4: new. check for proper version
	of SDCC 8051 compiler and assembler.
	* config/usrp_libusb.m4: fixed check for usb.h
	
2004-11-14  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/usrp_rev1_regs.h (bmMISC_OUTPUTS): removed
	unused define.
	(bmPORT_E_OUTPUTS): made bmPE_FPGA_CLR_STATUS an output (as it
	should have been all along).

2004-10-20  Stephane Fillod <f8cfe@free.fr>

        * configure.ac, config/Makefile.am, config/gr_pwin32.m4,
        host/Makefile.am, host/apps/Makefile.am,
        host/apps/time_stuff.c, host/lib/Makefile.am,
        host/swig/Makefile.am: detect missing functions under Win32.

        * config/mkstemp.m4, config/onceonly.m4,
        host/misc/bug_work_around_8.cc, host/misc/getopt.c,
        host/misc/getopt.h, host/misc/gettimeofday.c,
        host/misc/Makefile.am, host/misc/mkstemp.c,
        host/misc/tempname.c, host/misc/usleep.c,
        host/misc/.cvsignore: new files, replacements for win32 support

        * host/lib/usrp_prims.cc: fix libusb init on systems not as
        clever as Linux (no easy shared global variable, and no
        auto set_configuration).
	
2004-10-20  Eric Blossom  <eb@comsec.com>

	* firmware/src/common/Makefile.am, firmware/lib/Makefile.am,
	firmware/src/common/Makefile.am, firmware/src/usrp0/Makefile.am,
	firmware/src/usrp1/Makefile.am: make distcheck now works!

2004-10-20  Stephane Fillod <f8cfe@free.fr>
	
        * firmware/src/common/Makefile.am,
        firmware/src/common/edit-gpif, firmware/src/usrp0/Makefile.am,
        firmware/src/usrp1/Makefile.am, firmware/src/usrp1/edit-gpif:
        allow VPATH building.

2004-10-18  Eric Blossom  <eb@comsec.com>

	* fpga/sdr_lib/serial_io.v: removed dac_offset stuff.
	* fpga/toplevel/usrp_basic/usrp_basic.v: removed dac_offset stuff.
	Conditionalized debug output.
	* host/swig/util.py: fixed import

	* fpga/toplevel/usrp_basic/usrp_basic.v,fpga/sdr_lib/serial_io.v:
	modified to use 0-based naming on frequencies.
	
	* firmware/include/generate_all.py (generate_fpga_regs): new.
	Generate fpga_regs.v from fpga_regs.h
	* fpga/sdr_lib/serial_io.v: now use symbolic defines for register numbers.

2004-10-13  Eric Blossom  <eb@comsec.com>

	* configure.ac: upped rev to 0.5cvs

2004-10-11  Eric Blossom  <eb@comsec.com>

	* configure.ac: bumped rev to 0.5, made release
	* Makefile.am (EXTRA_DIST): added config.h.in

2004-09-30  Eric Blossom  <eb@comsec.com>

	* firmware/include/usrp_i2c_addr.h: renamed from i2c_addr.h.
	Now installed.

	* host/lib/usrp_basic.{h,cc}: added methods for writing/reading
	aux dac/adc and eeproms.

2004-09-29  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_prims.{h,cc} (usrp_read_aux_adc, usrp_write_aux_dac):
	Redefined the interface such that aux i/o values are 12-bit.
	This buys us a bit of independence from the AD9862.

2004-09-24  Eric Blossom  <eb@comsec.com>

	* fpga/toplevel/usrp_basic/usrp_basic.v: subtract adc offset from
	buffered input values.

2004-09-23  Eric Blossom  <eb@comsec.com>

	* config/usrp_fusb_tech.m4, config/bnv_have_qt.m4, config/cppunit.m4,
	config/gr_check_mc4020.m4, config/gr_check_usrp.m4, config/gr_doxygen.m4,
	config/gr_gprof.m4, config/gr_scripting.m4, config/gr_set_md_cpu.m4,
	config/pkg.m4, config/usrp_fusb_tech.m4: added additional quoting
	to first arg of AC_DEFUN to silence automake warning.

2004-08-19  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.{h,cc}, host/lib/usrp_standard.cc: make
	verbose output conditional.

2004-08-14  Matt Ettus  <matt@ettus.com>

	Rx timing problem fixed!
	
	* fpga/sdr_lib/rx_buffer.v: revised to use extended RD assertion
	timing.

2004-08-14  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/{edit-gpif,gpif.gpf}: copied for common and
	modified.  For the time being we've got a different gpif program
	for the usrp0 and usrp1, though the usrp0 should get updated to
	use the new organization.
	* firmware/src/usrp1/{usrp_gpif.c,usrp_gpif_inline.h}: removed
	links to common.  Now generated in usrp1 from usrp1 specific gpif.c

2004-08-06  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb_linux.cc (write): failure of submit_urb is now
	propagated upward as an error.

2004-08-04  Eric Blossom  <eb@comsec.com>

	Rx counting and Rx/Tx digital loopback are now working, modulo the
	problem at the beginning of the packet.  The good news is that it
	is completely reproducible, and there's no PLL being used in the FPGA.
	
	* host/lib/usrp_basic.{h,cc} (set_usb_data_rate,usb_data_rate): new methods.
	* host/lib/usrp_standard.{h,cc}: polling rate is now
	f(usb_data_rate).  Moved fpga_mode into rx only, and changed
	constructor to take optional mode.
	* host/apps/test_usrp_standard_rx.cc (main): changes to match new
	constructor.
	* host/apps/test_usrp_standard_tx.cc (main): -c generates counting
	sequence.
	* fpga/toplevel/usrp_basic/usrp_basic.v: Fixed race.  Changed
	strobe_decim to strobe_interp in loopback setup.
	* fpga/sdr_lib/tx_buffer.v: Removed unnecessary zero assignment.

2004-07-31  Eric Blossom  <eb@comsec.com>

	* host/apps/test_usrp_standard_tx.cc (main): added -l (loopback) option
	* host/apps/test_usrp_standard_tx.cc (main): added -l (loopback) option

	* firmware/include/fpga_regs.h (FR_MODE): added new mode register.
	* host/lib/usrp_basic.cc (usrp_basic): init to non-loopback mode
	
	* host/apps/test_usrp_standard_tx.cc (main): changed default
	interp rate to 16 (=> 32MB/sec).

	* host/lib/usrp_bytesex.h (host_to_usrp_short): New.  Conditional
	byte swapping between host and usrp.
	* host/app/test_usrp0.cc: added conditional byte swapping.
	* host/app/test_usrp_standard_{rx,tx}.cc: added conditional byte swapping.

2004-07-30  Eric Blossom  <eb@comsec.com>

	* host/swig/Makefile.am: now installs usrp_prims.* directly in site-packages.
	One could argue that this isn't particularly pretty, but it does
	get it into the namespace where we want it.	

2004-07-29  Eric Blossom  <eb@comsec.com>

	* host/apps/test_usrp0.cc (main): added code to set tx frequency.

2004-07-12  Eric Blossom  <eb@comsec.com>

	* configure.ac: upped rev to 0.4cvs

2004-07-11  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.cc: invert TX_SYNC

	* host/lib/usrp_basic.{h,cc},usrp_standard.cc: now temporarily
	disable tx and rx paths when changing interpolation or decimation
	rate.  Didn't fix the problem, but shouldn't hurt either.

2004-07-07  Eric Blossom  <eb@comsec.com>

	* firmware/src/common/_startup.a51 (__sdcc_external_startup):
	Rewritten to avoid fragile kludge.  Now requires that all firmware
	be compiled with --no-xinit-opt.

	* firmware/src/usrp{0,1}/Makefile.am: pass in linker option to
	place usb descriptors at 0xE000 absolute.  This works around the
	fact that the assembler and linker don't really implement the
	.even directive.
	* firmware/src/usrp{0,1}/usb_descriptors.a51: now place
	descriptors in USBDESCSEG, which we force to 0xE000.
	
	* firmware/src/usrp1/board_specific.c (power_down_9862s):
	Power down the 9862's when the firmware is loaded to keep from
	burning up the board.  Note to Analog Devices: put a power pad
	on these or some other way to get the heat out of them.

	* host/lib/usrp_prims.cc (_usrp_load_fpga): Since loading the FPGA
	wiggles the shared reset line with the 9862s, we now once again
	power down the 9862's.

2004-07-06  Eric Blossom  <eb@comsec.com>

	* firmware/src/common/_startup.a51 (__sdcc_external_startup):
	picked up bug fixes from 2.4.0 release, and added a fragile kludge
	that ensures that our variables are all initialized properly.
	
	* firmware/src/usrp0/usrp_main.c, firmware/src/usrp1/usrp_main.c,
	firmware/src/common/usb_common.c: removed deprecated use of 
	pragma NOIV.

2004-07-05  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb_linux.cc (alloc_urb): removed
	USBDEVFS_URB_QUEUE_BULK flag.

2004-07-02  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.h: added adc_freq and dac_freq
	to disambiguate the interpretation of interpolation and decimation
	ratios.

2004-07-01  Eric Blossom  <eb@comsec.com>

	* host/swig/prims.i: renamed from usrp_prims.i  Module is now
	installed as usrp.prims
	* host/lib/usrp_basic.cc (usrp_basic_tx, usrp_basic_rx): power
	down 9862 tx or rx path in destructor.
	* host/lib/usrp_standard.cc: now control coarse and fine
	modulators transparently, based on user provided center freq.
	* fpga/sdr_lib/gen_cordic_consts.py: new. generate magic constants for cordic.
	* fpga/sdr_lib/cordic.v: `define constants.  integer c00 = <foo>
	wasn't being synthesized correctly by Quartus II 4.0	

2004-05-28  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_standard.{h,cc}: Now uses 4x interpolator and
	9862 cordic.  Tx path looks great up to +/- 44 MHz!
	This code still twiddles the coarse modulator manually.

2004-05-27  Eric Blossom  <eb@comsec.com>

	* Tagged everything with BEFORE_CLOCK_REVAMP_2004_05_27.
	We're about to rework the boards, host code and the verilog to
	directly feed the 64 MHz oscillator to the 9862's and the FPGA.
	With any luck, life will drastically improve...
	

2004-05-25  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_standard.{h,cc} (class usrp_standard_tx_use_nco):
	new.  Class that utilizes the AD9862's built-in NCO for up conversion.
	There's still something slightly flaky going on.
	
	* host/lib/usrp_basic.cc: initialize 9862 Tx FTW

2004-05-21  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/usrp_main.c (main): work around compiler
	data initialization bug.

	* firmware/src/usrp1/fpga_rev1.{h,c}: added support for {TX,RX}_RESET

2004-05-10  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_basic.cc (~usrp_basic_rx): turn off rx_enable.

	* firmware/src/usrp1/usrp_main.c: removed unneeded global
	g_fpga_reset.

2004-05-08  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/usrp_main.c (main): enabled GSTATE output.

2004-05-07  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_standard.cc (make): changed constructors and make
	to pass the interp/decim rate.  This ensures that the rate is set
	to something the user wants when the rx and tx paths are first
	enabled.

	* host/lib/usrp_basic.cc (initialize): enabled xrun status polling.
	(set_fpga_rx_sample_rate_divisor,set_fpga_rx_sample_rate_divisor):
	set FPGA register to N-1.

	* host/lib/usrp_standard.cc (set_interp_rate, set_decim_rate): now
	set FPGA register to N-1.

2004-04-18  Eric Blossom  <eb@comsec.com>

	* firmware/src/usrp1/spi.c (spi_read, spi_write): removed extra
	clocks.  FPGA is now doing the right thing.

	* host/lib/ad9862.h: new.  register defs for AD962 codec.

	* firmware/src/usrp1/spi.c (spi_write,spi_read): clock once w/o 
	enables for the FPGA's benefit.  We're also clocking one extra
	cycle at the end with enables again for the FPGA.  I think we
	should remove the extra clocking at the end.

2004-04-17  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp_prims.{h,cc} (usrp_read_aux_adc,usrp_write_aux_dac): new.
	* host/lib/usrp_prims.{h,cc} (usrp_eeprom_write,usrp_eeprom_read): new.

2004-04-16  Eric Blossom  <eb@comsec.com>

	* firmware/include/i2c_addr.h: new.  I2C addresses.

2004-04-12  Eric Blossom  <eb@comsec.com>

	* host/apps/test_usrp0.cc: renamed from test_usrp.cc
	* firmware/include/fpga_regs.h: corrected to match latest control_bus.v

2004-04-11  Eric Blossom  <eb@comsec.com>

	* host/lib/usrp0.{h,cc}: new.  copies of original usrp.{h,cc}
	* host/lib/usrp_basic.{h,cc}: new.  reflect rev1 hardware.

2004-04-10  Eric Blossom  <eb@comsec.com>

	* host/swig/usrp_prims.i: new.  SWIG'd usrp_prims.
	* host/lib/usrp_prims.cc: added usrp_rescan; dispatch on hardware revision
	when appropriate; added usrp_read_fpga_reg
	* firmware/src/usrp1/fpga_rev1.h: added declarations
	* firmware/src/usrp1/fpga_rev.c: added implementations for
	fpga_write_reg, fpga_set_reset, fpga_set_tx_enable, fpga_set_rx_enable.
	* firmware/include/fpga_regs0.h: renamed prev fpga_regs.h to fpga_regs0.h
	* firmware/include/fpga_regs.h: new for usrp rev1.  Needs checking
	against verilog.
	

2004-03-01  Eric Blossom  <eb@comsec.com>

	* host/lib/rate_to_regval.h: new. mapping table.
	* host/lib/usrp.cc (map_rate_to_regval): now support all 97 legal
	values. 

2004-01-11  Eric Blossom  <eb@comsec.com>

	* configure.ac: configure fast usb technique as f(os)
	* config/usrp_fusb_tech.m4: new autoconf macro
	* host/lib/fusb.{h,cc}: refactored in to abstract class
	* host/lib/fusb_{darwin,generic,linux}.{h,cc}: new concrete classes
	* host/lib/fusb_sysconfig_{darwin,generic,linux}.cc: new

	* config/usrp_libusb.m4: new. check for libusb.
	* configure.ac: check for libusb
	
	* firmware/src/Makefile.am: fixed dependencies
	* firmware/src/fpga.{h,c}, firmware/src/usrp_main.c: cleanup to
	make board with no FPGA usable again.
	* firmware/include/usrp_config.h: doc fix.

2003-12-30  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb.cc (alloc_urb): fixes for linux 2.5/2.6

2003-12-12  Eric Blossom  <eb@comsec.com>

	* firmware/lib/i2c.c (i2c_read): worked around sdcc compiler bug.

2003-12-07  Eric Blossom  <eb@comsec.com>

	* configure.ac: autoconfiscated the firmware directory.  It now
	builds from the top along with the host code.

	* I've touched just about every file in the tree, both
	firmware and host side.  The combo is now working well.  It is
	capable of half duplex reading or writing at 31.25 MB/sec and
	(pseudo) full duplex reading and writing at 15.625 MS/sec in each
	direction.

	In addition, the receive side is decoupled from the transmit side
	so that separate processes can open each side.
	
	
2003-11-27  Eric Blossom  <eb@comsec.com>

	* firmware/src/fpga.c (clock_out_config_byte): assembly speedup
	for loading fpga.

	basic support for interrupts is now working.
	
	* firmware/lib/{isr.c,timer.c}: new
	* firmware/include/{isr.h,timer.h}: new
	* firmware/src/command_loop.c (isr_tick): blink led

2003-11-21  Eric Blossom  <eb@comsec.com>

	* firmware/src/edit-gpif (edit_gpif): now leave xdata alone
	* firmware/src/init_gpif.c: added xdata storage qualifer
	* firmware/Makefile: added linker opts to get xdata located properly

	Rearranged the firmware directory.
	firmware/basic_fw/include --> firmware/include
	firmware/basic_fw/src     --> firmware/src
	All older firmware stuff was removed

2003-11-15  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb.cc (fusb_devhandle, _cancel_pending_rqsts): now
	use reverse_iterator to cancel pending requests from the back to
	the front.  This removes the mystery of more than one cancelled
	urb having a non-zero transfer count.

	* host/lib/test_fusb.cc (test_output): fixed defective test case
	that was having me think the tx code wasn't working.

2003-11-13  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb.{h,cc}:  work in progress on the Rx path.

2003-11-11  Eric Blossom  <eb@comsec.com>

	* host/lib/fusb.{h,cc}: halved net Tx memory requirement by using
	a single user mode buffer.

2003-11-10  Eric Blossom  <eb@comsec.com>

	System is now sustaining 31MB/sec on the TX path, no underruns ;-)
	
	* firmware/basic_fw/src/edit-gpif: now machine generate inline
	definitions for setup_flowstate_common, setup_flowstate_read and
	setup_flowstate_write. 

	* firmware/basic_fw/src/usrp_common.c: clear_usrp_error now clears
	over and underrun flags from status word.
	* firmware/basic_fw/src/usrp_comands.c: added bit defs for overrun
	and underrun status indicators.
	* firmware/basic_fw/src/command_loop.c (poll_gpif): now checks for
	over and underruns and clears fpga status.
	
	* firmware/basic_fw/include/usrp_regs.h (bmFCB_CLR_STATUS): moved
	FPGA clear_status line to the previous location of SDO.  This
	means that firmware from here out will only work with the latest
	FPGA bitstreams that have this pin configurd as an input.

	* host/lib/fusb.{h,cc}: fast streaming usb library built on top of libusb.
	This version uses linux specific magic.

	* host/lib/test_fusb.cc: test and benchmarking code for fusb.
	
2003-11-08  Eric Blossom  <eb@comsec.com>

	* firmware/basic_fw/src/gpif.gpf: moved BOGUS ctl line to CTL5.
	Added clear_status as CTL3.
	* firmware/basic_fw/src/usrp_common.c (init_usrp): removed
	obsolete ENABLE_FIFO ifdef.  Disabled RX pump priming.
	* firmware/basic_fw/src/command_loop.c (main): enable both RX and TX.

2003-10-22  Eric Blossom  <eb@comsec.com>

	* host/lib/Usrp.{h,cc}: added accessors for get_rx_freq, get_tx_freq

2003-10-17  Eric Blossom  <eb@comsec.com>

	* host/usrper/test_input.cc (main): new program to exercise USRP
	input path.

	* host/lib/Usrp.{h,cc} (read): changed return value from bool to int

2003-09-30  Eric Blossom  <eb@comsec.com>

	* host/lib/Usrp.{h,cc}: handle new format interp and decim regs.
	* firmware/basic_fw/src/command_loop.c (g_enable_read): disabled
	read for the time being.

2003-09-17  Eric Blossom  <eb@comsec.com>

	* host/lib/Usrp.cc (find_file): changed load path for firmware and
	fpga bits to to /usr/local/share/usrp.
	(Usrp): now set gstate, sleep, fpga_reset and tx_enable per Matt's
	script.

2003-09-16  Eric Blossom  <eb@comsec.com>

	* AUTHORS, NEWS, README: new & empty
	* bootstrap, configure.ac, Makefile.am: new for autoconfiscation
	* host/Makefile.am, host/lib/Makefile.am, host/usrper/Makefile.am: new
	* host/lib/{Makefile.am,Usrp.{h,cc}}: new class to interface to USRP.
	* host/usrper/usrper2.cc: new code to exercise Usrp.{h,cc}

	* host/usrper/usrper.cc: removed uneeded includes

2003-09-04  Eric Blossom  <eb@comsec.com>

	* firmware/basic_fw/src/usrp_commands.h,
	firmware/basic_fw/src/command_loop.c (do_set_sleep_bits),
	host/usrper/usrper.cc (usrp_set_sleep_bits): added command to slam
	the A/D and D/A sleep control lines.


2003-08-30  Eric Blossom  <eb@comsec.com>

	* firmware/basic_fw/src/usrp_commands.h: removed obsolete
	foo_CLR_bar commands.  Added UCMD_SET_GSTATE_OUTPUT_ENABLE to
	enable the output of the GPIF state on the low 3 bits of Port E.

	* host/usrper/usrper.cc (usrper_load_firmware): now implements
	"load_firmware" command.

2003-08-17  Eric Blossom  <eb@comsec.com>

	* host/usrper/usrper.cc (usrper_load_fpga),
	firmware/basic_fw/src/fpga.c: changed load_fpga to expect a byte
	count, not a bit count in the xfer packet.

	* firmware/basic_fw/src/fpga.c (do_fpga_config_start): cleanup,
	add appropriate delay.

	* firmware/basic_fw/src/usrp_common.c (udelay1, udelay): new delay functions

2003-07-30  Eric Blossom  <eb@comsec.com>

	* firmware/basic_fw/include/fx2regs.h: changed sfr and sbit syntax
	to match what SDCC expects.  Now the SFR's are really allocated
	where they are supposed to be ;-)
