summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-01-10 04:23:30 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-10 04:23:30 -0800
commit9e73aa9c1b7e4efaac5547977080dc510a3d2394 (patch)
tree57b337c9071d9c79fb8ea3f09613169557c2a89d /include/linux
parent4e754f9db4e9d277fea4831ffac7c195c1f3a608 (diff)
parentd71f41db9a8637ea946b93d5588776b5e2e20bf8 (diff)
Merge home.transmeta.com:/home/torvalds/v2.5/alan
into home.transmeta.com:/home/torvalds/v2.5/linux
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ixjuser.h4
-rw-r--r--include/linux/pci_ids.h2
-rw-r--r--include/linux/skbuff.h21
-rw-r--r--include/linux/videodev.h2
4 files changed, 26 insertions, 3 deletions
diff --git a/include/linux/ixjuser.h b/include/linux/ixjuser.h
index 94e30d6709c8..81e314d7d836 100644
--- a/include/linux/ixjuser.h
+++ b/include/linux/ixjuser.h
@@ -312,8 +312,8 @@ typedef struct {
* must be set to the number of IXJ_CADENCE_ELEMENTS in the array. The
* termination variable defines what to do at the end of a cadence, the
* options are to play the cadence once and stop, to repeat the last
-* element of the cadence indefinatly, or to repeat the entire cadence
-* indefinatly. The ce variable is a pointer to the array of IXJ_TONE
+* element of the cadence indefinitely, or to repeat the entire cadence
+* indefinitely. The ce variable is a pointer to the array of IXJ_TONE
* structures. If the freq0 variable is non-zero, the tone table contents
* for the tone_index are updated to the frequencies and gains defined. It
* should be noted that DTMF tones cannot be reassigned, so if DTMF tone
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 0cab668cbfc6..8221b1f372ab 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -960,6 +960,7 @@
#define PCI_DEVICE_ID_NVIDIA_UTNT2 0x0029
#define PCI_DEVICE_ID_NVIDIA_VTNT2 0x002C
#define PCI_DEVICE_ID_NVIDIA_UVTNT2 0x002D
+#define PCI_DEVICE_ID_NVIDIA_NFORCE2_IDE 0x0065
#define PCI_DEVICE_ID_NVIDIA_ITNT2 0x00A0
#define PCI_DEVICE_ID_NVIDIA_GEFORCE_SDR 0x0100
#define PCI_DEVICE_ID_NVIDIA_GEFORCE_DDR 0x0101
@@ -984,6 +985,7 @@
#define PCI_DEVICE_ID_NVIDIA_QUADRO4_550XGL 0x017B
#define PCI_DEVICE_ID_NVIDIA_QUADRO4_500_GOGL 0x017C
#define PCI_DEVICE_ID_NVIDIA_IGEFORCE2 0x01a0
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_IDE 0x01bc
#define PCI_DEVICE_ID_NVIDIA_GEFORCE3 0x0200
#define PCI_DEVICE_ID_NVIDIA_GEFORCE3_1 0x0201
#define PCI_DEVICE_ID_NVIDIA_GEFORCE3_2 0x0202
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f94999dcfb1c..e364ce6c003c 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -287,6 +287,7 @@ extern struct sk_buff *skb_realloc_headroom(struct sk_buff *skb,
extern struct sk_buff *skb_copy_expand(const struct sk_buff *skb,
int newheadroom, int newtailroom,
int priority);
+extern struct sk_buff * skb_pad(struct sk_buff *skb, int pad);
#define dev_kfree_skb(a) kfree_skb(a)
extern void skb_over_panic(struct sk_buff *skb, int len,
void *here);
@@ -1088,6 +1089,26 @@ static inline int skb_cow(struct sk_buff *skb, unsigned int headroom)
}
/**
+ * skb_padto - pad an skbuff up to a minimal size
+ * @skb: buffer to pad
+ * @len: minimal length
+ *
+ * Pads up a buffer to ensure the trailing bytes exist and are
+ * blanked. If the buffer already contains sufficient data it
+ * is untouched. Returns the buffer, which may be a replacement
+ * for the original, or NULL for out of memory - in which case
+ * the original buffer is still freed.
+ */
+
+static inline struct sk_buff *skb_padto(struct sk_buff *skb, unsigned int len)
+{
+ unsigned int size = skb->len + skb->data_len;
+ if (likely(size >= len))
+ return skb;
+ return skb_pad(skb, len-size);
+}
+
+/**
* skb_linearize - convert paged skb to linear one
* @skb: buffer to linarize
* @gfp: allocation mode
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 157fedd4890f..fc6d314ecfc1 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -395,7 +395,7 @@ struct video_code
#define VID_HARDWARE_MEYE 32 /* Sony Vaio MotionEye cameras */
#define VID_HARDWARE_CPIA2 33
#define VID_HARDWARE_VICAM 34
-
+#define VID_HARDWARE_SF16FMR2 35
#endif /* __LINUX_VIDEODEV_H */
/*