diff options
author | ambrisko <ambrisko@FreeBSD.org> | 2009-04-27 15:58:38 +0000 |
---|---|---|
committer | ambrisko <ambrisko@FreeBSD.org> | 2009-04-27 15:58:38 +0000 |
commit | 0f42fae270d1c583a2504c39964d864f0de67dac (patch) | |
tree | 04f11878702197fd4d7e855cf78db015f30bf174 /sys/dev/rp/rp_pci.c | |
parent | 2e2b8cdbbc19775f98c49adad57c6c7e5cdeb4ba (diff) | |
download | FreeBSD-src-0f42fae270d1c583a2504c39964d864f0de67dac.zip FreeBSD-src-0f42fae270d1c583a2504c39964d864f0de67dac.tar.gz |
Start to convert this over to the new tty layer. These changes allow
this driver to compile and limp along with the new layer. These changes
do not deal with proper locking around access to the HW. This is only
a starting point. I have not tested modem control but tip seems to work
okay and I can send and receive characters which I needed for one of my
-current boxes. I have not tied this driver back up to the build since
I don't want people to think it is ready for prime time. If anyone
else has some cycles to work on this feel free to!
Also add support for a 16 port PCI interface I have at work.
Glanced at by: ed
Diffstat (limited to 'sys/dev/rp/rp_pci.c')
-rw-r--r-- | sys/dev/rp/rp_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/rp/rp_pci.c b/sys/dev/rp/rp_pci.c index 4c27b62..e8a1c68 100644 --- a/sys/dev/rp/rp_pci.c +++ b/sys/dev/rp/rp_pci.c @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #define RP_DEVICE_ID_6M 0x000C #define RP_DEVICE_ID_4M 0x000D #define RP_DEVICE_ID_UPCI_32 0x0801 +#define RP_DEVICE_ID_UPCI_16 0x0803 #define RP_DEVICE_ID_UPCI_8O 0x0805 /************************************************************************** @@ -180,6 +181,7 @@ rp_pciattach(device_t dev) ctlp->bus_ctlp = NULL; switch (pci_get_device(dev)) { + case RP_DEVICE_ID_UPCI_16: case RP_DEVICE_ID_UPCI_32: case RP_DEVICE_ID_UPCI_8O: ctlp->io_rid[0] = PCIR_BAR(2); |