Commit Graph

33 Commits

Author SHA1 Message Date
phk
986d7b15ca Remove 42 unneeded #include <sys/ioccom.h>.
ioccom.h defines only implementation detail, and should therefore
only be included from the #include which defines the ioctl tags,
in other words: never include it from *.c
2000-05-03 07:31:38 +00:00
phk
d7e981e734 Remove unneeded #include <sys/kernel.h> 2000-04-29 15:36:14 +00:00
obrien
59a15e97aa * Use sys/sys/random.h rather than a i386 specific one.
* There was nothing that should be machine dependant about
  i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
2000-04-24 17:30:08 +00:00
hm
36f4f26b51 Fix a problem which caused i/o resource allocation conflict of this
particular ISDN card with the 2nd IDE controller and/or other cards
depending on configuration.

The amount of i/o ports allocated are reduced from 0x40 per range to
0x20 per range.

Submitted by:	Andrew Gordon <arg@arg1.demon.co.uk>
Approved by:	jkh
2000-03-09 20:57:47 +00:00
gj
38fb15b7b7 Newbus-ify the USR Sportster TA Intern driver.
Enable the driver in sys/conf/files.i386.

In isa/isavar.h increase ISA_NPORT from 32 to 50. This is required
because this brain-damaged card maps 49 (!) port ranges. This does
not have a negative impact because this value only specifies the maximum
number of entries in a linked list and not the size of an array which
is allocated in all drivers.

The register/fifo access routines were not newbus-ified because
1) I knew that the old code worked and is simpler and more efficient
2) the if_ed driver does something similar and
3) the newbus macros collapse to inb/outb anyway.

Reviewed and tested by:	hm
Approved by:	jkh
2000-02-21 02:10:10 +00:00
hm
d7023fb821 update to isdn4bsd beta release 0.90 1999-12-14 20:54:38 +00:00
hm
404e6ec4d9 update to isdn4bsd beta release 0.90 1999-12-14 20:48:35 +00:00
peter
89f3d70214 Temporary adjustment to build after pnp changes. There is a new version
in the pipeline apparently.

OK'ed by: hm
1999-12-07 12:06:31 +00:00
brian
92cbc956b1 Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the link
down when the device is closed or carrier is removed.

This solves the disconnect problems when using user-ppp over isdn.

Suggested by: hm
1999-11-28 16:17:01 +00:00
imp
f91328a044 Disable old PCCARD_MODULE code.
This should fix LINT.

Prompted by: phk's explicit message about LINT breakage
1999-10-29 17:28:09 +00:00
phk
6315220fe7 Remove five now unused fields from struct cdevsw. They should never
have been there in the first place.  A GENERIC kernel shrinks almost 1k.

Add a slightly different safetybelt under nostop for tty drivers.

Add some missing FreeBSD tags
1999-09-25 18:24:47 +00:00
peter
a4a0799752 Finish making LINT compile. Disable references to pnp in files that
don't appear to use it, and disable i4b_isic_pnp.c (with a #warning)
until it's converted.
1999-09-03 20:38:47 +00:00
julian
bd20db821c make correct minor numvers for some of the devices.
Submitted by:	Hellmuth Michaelis <hm@hcs.de>
1999-08-31 05:55:14 +00:00
hm
c5d5176208 add MAINTAINER for the kernel part of i4b 1999-08-28 13:35:00 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
julian
de23a6f5f7 Add PHK's make_dev() into more places where DEVFS used to be
hooked in directly.

Alpha change checked by: Matthew Jacob <mjacob@feral.com>
i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de>
    and Hellmuth Michaelis <hm@hcs.de>
PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
1999-08-27 07:26:26 +00:00
phk
dd72aae766 Avoid symbol clash in LINT. 1999-08-08 18:17:40 +00:00
hm
1c8f239db0 updating isdn4bsd to beta version 0.83 1999-08-06 14:05:10 +00:00
des
284ed27f44 Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
phk
3052cb0042 devsw and cdevsw_add() changes for i4b.
Reviewed by:	hm
1999-06-01 08:46:56 +00:00
hm
87c7b1e12a upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
peter
970b6faae9 Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data)
.. to 2.2.x and 3.x if people think it's worth it.  Driver writers can do
this if it's not defined.  (The reason for this is that I'm trying to
progressively eliminate use of linker_sets where it hurts modularity and
runtime load capability, and these DATA_SET's keep getting in the way.)
1999-05-09 17:07:30 +00:00
peter
54a58b47a3 Missing 'int' declaration in devsw_installed variable. 1999-05-06 18:33:48 +00:00
phk
b097bd1d95 Suser() simplification:
1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
peter
3f279b5e94 Use PCCARD_MODULE() instead of DATA_SET(), the pccard linker set went a
while ago.
1999-04-25 07:44:02 +00:00
peter
729ca8a773 Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
hurt the driver portability to 3.x too much for where drivers are shared.
1999-04-24 20:24:02 +00:00
peter
b64a01e54e I missed this PnP change for new-bus..
Submitted by:	Blaz Zupan <blaz@gold.amis.net>
1999-04-18 06:13:33 +00:00
hm
3fec7b4392 Minor adjustments to make LINT compile again (thanks to phk for reminding me).
Because the Fritz!Card PCMCIA stuff is also affected, this includes the fix
from PR kern/10278 submitted by Udo Schweigert (udo.schweigert@mchp.siemens.de).
PR: kern/10278
1999-03-16 11:07:04 +00:00
hm
3962a636c5 update the i4b include files to i4b release 0.71.00 1999-03-07 16:09:45 +00:00
hm
2e1cbe8648 update the i4b kernel part to i4b release 0.71.00 1999-03-07 16:08:20 +00:00
peter
fc9b33a915 Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
eivind
0720abd562 Silence warnings.
Approved by:	hm
1999-01-12 11:05:03 +00:00
phk
04b44606b2 Initial entry of ISDN4BSD into the FreeBSD tree.
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.
1998-12-27 21:47:14 +00:00