Commit Graph

31 Commits

Author SHA1 Message Date
Wolfram Schneider
e0e5145ce6 add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
Bruce Evans
680b396b51 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
Nate Williams
a076b72573 Use the defines and macros defined in /sys/pccard/cis.h to make the code
easier to understand.  LOTS more work needed in this area.

Inspired by:	The Nomad code
1996-08-01 15:45:46 +00:00
Nate Williams
fd87c5bd16 In num_tok, allow the user to specify '0' as plain '0' instead of
forcing them to use '00', and/or '0x0'.

Submitted by:	Johann Tonsing <jtonsing@mikom.csir.co.za>
1996-07-11 15:04:43 +00:00
Nate Williams
a866b5490e Don't un-necessarily include varargs.h. 1996-06-20 21:06:53 +00:00
Nate Williams
f9651e7e52 Print out the IRQ rather than the IRQ mask when printing out the
resources allocated to the driver when DEBUG is defined.
1996-06-19 17:27:55 +00:00
Nate Williams
f7ea09fc34 Enable code that allows the daemon to select a free IRQ from the list if
none is selected.  The code was already there but needed to be updated
to use the correct structure element.
1996-06-19 01:25:37 +00:00
Nate Williams
29f0bf5478 Use irq_tok() instead of num_tok() for IRQ's. This will allow us to use
the '?' (undefined) token for stating IRQ's in the driver config line.

This will allow the card to automatically select and unused IRQ when
that code is enabled.
1996-06-19 01:08:58 +00:00
Nate Williams
c716d4f3d6 Staticize and removed unused code. 1996-06-18 23:50:51 +00:00
Nate Williams
fd6c426657 Use CFLAGS += instead of setting it directly. 1996-06-18 22:54:25 +00:00
Nate Williams
18f527dc18 Staticize and remove unused function.
Inspired by:	The Nomad code
1996-06-18 21:58:55 +00:00
Nate Williams
c65d32c20e - Removed dead code (if you need it you can get it out of the
Repository).
- Added some comments, and moved some code around to make flow more
  obvious.

No functional changes.
1996-06-18 19:52:30 +00:00
Nate Williams
c40d042f0f Prepend the CIS string length define with CIS_ per the rest of the
constants.

Obtained from:	Nomad code
1996-06-17 22:30:30 +00:00
Nate Williams
c1f5e49952 Use the defined path to the card devices instead of hard-coding it's
value in every file.

No functional changes.
1996-06-17 22:14:19 +00:00
Poul-Henning Kamp
e81ac50d0d Add BINDIR 1996-06-05 04:39:34 +00:00
Nate Williams
8410acf091 - Make pccardd release it's allocated io space and sets the mem.cardaddr
even if DEBUG is not set.
- #ifdef protect DEBUG printf's

Submitted by:	sos
1996-04-23 16:46:48 +00:00
Nate Williams
39413a2c2a Fix usage: message to print out corrrectly.
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1996-04-18 05:23:47 +00:00
Nate Williams
94fe059277 Added RCS Id and BSD-style copyrights to individual files. 1996-04-18 04:25:17 +00:00
Nate Williams
ba4aa9f624 Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 06:49:32 +00:00
Nate Williams
c42a753bc2 Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 05:45:39 +00:00
Nate Williams
c78fc4f444 Remove a file no longer valid as the config file moved to /etc/pccard.conf. 1996-04-09 23:33:08 +00:00
Nate Williams
d8584d7061 Cleanup useless stuff in Makefile and add a missing NOMAN target. 1996-04-09 23:31:51 +00:00
Nate Williams
17139567a0 Removed original distribution files that are no longer valid. 1996-04-09 23:29:07 +00:00
Mike Pritchard
e493905cd2 Some minor cleanup to bring the pccard man pages in line
with mdoc guidelines.
1996-04-07 09:14:46 +00:00
Poul-Henning Kamp
01b722aa84 Minor tweaks to get ethernet working too. 1995-10-10 09:57:47 +00:00
Poul-Henning Kamp
6c287c8905 Now pccard modems work to some minimal extent. 1995-09-19 12:40:06 +00:00
Poul-Henning Kamp
359f7ce862 Wash hands and datastructures before transplanting drivers in the kernel.
Now pseudo-quasi-semi-works with my modem.
1995-08-29 14:06:16 +00:00
Poul-Henning Kamp
41c9aa4fae A bunch of small bug-fixes, doesn't quite work yet, but I'm getting closer.
At least it doesn't core-dump now.
1995-08-28 10:30:47 +00:00
Poul-Henning Kamp
f64c9758b0 Shut a bunch of warnings. 1995-08-25 09:46:01 +00:00
Poul-Henning Kamp
907886f9e0 Add a couple of makefiles. 1995-08-25 09:45:05 +00:00
Poul-Henning Kamp
f2b46629be The userland part of Andrew McRae's PCMCIA/PCCARD code.
This is not quite finished yet, and therefore I have not added it to the
usr.sbin/Makefile yet.
I collected a bunch of Andrews small programs into one: pccardc /phk

Reviewed by:	phk
Submitted by:	Andrew McRae <andrew@mega.com.au>
1995-08-24 09:03:04 +00:00