bde [Mon, 24 Jan 2000 08:16:15 +0000 (08:16 +0000)]
Removed assignment to an "unused" variable that was removed in the
previous commit. Building LINT didn't expose this bug, because the
assignment was in an ifdef that is too tangled for LINT to cover
properly.
peter [Mon, 24 Jan 2000 07:24:02 +0000 (07:24 +0000)]
A bit more newbusification of si. This still isn't quite finished.
Split out the bus attachments so the impact of the bus xxxvar.h files
with the inline macros for the ivars are confined to one file each.
imp [Mon, 24 Jan 2000 07:08:40 +0000 (07:08 +0000)]
Fix plug and play support:
o Cut out the probed stuff. We no longer need it since newbus implicitly
checks for this (likely bt can be changed as well in this way).
o Add preliminary support for unload. Untested because aha doesn't yet
support identify and there are some interactions with PnP that I've
not yet worked out.
With this I can boot the AHA-1542CP FW F.0. All the aha resources
appear to be picked up via pnp now.
imp [Mon, 24 Jan 2000 05:35:32 +0000 (05:35 +0000)]
Add Billionton 10 Base-TX ETHERNET PC CARD.
This entry has a high likelyhood of conflicting with others since the CIS
identifies this as "PCMCIA" "PCMCIA-ETHERNET-CARD".
peter [Sun, 23 Jan 2000 22:51:49 +0000 (22:51 +0000)]
Initial attempt at newbusification of the specialix si/xio/sx driver.
The files were repo copied from their original location and are part
way towards being portable.
This should unbreak the EISA support in the driver.
I have not updated files* yet as I'm not quite finished.
charnier [Sun, 23 Jan 2000 20:19:34 +0000 (20:19 +0000)]
Rework use of Nm.
Remove -? flag that was not working but documented. Make it work instead
but hide it in man page and usage string as others tools do.
Spelling.
Abort on allocation failure (with errx()).
peter [Sun, 23 Jan 2000 18:03:38 +0000 (18:03 +0000)]
A minimal update to the device wiring code so that it looks at the
dynamic resource tables rather than relying on a duplicated cam-specific
table generated by config(8) in ioconf.c. This was a major holdup to
getting loader / userconfig driven configuration of scsi wiring.
n_hibma [Sun, 23 Jan 2000 15:48:29 +0000 (15:48 +0000)]
Check whether we can change config at all. If any of the endpoints
has been opened, we should not allow configuration changes as endpoint
descriptors might disappear.
peter [Sun, 23 Jan 2000 15:26:15 +0000 (15:26 +0000)]
Add an example vpo module. I don't have a zip drive to test it, but it
behaves the normal way when loaded at runtime versus being statically
compiled. (normal == print garbage on the printer :-).
peter [Sun, 23 Jan 2000 14:41:04 +0000 (14:41 +0000)]
Some newbus-inspired tidy-ups. Use device_identify() rather than scanning
the resource table to locate children. The 'at ppbus?' can go again.
Remove a few #if Nxxx > 0' type things, config arranges this for us.
Move the newbus method glue next to the DRIVER_MODULE() stuff so we
don't need extra prototypes.
Don't set device descriptions until after the possibility of the probe
returning an error.
Remove all cdevsw_add() calls, all the drivers that did this also use
make_dev() correctly, so it's not required.
A couple of other minor nits.
peter [Sun, 23 Jan 2000 12:01:08 +0000 (12:01 +0000)]
Clean up something in config(8) that has annoyed me for ages. Remove
the need to specify the unit number of unwired devices. ie: instead
of saying "device fxp0" we can say "device fxp" which is much closer
to what it actually means. The former (fxp0) implied something about
reserving the 0th unit, but it does not and never did - it was a
figment of config(8)'s imagination that we had to work around..
"device fxp0" simply means "compile in the fxp device driver", so we
may as well just write it as "device fxp" which is closer to what it
really means.
Doing this also saves us from filling up the ioconf.c tables with
meaningless entries.
peter [Sun, 23 Jan 2000 11:50:43 +0000 (11:50 +0000)]
Clean up some more loose ends..
isa_device->id_ri_flags and RI_FAST were not implemented and did nothing.
The two drivers that were mistakenly thinking this was working were
cy.c and loran.c - these should be converted to newbus.
GC (garbage collect) isa_device->id_alive
GC userconfig.c references to isa_device->id_scsiid (!).
n_hibma [Sun, 23 Jan 2000 11:40:10 +0000 (11:40 +0000)]
Add the unlpt\d+ device to MAKEDEV. It is the same as ulpt\d+, except
that it does not reset the printer when opened. This fixes the problem
of printing a document almost till the end and then resetting the
printer when the next print job is started.
Submitted by: Christopher Masto <chris@netmonger.net>
Also, remove all but the ums0 device from the fixit target 'to save
precious i-nodes on the fixit floppy'.
brian [Sun, 23 Jan 2000 10:41:48 +0000 (10:41 +0000)]
Hmm, don't compile in INET6, IPX or NETATALK support for the
moment :-( I think we need some sort of stub variable and a
``is this queue available'' flag.
mdodd [Sun, 23 Jan 2000 08:46:21 +0000 (08:46 +0000)]
Fix a bug in the last commit. >> 4 instead of >> 8. *bap*
Fix a long-standing bug where I used a 'break;' instead of a 'continue;';
you had to have multiple ISA boards in non-PnP mode with an 'unknown' board
with a lower MAC address to find this one. Since I have 4 3c5x9 boards
in my test box I was somewhat confused when this happened. :)
Make the messages printed by ep_isa_identify() a little more consistent;
we'll only see them in verbose boot mode but it makes me feel better if
they look nice.
mjacob [Sun, 23 Jan 2000 03:19:49 +0000 (03:19 +0000)]
Correctly put the place to mark EOP where we actually do the packet
transmission- this handles the odd and rare case of a list terminating
with a zero length mbuf.
mjacob [Sun, 23 Jan 2000 01:49:11 +0000 (01:49 +0000)]
Get rid of the WX_XMIT_SMALL code- we've fixed that problem. Restructure
the receive code so that it correctly chains receive descriptors together
and handles the case that only a part of a packet is done at the time
we get here.
mpp [Sun, 23 Jan 2000 01:48:16 +0000 (01:48 +0000)]
Fxi various man pages to stop abusing the .Bx macro to generate
the string "FreeBSD". Use the .Fx macro instead. Also did some
minor re-wording/formatting to work around a deficiency with
the .Fx macro when it comes to puncuation characters other than
periods and commas.