openbsd-ports/emulators/bochs/patches/patch-iodev_eth.cc
todd 923f7975fe o take over maintainership
o too many changes to mention specifically, but amongst them:
	- better error reporting
	- openbsd boots, freebsd boots
	- new 'term' flavor, I added a textmode interface, the only drawback
	  is that control-c is intercepted, and you must kill -9 it from
	  another tty if it doesn't exit normally
	- new flavors:
		- debugger -> debug (for shortness)
		- i386
		- pci
		- smp
		- net (compiles, does not yet provide networking, if anyone
			wants to help, I'd be ELATED to have this fixed!)
		- no_x11 (made it actually work)
		- term (make sure to use 'log: /dev/null' or something else
		  on the cmdline, otherwise, debugging and the screen will
		  start getting quite confusing!)
	- better error reporting (and no error reporting where it is not
	  necessary; a typicall boot of cdrom28.fs is a screenful of output now)
	- in general, if the hardware reaches an unknown state, fail
	  gracefully instead of calling exit(1) .. are we trying to work or
	  are we trying to .. fail?  I like working myself.
2001-02-02 16:59:05 +00:00

20 lines
656 B
C++

--- iodev/eth.cc.orig Sat Mar 25 21:28:48 2000
+++ iodev/eth.cc Tue Oct 17 12:04:02 2000
@@ -49,6 +49,7 @@ eth_locator_c::create(const char *type,
const char *macaddr,
eth_rx_handler_t rxh, void *rxarg)
{
+ bio->printf("eth: create '%s' '%s' '%s'\n",type,netif,macaddr);
#ifdef eth_static_constructors
for (eth_locator_c *p = all; p != NULL; p = p->next) {
if (strcmp(type, p->type) == 0)
@@ -59,7 +60,7 @@ eth_locator_c::create(const char *type,
#ifdef ETH_NULL
{
- extern bx_null_match;
+ extern eth_locator_c *bx_null_match;
if (!strcmp(type, "null"))
ptr = (eth_locator_c *) &bx_null_match;
}