Commit Graph

45290 Commits

Author SHA1 Message Date
Mitsuru IWASAKI
29d1eb210d Merge from PAO3 -- Quick fix a bug which assign_driver() checks wrong
member variable to find the configuration on new driver allocation.
Correct condition is that card_config and driver are not in use.  Both
of them are cleared in card_removed() (conf->driver->card never be
cleared).

This fix problems `No free configuration for card' on insertion, and
pccardd core dump on removal in condition of the same driver but
different card.

Also this might be emergency measures, complete solution would be made
after Hosokawa-san come back.

Consulted with:	imp
Waiting for:	hosokawa
2000-01-24 13:15:05 +00:00
Mitsuru IWASAKI
b9857addba Two PCCard Modem entries.
o Fix entry for Megahertz XJ4336-CC4336. Old config (sio1) seems
  conflict with IrDA port or COM port on some laptop and sometimes
  totally hang up after insertion.
o Add 'NTT DoCoMo Mobile D Card 96P1' which is used by many
  people in Japan.

Reviewed by:	imp
2000-01-24 12:12:37 +00:00
Bruce Evans
dd7f8ecff6 Fixed some style bugs (mainly ones associated with the bogus name
condev_t for a non-typedef).
2000-01-24 11:48:11 +00:00
Kazutaka YOKOTA
1744101128 Added the PnP ID for MouseSystems SmartScroll Mouse (serial mouse).
This mouse may be a OEM version of Genius EasyScroll Mouse.

(The mouse has three buttons on top, one side button and a wheel which
also acts as a button.  However, I know no way to activate the wheel,
and it can only be used as an ordinary 3-buttons mouse :-)
2000-01-24 10:26:46 +00:00
Nick Hibma
dd3d335141 The previous fix for the USB ugen device set configuration ioctl()
has a slight error, and returns EIO way too often.

PR:		16315
Submitted by:  Louis Mamakos <louie@TransSys.COM>
2000-01-24 10:23:57 +00:00
Doug Rabson
f0aac6a503 Add a workaround to which allows alphas to reserve a port range which
doesn't conflict with the parallel port on my miata (0x3bc..0x3bf).
The right solution will be to reserve two port ranges in vga, 0x3b0..0x3ba
and 0x3c0..0x3ca.

Reviewed by: yokota
2000-01-24 09:22:51 +00:00
David E. O'Brien
54e6aeb25d Simply cc_tools/Makefile by moving the parser generation to the respective
backends.
2000-01-24 09:17:09 +00:00
Peter Wemm
e7ecd20e12 De-K&Rify sicontrol and tidy up a few loose ends. Remove "register". 2000-01-24 09:14:47 +00:00
Jeroen Ruigrok van der Werven
67ae635373 Fix my obmission of the keyword enable after apm -e.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-01-24 09:14:41 +00:00
Peter Wemm
7c3e8e009a Remove stray "cam" in the example device lines. 2000-01-24 08:57:41 +00:00
Ruslan Ermilov
48f71763a8 Notify user processes about interface's MTU change.
Reviewed by:	wollman, freebsd-net
2000-01-24 08:53:39 +00:00
Peter Wemm
d0cde06dd3 Remove some no-op "port ?" and "irq ?" declarations. 2000-01-24 08:52:29 +00:00
Peter Wemm
6bd284603b Remove a no-op "port ?" declaration. 2000-01-24 08:51:16 +00:00
Peter Wemm
b33b19409d Remove a bunch of no-op "port ?" and "irq ?" declarations. 2000-01-24 08:49:24 +00:00
David E. O'Brien
01573adf71 Style change to better match src/lib/'s Makefiles. 2000-01-24 08:44:30 +00:00
KATO Takenori
69d4b82b48 Return ENXIO on error.
Submitted by:	n_hibma
2000-01-24 08:20:54 +00:00
Peter Wemm
36cb9d91a7 Remove old specialix pre-newbus specialix driver. It lives on in
sys/dev/si now, including with a theoretically working eisa attachment.
2000-01-24 08:18:26 +00:00
Bruce Evans
13d4ed2caa 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.
2000-01-24 08:16:15 +00:00
Peter Wemm
cd382292be Use si.h in new location. 2000-01-24 08:15:42 +00:00
Peter Wemm
2c469a0672 Remove isa compat shims for si. 2000-01-24 08:13:53 +00:00
Peter Wemm
623c24674d Activate the newbusified version of si. 2000-01-24 08:12:40 +00:00
Peter Wemm
67d5be5275 Ack! I totally botched the pci probe routine which resulted in it trying
to match everything else *but* a specialix pci card. *blush*.
2000-01-24 08:11:10 +00:00
Peter Wemm
b830d4388e 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.
2000-01-24 07:24:02 +00:00
Warner Losh
25f061dedd 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.
2000-01-24 07:08:40 +00:00
Bruce Evans
621d865f30 Removed bogus quotes and unmangled related contractions.
"ktrace(1) syscall trace" -> "ktrace(1)".
2000-01-24 05:38:55 +00:00
Warner Losh
d9213675fb 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".
2000-01-24 05:35:32 +00:00
Alfred Perlstein
621d130fd8 Clarify that we don't offer hard realtime.
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
David E. O'Brien
7b5036eb77 In the "cdrom" target it is best to write to the CDROM stage area, *NOT*
the FTP stage area.
2000-01-24 01:22:30 +00:00
Peter Wemm
5b249744bd 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.
2000-01-23 22:51:49 +00:00
David E. O'Brien
0eb6f1f6c1 I *hate* using "i" in variables, looks too much like "1" or "l". 2000-01-23 22:46:00 +00:00
Jun Kuriyama
3d5eb0b813 Whitespace/TAB cleanups only. 2000-01-23 22:02:36 +00:00
Jeroen Ruigrok van der Werven
a7406a14b3 Change this to reflect some manpage changes I made. 2000-01-23 21:53:31 +00:00
Philippe Charnier
f73aae7e60 Spelling. Add missing .El. 2000-01-23 20:36:27 +00:00
Philippe Charnier
b8d1ce7ebf Remove invalid section name. Add missing .El. 2000-01-23 20:33:38 +00:00
Philippe Charnier
0518c2b948 Remove invalid section name. 2000-01-23 20:32:24 +00:00
Philippe Charnier
a90c17f501 Add a FILES section. 2000-01-23 20:29:46 +00:00
Philippe Charnier
497adc8286 Use .Xr for references. 2000-01-23 20:28:41 +00:00
Philippe Charnier
1e7ae6a9af Add missing .El.
-Wall cleaning.
2000-01-23 20:27:32 +00:00
Philippe Charnier
97e84c76fd Do not dot terminate list of references. 2000-01-23 20:26:20 +00:00
Philippe Charnier
bb897a8710 Convert err() to errx(), reason is already provided. Complete the
abort on allocation failure instead of deferencing NULL later.
2000-01-23 20:25:01 +00:00
Philippe Charnier
e6df6417f2 Typo 2000-01-23 20:23:38 +00:00
Philippe Charnier
922a51eea0 Add section number to .Xr. Use .Pa for filenames.
fprintf -> warnx.
2000-01-23 20:22:23 +00:00
Philippe Charnier
fea43bdfa5 Remove invalid section name. Add missing .El. Do not dot terminate
sentences in FILES section.
2000-01-23 20:20:55 +00:00
Philippe Charnier
5d4a8fa90e 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()).
2000-01-23 20:19:34 +00:00
Philippe Charnier
e2b7d85745 Do not dot terminate sentences inside FILES section. Lowercase
inside error messages.
2000-01-23 20:17:41 +00:00
Philippe Charnier
d67724c7c9 Use Ns and Sx. -current is 4 not 3. 2000-01-23 20:16:21 +00:00
Peter Wemm
fe8140cd15 Fix some warnings. 2000-01-23 19:27:11 +00:00
Peter Wemm
62797de451 remove "extern int cold" from SPLUSBCHECK - it causes a heap of warnings. 2000-01-23 19:26:16 +00:00
Peter Wemm
10a1190c8b Fix a warning in DIAGNOSTIC code. 2000-01-23 19:25:29 +00:00
Peter Wemm
90c55ca555 Sync NEWCARD a bit with GENERIC. Remove trailing '0' on unwired devices. 2000-01-23 18:31:19 +00:00