1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Warner Losh 592823383b Move to using a chip function + function pointers to deal with the
function and csc interrupt routing path (eg, ISA or PCI) so that we
can more easily switch between the two.

When we don't have a card ISR, put the function interrupt into ISA
mode.  This effectively masks the interrupt since it happens once, and
not again until we have an ISR.  This should help hangs, and might
help people that unwisely update the kernel w/o updating pccardd.
This is done at mapirq time.

Force CL-PD6729/30 to use ISA interrupt routing and maybe even detect
the number of pccard slots properly (this is still WIP).  We aren't
going to support PCI interrupts for this release.  A future release
should support them, however.  Shibata-san's 3.3V fixes are not
included.

Add a hack which should, in i386, rewrite IRQ 0 cardbus bridges to be
IRQ 255, which should cause interrupts to be routed.  This is mostly
untested since my one tester disappeared after reporting nothing
changed.

Implement, but do not use, a power method called cardbus.  It looked
like a great way to get around the 3.3V problem, but it seems that you
can only use it to power cardbus cards (I get no CIS when I enable it,
so maybe we're programming things bogusly).

GC the intr and argp stuff from the slot database.

Improve the ToPIC support with the power hacks that Nakagawa-san
published in FreeBSD Press and that Hiroyuki Aizu-san ported to
-stable.  The ToPIC hacks were for 3.3V support in ToPIC 100, but it
looks like the '97 also has identical registers, so use them too.

Add some #defines for the cardbus power stuff.

Finally implement making CSC on the Ricoh chips ISA or PCI.  This will
allow polling mode to work on vaios, I think.

Add some minor debugging.  This should likely be cleaned up or put
behing a bootverbose.

Some of this work, and earlier work, was influanced by Chiharu
Shibata-san's power handing patches posted to bsd-nomads:15866.

MFC: Soon, if possible.
2001-09-04 04:47:58 +00:00
..
alpha Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00
amd64 Fix the argument specifier for the PnP BIOS function 2 2001-09-03 03:43:39 +00:00
arm o Remove some GCCisms in src/powerpc/include/endian.h. 2001-08-30 00:04:19 +00:00
boot Don't clobber the default for CFLAGS. 2001-08-31 11:01:20 +00:00
cam Attach to a CD device even when the SCSI status is 'busy'. 2001-09-03 05:04:47 +00:00
coda
compat Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00
conf Add rwindow.c, forgotten earlier. 2001-09-04 01:18:39 +00:00
contrib Nuke the Windows platform defines; we don't need them. 2001-08-26 22:46:28 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb No tokens should follow #endif. 2001-08-15 03:38:49 +00:00
dev We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
fs smbfs_advlock: simplify overflow checks (copy from kern_lockf.c) 2001-08-29 18:59:04 +00:00
geom
gnu Do not depend on pcb_savefpu backwards compat #define. 2001-07-12 12:19:11 +00:00
i4b make driver compile under 4.3-STABLE 2001-07-22 19:55:05 +00:00
i386 Fix the argument specifier for the PnP BIOS function 2 2001-09-03 03:43:39 +00:00
ia64 Add a working version of setjmp/longjmp. 2001-09-03 13:54:50 +00:00
isa Add a new field, id_config_attr to the struct isa_device. 2001-09-03 09:45:41 +00:00
isofs/cd9660
kern Unindent a if (1) { that was left behind in the last commit. 2001-09-03 04:39:38 +00:00
libkern Fixed some typos, verboseness and misformatting in comments. 2001-08-30 12:30:58 +00:00
modules Make the fe driver kernel object module to compile in default. 2001-09-02 06:43:45 +00:00
net Patches from Keiichi SHIMA <keiichi@iij.ad.jp> 2001-09-03 20:03:55 +00:00
netatalk
netatm Commited patch for uni signaling fix. 2001-07-11 16:31:50 +00:00
netgraph Fix kernel crash when VLANs are combined with ng_ether(4), by attaching 2001-08-30 19:09:10 +00:00
netinet Allow disabling of "arp moved" messages. 2001-09-03 21:53:15 +00:00
netinet6 Patches from Keiichi SHIMA <keiichi@iij.ad.jp> 2001-09-03 20:03:55 +00:00
netipx
netkey printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
netnatm
netncp Mark some functions as __printflike() and/or taking const char * arguments 2001-08-20 12:53:36 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
nfsclient Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
nfsserver Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
pc98 Always turned on 8bit access card support for the fe driver 2001-09-02 13:05:00 +00:00
pccard Move to using a chip function + function pointers to deal with the 2001-09-04 04:47:58 +00:00
pci The fxp driver has lived in dev/fxp for some time, remove old files. 2001-08-31 02:21:03 +00:00
posix4 Protect pri_to_rtp() with sched_lock when needed. 2001-09-02 00:52:11 +00:00
powerpc Axe stale mp_fixme(). 2001-09-01 00:49:29 +00:00
rpc
sparc64 Make this compile. 2001-09-04 01:17:39 +00:00
svr4
sys add another prototype and a couple of stopgaps for the in_protosw variant. 2001-09-02 20:36:19 +00:00
tools
ufs Use ACL_PERM_NONE instead of hardcoding 0 when initializing 2001-09-01 23:18:15 +00:00
vm Process priority is locked by the sched_lock, not the proc lock. 2001-09-01 20:16:30 +00:00
Makefile